aboutsummaryrefslogtreecommitdiffstats
path: root/doc/yat2m.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* yat2m: Improve html output.Werner Koch2024-04-251-5/+25
| | | | --
* yat2m: Fix HTML output for backslash.NIIBE Yutaka2023-11-161-1/+1
| | | | | | | | * doc/yat2m.c (proc_texi_buffer): Use &bsol. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Implement @item handling with @table item specification.NIIBE Yutaka2023-11-151-2/+61
| | | | | | | | | | | | | * doc/yat2m.c (MAX_TABLE_NESTING): New. (table_item_stack): New. (proc_texi_cmd): Add @gcctabopt and @gnupgtabopt. Add handling of @item argument with proc_texi_buffer. Add handling of @table argument, push to table_item_stack. -- GnuPG-bug-id: 6674 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Also handle @file treating '-' as minus.NIIBE Yutaka2023-11-151-1/+1
| | | | | | | | * doc/yat2m.c (proc_texi_cmd): It's minus for @file. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Output \- for @samp, @kbd, and @env, too.NIIBE Yutaka2023-11-141-3/+3
| | | | | | | | * doc/yat2m.c (proc_texi_cmd): Support more commands. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Generate \- for roff for some commands.NIIBE Yutaka2023-11-091-36/+57
| | | | | | | | | | | | * doc/yat2m.c (proc_texi_cmd): New flag to enable generating \- for roff for @command, @code, @url and @option for their argument, and @example and @smallexample until their @end. (proc_texi_buffer): Emit \- when enabled. -- GnuPG-bug-id: 6674 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Add support of @minus{} command.NIIBE Yutaka2023-11-071-0/+1
| | | | | | | | | * doc/yat2m.c (proc_texi_cmd): Support @minus. -- GnuPG-bug-id: 6674 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Use \fP to return previous font.NIIBE Yutaka2023-11-071-10/+10
| | | | | | | | | | | | | | * doc/yat2m.c (proc_texi_cmd): Use \fP instead of \fR. -- This can fix the output of following input (in gpg.texi): @item --list-filter @{select=@var{expr}@} The last right brace is in bold font. Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Fix backslash output in man.NIIBE Yutaka2023-11-071-1/+1
| | | | | | | | * doc/yat2m.c (proc_texi_buffer): Use \[rs] for backslash. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Parse @dots{} to show ellipsis in HTML mode.Ben Kibbey2023-11-071-0/+1
| | | | | | | * doc/yat2m.c (proc_texi_cmd): Add "dots" to comamnd table and output "..." in manpages and ellipsis in HTML mode. Signed-off-by: Ben Kibbey <[email protected]>
* yat2m: No en-dash and em-dash for @item line.NIIBE Yutaka2023-11-061-6/+14
| | | | | | | | | | * doc/yat2m.c (proc_texi_cmd): Disable parsing for dashes for @item. -- GnuPG-bug-id: 6746 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Interpret -- and --- verbatimly in @example.NIIBE Yutaka2023-11-021-3/+10
| | | | | | | | | | | * doc/yat2m.c (example_cmd_active): New. (proc_texi_cmd): Don't apply the processing for en-dash and em-dash when it's in @example/@smallexample. -- GnuPG-bug-id: 6746 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Support Texinfo input -- and ---.NIIBE Yutaka2023-11-021-0/+18
| | | | | | | | | * doc/yat2m.c (proc_texi_buffer): Handle en-dash and em-dash. -- GnuPG-bug-id: 6746 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: No additional newline after the end of subsection.NIIBE Yutaka2023-07-271-0/+2
| | | | | | | | * doc/yat2m.c (proc_texi_buffer): Add 'break' in switch. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Fix Windows buildWerner Koch2023-06-121-1/+12
| | | | | | | * doc/yat2m.c (mystpcpy): New. Use instead of stpcpy. -- Fixes-commit: 43dcdbff50fa33728ab4717cacdf8ff600aea3b9
* yat2m: Add option --gnupgorgWerner Koch2023-06-091-3/+62
|
* yat2m: Some basic HTML formatting works now.Werner Koch2023-06-011-37/+398
| | | | | | | | * doc/yat2m.c: Lots of changes for option --html. -- One of the remaining problem is that we do not insert <p>...</p> Might me better done on the final HTML with a second pass.
* yat2m: Use __noreturn__ attribute.NIIBE Yutaka2022-09-151-1/+1
| | | | | | | | | * doc/yat2m.c (ATTR_NR_PRINTF): Use __noreturn__. -- GnuPG-bug-id: 4002 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Only emit a message of the page with --verbose option.NIIBE Yutaka2022-03-281-1/+2
| | | | | | | | * doc/yat2m.c (finish_page): Conditionalize the output with VERBOSE. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: New option --html and some basic html rendering.Werner Koch2021-01-071-43/+272
| | | | | | -- Not yet finished.
* yat2m: Change style for @samp and add @kbd.Werner Koch2019-04-041-3/+4
| | | | | | -- Also a few comment typo fixes.
* yat2m: Avoid compiler warnings.NIIBE Yutaka2018-10-221-1/+1
| | | | | | * doc/yat2m.c (isodatestring): Prepare enough buffer. Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Avoid compiler warningsWerner Koch2018-03-221-5/+10
| | | | | | | * doc/yat2m.c (evaluate_conditions): Mark args unused (proc_texi_cmd): Avoid shadowing warning. Signed-off-by: Werner Koch <[email protected]>
* yat2m: Change bug report address.Werner Koch2017-07-051-2/+2
| | | | --
* yat2m: Use version from libgpg-error.Werner Koch2017-07-051-1/+5
| | | | | | | * doc/yat2m.c (VERSION): Define as PACKAGE_VERSION. * doc/Makefile.am (yat2m): Pass PACKAGE_VERSION with -D. Signed-off-by: Werner Koch <[email protected]>
* yat2m: Take care of SOURCE_DATE_EPOCH.Werner Koch2017-07-051-1/+7
| | | | | | * doc/yat2m.c (main): Set a default for OPT_DATE. Signed-off-by: Werner Koch <[email protected]>
* doc: minor fix for @xref.NIIBE Yutaka2017-07-051-1/+1
| | | | * doc/yat2m.c (proc_texi_cmd): Captalize "see" for xref.
* doc: Implement simple '@ref'erences.Justus Winter2017-07-051-0/+1
| | | | | | * doc/yat2m.c (proc_texi_cmd): Handle '@ref'. Signed-off-by: Justus Winter <[email protected]>
* 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 <[email protected]>
* doc: Update yat2m.cWerner Koch2016-06-251-7/+56
| | | | | | | | | | | | * doc/yat2m.c: Update from gnupg. -- yat2m.c has been taken from gnupg commit 22b9bea1c3d0e944aa539a87d79e47d92ca5309f and the copy here shall now be considered as the canonical version. Signed-off-by: Werner Koch <[email protected]>
* Convert http links to https where possible in the source.Daniel Kahn Gillmor2016-02-081-1/+1
| | | | | | | | | | | | | | | | -- * use https for bug reporting * in comments and docs, use https to refer to: - www.gnu.org - creativecommons.org - translationproject.org - mail.gnome.org - www.perl.org - www.ctan.org - www.cl.cam.ac.uk - www.ntg.nl - cygwin.com - www.ethnologue.com
* doc: Add a man page for gpg-error-config.Werner Koch2014-10-151-0/+1582
* doc/gpgrt.texi: New. Just a start for now. * doc/gpl.texi, doc/lgpl.texi: New. Take from Libgcrypt. * doc/yat2m.c: New. Take from GnuPG master. * doc/Makefile.am: New. * configure.ac (AC_CONFIG_FILES): Add doc/Makefile. * Makefile.am (SUBDIRS): Add doc/. * build-aux/mdate-sh, build-aux/texinfo.tex: New. Signed-off-by: Werner Koch <[email protected]>