summaryrefslogtreecommitdiff
path: root/contrib/texi2pod.pl
Commit message (Collapse)AuthorAgeFilesLines
* * texi2pod.pl: Escape braces in regexp involving @strong{...}.uros2015-08-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226585 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl (postprocess): Move command process for '@sc' to thexmj2014-08-111-1/+2
| | | | | | | | | front of '@dfn'. Add a new command process for '@t{...}', just print the content. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213808 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Force .pod file to not be a numbered list.uros2014-05-241-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210889 138bc75d-0d04-0410-961f-82ee72b054a4
* Improve formatting of manuals.rwild2010-09-221-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contrib/: * texi2pod.pl: Replace @@ before @{ and @}, for @samp{@@}. Also escape characters with grave accents, to be fixed ... (unmunge): ... here. (postprocess): Also handle @/ and @acronym{...}. gcc/: * doc/contrib.texi (Contributors): Allow URL to wrap in PDF output. * doc/cppopts.texi: Fix markup of index entry. * doc/extend.texi (Constructing Calls): Fix markup of __builtin_va_arg_pack and __builtin_va_arg_pack_len definition. (Conditionals, C++ Comments, Pragmas, Unnamed Fields, Thread-Local) (Vague Linkage, C++ Attributes): Fix markup of index entries and keywords. * doc/invoke.texi (Option Summary): Fix spacing. Rewrap to avoid long lines. (C Dialect Options, C++ Dialect Options, Warning Options) (Debugging Options, Spec Files, Darwin Options) (i386 and x86-64 Options, MIPS Options) (RS/6000 and PowerPC Options, Code Gen Options): Fix markup of index entries, avoid abbreviations, allow URLs to wrap, avoid long lines, avoid overlong pages from long @itemx lists. * doc/objc.texi (Garbage Collection): Allow URLs to wrap. * doc/standards.texi (Standards): Likewise. * doc/trouble.texi (Incompatibilities): Fix markup of index entry. gcc/fortran/: * gfortran.texi (Argument list functions): Allow URL to wrap. * intrinsic.texi (GETGID, GETPID, GETUID, IMAGE_INDEX) (IS_IOSTAT_END, IS_IOSTAT_EOR, NUM_IMAGES, THIS_IMAGE) (ISO_FORTRAN_ENV): Fix markup in index entries, and a couple of code markups in the text. * invoke.texi (Fortran Dialect Options) (Error and Warning Options, Directory Options, Code Gen Options): Likewise. Remove @code inside @smallexample. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164533 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib:jsm282008-04-011-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * texi2pod.pl: Handle @samp and @url inside verbatim blocks. Handle @heading. Handle enumerated lists with starting numbers and extra headings. gcc: * doc/include/gpl_v3.texi: Update for manpage generation. * doc/gcc.texi, doc/gccint.texi: Include gpl_v3.texi instead of gpl.texi. * doc/sourcebuild.texi: Document gpl_v3.texi as well as gpl.texi. * Makefile.in (TEXI_GCC_FILES, TEXI_GCCINT_FILES): Include gpl_v3.texi instead of gpl.texi. (gpl.pod): New. gcc/fortran: * gfortran.texi: Include gpl_v3.texi instead of gpl.texi * Make-lang.in (GFORTRAN_TEXI): Include gpl_v3.texi instead of gpl.texi. gcc/java: * gcj.texi: Include gpl_v3.texi instead of gpl.texi * Make-lang.in (TEXI_JAVA_FILES): Include gpl_v3.texi instead of gpl.texi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133794 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-12-26 Sebastian Pop <sebastian.pop@amd.com>spop2007-12-261-1/+1
| | | | | | | | | | | | | | | * compareSumTests3: Changed to GPLv3. * prepare_patch.sh: Same. * uninclude: Same. * dglib.pm: Same. * gennews: Same. * texi2pod.pl: Same. * analyze_brprob: Same. * gcc_build: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131186 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-10-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>manu2007-10-081-3/+12
| | | | | | | | | | | * doc/invoke.texi (Wall): fix formatting issues. contrib/ * texi2pod.pl: Handle @asis. (postprocess): Move @gccoptlist{} after all formatting commands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129125 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Correct handling of @itemize with no argument.zack2007-04-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123514 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-16 Matthias Klose <doko@debian.org>doko2007-02-161-0/+5
| | | | | | | * texi2pod.pl: Handle @subsubsection, ignore @anchor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122026 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib/rsandifo2007-02-061-0/+18
| | | | | | | * texi2pod.pl: Handle @multitable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121646 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Correct handling of absolute @include.drow2006-05-311-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114271 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Handle -I.drow2006-05-021-4/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113462 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Substitue for @value even when part of @include.mmitchel2005-10-211-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105780 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Convert two single quotes or two backquotes tobwilson2005-10-211-0/+4
| | | | | | | double quotes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105758 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>kcook2005-08-151-2/+2
| | | | | | | * All files: Update with new FSF address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103095 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-26 Matthias Klose <doko@debian.org>doko2004-08-261-0/+3
| | | | | | | * texi2pod.pl: keep references of the form @ref{...}, print them bold. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86635 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Remove extra line.kraai2003-08-011-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70036 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Default @itemize's parameter to @bullet.kraai2003-07-151-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69399 138bc75d-0d04-0410-961f-82ee72b054a4
* * analyze_brprob, gcc_build, gennews, texi2pod.pl: Change GNU CCneroden2003-05-231-5/+5
| | | | | | | to GCC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67120 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Skip contents of @copying.jsm282002-12-241-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60477 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Correct handling of the internal R<> sequence.zack2002-06-261-6/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55012 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Handle @end ftable and @end vtable.zack2002-03-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51364 138bc75d-0d04-0410-961f-82ee72b054a4
* * contrib/texi2pod.pl: Handle @include, @ftable, @vtable.zack2002-03-111-10/+53
| | | | | | | | | Reformat some code for clarity. * gcc/Makefile.in: Give texi2pod its input file as a command line argument, not on stdin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50592 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-12 Matthias Klose <doko@debian.org>doko2001-12-141-10/+36
| | | | | | | | | | | | | * texi2pod.pl: Merge changes from binutils' texi2pod.pl. Allows generation of more than one man page from one source. Add '-' to set of valid chars for an identifier. Let -D option accept flags of the form <flag>=<value>. Use \s+ for whitespace detection in '@c man' lines. Handle @set and @clear independent of $output. Substitute all @value{}'s in a line. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48015 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib:jsm282001-11-141-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var in verbatim blocks specially. Handle @unnumbered, @unnumberedsec and @center. Allow [a-z] after @enumerate. Handle 0 and numbers greater than 9 in enumerations. gcc: * Makefile.in (POD2MAN): Don't include --section=1. (manext): Rename to man1ext. All users changed. (man7ext): New. (man7dir): New. (generated-manpages): Also depend on $(docdir)/gfdl.7, $(docdir)/gpl.7, and $(docdir)/fsf-funding.7. ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include --section=1 in calls to $(POD2MAN). ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New. (maintainer-clean, install, uninstall): Handle the new man pages. ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi. (installdirs): Create man7dir. * doc/cpp.texi: Include GFDL in this manual. In the man page, refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/invoke.texi: Apply GFDL to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/include/fdl.texi, doc/include/funding.texi, doc/include/gpl.texi: Adjust for conversion by texi2pod.pl. * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7. gcc/cp: * Make-lang.in: Change all uses of $(manext) to $(man1ext). gcc/f: * Make-lang.in: Change all uses of $(manext) to $(man1ext). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46998 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:jsm282001-07-031-4/+3
| | | | | | | | | | | | * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Improve formatting. Improve documentation of -std and -Wwrite-strings. contrib: * texi2pod.pl: Handle @r inside @item. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43718 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Add copyright and GPL notices.jsm282001-05-031-0/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41800 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib:jsm282001-01-241-0/+1
| | | | | | | | | | * texi2pod.pl: Handle "\,". gcc: * gcc.1, cpp.1: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39244 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib:jsm282001-01-151-3/+1
| | | | | | | | | | | | | * texi2pod.pl: Fix regular expression for @r to avoid exponential recursion. From Russ Allbery <rra@stanford.edu>. Remove perl version check. gcc: * configure.in, configure: Revert previous patch requiring perl 5.6.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39053 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib:jsm282001-01-141-0/+2
| | | | | | | | | | | | * texi2pod.pl: Require at least perl 5.6.0. gcc: * configure.in: Require at least perl 5.6.0 to regenerate manpages. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39018 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib:jsm282001-01-131-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | * gcc_update: Add gcc/gcc.1 to generated files. * texi2pod.pl: Handle @r and @gccoptlist. Handle @gol. Handle discarding to end of sentence with @xref where the sentence has an interior "." in markup, and handle discarding parentheses around such a sentence. gcc: * Makefile.in (generated-manpages): Add gcc.1 ($(srcdir)/gcc.1): New target. (maintainer-clean): Delete $(srcdir)/gcc.1. * gcc.texi: Add macros @gccoptlist and @gol. * invoke.texi: Include option summary in manpage. Mark up option summary with @gccoptlist and @gol. Use @r in one place where appropriate. * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org. * gcc.1: Generate from invoke.texi. gcc/cp: * g++.1: Change to be ".so man1/gcc.1". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38993 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:jsm282001-01-101-3/+3
| | | | | | | | | | | | | | | * gcc.texi: Define macro gcctabopt. * invoke.texi: Add manpage sections BUGS and AUTHOR. Use @command, @env and @option in some places where appropriate. Use @gcctabopt where appropriate. Put URLs and email addresses inside @w. contrib: * texi2pod.pl: Handle @gcctabopt and @env in tables. Handle @command. Format URLs and email addresses in bold. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38863 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib:jsm282001-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | * texi2pod.pl: Handle @option and @env. gcc: * configure.in: Require at least texinfo 4.0. Check for whether Pod::Man is sufficiently recent to regenerate GCC manpages. * configure: Regenerate. * Makefile.in (TEXI2POD): Call perl explicitly rather than relying on #!. (GENERATED_MANPAGES): Define. (generated-manpages): New target. Depend on cpp.1 as well as gcov.1. (install-man): Depend on $(GENERATED_MANPAGES) (defined by configure to generated-manpages or empty) rather than on the manpages directly. Remove execute permission from installed gcov.1 as well as cpp.1. * cpp.1, gcov.1: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38668 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: If multiple @c man sections with the same tagzack2000-12-071-33/+45
| | | | | | | | | | appear, concatenate them in the final output. When skipping, ignore block commands that can't cause skipping, and honor those that can. Ensure that verbatim blocks are separate paragraphs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38117 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl: Restructure for comprehensibility, addzack2000-12-051-102/+183
| | | | | | | | | comments. Merge handling of @ignore and @ifxxx. Handle a whole bunch more Texinfo commands. Use consistent formatting style. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38052 138bc75d-0d04-0410-961f-82ee72b054a4
* * texi2pod.pl:zack2000-11-191-39/+120
| | | | | | | | | | | | | - Add real command line parsing. - Support @ifset, @ifclear, @set, @value, -D switch. - Support @sc. Improve handling of @ref and friends. - Discard @subsection, @need, @node lines. - Un-nest font changes to match texinfo semantics. - Handle @{ and @}. Oops. - Don't emit E<> directives inside verbatim blocks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37569 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-06-14 Zack Weinberg <zack@rabi.columbia.edu>zack1999-06-141-0/+151
* cpp.texi: Minor update. * cpp.1: Regenerate from cpp.texi, using... * contrib/texi2pod.pl: ...this (new file) plus some hand tweaks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27525 138bc75d-0d04-0410-961f-82ee72b054a4