tiny main/utils.c fixes

2024-05-29 Thread Alfred M. Szmidt
Tiny patch; some older or newer compilers (I forgot which) will complain if there is no compound statment after a label. 2024-05-29 Alfred M. Szmidt * tp/Texinfo/XS/main/utils.c (clear_option, free_option) (initialize_option): Add a no-op compund statment to mitigate

Re: '(info-stnd)Invoking Info' doesn't mention that '--show-options' requires arguments

2022-01-30 Thread Alfred M. Szmidt
On Sun, Jan 30, 2022 at 10:18:37AM +0500, Akbarkhon Variskhanov wrote: > Hmm, I see. It is indeed very confusing but thanks for clearing that up > nonetheless. > > Perhaps some other notation with an example is needed here I made the following change: @@ -487,9 +486,12 @@

Re: Is any future development needed on 'dir' files?

2022-01-10 Thread Alfred M. Szmidt
I am on a debian testing and my dir is somewhat messy, there are many similar categories that are not well grouped, for example: Compression * Gzip: (gzip). General (de)compression of files (lzw). Data Compression * Lzip: (lzip). LZMA lossless

Re: Is any future development needed on 'dir' files?

2022-01-10 Thread Alfred M. Szmidt
> > - Monitor and improve the dir categories in existing manuals, > >following the Free Software Directory categories. Much mail to > >developers has already been sent, what's needed now is to check new > >releases and make sure they are using the right categories. > >

Re: Mention how to unindent footnotes

2021-12-21 Thread Alfred M. Szmidt
AMS>$ makeinfo --plaintext --set-customization-variable paragraphindent=0 AMS>doesn't work. Does not!: $ makeinfo --plaintext --set-customization-variable paragraphindent=0 < /dev/null $ Those are not the same. AMS>Or mention that 'sorry, it is impossible. Use

Re: Always show source code of examples

2021-12-05 Thread Alfred M. Szmidt
On Sun, Dec 05, 2021 at 04:38:35AM -0500, Alfred M. Szmidt wrote: > A patch is worth more than a thousand words. > > 2021-12-05 Alfred M. Szmidt > >* doc/texinfo.texi (@code{@@format}): Add example input. > > diff --git a/doc/texinfo.te

Re: makeinfo man page: say columns, not characters

2021-12-05 Thread Alfred M. Szmidt
$ man makeinfo --fill-column=NUM break Info lines at NUM characters (default 72). Say columns, not characters. E.g., there will be less characters if they are fullwidth characters. That wouldn't make sense, a column is N characters, saying that it breaks at

Re: makeinfo man page: note --no-* toggles off

2021-12-05 Thread Alfred M. Szmidt
You need to read the text to understand what an option does, the text in question clearly explains what the --no-number-footnotes option does. A itemized list does not mean that options are aliases, '--no-ifdocbook', '--no-ifhtml' etc are also listed in one group.

Re: clean up left over html files

2021-12-05 Thread Alfred M. Szmidt
GNU makeinfo doesn't know about previously generated files, so it cannot know what to clean out (maybe the user created them). If you wish to do that, use a make target that cleans them out for you.

Re: Weird paragraph breaks in makeinfo man page

2021-12-05 Thread Alfred M. Szmidt
This should probobly fix it, untested. 2021-12-05 Alfred M. Szmidt * tp/texi2any.pl (makeinfo_help) <--output>: Fix indentation. diff --git a/tp/texi2any.pl b/tp/texi2any.pl index fa7cc7a42a..391d5f8fe4 100755 --- a/tp/texi2any.pl +++ b/tp/texi2any.pl @@ -663,10 +

Re: Mention how to unindent footnotes

2021-12-05 Thread Alfred M. Szmidt
On (info "(texinfo) Footnote Styles") (info "(texinfo) @paragraphindent") mention how to unindent footnotes. $ makeinfo --plaintext --set-customization-variable paragraphindent=0 doesn't work. Your invokation of makeinfo is incorrect, so what do you expect? GNU makeinfo takes a

Re: Mention cases when @noindent = @indent

2021-12-05 Thread Alfred M. Szmidt
A better approach is if you suggest what wording should be added or improved instead of you being unkind and dicating what people should do.

Re: Always show source code of examples

2021-12-05 Thread Alfred M. Szmidt
A patch is worth more than a thousand words. 2021-12-05 Alfred M. Szmidt * doc/texinfo.texi (@code{@@format}): Add example input. diff --git a/doc/texinfo.texi b/doc/texinfo.texi index 2c833da3d8..3298b93d25 100644 --- a/doc/texinfo.texi +++ b/doc/texinfo.texi @@ -6708,14 +6708,32

Re: Mention workaround to change margins

2021-12-05 Thread Alfred M. Szmidt
(info "(texinfo) @pagesizes") says: To make more elaborate changes, such as changing any of the page margins, you must define a new command in 'texinfo.tex' or 'texinfo.cnf'. Mention a workaround: Mention a workaround for what exactly? If you need to do extensive

Re: info info should return something more than just an error message

2021-11-27 Thread Alfred M. Szmidt
1. Could you please write an info for the info program so that the `info info` doen't return just an error message, but provides a full length description about how info works, with line count larger than `man info` ? There is a info page for the GNU info program. 2. Could

Re: what should be installed in the default case?

2010-03-01 Thread Alfred M. Szmidt
I prefer `makeinfo' since it is descriptive, and it also has many years of usage. `texi2any' isn't very descriptive at all, will there be a texi2info, texi2text, etc as well? No, the idea is that texi2any is for all the output formats, the 'any' means info, html, text, docbook,

Re: what should be installed in the default case?

2010-02-28 Thread Alfred M. Szmidt
texi2html is basically integrated in texinfo. Right now I haven't changed anything in what was installed, so the C-makeinfo and texi2html are installed. texi2html may be installed under 3 names: texi2html, makeinfo and texi2any. As makeinfo, it is fully compatible with C-makeinfo,

image and text alignment

2010-02-12 Thread Alfred M. Szmidt
Is it possible to get text filled around an image? That is to say, get output that looks like: | [ image ] Text that is long | [ cont. ] and boring but | [ of] does not place | [ image ] the image before it. All I've managed to get is: | [ image ] | [ cont. ] | [ of] | [ image ]

Re: Different base URL for @xref?

2009-05-14 Thread Alfred M. Szmidt
I like this better than what I purposed, would it be possible to also use srcdir/texinfo? I would suggest one line instead of two: manual split-dir-manual mono-manual.html I do not see why it should be two. In case one want to supply the information only for

Different base URL for @xref?

2009-05-12 Thread Alfred M. Szmidt
Is it possible to supply a different base URL when using @xref? @xref{argp, , Parsing Program Options with Argp, libc, The GNU C Library Reference Manual}, for details. will produce a local reference to the `libc.html#argp', which isn't entierly useful if you are refering to external sources or

incorrect html cross references

2009-02-27 Thread Alfred M. Szmidt
Hi, Dunno if I reported this already... Given the following @menu * Foo Bar: (foobar). @end menu then texi2html generates strange cross references: lia accesskey=1 href=#g_t_0028foo_002dbarFoo Bar/a I have a vauge recollection that texi2html does the right thing, but makeinfo --html does

Re: @key broken

2009-01-14 Thread Alfred M. Szmidt
{\tt \backslash}$\langle${\rm CR}$\rangle$ or {\tt \backslashCR} I'm baffled. Why the backslash? As a casual reader, I would never think that a backslash somehow means the name of a key. Any other ideas? So far my favorite option is to leave it as-is:

Re: @menu refering to other info files and html output

2008-11-16 Thread Alfred M. Szmidt
@menu * Other file: (foo).Test @end menu I can't say I'm surprised. Patrice, how does texi2html do? It works with texi2html: ===File ~/test.html= !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

@menu refering to other info files and html output

2008-11-15 Thread Alfred M. Szmidt
Hi, When using @menu, and refering to external info files the html output that is generated by makeinfo is wrong, the link that gets produced does not refer to anything: | lia accesskey=1 href=#g_t_0028foo_0029Other file/a: Test Command to reproduce: makeinfo --html test.texi