Christian Cornelssen on Tue, 24 Jun 2003 03:49:38 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Pari-2.1.5: Doc patches re-applied


Dear Pari developers,

For pari-2.1.1, I once submitted some doc patches which seem to have
made it into the 2.2 branch in the CVS, see

	http://www.parigp-home.de/lists/200108/22aaa

but in 2.1.5 they are not integrated.  I could re-apply the original
doc patches without adaptation, but I have attached them for easier
reference:

1. Fix: refcard.tex gets a wrong \magnification, thus does not fit A4

2. Fix: users.tex produces an empty page 209 where the index should begin

3. Adaptation to (my) RPM setup: Adjust path specifications in
   usersch2.tex

Patch 3 has to be be re-examined for standard pari builds, perhaps it
is unneeded there, or has to be tweaked.

My version of pari.spec is not much different from the one at the
megrez ftp server, but I regularly update my version which you can
find at

	http://www.cs.tu-berlin.de/~ccorn/software/rpm/packages

Regards,

Christian Cornelssen
*** doc/refcard.tex.orig	Mon Nov  6 19:59:00 2000
--- doc/refcard.tex	Tue Jun 24 03:07:15 2003
***************
*** 17,23 ****
--- 17,29 ----
  %% which I modified from his GNU emacs reference card
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \def\TITLE{Pari-GP reference card}
+ % ignore parimacro.tex's \magnification setting
+ \let\oldmagnification\magnification
+ \catcode`@=11
+ \def\magnification{\afterassignment\relax\count@}%
+ \catcode`@=12
  \input parimacro.tex
+ \let\magnification\oldmagnification
  \ifPDF
    \input pdfmacs.tex
    \pdfpagewidth=11.69in
*** doc/users.tex.orig	Mon Nov  6 19:59:01 2000
--- doc/users.tex	Tue Jun 24 03:07:15 2003
***************
*** 63,69 ****
    \ifPDF \writesecnumbers \fi
    \expandafter\end % stop here the first time (don't process index)
  \fi
- \newpage
  
  \ifPDF
  % Add a bookmark entry for the index.   CHB
--- 63,68 ----
*** doc/usersch2.tex.orig	Mon Nov  6 19:59:01 2000
--- doc/usersch2.tex	Tue Jun 24 03:07:15 2003
***************
*** 1896,1905 ****
  GNU Emacs to be installed on your machine!). To use this, you should
  include in your \kbd{.emacs} file the following lines:
  \bprog
! (autoload 'gp-mode "@miscdir/pari" nil t)
! (autoload 'gp-script-mode "@miscdir/pari" nil t)
! (autoload 'gp "@miscdir/pari" nil t)
! (autoload 'gpman "@miscdir/pari" nil t)
  (setq auto-mode-alist
    (cons '("\\.gp$" . gp-script-mode) auto-mode-alist))
  @eprog
--- 1896,1905 ----
  GNU Emacs to be installed on your machine!). To use this, you should
  include in your \kbd{.emacs} file the following lines:
  \bprog
! (autoload 'gp-mode "@miscdir/emacs/pari" nil t)
! (autoload 'gp-script-mode "@miscdir/emacs/pari" nil t)
! (autoload 'gp "@miscdir/emacs/pari" nil t)
! (autoload 'gpman "@miscdir/emacs/pari" nil t)
  (setq auto-mode-alist
    (cons '("\\.gp$" . gp-script-mode) auto-mode-alist))
  @eprog