Re: [tex4ht] No math rendering

2011-04-16 Thread William F Hammond
Radhakrishnan CV c...@river-valley.org writes: Why not consider moving to MathML which is now part of HTML5 specs and already supported by browsers like Firefox and Opera? I think this is the way to go. If one is concerned about browsers that don't support MathML or about users who don't make

Re: [tex4ht] validity of tex4ht HTML-code output

2011-07-28 Thread William F Hammond
Johannes Wilm m...@johanneswilm.org writes: The W3C tells me there are around 3000+ errors in it, even though it can see the declaration. Are the 3000 errors for HTML 4.01 or for XHTML? Generally one wants to work through such an error list one line at a time beginning at the top. Fixing an

[tex4ht] unbalanced parentheses

2011-08-31 Thread William F Hammond
Dear Friends, A recent item at arxiv.org -- 1108.5305 -- fails to run through tex4ht targeted for xhtml+mathml, i.e., mk4ht xhmlatex, because it has nearly 40 instances in its source of unbalanced parentheses. Since the source will run correctly through pdflatex, there is a sense in which it may

Re: [tex4ht] unbalanced parentheses

2011-09-06 Thread William F Hammond
I wrote: It's not the business of the typesetter to detect math errors, so it really shouldn't complain. Unbalanced parentheses are not always an error, for sure. Just a simple interval open at one end and closed at the other ... (1,2] Unbalanced containers are a serious obstacle for

Re: [tex4ht] unbalanced parentheses

2011-09-07 Thread William F Hammond
k...@freefriends.org (Karl Berry) writes: http://www.albany.edu/~hammond/private/1108.5305.tex http://www.albany.edu/~hammond/private/1108.5305.xhtml Thanks. I will try to look. for your example, \left(1,2\right] Well, \left...\right can change what the output looks like,

Re: [tex4ht] How to get PDF's page numbers in html output? (Accessibility issue)

2011-12-26 Thread William F Hammond
... So, the best option is to keep paragraph numbers instead of page numbers as the basis for reference. The counter doesn't need to be the pdf page number, but that's an already-existing counter that makes sense. Whatever counter is used, it must be present in all versions. ... Page

Re: [tex4ht] tex4ht latex beamer mathml converting (Ubuntu, PHP)

2012-01-06 Thread William F Hammond
Ivan Ermilov earthquake...@gmail.com writes: . . . On the input we have got an .tex file, that uses beamer documentclass. On the output I want to get a .html file with custom tags around the enviroments (see the example below to understand, what I meant by this). Also I want to distinguish

[tex4ht] text/html with mathjax as small mod of tex4ht/xhmlatex

2012-07-30 Thread William F Hammond
It's not clear to me how to configure things so that html5 (text/html serialization) with mathjax is spun out of tex4ht, but small ad hoc adjustments to the examples from arXiv referenced below suggest that it ought to be fairly easy to create a variant of xhmlatex for it.

Re: [tex4ht] Paragraph semantics in xhmlatex

2012-12-29 Thread William F Hammond
Zdzislaw Meglicki zdzisi...@sbcglobal.net writes: Text following displayed equations seems always converted to new paragraphs, with indentation, when a LaTeX file is converted to xhtml+MathML with mk4ht xhmlatex. I'd call this a bug. There is no need for it. Gellmu does not do it. That

Re: [tex4ht] [bug #181] Hyperref's nolinkurl not correctly handled by tex4ht when biblatex is present

2013-03-24 Thread William F Hammond
\href{https://www.tug.org/tex4ht}{\nolinkurl{tex4ht}}? Yes, for those cases where one wants a link with a visible url representing the link but the author just wants to display a url that is not identical (usually not quite identical) to the actual url. OK. I

Re: [tex4ht] TeX4ht upgrading: doesn't work

2013-04-01 Thread William F Hammond
Karl Berry writes in part: . . . LaTeX3 is not going to be any more formal in your sense than LaTeX2e is. Also, LaTeX3 has basically nothing in common with LaTeX2e except the people who are developing it, and few if any nontrivial LaTeX2e documents will work under LaTeX3. ... I believe

Re: [tex4ht] configuration issue for htlatex to generate mathml and use mathjax

2013-04-20 Thread William F Hammond
choose U+0307 (combining dot above) rather than U+02D9 (dot above)? While U+0307 for the dot in \dot{\alpha} looks OK in MathJax HTML/CSS, it does not look correct if I use the menu to go for native MathML rendering in Firefox. I find that U+02D9 works both ways. -- Bill -- William F

Re: [tex4ht] Collision of /usr/bin/ht with HT Editor

2013-05-07 Thread William F Hammond
, I also would object to ht as the name of any program that is not user-private. Something like hteditor would be much better. -- Bill -- William F Hammond http://www.albany.edu/~hammond/ Email: gel...@gmail.com

Re: [tex4ht] Collision of /usr/bin/ht with HT Editor

2013-05-07 Thread William F Hammond
On Tue, May 7, 2013 at 3:33 PM, Reinhard Kotucha reinhard.kotu...@web.dewrote: On 2013-05-07 at 02:12:45 +0400, Alexey Torkhov wrote: ... As far as tex4ht is concerned, I fully agree with Karl. Not only because two-letter names are deprecated but also because more meaningful names are

Re: [tex4ht] not translating math

2013-10-01 Thread William F Hammond
and dbmlatex I was referring to mk4ht scripts that are part of a standard tex4ht installation. The latter converts LaTeX math to MathML, while the former makes images. -- Bill -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] how to prevent mathjax from processing latex code inside Verbatim in the HTML generated by tex4ht?

2014-01-10 Thread William F Hammond
If tex4ht is being used to generate MathML, then MathJax should be invoked with tex input disabled. For example, script type=text/javascript src=http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML; /script -- Bill

Re: [tex4ht] [bug #226] Spurious elements in mathml output of \mathit, \mathrm, \mathbf etc

2014-08-02 Thread William F Hammond
Michal Hoftich puszcza-hack...@gnu.org.ua writes: . . . Details: As was pointed out by David Carlisle, there are spurious `mi` elements in the output of $\mathit{hello }\mathbf{world}$ when converted to mathml: math xmlns=http://www.w3.org/1998/Math/MathML; display=inline mstyle

Re: [tex4ht] [bug #242] Spurious semicolon produced by \textregistered command

2015-01-22 Thread William F Hammond
archiving Eitan's last version rather than deleting it, possibly with a note that it's for reference but not for current use. Just my €.02 -- Bill -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] Black stripe on formula rendering

2015-02-10 Thread William F Hammond
I'm not read into the tex4ht code, so I don't know what is happening, but I think the \\ immediately before \end{cases} is incorrect and might possibly lead tex4ht to set up a table with an extra row. -- Bill

Re: [tex4ht] [bug #246] \usepackage{cprotect} generate extra strange letters not in text in HTML

2015-03-10 Thread William F Hammond
Previously: ... it is well known issue that ^ character has changed catcode with tex4ht, so we have to set it temporarily to the normal value. we may create environment, which will have correct catcodes inside, so you can place problematic code here

Re: [tex4ht] [bug #254] tex4ht breaks

2015-06-08 Thread William F Hammond
Michal -- You write: Usually the problem can be found in the temporary xml file (content.xml, perhaps) using something like xmllint, and often the problem is a misconstructed piece of xml, which in some cases is easy to correct by hand. maybe we should modify the oolatex script to invoke

Re: [tex4ht] erorr code 256, possible perl error code, come up with using --lua option with make4ht, error --- Improper dvi file

2015-12-06 Thread William F Hammond
heck that (with make4ht -lua) changing mcode.sty to UTF-8 did not seem to provide a fix. But I haven't tried to understand how the matlab stuff is imported or find where the mcode math escape might be used. -- Bill -- William F Hammond Email: gel...@gmail.com https://www.faceboo

Re: [tex4ht] erorr code 256, possible perl error code, come up with using --lua option with make4ht, error --- Improper dvi file

2015-12-03 Thread William F Hammond
"Nasser M. Abbasi" writes: > ... > http://12000.org/tmp/103115/ > > Along with the original zip file. > ... I downloaded the zip and tried to build KERNEL with your make4ht command line. On the first pass: ! LaTeX Error: File `my_verbatim.tex' not found. Type X to quit

Re: [tex4ht] [bug #278] Wrong mathml with $\langle$

2016-04-01 Thread William F Hammond
Michal -- You write: > It is based on earlier message from today, where OP used > it for encoding brackets around email address. It could be > seen (and I agree that it is) as abusing of math mode, but > this construct seems as quite common when I googled it. Yes, it is far too common. As I

Re: [tex4ht] [bug #278] Wrong mathml with $\langle$

2016-04-01 Thread William F Hammond
Hans Georg Schaathun writes: > On Thu, Mar 31, 2016 at 10:51:23AM -0700, William F Hammond wrote: >> I think the source is nonsense -- or, at best, ambiguous -- if translation >> to HTML with MathML is envisioned. For example, is this an abuse of math >> because the use

[tex4ht] Starmath in Libre Office (Was: [bug #340] Math issues ...)

2016-11-24 Thread William F Hammond
Karl -- You write: > Follow-up Comment #6, bug #340 (project tex4ht): > > committed the new mathml.4ht and ooffice-mml.4ht to TL. > > regarding star(t)math, i suppose only the LO people can > help, if they invented it. maybe they'd be willing to work > with you on improving the overall situation

Re: [tex4ht] [bug #340] Math issues in the ODF export

2016-11-26 Thread William F Hammond
Michal writes: > Thanks Karl, I thought that there is no XSLT processor included. > I think that xtpipes works, for example cross-references > doesn't work without it. As I understand it, it combines > SAX processor with XSLT or calls to Java. I have never dived into the code for tex4ht, but

Re: [tex4ht] Bizarre bug - \def\sp{...}

2016-11-01 Thread William F Hammond
tex. But, alas, \renewcommand does not get beyond this issue with tex4ht, which I think must be a bug. -- Bill --- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] Bizarre bug - \def\sp{...}

2016-11-04 Thread William F Hammond
Karl Berry writes: > It could still easily have ill effects if other (tex4ht or > latex) macros that use \sp happen to get invoked, > though. Safer not to redefine it. -k Safer still to use a suitable LaTeX profile. With such a system introducing \sp as a newcommand in

Re: [tex4ht] Issues with unpaired brackets

2017-04-12 Thread William F Hammond
ples of this type should be handled by a translator. Again I say, it would be better to trap nonsensical source. -- Bill -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] Issues with unpaired brackets

2017-04-14 Thread William F Hammond
Michal -- > In most cases it is probably mistake, but one can too > often see various hacks in TeX sources which can work in > PDF but explode when you want semantic output. Yes. > Some more realistic example is the following, coming from > a real-world document: > > \documentclass{article} >

Re: [tex4ht] [bug #394] Support for oolatex on Debian

2018-06-26 Thread William F Hammond
Ulrike Fischer writes: > . . . > > I didn't follow (or understand) which path you need to > find but kpsewhich -expand-var=$TEXMFDIST gives the main > miktex root on my system. I think that this is not cross-platform from the command line because of the various meanings of special characters,

Re: [tex4ht] Problem with hyperref

2017-12-22 Thread William F Hammond
Milanese Guido Fabrizio writes in part: > ... Yes, I did know the excellent Markdown package, but I > am a bit rigid in my habit of keeping formats "separated". This is a good habit. (Just saying.) Is there an XML document type that models markdown? (Just asking.)

Re: [tex4ht] Why tex4ht changes apostrophe to Right Single Quotation Mark?

2018-01-09 Thread William F Hammond
> this is the default LaTeX behavior, you will get the quotation mark > even in PDF. You may try to use the `upquote` package, which will fix > this issue in verbatim. > > -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

[tex4ht] Getting correct MathML for multi-character symbols

2018-02-01 Thread William F Hammond
box{} were not present. For \mbox{} inside math, internal math content should throw an error for translation to MathML. If the content has no internal white space, it should be , but if there is internal white space. -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.ha

Re: [tex4ht] \TeX -> TeX

2018-02-19 Thread William F Hammond
Michal Hoftich writes: > On Mon, Feb 19, 2018 at 12:06 AM, Karl Berry wrote: >> Does anyone know if there is an easy way to make htlatex generate a >> plain text "TeX" for \TeX, ditto "LaTeX" for \LaTeX? I mean, a "native" >> way at the tex4ht level,

Re: [tex4ht] another strange error when using make4ht with mathjax mode

2018-10-26 Thread William F Hammond
"Nasser M. Abbasi" writes: > This MWE only fails to compile when using make4ht in mathjax mode. I think it is more serious than whether or not mathjax is used. > It is snippet from old code. May be not well written. But > this used to compile OK and still compiles OK when not using > mathjax

Re: [tex4ht] another problem with mathjax mode: Forbidden control sequence found while scanning use of \AltlDisplay

2019-01-21 Thread William F Hammond
end{tabular} > > \end{document} > > ========== > > > > Notice the "{" added before \begin{array} and at end. > > > > But it is not possible for me to edit manually this large > > file and add {} everywhere, as there are thousands of such places. > > > > I'll try global search and replace and hopefully not break anything else. > > > > But is there a reason why this problem keeps hapenning with mathjax > > and no other system? Is this a mathjax issue itself > > or the translation to mathjax done by tex4ht? > > > > Thank you > > --Nasser > > TL 2018 > > > > > > > > -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] another problem with mathjax mode: Forbidden control sequence found while scanning use of \AltlDisplay

2019-01-22 Thread William F Hammond
" option, without "mathml". The > issue with the second method is that you can experience errors in both > tex4ht and MathJax. On the other hand, you don't experience issues > with wrong MathML produced by tex4ht, so it has both positives and > negatives.

Re: [tex4ht] underline math does not work in tex4ht when in mathjax mode

2019-04-06 Thread William F Hammond
attribute from "underline" to, say, "uline", and for that class use the CSS property border-bottom instead of text-decoration, e.g., span.uline {border-bottom: 0.2ex solid black;} -- Bill -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] [bug #226] Spurious elements in mathml output of \mathit, \mathrm, \mathbf etc

2019-11-22 Thread William F Hammond
Greetings to all: (This thread goes back to 2014, but Michal posted today.) On Fri, Nov 22, 2019 at 5:30 AM Michal Hoftich wrote: > Follow-up Comment #5, bug #226 (project tex4ht): > > I've found an issue with this approach - the \PauseMathClass will prevent > correct tagging of nested

Re: [tex4ht] [bug #434] HTML mode is spewing some XML code

2019-12-16 Thread William F Hammond
_ > > Reply to this item at: > > <http://puszcza.gnu.org.ua/bugs/?434> > > _______ > Message sent via/by Puszcza > http://puszcza.gnu.org.ua/ > > -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] [bug #488] \over does not give the same result as equivalent \frac

2020-10-26 Thread William F Hammond
Patrice, Karl, and all: LaTeX math and plain TeX math are different. I'm inclined to think that there is a clear language standard for MathJax although I do not know if there is full documentation for it. All I know is that when I cross the line MathJax catches it. I think that the MathJax

Re: [tex4ht] issue with raw html output with httex

2020-10-25 Thread William F Hammond
On Sun, Oct 25, 2020 at 12:05 PM Patrice Dumas writes in part: If I pass a texi document to httexi, with \input texinfo, @setfilename > and @bye it does not give an error, but the result is not correct, there > is no inserted html, and the output is simple text without html > elements: > > ... >

Re: [tex4ht] issue with raw html output with httex

2020-10-26 Thread William F Hammond
It's always easier to look at an example. I've played with it a bit and used "makeinfo", then manually linked to MathJax. That is, makeinfo -- html -o foo foo.texi Modified texinfo source attached. See comments in the source. The HTML output will need straightforward post

Re: [tex4ht] why arxiv.org choose LaTeXML and not tex4ht for making HTML pages?

2022-03-08 Thread William F Hammond
be able to have confidence that their [sic] document would pass correctly through both systems as well as through the system of any publisher supporting the profile. -- Bill William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammo

Re: [tex4ht] why arxiv.org choose LaTeXML and not tex4ht for making HTML pages?

2022-03-09 Thread William F Hammond
ll as communities that need > them. > Documents written in LaTeX today are valuable and need a path beyond PDF. > Yes, I agree. LaTeX as we know it needs support, and work on LaTeXML and TeX4ht needs to continue. That work can become easier as better LaTeX documents are written. >

Re: [tex4ht] [bug #618] Incomplete XML Document, domfilter error, truncated build on large file.

2023-12-17 Thread William F Hammond
f, which also can write DVI, have done with a document having more than 2^16 pages? -- Bill William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/ 푻풉풆 풕풊풎풆 풕풐 풔풂풗풆 풂 풅풆풎풐풄풓풂풄풚 풊풔 풃풆풇풐풓풆 풊풕 풊풔 풍풐풔풕. -- 퐊퐞퐧 퐁퐮퐫퐧퐬 On Sun,

Re: [tex4ht] [bug #618] Incomplete XML Document, domfilter error, truncated build on large file.

2023-12-18 Thread William F Hammond
nerated by tex4ht sometimes are not good for dvips anyway. The question is whether serious capacity limitations might lurk for tex4ht. It might be so, but I don't see any reason to jump to that conclusion. However, I'm fine with your conclusion regarding the document at hand. Best, -- Bill W

Re: [tex4ht] [bug #618] Incomplete XML Document, domfilter error, truncated build on large file.

2023-12-11 Thread William F Hammond
istribution? -- Bill William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/ 푻풉풆 풕풊풎풆 풕풐 풔풂풗풆 풂 풅풆풎풐풄풓풂풄풚 풊풔 풃풆풇풐풓풆 풊풕 풊풔 풍풐풔풕. -- 퐊퐞퐧 퐁퐮퐫퐧퐬 On Mon, Dec 11, 2023 at 5:04 PM Nasser M. Abbasi wrote: > URL: >