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

2023-12-18 Thread William F Hammond
the dvi's generated 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 a

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

2023-12-17 Thread William F Hammond
groff, 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/ ๐‘ป๐’‰๐’† ๐’•๐’Š๐’Ž๐’† ๐’•๐’ ๐’”๐’‚๐’—๐’† ๐’‚ ๐’…๐’†๐’Ž๐’๐’„๐’“๐’‚๐’„๐’š ๐’Š๐’” ๐’ƒ๐’†๐’‡๐’๐’“๐’†

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

2023-12-11 Thread William F Hammond
he expat distribution? -- 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

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

2022-03-09 Thread William F Hammond
ft to do, as well 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 writt

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.alba

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 stan

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 processing

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] [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 #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 structure

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

2019-08-26 Thread William F Hammond
ess.com/2008/03/22/math-spacing-and-length-units/ > . > The \quad should really be 1em, but \ should be much smaller than it > is right now, I've set it to 0.33 em. > > Best regards, > Michal > -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

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

2019-08-23 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 #434] HTML mode is spewing some XML code

2019-08-18 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] underline math does not work in tex4ht when in mathjax mode

2019-04-06 Thread William F Hammond
the class 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] another problem with mathjax mode: Forbidden control sequence found while scanning use of \AltlDisplay

2019-01-22 Thread William F Hammond
thjax" 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 > n

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 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 mo

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, in

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, rather than redefining the macros in TeX or

[tex4ht] Getting correct MathML for multi-character symbols

2018-02-01 Thread William F Hammond
s if the \mbox{} 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.c

Re: [tex4ht] [bug #378] Wrong MathML output for numbers

2018-02-01 Thread William F Hammond
On Wed, Jan 31, 2018 at 3:40 PM, Michal Hoftich wrote: > . . . > User reported on TeX.sx [1] an issue with number handling in the MathML > output. The issue is that $14$ produces 15 instead of > 15. > . . . > (Of course, you meant to say "$15$ produces".) But, yes, this is a significant error t

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/

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.) Enjoy your holidays!

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} > \u

Re: [tex4ht] Issues with unpaired brackets

2017-04-12 Thread William F Hammond
s 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] [bug #344] tex4ht may generate HTML file with incorrect indent

2016-12-13 Thread William F Hammond
ure that happens to work sometimes with some TeX engines. I believe that the only documented way to introduce the environment is with "\begin{center}". ... the perils of working without profiled LaTeX :-) -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/willi

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 thi

[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

[tex4ht] HTML5 output (Was: [bug #340] Math issues ...)

2016-11-24 Thread William F Hammond
Michal -- You write in part: > We still don't have HTML5 output unfortunately - basic > structure shouldn't be that hard to support, but what > about new semantic or accessibility > attributes. ... There's very little difference between tex4ht's xhtml output and what is required for the text/htm

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

2016-11-23 Thread William F Hammond
Greetings Karl and Michal, Michal Hoftich writes: > Follow-up Comment #5, bug #340 (project tex4ht): > > I've just found that LO can read mathml files without > prefix, I must had done some mistake previously when it > didn't work. The issue with prefix-less mathml is that > processing with xtpi

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 the way discussed in this

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] [bug #278] Wrong mathml with $\langle$

2016-04-01 Thread William F Hammond
Kaveh writes: > On 1 April 2016 at 18:15, William F Hammond > wrote: > >> That /someone/ could be well-served by creating a suitable >> LaTeX profile for his or her writing. For more on my >> ideas about LaTeX profiles, see >> http://www.albany.e

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

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 sai

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

2016-03-31 Thread William F Hammond
ther than a group opener? Or is it intended to be the empty group properly marked up with "\left\langle{}\right." ? It's not clear what a sensible translation should be. -- Bill -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] [bug #274] tex4ht features vs. lwarp vs. ...

2016-03-30 Thread William F Hammond
Use XSLT or a standard sgml library (for more power) like sgmlspl (perl) or OpenSP (C++) to translate the profiled document to whatever end format. -- Bill -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] [bug #276] avoid multiple runs of latex

2016-03-30 Thread William F Hammond
run to search the latex log file for ' Rerun to get ' -- Bill -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] Including vector graphics (graphicx and PDF files)

2016-01-11 Thread William F Hammond
On Sun, Jan 10, 2016 at 12:01 AM, Hans Georg Schaathun < georg+...@schaathun.net> wrote: > I whole-heartedly agree, and Michal's (second) solution does > exactly that. > Sorry, I missed that. -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/wi

Re: [tex4ht] Including vector graphics (graphicx and PDF files)

2016-01-09 Thread William F Hammond
Hans Georg Schaathun writes: > Brilliant, Michal. > That works wonders. Good. I was too busy to reply the last two days. But I did want to interject that many of the major web browsers handle svg images directly, provided that the http server offers svg objects with the proper content-type, i.

Re: [tex4ht] tex4ht puts the wrong link when splitting document. How to make the top of the page visible?

2016-01-01 Thread William F Hammond
On Fri, Jan 1, 2016 at 12:13 PM, Nasser M. Abbasi wrote: > do you mean one large html page, vs. many smaller ones? Yes. -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] tex4ht puts the wrong link when splitting document. How to make the top of the page visible?

2016-01-01 Thread William F Hammond
, my thought about splitting has always been to use an sgml or xml transformation library to do the splitting from a unified html file. -- Bill -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

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
ua) 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.facebook.com/william.f.ha

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

2015-12-04 Thread William F Hammond
r HTML5 (one is suppoosed to see an HTML5 document as a DOM object with two serializations, one xml) that the element names SCRIPT and IMG and the img attribute names SRC, ALT, and WIDTH all be lower case, cf. \HCode for mma_movie_100. -- Bill -- William F Hammond Emai

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 or to proceed,

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

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

2015-06-08 Thread William F Hammond
Simon -- You write: > It's a PhD thesis in film studies, so there's not any math > involved (at least not to my knowledge). 1. The log seems to suggest that TeX's math mode is somehow involved. For example, in the source is math mode used for text super- or sub-script construction? 2. You sa

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 > > newenvironment{normalcatcodes}{cat

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 #242] Spurious semicolon produced by \textregistered command

2015-01-22 Thread William F Hammond
an'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] Backing up Re: [bug #226] Spurious elements in mathml output ...

2014-08-14 Thread William F Hammond
Michal Hoftich writes: > I forwarded this conversation to David and he confirmed that ` mathvariant="...">` should be used ... Slightly different is this question: how should one write LaTeX math (user level) in order for text4ht, or some other LaTeX to HTML+MathML translator, to produce

[tex4ht] Backing up Re: [bug #226] Spurious elements in mathml output ...

2014-08-02 Thread William F Hammond
After checking The LaTeX Companion, 2nd edition, I should take back part of what I said in my last message: > The LaTeX markup $\mathit{hello}$ is insufficient for > knowing whether or not "hello" is intended to > be the name of a mathematical symbol. The LaTeX Companion seems to say that with th

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

2014-08-02 Thread William F Hammond
Michal Hoftich writes: > . . . > Details: > > As was pointed out by David Carlisle, there are spurious `` elements in > the output of $\mathit{hello }\mathbf{world}$ when converted to mathml: > xmlns="http://www.w3.org/1998/Math/MathML"; > display="inline" >>h>e>l>l>o... > > it should be > >

Re: [tex4ht] using minipage in tex4ht?

2014-02-22 Thread William F Hammond
hing like: div.minipage{width: 45%; float: left; margin: 1ex 1em 1ex 0;} div.minipage:last-child{clear: none; float: right; margin: 1ex 0 1ex 1em;} Also in the source I think you want \linewidth instead of \textwidth in the width spec for \includegraphics. -- 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, http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML"; > -- Bill

Re: [tex4ht] Is there a way to pass the Latex code directly to the HTML page for MathJax use?

2013-10-20 Thread William F Hammond
Following up on my previous response. I ran your code through tex4ht/xhmlatex with a small .cfg for html5+mathjax. Your issues with tex4ht are these: 1. The summation sign is wrapped in an tag with the attribute specification mathsize="big". Get rid of that attribute specification. 2.

Re: [tex4ht] Is there a way to pass the Latex code directly to the HTML page for MathJax use?

2013-10-19 Thread William F Hammond
"Nasser M. Abbasi" writes: > I am using MathJax to render the math in the HTML pages > generated by htlatex. > > I found some issues with the MathML code generated by htlatex. > > When I copy the latex code directly, and put it in the HTML > page, then the result is the correct one, and it looks

Re: [tex4ht] not translating math

2013-10-01 Thread William F Hammond
ferencing "dblatex" 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] not translating math

2013-09-30 Thread William F Hammond
in a unicode-capable version of LaTeX. -- Bill -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/

Re: [tex4ht] how to do selective splitting of large document at the unit level?

2013-08-10 Thread William F Hammond
On Sat, Aug 10, 2013 at 3:13 AM, Nasser M. Abbasi wrote: -- I have given up on this one. I looked at the documentation, but too many options and too many configurations. Trying all day with no success. The goal is simple. Tell htlatex to split some chapter's sections to sepa

Re: [tex4ht] unicode HTML title

2013-05-26 Thread William F Hammond
On Sun, May 26, 2013 at 11:07 PM, Jaroslav SOBOTA wrote: > Perhaps I did not describe the problem clearly - what I'm talking about is > the ... element in the resulting HTML file, which really > looses the accents, umlauts, etc. See the attached screenshot. > > Jaroslav > > Dne 27.5.2013 4:59, Rad

Re: [tex4ht] unicode HTML title

2013-05-26 Thread William F Hammond
mybook.tex "xhtml,charset=utf-8" " -cunihtf -utf8" "-cvalidate" > > Everything works fine, except the accented letters in the > element. The accents simply disappear. > > Why does it happen and is there a way to avoid it? > > Thanks for any hints,

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 wrote: > 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 more user-friendly.

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

2013-05-07 Thread William F Hammond
ght about that, but it is in use, then how difficult could it be to phase it out? Of course, 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] configuration issue for htlatex to generate mathml and use mathjax

2013-04-20 Thread William F Hammond
ver, I'm wondering about the choice of dot used with the \alpha. Why 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 Firef

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

2013-04-02 Thread William F Hammond
user-level document might be indicated by something like \documentprofile[]{} rather than \documentclass for 2E. -- Bill -- William F Hammond http://www.albany.edu/~hammond/ Email: gel...@gmail.com

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 beli

[tex4ht] (no subject)

2013-03-29 Thread William F Hammond
of why formally profiled LaTeX is a good idea. Under a normal profile tabular would not be allowed in displaymath. See my talk at TUG 2010 http://www.tug.org/tugboat/tb31-2/tb98hammond.pdf -- William F Hammond http://www.albany.edu/~hammond/ Email: gel...@gmail.com

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

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

2013-03-23 Thread William F Hammond
Sorry: my last paragraph was wrong. With hyperref's \url it should not matter if an http server re-writes the href values in an html -element. -- Bill

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

2013-03-23 Thread William F Hammond
CVR -- You write: > Do we really need > \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. >

Re: [tex4ht] Paragraph semantics in xhmlatex

2012-12-29 Thread William F Hammond
Zdzislaw Meglicki 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 said, in html the rel

Re: [tex4ht] [bug #176] Missing break between paragraphs

2012-12-19 Thread William F Hammond
Isn't "paragraph" a LaTeX environment that is "sectional" in nature, roughly subsubsubsection -- not to be confused with \par (which is commonly invoked with a blank line -- and isn't its use usually deprecated? (I don't have my books handy now.) Does Eitan's code treat it explicitly?

Re: [tex4ht] teilatex and teimlatex

2012-10-25 Thread William F Hammond
Zdzislaw Meglicki writes: >> What do you mean by DTD XML? All the standard XML data files follow a >> DTD (document type definition). > > This is what Tralics papers say and then add "similar to TEI XML". Perhaps > there are some more relaxed XMLs around that are not DTD. Or perhaps > theirs is a

Re: [tex4ht] dbmlatex conversion...

2012-10-24 Thread William F Hammond
CVR is on the mark. In LaTeX terms balancers like parentheses, braces, brackets, etc. must be balanced within larger structures such as table cells in order for a translation with tex4ht to any form of XML to work. Fortunately, Eitan accommodated the use of \left and \right with balancers, and,

Re: [tex4ht] Detecting TeX4ht

2012-10-10 Thread William F Hammond
Denis Bitouzรฉ writes: > Le mardi 09/10/12 ร  00h59, > k...@freefriends.org (Karl Berry) a รฉcrit : > >> Hi Denis, > > Hi Karl, > >> > [...] >> >> Sorry for the late reply. I just wanted to chime in that I also have >> always used \ifx\HCode. > > OK, thanks. > >> Although I understand and even agr

[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. http://www.albany.e

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

2012-01-06 Thread William F Hammond
Ivan Ermilov 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 slides from each > o

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. > ..

Re: [tex4ht] Could LaTeX Be Used to Format Braille Documents?

2011-10-25 Thread William F Hammond
omatic, (b) page references based on symbolic label tags to work automatically, and (c) cross-references based on symbolic tags to work automatically. Of course, this would take work. Do you have workers? -- Bill ---

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 look

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

Re: [tex4ht] unbalanced parentheses

2011-09-05 Thread William F Hammond
Hi Karl, Karl Berry writes: > Is tex4ht-able source available somewhere? Url? Now it is: http://www.albany.edu/~hammond/private/1108.5305.tex http://www.albany.edu/~hammond/private/1108.5305.xhtml The xhtml was built with tex4ht from last year's TeXLive. > It's not the business of the typ

[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] [bug #144] mk4ht and align, eqnarray, etc.

2011-08-26 Thread William F Hammond
Radhakrishnan CV writes: > On Mon, Aug 8, 2011 at 2:44 PM, Fabrice wrote: >> above, there is this problem of equation and equation number superposition: What superposition? Using xhtml generated from the original TeX source (with missing backslashes added), I get a document that (1) renders c

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

2011-07-28 Thread William F Hammond
Johannes Wilm 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 early error will som

Re: [tex4ht] \autoref from hyperref with tex4ht

2011-05-11 Thread William F Hammond
Radhakrishnan CV writes: > ... >> \usepackage{hyperref} >> ... >> \begin{figure} >> ย \caption{My figure.} >> ย \label{fig} >> \end{figure} >> >> See~\autoref{fig}. > ... > Attached is a newer version of nameref.4ht. In my tests, this version > seems to fix the problem of not only \autoref, but also

Re: [tex4ht] [bug #142] Wrapping an environment with text*{} breaks xtpipes with oolatex

2011-05-03 Thread William F Hammond
^m e writes: > Wrapping an environment with \text*{} (tried with * in [bf,tt,sf]) breaks > xtpipes with oolatex, f.i. the following > > \documentclassh[a4paper]{report} > > \begin{document} > > \textsf{ > \begin{description} > \item[foo] bar > \end{description} > } > > \end{document} I thi

Re: [tex4ht] No math rendering

2011-04-16 Thread William F Hammond
Radhakrishnan CV 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 the effort to acqui

Re: [tex4ht] tex4ht, tabulary and colortbl

2011-03-03 Thread William F Hammond
David P Mitchell writes: > . . . > tex4ht-tabularytest.tex file: > > \documentclass{report} > \usepackage{tabulary} > \usepackage{tabularx} > \usepackage{color} > \usepackage{colortbl} > \usepackage{caption}[2008/04/01] > > \begin{document} > \begin{table}[h] > \centering > \caption{Test table

Re: [tex4ht] controlling output suffix with xhmlatex

2011-02-21 Thread William F Hammond
CV Radhakrishnan writes: > . . . > You might kindly create a small .cfg file in the following fashion: Thanks. -- Bill

[tex4ht] controlling output suffix with xhmlatex

2011-02-19 Thread William F Hammond
Greetings, I've not written here before. Question. When I use xhmlatex to generate xhtml+mathml from, say, foo.tex the final output is given the filename foo.html. Is there a way to force it to be given the filename foo.xhtml? I would expect the suffix to be a command line option for "t4ht". A