aboutsummaryrefslogtreecommitdiffstats
path: root/doc/yat2m.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-07-05doc: Update yat2m to take care of SOURCE_DATE_EPOCH.Werner Koch1-1/+13
* doc/yat2m.c (main): Set a default for OPT_DATE. Signed-off-by: Werner Koch <[email protected]>
2016-09-20doc: minor fix for @xref.NIIBE Yutaka1-1/+1
* doc/yat2m.c (proc_texi_cmd): Captalize "see" for xref.
2016-09-20doc: Implement simple '@ref'erences.Justus Winter1-0/+1
* doc/yat2m.c (proc_texi_cmd): Handle '@ref'. Signed-off-by: Justus Winter <[email protected]>
2016-07-02yat2m: Fix table formatting.Werner Koch1-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 <[email protected]>
2016-06-25yat2m: Silence lint warnings and fix a printf format bug.Werner Koch1-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 <[email protected]>
2016-06-14doc: Add files and envvars to a new index.Werner Koch1-0/+1
* doc/gnupg.texi: Define new index "ef". (Environment Index): New. Signed-off-by: Werner Koch <[email protected]>
2015-11-30yat2m: Add keyword @url.Werner Koch1-0/+1
* doc/yat2m.c (proc_texi_cmd): Add keyword @url. Signed-off-by: Werner Koch <[email protected]>
2015-11-30yat2m: New option --date.Werner Koch1-3/+18
* doc/yat2m.c (opt_date): new. (isodatestring): Use it if set. (main): New option --date.
2015-06-09doc: Do not used fixed file names in the manuals.Werner Koch1-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 <[email protected]>
2014-12-22doc: Fix memory leak in yat2m.Werner Koch1-0/+1
* doc/yat2m.c (write_th): Free NAME. -- Reported-by: Joshua Rogers <[email protected]>
2014-08-18yat2m: Support @set and @value.Werner Koch1-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.
2014-08-18yat2m: Support the $* command for man page rendering.Werner Koch1-0/+6
2013-10-28doc: Change yat2m to allow arbitrary condition names.Werner Koch1-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 <[email protected]>
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-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.
2012-01-16yat2m: don't dereference pointer to freed memoryJim Meyering1-4/+4
* doc/yat2m.c (top_parse_file): Correct macrolist-freeing loop.
2011-10-12Extend yat2m to allow indented tables.Werner Koch1-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.
2008-09-03Fix gpg-preset-passphrase bug.Werner Koch1-2/+4
Cleanups
2008-04-03Fixed last yat2m change.Werner Koch1-3/+5
Add a similar change to @file and @env.
2008-01-28Typo and grammer fixes by Justin Pryzby.Werner Koch1-2/+2
2007-08-14Documentaion updates.Werner Koch1-1/+1
Support doe Dirmngr under W32. Fixed a yat2m bug.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-06First steps towards supporting W32.Werner Koch1-1/+1
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2006-09-22Improved yat2m.Werner Koch1-28/+234
Tweaked gpg.texti to be used for gpg1 and gpg2.
2006-09-21Various updatesWerner Koch1-1/+1
2006-09-08doc fixesWerner Koch1-6/+10
2006-09-04Some fixes as needed by dirmngr man pagesWerner Koch1-9/+13
2006-08-22added missing gpgv man pageWerner Koch1-7/+35
2006-08-18More man pages. Added include files for 2 common paragraphs.Werner Koch1-5/+39
2006-08-17include support and texi fixesWerner Koch1-19/+37
2006-08-17More man pages.Werner Koch1-0/+1031