[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo ChangeLog doc/texinfo.txi
From: |
Karl Berry |
Subject: |
texinfo ChangeLog doc/texinfo.txi |
Date: |
Mon, 23 Apr 2012 18:22:48 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Karl Berry <karl> 12/04/23 18:22:48
Modified files:
. : ChangeLog
doc : texinfo.txi
Log message:
texi2any support for calling texi2dvi, more on printed output formats
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1356&r2=1.1357
http://cvs.savannah.gnu.org/viewcvs/texinfo/doc/texinfo.txi?cvsroot=texinfo&r1=1.437&r2=1.438
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1356
retrieving revision 1.1357
diff -u -b -r1.1356 -r1.1357
--- ChangeLog 21 Apr 2012 17:44:45 -0000 1.1356
+++ ChangeLog 23 Apr 2012 18:22:47 -0000 1.1357
@@ -1,3 +1,14 @@
+2012-04-23 Karl Berry <address@hidden>
+
+ * doc/texinfo.txi (Output Formats): add PostScript item.
+ (Invoking texi2any): add options passed to texi2dvi.
+ (texi2any Printed Output): new node.
+ (Format with texi2dvi): mention --ps and --dvipdf.
+
+2012-04-22 Karl Berry <address@hidden>
+
+ * README-hacking: rename from README.dev, for more consistency.
+
2012-04-21 Patrice Dumas <address@hidden>
* doc/texinfo.txi (Other Configuration Variables): add
Index: doc/texinfo.txi
===================================================================
RCS file: /sources/texinfo/texinfo/doc/texinfo.txi,v
retrieving revision 1.437
retrieving revision 1.438
diff -u -b -r1.437 -r1.438
--- doc/texinfo.txi 21 Apr 2012 23:19:47 -0000 1.437
+++ doc/texinfo.txi 23 Apr 2012 18:22:47 -0000 1.438
@@ -1,5 +1,5 @@
\input texinfo.tex @c -*-texinfo-*-
address@hidden $Id: texinfo.txi,v 1.437 2012/04/21 23:19:47 karl Exp $
address@hidden $Id: texinfo.txi,v 1.438 2012/04/23 18:22:47 karl Exp $
@c Ordinarily, Texinfo files have the extension .texi. But texinfo.texi
@c clashes with texinfo.tex on 8.3 filesystems, so we use texinfo.txi.
@@ -900,7 +900,7 @@
@table @asis
@item Info
address@hidden Info output
address@hidden Info output, overview
(Generated via @command{makeinfo}.) This format is essentially a
plain text transliteration of the Texinfo source. It adds a few
control characters to separate nodes and provide navigational
@@ -933,7 +933,7 @@
@uref{http://www.w3.org/MarkUp/}. @xref{Generating HTML}.
@item DVI
address@hidden DVI output
address@hidden DVI output, overview
@pindex dvips
@pindex xdvi
(Generated via @command{texi2dvi}.) This DeVIce Independent binary
@@ -950,6 +950,15 @@
@address@hidden for the Impatient}, available from
@uref{http://savannah.gnu.org/projects/teximpatient}.
address@hidden PostScript
address@hidden PostScript output, overview
+(Generated via @command{texi2dvi --ps}.) This was a page description
+language that became widely used around 1985 and is still in use
+today. @uref{http://en.wikipedia.org/wiki/PostScript} gives a basic
+description and more preferences.
+Texinfo uses the @command{dvips} program to convert @TeX{}'s DVI output
+to PostScript. @xref{Invoking Dvips,,, dvips, Dvips}.
+
@item PDF
@cindex PDF output, overview
@cindex Beebe, Nelson
@@ -959,22 +968,25 @@
represent the exact appearance of a document, including fonts and
graphics, and supporting arbitrary scaling. It is intended to be
platform-independent and easily viewable, among other design goals;
address@hidden://tug.org/TUGboat/tb22-3/tb72beebe-pdf.pdf} has some
address@hidden://en.wikipedia.org/wiki/Portable_Document_Format} and
address@hidden://tug.org/TUGboat/tb22-3/tb72beebe-pdf.pdf} have some
background. Texinfo uses the @command{pdftex} program, a variant of
@TeX{}, to output PDF; see @uref{http://tug.org/applications/pdftex}.
@xref{PDF Output}.
@item Docbook
address@hidden Docbook output
address@hidden Docbook output, overview
address@hidden XML Docbook output, overview
(Generated via @command{makeinfo --docbook}.) This is an XML-based
format developed some years ago, primarily for technical
documentation. It therefore bears some resemblance, in broad
-outlines, to Texinfo. See @uref{http://www.docbook.org}. If you want
+outline, to Texinfo. See @uref{http://www.docbook.org}. If you want
to convert from Docbook @emph{to} Texinfo, please see
@uref{http://docbook2X.sourceforge.net}.
@item XML
address@hidden XML output
address@hidden XML Texinfo output, overview
address@hidden Texinfo XML output, overview
@cindex DTD, for Texinfo XML
@pindex texinfo.dtd
(Generated via @command{makeinfo --xml}.) XML is a generic syntax
@@ -15719,13 +15731,31 @@
@pxref{Preparing for TeX,,Preparing for @TeX{}}).
@opindex address@hidden, for @command{texi2dvi}}
address@hidden pdftexi2dvi
With the @option{--pdf} option, @command{texi2dvi} produces PDF output
instead of DVI (@pxref{PDF Output}), by running @command{pdftex}
instead of @command{tex}. Alternatively, the command
@command{texi2pdf} is an abbreviation for running @samp{texi2dvi
--pdf}. The command @command{pdftexi2dvi} is also supported as a
-convenience to address@hidden users, since the latter merely prepends
address@hidden to DVI producing tools to have PDF producing tools.
+convenience to address@hidden users (@pxref{,,,auctex, address@hidden, since
+that program merely prepends @samp{pdf} to DVI producing tools to have
+PDF producing tools.
+
address@hidden address@hidden, for @command{texi2dvi}}
address@hidden dvipdfmx
+With the @option{--dvipdf} option, @command{texi2dvi} produces PDF
+output by running @TeX{} and then a DVI-to-PDF program: if the
address@hidden environment variable is set, that value is used, else
+the first extant among @code{dvipdfmx}, @code{dvipdfm}, @code{dvipdf},
address@hidden, @code{dvitopdf}. This method can support CJK
+typesetting better than @command{pdftex}.
+
address@hidden address@hidden, for @command{texi2dvi}}
address@hidden dvips
+With the @option{--ps} option, @command{texi2dvi} produces PostScript
+instead of DVI, by running @command{tex} and then @command{dvips}
+(@pxref{,,,dvips, Dvips}). (Or the value of the @env{DVIPS}
+environment variable, if set.)
@cindex @LaTeX{}, processing with @command{texi2dvi}
@command{texi2dvi} can also be used to process @LaTeX{} files; simply
@@ -15775,10 +15805,11 @@
The option @option{-E} (equivalently, @option{-e} and
@option{--expand}) does Texinfo macro expansion using
address@hidden instead of the @TeX{} implementation. Each
-implementation has its own limitations and advantages. If this option
-is used, the string @code{@@address@hidden must not appear at the
-beginning of a line in the source file.
address@hidden instead of the @TeX{} implementation (@pxref{Macro
+Details}). Each implementation has its own limitations and
+advantages. If this option is used, the string
address@hidden@@address@hidden must not appear at the beginning of a line
+in the source file.
For the list of all options, run @samp{texi2dvi --help}.
@@ -16542,6 +16573,7 @@
@menu
* Reference Implementation:: @command{texi2any}: the reference implementation.
* Invoking texi2any:: Running the translator from a shell.
+* texi2any Printed Output:: Calling @command{texi2dvi}.
* Pointer Validation:: How to check that pointers point somewhere.
* Configuration Variables:: Configuring @command{texi2any}.
* texi2html:: An ancestor of @command{texi2any}.
@@ -16716,6 +16748,16 @@
@code{@@documentlanguage} command if there is one, otherwise English
(@pxref{documentlanguage}).
address@hidden --dvi
address@hidden --dvi
+Generate a TeX DVI file using @command{texi2dvi}, rather than Info
+(@pxref{texi2any Printed Output}).
+
address@hidden --dvipdf
address@hidden --dvipdf
+Generate a PDF file using @command{texi2dvi --dvipdf}, rather than
+Info (@pxref{texi2any Printed Output}).
+
@item address@hidden
@itemx -e @var{limit}
@opindex address@hidden
@@ -16986,6 +17028,11 @@
The default is to indent by two spaces, except for paragraphs
following a section heading, which are not indented.
address@hidden --pdf
address@hidden --pdf
+Generate a PDF file using @command{texi2dvi --pdf}, rather than Info
+(@pxref{texi2any Printed Output}).
+
@item --plaintext
@opindex --plaintext
@cindex Plain text output with @option{--plaintext}
@@ -17003,6 +17050,11 @@
With this option, @code{@@setfilename} is ignored and the output goes
to standard output by default; this can be overridden with @option{-o}.
address@hidden --ps
address@hidden --ps
+Generate a PostScript file using @command{texi2dvi --ps}, rather
+than Info (@pxref{texi2any Printed Output}).
+
@item --set-init-variable @address@hidden
@opindex --set-init-variable @address@hidden
Set the configuration variable @var{var} to @var{value}. The @code{=}
@@ -17069,6 +17121,11 @@
@opindex -V
Print the version number, then exit successfully.
address@hidden --Xopt @var{str}
address@hidden --Xopt @var{str}
+Pass @var{str} (a single shell word) to @command{texi2dvi}; may be
+repeated (@pxref{texi2any Printed Output}).
+
@item --xml
@opindex --xml
Generate Texinfo XML output (rather than Info).
@@ -17082,12 +17139,60 @@
overridden by a command line option. The value should be one of:
@example
-docbook dvi dvipdf html info plaintext ps pdf xml
+docbook dvi dvipdf html info pdf plaintext ps xml
@end example
If not set or otherwise specified, Info output is the default.
address@hidden texi2any Printed Output
address@hidden @command{texi2any} Printed Output
address@hidden Printed output, through @command{texi2any}
address@hidden Output, printed through @command{texi2any}
+
+To justify the name address@hidden, @command{texi2any} has
+basic support for creating printed output in the various formats:
address@hidden DVI, PDF, and PostScript. This is done via the simple method
+of executing the @command{texi2dvi} program when those outputs are
+requested.
+
+The output format options for this are @option{--dvi},
address@hidden, @option{--pdf}, and @option{--pdf}. @xref{Format
+with texi2dvi}, for more details on @command{texi2dvi} operation. In
+addition, the @option{--verbose}, @option{--silent}, and
address@hidden options are passed on if specified; the @option{-I}
+and @option{-o} options are likewise passed on with their arguments,
+and @option{--debug} without its argument.
+
+The only option remaining that is related to the @command{texi2dvi}
+invocation is @option{--Xopt}. Here, just the argument is passed on
+and multiple @option{--Xopt} options accumulate, providing a way to
+construct an arbitrary command line for @command{texi2dvi}. For
+example, running
+
address@hidden
+texi2any --Xopt -t --Xopt @@a4paper --pdf foo.texi
address@hidden example
+
address@hidden is equivalent to running
+
address@hidden
+texi2dvi -t @@a4paper --pdf foo.texi
address@hidden example
+
+Although one might wish that other options to @command{texi2any} would
+take effect, they don't. For example, running @samp{texi2any
+--no-number-sections --dvi foo.texi} still results in a DVI file with
+numbered sections. (Perhaps this could be improved in the future, if
+requests are received.) @command{texi2any} also does not generate
+Info output or perform any other actions when it invokes
address@hidden
+
+The actual name of the command that is invoked is specified by the
address@hidden configuration variable (@pxref{Other Configuration
+Variables}). As you might guess, the default is @samp{texi2dvi}.
+
+
@node Pointer Validation
@section Pointer Validation
@cindex Pointer validation with @code{makeinfo}
@@ -17690,7 +17795,8 @@
output to a reference file, as is done for the tests.
@item TEXI2DVI
-Name of the command used to produce PDF and DVI.
+Name of the command used to produce PostScript, PDF, and DVI; default
+is @samp{texi2dvi}. @xref{texi2any Printed Output}.
@item TEXI2HTML
@cindex compatibility, with @command{texi2html}
@@ -21945,7 +22051,7 @@
Revision Control System}) or other version control systems, which
expand it into a string such as:
@example
-$Id: texinfo.txi,v 1.437 2012/04/21 23:19:47 karl Exp $
+$Id: texinfo.txi,v 1.438 2012/04/23 18:22:47 karl Exp $
@end example
(This is useful in all sources that use version control, not just manuals.)
You may wish to include the @samp{$Id:} comment in the @code{@@copying}
- texinfo ChangeLog doc/texinfo.txi, Karl Berry, 2012/04/08
- texinfo ChangeLog doc/texinfo.txi, Karl Berry, 2012/04/10
- texinfo ChangeLog doc/texinfo.txi, Karl Berry, 2012/04/13
- texinfo ChangeLog doc/texinfo.txi, Karl Berry, 2012/04/13
- texinfo ChangeLog doc/texinfo.txi,
Karl Berry <=
- texinfo ChangeLog doc/texinfo.txi, Karl Berry, 2012/04/24
- texinfo ChangeLog doc/texinfo.txi, Karl Berry, 2012/04/24
- texinfo ChangeLog doc/texinfo.txi, Karl Berry, 2012/04/24