Re: Highlight syntax with source-highlight produces error with split html output

2025-07-18 Thread Raymond Toy
On 7/18/25 9:47 AM, Gavin Smith wrote: On Fri, Jul 18, 2025 at 08:43:21AM -0700, Raymond Toy wrote: |@include src-hl.c | I changed it to |#include src-hl.c | Now I get the message: |texi2any: warning: highlight_syntax.pm: could not open src-hl_html/src-hl_highlight_C_input.C: No such file

Re: Highlight syntax with source-highlight produces error with split html output

2025-07-18 Thread Raymond Toy
On 7/18/25 8:56 AM, Gavin Smith wrote: On Fri, Jul 18, 2025 at 08:43:21AM -0700, Raymond Toy wrote: Huh, this is weird. Perhaps I messed up building texinfo 7.2 from sources a while back? Anyway, with your test, I ran it. I get a message that it can't include src-hl.c. That seems to come

Re: Highlight syntax with source-highlight produces error with split html output

2025-07-18 Thread Raymond Toy
On 7/18/25 7:04 AM, Gavin Smith wrote: On Wed, Jul 16, 2025 at 02:27:25PM -0700, Raymond Toy wrote: I'm experimenting with HIGHLIGHT_SYNTAX=source-highligit. It works fine with --no-split and produces pretty nice highlighting. However, when I don't use --no-split, I get an error.

Re: Texinfo 7.2 pdf output for @example lisp

2025-07-16 Thread Raymond Toy
On 7/16/25 2:38 PM, Gavin Smith wrote: On Wed, Jul 16, 2025 at 02:13:43PM -0700, Raymond Toy wrote: If I have a texinfo file that has |@example lisp (defun foo (x) (+ x x)) @end example | (The line breaks are not present in the plaintext version of your email). Oops. Sorry! I used the

Highlight syntax with source-highlight produces error with split html output

2025-07-16 Thread Raymond Toy
I'm experimenting with HIGHLIGHT_SYNTAX=source-highligit. It works fine with --no-split and produces pretty nice highlighting. However, when I don't use --no-split, I get an error. An example error message: |makeinfo: warning: highlight_syntax.pm: could not open cmu-user_html/cmu-user_highli

Texinfo 7.2 pdf output for @example lisp

2025-07-16 Thread Raymond Toy
If I have a texinfo file that has |@example lisp (defun foo (x) (+ x x)) @end example | and do |texinfo --pdf|, (with texinfo 7.2), the pdf output looks like |lisp (defun foo (x) (+ x x)) | That is, "lisp" is produced. Works fine when converting to html; there's no extraneous "lisp" in the ou

Re: @lisp vs @example lisp in HTMLL

2025-06-18 Thread Raymond Toy
On 6/15/25 11:00 PM, Eli Zaretskii wrote: Date: Sun, 15 Jun 2025 16:16:23 -0700 From: Raymond Toy I also noticed that @example c is accepted. Should it be? Yes. From the Texinfo manual: You may optionally give arguments to the ‘@example’ command, separated by commas if there is

@lisp vs @example lisp in HTMLL

2025-06-15 Thread Raymond Toy
In https://www.gnu.org/software/texinfo/manual/texinfo/html_node/_0040lisp.html, it says |@lisp| is the same as |@examle lisp|. In the generated HTML file, visually, they produce the same thing. However, the html code is quite different. So for this test: |@lisp (member :internal :external :

Re: texi2dvi fails to produce maxima pdf manual on Fedora 41

2024-12-20 Thread Raymond Toy
On Fri, Dec 20, 2024 at 9:19 AM Gavin Smith wrote: > On Fri, Dec 20, 2024 at 08:16:22AM -0800, Raymond Toy wrote: > > I have a strange issue with texi2dvi 7.1 that is included with Fedora 41. > > I'm trying to build the maxima pdf manual using the current maxima git > >

texi2dvi fails to produce maxima pdf manual on Fedora 41

2024-12-20 Thread Raymond Toy
I have a strange issue with texi2dvi 7.1 that is included with Fedora 41. I'm trying to build the maxima pdf manual using the current maxima git HEAD. It fails with the following message: ``` (/home/toy/src/sourceforge/maxima/doc/info/es/../category-macros.texi) Cap@'{@char 16{}}tulo 1 (/home/toy/

Re: Manual bug and HIGHLIGHT_SYNTAX results

2024-11-23 Thread Raymond Toy
On Sat, Nov 23, 2024 at 10:44 AM Patrice Dumas wrote: > On Fri, Nov 22, 2024 at 10:02:15AM -0800, Raymond Toy wrote: > > > But I tried texinfo 7.1.1 with HIGHLIGHT_SYNTAX with pygments to > highlight > > the examples in Maxima's user manual. It works quite well for the

Re: Manual bug and HIGHLIGHT_SYNTAX results

2024-11-23 Thread Raymond Toy
On Fri, Nov 22, 2024 at 10:02 AM Raymond Toy wrote: > > But I tried texinfo 7.1.1 with HIGHLIGHT_SYNTAX with pygments to highlight > the examples in Maxima's user manual. It works quite well for the few > examples I looked at. Generating the HTML document took much longer th

Manual bug and HIGHLIGHT_SYNTAX results

2024-11-22 Thread Raymond Toy
First, a simple bug https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#Syntax-Highlighting, where the link for "GNU Source-Highlight" is broken. But I tried texinfo 7.1.1 with HIGHLIGHT_SYNTAX with pygments to highlight the examples in Maxima's user manual. It works quite well for t

Re: tightening mathjax tex options

2024-09-07 Thread Raymond Toy
On 9/6/24 11:29 PM, Patrice Dumas wrote: On Sat, Sep 07, 2024 at 07:58:47AM +0200, Patrice Dumas wrote: Oh, you’re right. I think I know why. Someone wants to use an really ancient version of texinfo (5.x) even though the official build says it should be at least 6.8. I tried to make it a requi

Re: tightening mathjax tex options

2024-09-06 Thread Raymond Toy
On 9/6/24 2:36 PM, Patrice Dumas wrote: On Fri, Sep 06, 2024 at 02:16:56PM -0700, Raymond Toy wrote: On 9/6/24 9:29 AM, Patrice Dumas wrote: The change in settings may only affect LaTeX rendered by MathJax outside of @math and @displaymath, using different structures as what is done in

Re: tightening mathjax tex options

2024-09-06 Thread Raymond Toy
On 9/6/24 9:29 AM, Patrice Dumas wrote: On Fri, Sep 06, 2024 at 08:47:05AM -0700, Raymond Toy wrote: On 9/6/24 3:28 AM, Patrice Dumas wrote: Hello, I propose to set the following in mathjax defaults, to avoid possible interactions with text (although it may not be possible anyway because of

Re: tightening mathjax tex options

2024-09-06 Thread Raymond Toy
On 9/6/24 3:28 AM, Patrice Dumas wrote: Hello, I propose to set the following in mathjax defaults, to avoid possible interactions with text (although it may not be possible anyway because of ignoreHtmlClass set in body), and perhaps simplifying the task of mathjax: tex: { processEscape

Re: @itemize @asis is not well supported

2024-03-13 Thread Raymond Toy
On Tue, Mar 12, 2024 at 11:40 AM Gavin Smith wrote: > On Thu, Mar 07, 2024 at 09:49:24AM +0100, Patrice Dumas wrote: > > On Wed, Mar 06, 2024 at 09:54:18PM +0100, Bruno Haible wrote: > > > Gavin Smith wrote: > > > > it is not worth changing and making practically every use of > > > > @itemize in

Re: @itemize @asis is not well supported

2024-03-04 Thread Raymond Toy
On Mon, Mar 4, 2024 at 1:23 PM Patrice Dumas wrote: > On Mon, Mar 04, 2024 at 06:23:23PM +0100, Bruno Haible wrote: > > > > Yes, please. Since "make" only produces the info-formatted output by > default, > > without the warning, developers won't realize their mistake until the > time > > they run

Re: Texinfo 7.0.90 pretest available

2023-08-16 Thread Raymond Toy
On 8/16/23 3:52 AM, Gavin Smith wrote: A pretest distribution for the next Texinfo release (7.1) has been uploaded to https://alpha.gnu.org/gnu/texinfo/texinfo-7.0.90.tar.xz In the upcoming release, the Texinfo language has been extended with a new @link command for making unobtrusive hyperli

Re: ref macro works as expected for html and info, but not pdf?

2023-08-05 Thread Raymond Toy
On 8/5/23 8:16 AM, Gavin Smith wrote: On Sat, Aug 05, 2023 at 08:07:31AM -0700, Raymond Toy wrote: I have a set of simple macros: |@macro kwd {keyword} @code{:\keyword\} @end macro @c Macro to generate a cross-reference to a keyword. @macro keyref {arg} @xref{\arg\, @kwd{\arg\}} @end macro

ref macro works as expected for html and info, but not pdf?

2023-08-05 Thread Raymond Toy
I have a set of simple macros: |@macro kwd {keyword} @code{:\keyword\} @end macro @c Macro to generate a cross-reference to a keyword. @macro keyref {arg} @xref{\arg\, @kwd{\arg\}} @end macro | And I use it like |@keyref{context-declarations}|. In the html doc, I see a link with text “:conte

Re: Warning about ":" in @ref

2023-08-05 Thread Raymond Toy
On 8/4/23 11:47 PM, Patrice Dumas wrote: On Fri, Aug 04, 2023 at 04:06:47PM -0700, Raymond Toy wrote: With texinfo 7.0.2 (which comes with Fedora 38), I get warnings like: |warning: @ref node name should not contain `:' | The offending ref is “@ref{ext:encapsulate}”, and correspo

Re: Warning about ":" in @ref

2023-08-04 Thread Raymond Toy
On 8/4/23 4:56 PM, Gavin Smith wrote: On Fri, Aug 04, 2023 at 04:06:47PM -0700, Raymond Toy wrote: With texinfo 7.0.2 (which comes with Fedora 38), I get warnings like: |warning: @ref node name should not contain `:' | The offending ref is “@ref{ext:encapsulate}”, and corresponding a

Warning about ":" in @ref

2023-08-04 Thread Raymond Toy
With texinfo 7.0.2 (which comes with Fedora 38), I get warnings like: |warning: @ref node name should not contain `:' | The offending ref is “@ref{ext:encapsulate}”, and corresponding anchor is “ext:encapsulate”. I didn’t see anything in the manual about this constraint, but I didn’t look too

Re: toc multiline section titles misaligned in TeX

2023-07-27 Thread Raymond Toy
On 7/26/23 3:20 PM, Gavin Smith wrote: On Wed, Jul 26, 2023 at 06:54:59PM +0100, Gavin Smith wrote: I've committed a change for aligning the sections in a chapter only. (version 2023-07-26.15). I will do the other levels of sectioning soon. Done now. 10 or more subsubsections in a subsection

Re: toc multiline section titles misaligned in TeX

2023-07-17 Thread Raymond Toy
On 7/16/23 1:52 PM, Karl Berry wrote: In the toc, if a chapter/section/whatever titles breaks across lines, the second line is not aligned with the first. The output in the main text is ok. Example doc follows. I'll attach the output I get with texinfo.tex [version 2023-07-02.10]. --thanks, k

Re: Inconsistency in writing apostrophe in info and html output with version 7.0.3

2023-06-09 Thread Raymond Toy
On 6/5/23 10:50, Gavin Smith wrote: On Mon, Jun 05, 2023 at 07:18:00AM -0700, Raymond Toy wrote: Maxima grovels over the html file to find appropriate links to use for the html version of the manual. This was working fine with 6.8 and earlier because I found appropriate regexps to find the

Re: Inconsistency in writing apostrophe in info and html output with version 7.0.3

2023-06-08 Thread Raymond Toy
On 6/5/23 10:50, Gavin Smith wrote: On Mon, Jun 05, 2023 at 07:18:00AM -0700, Raymond Toy wrote: Maxima grovels over the html file to find appropriate links to use for the html version of the manual. This was working fine with 6.8 and earlier because I found appropriate regexps to find the

Re: Inconsistency in writing apostrophe in info and html output with version 7.0.3

2023-06-05 Thread Raymond Toy
On 6/5/23 10:50, Gavin Smith wrote: On Mon, Jun 05, 2023 at 07:18:00AM -0700, Raymond Toy wrote: Maxima grovels over the html file to find appropriate links to use for the html version of the manual. This was working fine with 6.8 and earlier because I found appropriate regexps to find the

Re: Inconsistency in writing apostrophe in info and html output with version 7.0.3

2023-06-05 Thread Raymond Toy
On 6/5/23 08:32, Eli Zaretskii wrote: Date: Mon, 5 Jun 2023 08:11:00 -0700 From: Raymond Toy It appears not to be consistent. We have this in the texinfo source: @fnindex N'th previous output with a real apostrohpe. The info file has * N'th previous output: Fun

Re: Inconsistency in writing apostrophe in info and html output with version 7.0.3

2023-06-05 Thread Raymond Toy
On 6/5/23 07:18, Raymond Toy wrote: This is a problem because we use the info file as the source of truth, but the HTML file only uses an apostrophe, so we end up with an entry that we can find in the info file but not in the html file. This did not happen in texinfo 6.8. Was this

Inconsistency in writing apostrophe in info and html output with version 7.0.3

2023-06-05 Thread Raymond Toy
Maxima grovels over the html file to find appropriate links to use for the html version of the manual. This was working fine with 6.8 and earlier because I found appropriate regexps to find the links. This stopped working in 7.0.3 (and maybe earlier?). The regexps no longer work. This is fine;

Re: No bug tracker

2023-03-23 Thread Raymond Toy
On 3/23/23 13:36, Patrice Dumas wrote: There was a bugtracker at some point, but it was not so useful. On Thu, Mar 23, 2023 at 07:44:47PM +, Gavin Smith wrote: The scale of this project is also a factor here, and if it were a larger project a bug tracking system might be more useful, alth

Re: @multitable with prototype row has no effect in html

2023-01-15 Thread Raymond Toy
I really appreciate all of the investigation done for this small issue. Thanks. On Sun, Jan 15, 2023 at 9:07 AM Patrice Dumas wrote: > On Sat, Jan 14, 2023 at 10:19:53AM +, Gavin Smith wrote: > > On Sat, Jan 14, 2023 at 10:41:10AM +0100, Patrice Dumas wrote: > > > It seems that the portabil

Re: @multitable with prototype row has no effect in html

2023-01-04 Thread Raymond Toy
On Wed, Jan 4, 2023 at 4:59 AM Patrice Dumas wrote: > On Mon, Jan 02, 2023 at 09:39:33AM -0800, Raymond Toy wrote: > > On Sun, Jan 1, 2023 at 10:12 AM Patrice Dumas wrote: > > > > > I do not remember any discussion about that. But it is not clear to me > > >

Re: @multitable with prototype row has no effect in html

2023-01-02 Thread Raymond Toy
On Sun, Jan 1, 2023 at 10:19 AM Patrice Dumas wrote: > On Thu, Dec 29, 2022 at 11:06:45AM -0800, Raymond Toy wrote: > > One other thing. Each item from headitem is left-justified for both info > > and pdf. But it's centered in html. For consistency, should they all be >

Re: @multitable with prototype row has no effect in html

2023-01-02 Thread Raymond Toy
On Sun, Jan 1, 2023 at 10:12 AM Patrice Dumas wrote: > On Thu, Dec 29, 2022 at 10:59:43AM -0800, Raymond Toy wrote: > > Consider the following table (taken in part from maxima's user manual): > > > > @multitable {greater than or equal to 333} {notequal 333

Re: @multitable with prototype row has no effect in html

2022-12-29 Thread Raymond Toy
On Thu, Dec 29, 2022 at 10:59 AM Raymond Toy wrote: > Consider the following table (taken in part from maxima's user manual): > > @multitable {greater than or equal to 333} {notequal 333} {relational > function} > @headitem Operation @tab Symbol @tab Type > @item less tha

@multitable with prototype row has no effect in html

2022-12-29 Thread Raymond Toy
Consider the following table (taken in part from maxima's user manual): @multitable {greater than or equal to 333} {notequal 333} {relational function} @headitem Operation @tab Symbol @tab Type @item less than @tab @code{<}@tab relational infix @item less than or equal to

Re: ambiguous @*table with argument missing formatter argument message

2022-12-10 Thread Raymond Toy
On Fri, Dec 9, 2022 at 11:40 PM Eli Zaretskii wrote: > > From: Gavin Smith > > Date: Sat, 10 Dec 2022 00:35:19 + > > > > > d.texi:2: bad @table argument > > > > would be sufficient. It could be difficult to explain the usage > > of @table in an short error message. > > > > Perhaps if there

Re: ambiguous @*table with argument missing formatter argument message

2022-12-08 Thread Raymond Toy
On Thu, Dec 8, 2022 at 2:59 PM Patrice Dumas wrote: > Hello, > > Not sure about that as I am not a native english speaker. When a > @*table does not have an @-command formatter for the items, the error > message is > > d.texi:2: table requires an argument: the formatter for @item > > This messag

Re: @subentry, @seealso and @seenentry better formatted in HTML

2022-11-20 Thread Raymond Toy
On Sun, Nov 20, 2022 at 11:24 AM Patrice Dumas wrote: > On Sun, Nov 20, 2022 at 11:07:34AM -0800, Raymond Toy wrote: > > > > Thank you so much for working on this! It looks way better and more > useful > > than the old way. > > > > The only issue I have is

Re: @subentry, @seealso and @seenentry better formatted in HTML

2022-11-20 Thread Raymond Toy
On Sat, Nov 19, 2022 at 1:22 AM Patrice Dumas wrote: > Hello, > > Some formatting for @subentry, @seenentry and @seealso in HTML more in > line with TeX output has been implemented in the developpement source: > > > https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=76485d9ea1f8e411b6b4e419

Re: Release branch added to git

2022-11-12 Thread Raymond Toy
On Sat, Nov 12, 2022 at 2:56 PM Gavin Smith wrote: > On Sat, Nov 12, 2022 at 02:30:11PM -0800, Raymond Toy wrote: > > On Sat, Nov 12, 2022 at 2:27 PM Gavin Smith > > wrote: > > > > > On Tue, Nov 08, 2022 at 07:55:44PM +, Gavin Smith wrote: > > > &g

Re: Release branch added to git

2022-11-12 Thread Raymond Toy
On Sat, Nov 12, 2022 at 2:27 PM Gavin Smith wrote: > On Tue, Nov 08, 2022 at 07:55:44PM +, Gavin Smith wrote: > > > No, you just cut a new release branch. The release branch is only for > > > a certain release or a series of releases, depending on the > > > development strategy. Basically,

Re: On mobile, menu items examples are too small

2022-11-11 Thread Raymond Toy
On Fri, Nov 11, 2022 at 5:32 PM Gavin Smith wrote: > On Fri, Nov 11, 2022 at 04:16:46PM -0800, Raymond Toy wrote: > > texinfo 7.0 makes a difference. The tables are not in a tiny font. (At > > least when I use chrome and firefox developer tools to simulate a mobile > >

Re: On mobile, menu items examples are too small

2022-11-11 Thread Raymond Toy
On Fri, Nov 11, 2022 at 1:40 PM Raymond Toy wrote: > > > On Fri, Nov 11, 2022 at 12:18 PM Patrice Dumas wrote: > >> On Fri, Nov 11, 2022 at 10:34:05AM -0800, Raymond Toy wrote: >> > The following examples were built using texinfo 6.8 (haven't upgraded >>

Re: On mobile, menu items examples are too small

2022-11-11 Thread Raymond Toy
On Fri, Nov 11, 2022 at 12:18 PM Patrice Dumas wrote: > On Fri, Nov 11, 2022 at 10:34:05AM -0800, Raymond Toy wrote: > > The following examples were built using texinfo 6.8 (haven't upgraded to > 7 > > yet). No custom css is used. > > > > Look at > > &g

On mobile, menu items examples are too small

2022-11-11 Thread Raymond Toy
The following examples were built using texinfo 6.8 (haven't upgraded to 7 yet). No custom css is used. Look at https://cmucl.org/docs/cmu-user/html/More-About-Types-in-Python.html#More-About-Types-in-Python on a mobile device. I'm using a Pixel 4 phone with both Chrome and Firefox. At the bott

Re: Building texinfo 7 from git

2022-11-09 Thread Raymond Toy
On Wed, Nov 9, 2022 at 4:01 AM Patrice Dumas wrote: > On Tue, Nov 08, 2022 at 02:02:46PM -0800, Raymond Toy wrote: > > On Tue, Nov 8, 2022 at 8:34 AM Gavin Smith > wrote: > > > > > > > > Can you check the output from "automake --version" as I belie

Re: Building texinfo 7 from git

2022-11-08 Thread Raymond Toy
On Tue, Nov 8, 2022 at 2:02 PM Raymond Toy wrote: > > > On Tue, Nov 8, 2022 at 8:34 AM Gavin Smith > wrote: > >> >> Can you check the output from "automake --version" as I believe older >> automake required "@setfilename" in Texinfo files. &g

Re: Building texinfo 7 from git

2022-11-08 Thread Raymond Toy
On Tue, Nov 8, 2022 at 8:34 AM Gavin Smith wrote: > > Can you check the output from "automake --version" as I believe older > automake required "@setfilename" in Texinfo files. > It says 1.15.1. On a different linux box, I have 1.16.2, but I haven't tried building texinfo there yet. -- Ray

Building texinfo 7 from git

2022-11-08 Thread Raymond Toy
I did a git clone of texinfo, changed to the texinfo-7.0 branch and tried to build it. It didn't work. I ran autogen.sh and got the message: Preparing Texinfo development infrastructure: ./tp/maintain/regenerate_file_lists.pl (cd tp && ./maintain/regenerate_docstr.sh Makefile.docstr) (cd t

Re: Missing bottom nav bar on some html pages?

2022-11-08 Thread Raymond Toy
On Tue, Nov 8, 2022 at 8:04 AM Patrice Dumas wrote: > On Tue, Nov 08, 2022 at 07:48:20AM -0800, Raymond Toy wrote: > > On most html manuals that I've looked at that have split the manual into > > multiple html pages, I see a navbar (next/previous/up) at the top of > ea

Missing bottom nav bar on some html pages?

2022-11-08 Thread Raymond Toy
On most html manuals that I've looked at that have split the manual into multiple html pages, I see a navbar (next/previous/up) at the top of each page and also at the bottom. However, once in a while I see pages where the bottom navbar is missing. I noticed this first at https://cmucl.org/docs/

Re: behavior of @math with HTML output

2022-10-16 Thread Raymond Toy
On Fri, Oct 14, 2022 at 12:43 PM Vincent Lefevre wrote: > On 2022-10-14 08:40:58 -0700, Raymond Toy wrote: > > For one example of a texinfo doc using Mathjax, see > > https://maxima.common-lisp.dev/. In particular, you can look at > > https://maxima.common-lisp.dev/do

Re: behavior of @math with HTML output

2022-10-14 Thread Raymond Toy
On Fri, Oct 14, 2022 at 7:02 AM Patrice Dumas wrote: > On Fri, Oct 14, 2022 at 01:31:20PM +0200, Vincent Lefevre wrote: > > > On Fri, Oct 14, 2022 at 12:40:08AM +0200, Vincent Lefevre wrote: > > > > > > > > * l2h generates image files as documented, which have many > drawbacks > > > > (do n

Re: @documentlanguage and locale file

2022-10-05 Thread Raymond Toy
On Wed, Sep 28, 2022 at 2:56 PM Gavin Smith wrote: > On Wed, Sep 28, 2022 at 01:24:00PM -0700, Raymond Toy wrote: > > The manual says: > > > > For TeX, this command causes a file txi-locale.tex to be read (if it > > exists). > > > > But

@documentlanguage and locale file

2022-09-28 Thread Raymond Toy
The manual says: For TeX, this command causes a file txi-locale.tex to be read (if it exists). But when I run texi2pdf maxima.texi, I get ./maxima.texi:4: Cannot read language file txi-ru.tex. Which is true, but I was expecting TeX to ignore this. maxima.texi (for Russian) is basically: \inpu

Re: Format of html index vs pdf

2022-08-12 Thread Raymond Toy
On Fri, Aug 12, 2022 at 9:46 AM Gavin Smith wrote: > On Fri, Aug 12, 2022 at 08:01:06AM -0700, Raymond Toy wrote: > > I created a new index ct and have entries like > > > > @ctindex Package @subentry diag @subentry mat_function > > @ctindex Package @subentry d

Format of html index vs pdf

2022-08-12 Thread Raymond Toy
I created a new index ct and have entries like @ctindex Package @subentry diag @subentry mat_function @ctindex Package @subentry distrib @subentry pdf_normal The index in the pdf file looks something like Package, diag, mat_function distrib, pdf_normal This lo

Re: @displaymath in @iftex

2022-08-10 Thread Raymond Toy
at 01:07:31PM -0700, Raymond Toy wrote: > > > > I must be doing something wrong. This is what I have: > > --- > > The following relationships are true: > > > > > > @ifhtml > > @displaymath > > \eqalign{ > > m &= k^2 \cr > > k

Re: @displaymath in @iftex

2022-08-10 Thread Raymond Toy
On Wed, Aug 10, 2022 at 9:15 AM Gavin Smith wrote: > On Wed, Aug 10, 2022 at 09:07:20AM -0700, Raymond Toy wrote: > > The manual isn't clear about what @displaymath does. I have something > like > > > > @ifhtml > > @displaymath > > eqn > &

@displaymath in @iftex

2022-08-10 Thread Raymond Toy
The manual isn't clear about what @displaymath does. I have something like @ifhtml @displaymath eqn @end displaymath @end ifhtml @iftex @displaymath eqn @end displaymath @end iftex The html version looks great with the eqn displayed as expected. But in the pdf manual, there's an error about mis

Re: @inlinefmt(tex, foo)

2022-08-10 Thread Raymond Toy
On Wed, Aug 10, 2022 at 8:53 AM Gavin Smith wrote: > > You could also do > > > @ifhtml > > @math{{\rm Ai}(x)} @c > > @end ifhtml > > @ifinfo > > @math{Ai(x)} @c > > @end ifinfo > > @iftex > > @math{{\rm Ai}(x)} @c > > @end iftex > > and > > although I don't know how easy this would be with your m

Re: @inlinefmt(tex, foo)

2022-08-10 Thread Raymond Toy
On Wed, Aug 10, 2022 at 7:43 AM Raymond Toy wrote: > > This appears to produces good results but you would have to try it in >> your document to be sure. If you don't want an extra space to appear then >> you need to use >> >> @iftex >> @math{{\rm Ai}(x)

Re: @inlinefmt(tex, foo)

2022-08-10 Thread Raymond Toy
On Wed, Aug 10, 2022 at 2:49 AM Gavin Smith wrote: > > If I do > > > > @inlinefmt{tex, {\rm Ai}(x)} > > > > The output is "\rm Ai(x)" in a normal roman font. > > A workaround is to use a block conditional instead: > > @iftex > @math{{\rm Ai}(x) > @end iftex > > This appears to produces good resul

@inlinefmt(tex, foo)

2022-08-09 Thread Raymond Toy
I have some code that looks like: @inlinefmt{html, @math{{\rm Ai}(x)}} @inlinefmt{info, @math{Ai(x)}} @inlinefmt{tex, @math{{\rm Ai}(x)}} The info file and html (with mathjax) look right where we have "Ai" in a roman font and "(x)" in an italicized math font. However, the pdf file basically prin

Re: @fnindex in html output vs info?

2022-07-27 Thread Raymond Toy
, Jul 26, 2022 at 05:54:04PM -0700, Raymond Toy wrote: > > On a related note, maxima has a few things like "@fnindex Logical > > conjunction". These show up in the info file. However, I can't find > that > > anywhere in the html file(s). Is that a bug too? > &g

Re: @fnindex in html output vs info?

2022-07-26 Thread Raymond Toy
7PM -0700, Raymond Toy wrote: > > On Mon, Jul 25, 2022 at 3:03 PM Gavin Smith > > wrote: > > > > > On Mon, Jul 25, 2022 at 10:56 PM Raymond Toy > > > wrote: > > > > > > > > In the maxima user manual, there are few explicit uses of @fnindex

Re: @fnindex in html output vs info?

2022-07-25 Thread Raymond Toy
On Mon, Jul 25, 2022 at 3:03 PM Gavin Smith wrote: > On Mon, Jul 25, 2022 at 10:56 PM Raymond Toy > wrote: > > > > In the maxima user manual, there are few explicit uses of @fnindex. > These show up in the info file in the "Function and Variable Index" as >

@fnindex in html output vs info?

2022-07-25 Thread Raymond Toy
In the maxima user manual, there are few explicit uses of @fnindex. These show up in the info file in the "Function and Variable Index" as expected. However, these don't show up in the corresponding "Function and Variable index" section in the html file. Is this expected? -- Ray

Re: Default DOCTYPE?

2022-07-24 Thread Raymond Toy
On Sun, Jul 24, 2022 at 8:47 AM Patrice Dumas wrote: > On Sun, Jul 24, 2022 at 08:33:53AM -0700, Raymond Toy wrote: > > It looks like texinfo 6.8 inserts: > > > > > http://www.w3.org/TR/html4/loose.dtd";> > > > > at the beginning of each html file.

Re: Funny line breaking with mathjax and html

2022-07-24 Thread Raymond Toy
ly section and the distrib section. 6.8 helped quite a bit but even with 6.7 we were able to render Mathjax nicely. On Sun, Jul 24, 2022, 8:56 AM Gavin Smith wrote: > On Sun, Jul 24, 2022 at 08:30:47AM -0700, Raymond Toy wrote: > > On Sun, Jul 24, 2022 at 3:58 AM Gavin Smith > >

Default DOCTYPE?

2022-07-24 Thread Raymond Toy
It looks like texinfo 6.8 inserts: http://www.w3.org/TR/html4/loose.dtd";> at the beginning of each html file. In this day and age, shouldn't it be just ? Or does texinfo html output really need that? I'm not a web dev but a few times I wrote web pages, my old emacs would insert the loose.dtd l

Re: Funny line breaking with mathjax and html

2022-07-24 Thread Raymond Toy
On Sun, Jul 24, 2022 at 3:58 AM Gavin Smith wrote: > On Fri, Jul 22, 2022 at 02:58:21PM -0700, Raymond Toy wrote: > > I'm getting a funny line break when displaying MathJax inline formulas on > > an html page. The TeX version doesn't have a line break. > >

Funny line breaking with mathjax and html

2022-07-22 Thread Raymond Toy
I'm getting a funny line break when displaying MathJax inline formulas on an html page. The TeX version doesn't have a line break. It's part of a much larger document from maxima, but the relevant part is given below. On the html page, there's a line break before "is the solution subject". All

Re: configure mathjax for less common commands and text in math

2022-01-21 Thread Raymond Toy
On Thu, Jan 20, 2022 at 3:01 PM Patrice Dumas wrote: > Hello, > > There are some constructs that are not correctly formatted by mathjax, > uncommon commands that can be in math and other constructs, for > instance: > > \mathord{\text{\l{}}} \textsl{\c{\'{C}}} \copyright{} \mathsterling{} > > Do

Re: js-info disabling sidebar for narrow windows (experimental)

2021-02-18 Thread Raymond Toy
>>>>> "Gavin" == Gavin Smith writes: Gavin> On Thu, Feb 18, 2021 at 08:05:42AM -0800, Raymond Toy wrote: >> >>>>> "Per" == Per Bothner writes: >> Per> A goal was to automatically switch to "narrow" mo

Re: js-info disabling sidebar for narrow windows (experimental)

2021-02-18 Thread Raymond Toy
> "Per" == Per Bothner writes: Per> A goal was to automatically switch to "narrow" mode on Per> smartphones, that isn't working yet. (Smartphone browsers tend Per> to do magic things with "viewport" and zooming, and dealing Per> with that needs some more research and experime

@var{x_1} is funny in pdf

2020-12-22 Thread Raymond Toy
This came up recently on the maxima list where @var{x_1} shows up fine in html but looks weird in the pdf file. For example, https://maxima.sourceforge.io/docs/manual/maxima.pdf, page 55, documentation of the 'create_list'-command. The line for the create_list function looks fine, but the first s

Re: HTML self links to anchor points

2020-11-03 Thread Raymond Toy
On Tue, Nov 3, 2020 at 11:57 AM Gavin Smith wrote: > On Tue, Nov 03, 2020 at 07:53:08AM -0800, Raymond Toy wrote: > > > > I think links for @anchor is important since it's something the author > had > > > to say explicitly, so having that available in html seems

Re: HTML self links to anchor points

2020-11-03 Thread Raymond Toy
On Mon, Nov 2, 2020 at 2:32 PM Raymond Toy wrote: > > > On Sun, Nov 1, 2020 at 1:02 PM Gavin Smith > wrote: > > I've gone and implemented it anyway (in commit b9920b16), because I >> wanted to see what it would be like. It is for @def* commands only >> at

Re: HTML self links to anchor points

2020-11-02 Thread Raymond Toy
On Sun, Nov 1, 2020 at 1:02 PM Gavin Smith wrote: > On Sun, Nov 01, 2020 at 05:18:24PM +, Gavin Smith wrote: > > On Sat, Oct 31, 2020 at 03:16:26PM -0700, Per Bothner wrote: > > > On 10/31/20 2:26 PM, Gavin Smith wrote: > > > > Feel free not to consider it if you find implementing your desire

Re: Texinfo TeX accepts LaTeX math, how?

2020-10-26 Thread Raymond Toy
On Mon, Oct 26, 2020 at 9:45 AM Gavin Smith wrote: > On Mon, Oct 26, 2020 at 11:58:56AM +0100, Patrice Dumas wrote: > > Hello, > > > > Surprisingly (for me), the @displaymath example in the Texinfo manual > > works when producing a pdf using texi2dvi. However, it uses \frac{}{}, > > which is not

Re: MathJax support in texi2any

2020-10-13 Thread Raymond Toy
On Thu, Oct 8, 2020 at 12:37 PM Gavin Smith wrote: > On Thu, Oct 08, 2020 at 12:26:28PM -0700, Raymond Toy wrote: > > Does this also mean I can use AMSTeX features in @math? I guess that > also > > means I still need @iftex and @ifhtml versions since tex output only > &g

Re: MathJax support in texi2any

2020-10-08 Thread Raymond Toy
On Thu, Oct 8, 2020 at 9:31 AM Gavin Smith wrote: > On Thu, Oct 08, 2020 at 08:06:05AM -0700, Raymond Toy wrote: > > On Wed, Oct 7, 2020 at 12:01 PM Gavin Smith > > wrote: > > > > > I've implemented basic MathJax support in texi2any in commit > >

Re: MathJax support in texi2any

2020-10-08 Thread Raymond Toy
On Wed, Oct 7, 2020 at 12:01 PM Gavin Smith wrote: > I've implemented basic MathJax support in texi2any in commit > 7ff3cbdc4. To use it, run texi2any as "texi2any --html -c > HTML_MATH=mathjax". Feedback would be appreciated on how well it works > with Texinfo manuals containing math typesetting

Re: HTML self links to anchor points

2020-09-22 Thread Raymond Toy
On Mon, Sep 21, 2020 at 1:38 PM Gavin Smith wrote: > On Mon, Sep 21, 2020 at 12:17:35PM -0700, Raymond Toy wrote: > > Using CSS is fine too for deffn and friends instead of anchor. But this > > seems hard because I don't have a good way of figuring out where to put > >

Re: HTML self links to anchor points

2020-09-21 Thread Raymond Toy
On Sun, Sep 20, 2020 at 1:24 AM Gavin Smith wrote: > On Wed, Sep 16, 2020 at 04:32:23PM -0700, Raymond Toy wrote: > > For example you can navigate to > > > https://common-lisp.net/project/maxima/docs/maxima_singlepage.html#Item_003a-Bugs_002fdeffn_002frun_005ftestsuite >

HTML self links to anchor points

2020-09-16 Thread Raymond Toy
For example you can navigate to https://common-lisp.net/project/maxima/docs/maxima_singlepage.html#Item_003a-Bugs_002fdeffn_002frun_005ftestsuite and this works just fine. But once you get there and maybe scroll around a bit to look for other functions or variables, you can't easily get a link to

Re: viewport declaration

2020-03-27 Thread Raymond Toy
I am no expert, but yes, I think it does. I added that to some other website and the fonts were consistently sized. (I've since changed the site to do something different, but it definitely helped.) I'll test it out soon. On Fri, Mar 27, 2020 at 4:08 AM Gavin Smith wrote: > On Thu, Mar 26, 2020

Re: Feature request: self links for sections

2020-03-02 Thread Raymond Toy
On Mon, Mar 2, 2020 at 12:07 AM Eli Zaretskii wrote: > (Why private email?) > Oops. That was unintentional. Adding bug-texinfo back in. > > > From: Raymond Toy > > Date: Sun, 1 Mar 2020 17:33:58 -0800 > > > > Not if I scrolled around and then found the

Feature request: self links for sections

2020-03-01 Thread Raymond Toy
A bit of a feature request for texinfo files converted to html. For example, visit https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#Writing-a-Texinfo-File. You get to section "2 Writing a Texinfo File". This is fine. But it would be nice if I could click on the title (or somethin

Re: Math in texinfo files?

2020-01-15 Thread Raymond Toy
On Tue, Jan 14, 2020 at 10:42 AM Gavin Smith wrote: > On Mon, Jan 13, 2020 at 9:40 PM Raymond Toy wrote: > > > > I'm currently trying to write nice equations in some texinfo files. > I've been using MathJax to generate the formulas for the html version of > t

Math in texinfo files?

2020-01-13 Thread Raymond Toy
I'm currently trying to write nice equations in some texinfo files. I've been using MathJax to generate the formulas for the html version of the doc. However, since the TeX version of the doc doesn't use LaTeX, I have to either have different formulas for the html version and TeX version. Sometim

Re: Texinfo 6.7 released

2019-09-28 Thread Raymond Toy
Thanks for the fix. Everything works just fine now! On Fri, Sep 27, 2019 at 4:54 AM Gavin Smith wrote: > On Fri, Sep 27, 2019 at 7:09 AM Raymond Toy wrote: > > I can build texinfo from these files without any problems. > > > > However, if I use the git repo I can'

Re: Texinfo 6.7 released

2019-09-26 Thread Raymond Toy
On Mon, Sep 23, 2019 at 12:29 PM Gavin Smith wrote: > We have released version 6.7 of Texinfo, the GNU documentation format. > > This package contains tools to produce documentation in various > formats, including HTML and PDF, from source files in the Texinfo > format. Texinfo is a text-based f

Re: Output files for html?

2019-06-23 Thread Raymond Toy
Thanks! That works great. On Sat, Jun 22, 2019 at 12:00 AM Patrice Dumas wrote: > On Fri, Jun 21, 2019 at 11:52:03AM -0700, Raymond Toy wrote: > > In version 6.6, if you had > > > > @setfilename foo.info > > > > all of the html files would be placed in the f

  1   2   >