aboutsummaryrefslogtreecommitdiffstats
path: root/doc/yat2m.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-05-28yat2m: Release the memory after the use.NIIBE Yutaka1-3/+19
* doc/yat2m.c (add_content): Fix the type of LINE. (finish_page): Clean up. -- Signed-off-by: NIIBE Yutaka <[email protected]>
2024-04-25yat2m: Improve html output.Werner Koch1-5/+25
--
2023-11-16yat2m: Fix HTML output for backslash.NIIBE Yutaka1-1/+1
* doc/yat2m.c (proc_texi_buffer): Use &bsol. -- Signed-off-by: NIIBE Yutaka <[email protected]>
2023-11-15yat2m: Implement @item handling with @table item specification.NIIBE Yutaka1-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]>
2023-11-15yat2m: Also handle @file treating '-' as minus.NIIBE Yutaka1-1/+1
* doc/yat2m.c (proc_texi_cmd): It's minus for @file. -- Signed-off-by: NIIBE Yutaka <[email protected]>
2023-11-14yat2m: Output \- for @samp, @kbd, and @env, too.NIIBE Yutaka1-3/+3
* doc/yat2m.c (proc_texi_cmd): Support more commands. -- Signed-off-by: NIIBE Yutaka <[email protected]>
2023-11-09yat2m: Generate \- for roff for some commands.NIIBE Yutaka1-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]>
2023-11-07yat2m: Add support of @minus{} command.NIIBE Yutaka1-0/+1
* doc/yat2m.c (proc_texi_cmd): Support @minus. -- GnuPG-bug-id: 6674 Signed-off-by: NIIBE Yutaka <[email protected]>
2023-11-07yat2m: Use \fP to return previous font.NIIBE Yutaka1-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]>
2023-11-07yat2m: Fix backslash output in man.NIIBE Yutaka1-1/+1
* doc/yat2m.c (proc_texi_buffer): Use \[rs] for backslash. -- Signed-off-by: NIIBE Yutaka <[email protected]>
2023-11-07yat2m: Parse @dots{} to show ellipsis in HTML mode.Ben Kibbey1-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]>
2023-11-06yat2m: No en-dash and em-dash for @item line.NIIBE Yutaka1-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]>
2023-11-02yat2m: Interpret -- and --- verbatimly in @example.NIIBE Yutaka1-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]>
2023-11-02yat2m: Support Texinfo input -- and ---.NIIBE Yutaka1-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]>
2023-07-27yat2m: No additional newline after the end of subsection.NIIBE Yutaka1-0/+2
* doc/yat2m.c (proc_texi_buffer): Add 'break' in switch. -- Signed-off-by: NIIBE Yutaka <[email protected]>
2023-06-12yat2m: Fix Windows buildWerner Koch1-1/+12
* doc/yat2m.c (mystpcpy): New. Use instead of stpcpy. -- Fixes-commit: 43dcdbff50fa33728ab4717cacdf8ff600aea3b9
2023-06-09yat2m: Add option --gnupgorgWerner Koch1-3/+62
2023-06-01yat2m: Some basic HTML formatting works now.Werner Koch1-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.
2022-09-15yat2m: Use __noreturn__ attribute.NIIBE Yutaka1-1/+1
* doc/yat2m.c (ATTR_NR_PRINTF): Use __noreturn__. -- GnuPG-bug-id: 4002 Signed-off-by: NIIBE Yutaka <[email protected]>
2022-03-28yat2m: Only emit a message of the page with --verbose option.NIIBE Yutaka1-1/+2
* doc/yat2m.c (finish_page): Conditionalize the output with VERBOSE. -- Signed-off-by: NIIBE Yutaka <[email protected]>
2021-01-07yat2m: New option --html and some basic html rendering.Werner Koch1-43/+272
-- Not yet finished.
2019-04-04yat2m: Change style for @samp and add @kbd.Werner Koch1-3/+4
-- Also a few comment typo fixes.
2018-10-22yat2m: Avoid compiler warnings.NIIBE Yutaka1-1/+1
* doc/yat2m.c (isodatestring): Prepare enough buffer. Signed-off-by: NIIBE Yutaka <[email protected]>
2018-03-22yat2m: Avoid compiler warningsWerner Koch1-5/+10
* doc/yat2m.c (evaluate_conditions): Mark args unused (proc_texi_cmd): Avoid shadowing warning. Signed-off-by: Werner Koch <[email protected]>
2017-07-05yat2m: Change bug report address.Werner Koch1-2/+2
--
2017-07-05yat2m: Use version from libgpg-error.Werner Koch1-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]>
2017-07-05yat2m: Take care of SOURCE_DATE_EPOCH.Werner Koch1-1/+7
* doc/yat2m.c (main): Set a default for OPT_DATE. Signed-off-by: Werner Koch <[email protected]>
2017-07-05doc: minor fix for @xref.NIIBE Yutaka1-1/+1
* doc/yat2m.c (proc_texi_cmd): Captalize "see" for xref.
2017-07-05doc: 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-25doc: Update yat2m.cWerner Koch1-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]>
2016-02-08Convert http links to https where possible in the source.Daniel Kahn Gillmor1-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
2014-10-15doc: Add a man page for gpg-error-config.Werner Koch1-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]>