Dear all,
Recently I tried to compile the AUCTeX manual. I am using latest Texinfo
compiler texi2any based on perl, and there were several compilation
errors. I double checked with Patrice Dumas who is the main developper
of texi2any and he proposed the attached patch.
I must say that the patch to the ChangeLog was added by me but I have
set Patrice as author as he is the one who effectively did the
correction, I used his page address because I don't know which email
adress he would use for that.
VBR,
Vincent.
? test.texi
Index: auctex.texi
===================================================================
RCS file: /sources/auctex/auctex/doc/auctex.texi,v
retrieving revision 1.309
diff -u -3 -p -r1.309 auctex.texi
--- auctex.texi 18 Sep 2011 16:18:02 -0000 1.309
+++ auctex.texi 20 Jun 2012 23:46:40 -0000
@@ -480,7 +480,7 @@ Insert roman @r{\textrm@{@point{}@}} tex
@item C-c C-f C-f
@kindex C-c C-f C-f
@cindex @code{\textsf}
-Insert @sans{sans serif} @samp{\textsf@{@point{}@}} text.
+Insert @sansserif{sans serif} @samp{\textsf@{@point{}@}} text.
@item C-c C-f C-t
@kindex C-c C-f C-t
Index: macros.texi
===================================================================
RCS file: /sources/auctex/auctex/doc/macros.texi,v
retrieving revision 1.9
diff -u -3 -p -r1.9 macros.texi
--- macros.texi 3 Jun 2005 21:32:17 -0000 1.9
+++ macros.texi 20 Jun 2012 23:46:40 -0000
@@ -7,9 +7,6 @@ AUC@TeX{}
@macro ConTeXt {}
Con@TeX{}t
@end macro
-@macro LaTeX {}
-La@TeX{}
-@end macro
@macro previewlatex {}
preview-latex
@end macro
@@ -41,7 +38,8 @@ font-latex
@end macro
@end ifset
@end ifnottex
-@macro sans {text}@c
+@ifset no-sansserif
+@macro sansserif {text}@c
@iftex
{@textsf \text\}@c
@end iftex
@@ -49,6 +47,7 @@ font-latex
\text\@c
@end ifnottex
@end macro
+@end ifset
@tex
\global\let\savedTeX\TeX
\gdef\TeX#1{\savedTeX#1}
Index: preview-latex.texi
===================================================================
RCS file: /sources/auctex/auctex/doc/preview-latex.texi,v
retrieving revision 1.9
diff -u -3 -p -r1.9 preview-latex.texi
--- preview-latex.texi 21 Feb 2010 12:20:45 -0000 1.9
+++ preview-latex.texi 20 Jun 2012 23:46:40 -0000
@@ -702,8 +702,9 @@ customizable concerning aspects of that
group @code{Preview Gs} for this.
Another noteworthy setting of @code{preview-image-type} is
-@samp{dvipng}: in this case, the @samp{dvipng}@pindex{dvipng} program
-will get run on @acronym{DVI} output (see below for @acronym{PDF}).
+@samp{dvipng}: in this case, the @samp{dvipng}
+@pindex dvipng
+program will get run on @acronym{DVI} output (see below for @acronym{PDF}).
This is in general much faster than Dvips and Ghostscript. In that
case, the option
Index: quickstart.texi
===================================================================
RCS file: /sources/auctex/auctex/doc/quickstart.texi,v
retrieving revision 1.7
diff -u -3 -p -r1.7 quickstart.texi
--- quickstart.texi 13 Oct 2008 06:38:18 -0000 1.7
+++ quickstart.texi 20 Jun 2012 23:46:40 -0000
@@ -163,7 +163,7 @@ Insert roman @r{\textrm@{@point{}@}} tex
@item C-c C-f C-f
@kindex C-c C-f C-f
@cindex @code{\textsf}
-Insert @sans{sans serif} @samp{\textsf@{@point{}@}} text.
+Insert @sansserif{sans serif} @samp{\textsf@{@point{}@}} text.
@item C-c C-f C-t
@kindex C-c C-f C-t
Index: ChangeLog
===================================================================
RCS file: /sources/auctex/auctex/ChangeLog,v
retrieving revision 5.1761
diff -u -3 -p -r5.1761 ChangeLog
--- ChangeLog 26 Apr 2012 06:37:57 -0000 5.1761
+++ ChangeLog 21 Jun 2012 19:58:40 -0000
@@ -1,3 +1,22 @@
+2012-06-21 Patrice Dumas <http://savannah.nongnu.org/users/pertusus>
+
+ * doc/preview-latex.texi (The preview images): place index command
+ `@pindex dvipng' on a line of its own.
+
+ * doc/macros.texi: replace user macro `@sans' by use macro
+ `@sansserif' and make definition conditional against flag
+ no-sansserif as `@sansserif' is a Texinfo macro and does not need
+ to be redefined.
+
+ * doc/macros.texi: Suppress user macro `@LaTeX' as this macro is
+ already defined in Texinfo.
+
+ * doc/quickstart.texi (Editing Facilities): use texinfo `@sansserif'
+ macro rather than user macro `@sans'.
+
+ * doc/auctex.texi (Font Specifiers): use texinfo `@sansserif'
+ macro rather than user macro `@sans'.
+
2012-04-26 Tassilo Horn <tass...@member.fsf.org>
* tex.el (TeX-engine-set): Fix docstring leading to a misplaced
_______________________________________________
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex