summaryrefslogtreecommitdiffstats
path: root/doc/yat2m.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* doc: Minor change to the included yat2m.Werner Koch2019-04-041-1/+2
| | | | | | | | | -- Getting the rendering of man pages is not really easy; let's see whether this is better. The change has also been done upstream. Signed-off-by: Werner Koch <wk@gnupg.org>
* doc: fix spelling mistakesDaniel Kahn Gillmor2018-10-241-3/+3
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* doc: Update yat2m to take care of SOURCE_DATE_EPOCH.Werner Koch2017-07-051-1/+13
| | | | | | * doc/yat2m.c (main): Set a default for OPT_DATE. Signed-off-by: Werner Koch <wk@gnupg.org>
* doc: minor fix for @xref.NIIBE Yutaka2016-09-201-1/+1
| | | | * doc/yat2m.c (proc_texi_cmd): Captalize "see" for xref.
* doc: Implement simple '@ref'erences.Justus Winter2016-09-201-0/+1
| | | | | | * doc/yat2m.c (proc_texi_cmd): Handle '@ref'. Signed-off-by: Justus Winter <justus@g10code.com>
* yat2m: Fix table formatting.Werner Koch2016-07-021-1/+3
| | | | | | | * doc/yat2m.c (proc_texi_cmd): Use .TQ for @itemx. Print a .P at the end of a level 0 table. Signed-off-by: Werner Koch <wk@gnupg.org>
* yat2m: Silence lint warnings and fix a printf format bug.Werner Koch2016-06-251-5/+36
| | | | | | | | | | | * doc/yat2m.c (ATTR_PRINTF, ATTR_NR_PRINTF, ATTR_MALLOC): New. (die, err, inf, xmalloc, xcalloc): New prototypes with attributes. (get_section_buffer): Take care of !N_SECTIONS. (proc_texi_cmd): Cast precision format arg. (proc_texi_buffer): Do not set IN_CMD when not used afterwards. -- Signed-off-by: Werner Koch <wk@gnupg.org>
* doc: Add files and envvars to a new index.Werner Koch2016-06-141-0/+1
| | | | | | | * doc/gnupg.texi: Define new index "ef". (Environment Index): New. Signed-off-by: Werner Koch <wk@gnupg.org>
* yat2m: Add keyword @url.Werner Koch2015-11-301-0/+1
| | | | | | * doc/yat2m.c (proc_texi_cmd): Add keyword @url. Signed-off-by: Werner Koch <wk@gnupg.org>
* yat2m: New option --date.Werner Koch2015-11-301-3/+18
| | | | | | * doc/yat2m.c (opt_date): new. (isodatestring): Use it if set. (main): New option --date.
* doc: Do not used fixed file names in the manuals.Werner Koch2015-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | * doc/mkdefsinc.c: New. * doc/Makefile.am: Include cmacros.am. (EXTRA_DIST): Add mkdefsinc.c defsincdate. (BUILT_SOURCES): Add defsincdate (CLEANFILES): Add mkdefsinc and defs.inc. (mkdefsinc): New rule. (yat2m-stamp): Depend on defs.inc. ($(myman_pages) gnupg.7): Ditto. (gnupg.texi): Remove rule to touch itself. (dist-hook): New. (defsincdate): New. (defs.inc): New. * doc/gnupg.texi: Remove inclusion of version.texi. Include defs.inc. Also include defs.inc in all files used to build man files. Change fixed directory names to those from defs.inc. -- GnuPG-bug-id: 1661 Signed-off-by: Werner Koch <wk@gnupg.org>
* doc: Fix memory leak in yat2m.Werner Koch2014-12-221-0/+1
| | | | | | | * doc/yat2m.c (write_th): Free NAME. -- Reported-by: Joshua Rogers <git@internot.info>
* yat2m: Support @set and @value.Werner Koch2014-08-181-3/+93
| | | | | | | | | * doc/yat2m.c (variablelist): New. (set_variable): New. (macro_set_p): Also check the variables. (proc_texi_cmd): Support the @value command. (parse_file): Support the @set command. (top_parse_file): Release variablelist.
* yat2m: Support the $* command for man page rendering.Werner Koch2014-08-181-0/+6
|
* doc: Change yat2m to allow arbitrary condition names.Werner Koch2013-10-281-92/+218
| | | | | | | | | | | | | | | | | | | * doc/yat2m.c (MAX_CONDITION_NESTING): New. (gpgone_defined): Remove. (condition_s, condition_stack, condition_stack_idx): New. (cond_is_active, cond_in_verbatim): New. (add_predefined_macro, set_macro, macro_set_p): New. (evaluate_conditions, push_condition, pop_condition): New. (parse_file): Rewrite to use the condition stack. (top_parse_file): Set prefined macros. (main): Change -D to define arbitrary macros. -- This change allows the use of other conditionals than "gpgone" and thus make "gpgtwoone" et al. actually work. It does now also track conditionals over included files. Signed-off-by: Werner Koch <wk@gnupg.org>
* Change all quotes in strings and comments to the new GNU standard.Werner Koch2012-06-051-9/+9
| | | | | | | | | | | | | | | | | | | The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
* yat2m: don't dereference pointer to freed memoryJim Meyering2012-01-161-4/+4
| | | | * doc/yat2m.c (top_parse_file): Correct macrolist-freeing loop.
* Extend yat2m to allow indented tables.Werner Koch2011-10-121-35/+68
| | | | | | Current makeinfo versions allow to indent the texinfo source. However yat2m had no support for this. With this patch it is now possible to use a simple indentation style while keeping man pages readable.
* Fix gpg-preset-passphrase bug.Werner Koch2008-09-031-2/+4
| | | | | Cleanups
* Fixed last yat2m change.Werner Koch2008-04-031-3/+5
| | | | | Add a similar change to @file and @env.
* Typo and grammer fixes by Justin Pryzby.Werner Koch2008-01-281-2/+2
|
* Documentaion updates.Werner Koch2007-08-141-1/+1
| | | | | | Support doe Dirmngr under W32. Fixed a yat2m bug.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* First steps towards supporting W32.Werner Koch2007-06-061-1/+1
| | | | | | | This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
* Improved yat2m.Werner Koch2006-09-221-28/+234
| | | | | Tweaked gpg.texti to be used for gpg1 and gpg2.
* Various updatesWerner Koch2006-09-211-1/+1
|
* doc fixesWerner Koch2006-09-081-6/+10
|
* Some fixes as needed by dirmngr man pagesWerner Koch2006-09-041-9/+13
|
* added missing gpgv man pageWerner Koch2006-08-221-7/+35
|
* More man pages. Added include files for 2 common paragraphs.Werner Koch2006-08-181-5/+39
|
* include support and texi fixesWerner Koch2006-08-171-19/+37
|
* More man pages.Werner Koch2006-08-171-0/+1031