Re: [tex4ht] bug with latest update to texlive using tex4ht with caption package

2020-03-17 Thread Michal Hoftich
Hi Nasser, > Strange that caption package will cause such problem in tex4ht. > I wonder what could cause this. it seems that the Caption package had been updated recently, so the TeX4ht support for it is broken. I expect that it probably redefines some internal LaTeX macros. I will need to

Re: [tex4ht] Help on mathjax V3 configuration. Syntax error

2020-03-15 Thread Michal Hoftich
Hi Nasser, > > Since you did not get an error, it must be you are using > different version. So I just did full update of texlive 2019. > > Now, I do not get any error ! So it must be something got fixed > in the update. > > >make4ht --version > make4ht version v0.3d > > (base) >make4ht -ulm

Re: [tex4ht] Help on mathjax V3 configuration. Syntax error

2020-03-15 Thread Michal Hoftich
Hi Nasser, > > (/usr/local/texlive/2019/texmf-dist/tex/generic/tex4ht/html5.4ht)) (./foo.aux) > ! Undefined control sequence. > \\ ->\let \reserved@e > \relax \let \reserved@f \relax \@ifstar {\let > \reserv... > > l.101 \EndPreamble

Re: [tex4ht] Indices don't show up in the Table of Contents

2020-03-14 Thread Michal Hoftich
Hi Jürgen, > When creating documents with indices with imakeidx and then generating a > table of contents with \tableofcontents , the indices show in the Table of > Contents in the PDF document - but not in the epub document. > This looks like a bug in TeX4ebook. I hope that I've fixed that in

Re: [tex4ht] \usepackage{showframe} error with tex4ht

2020-03-12 Thread Michal Hoftich
Hi Nasser, > Workaround is simple, which is to bypass it explicitly in the code > when using tex4ht > > \ifdefined\HCode > \else > \usepackage{showframe} > \fi I've added showframe to list of blocked packages. Thanks for the report. Best regards, Michal

Re: [tex4ht] indexing4ht and accented characters

2020-03-08 Thread Michal Hoftich
Hello LianTze, > (Note that if \index{láboris} is changed to \index{laboris} then this can be > compiled with tex4book + xindy perfectly.) > indexing system provided by indexing4ht is a bit fragile. It is better to use the native indexing support provided by TeX4ht. You don't need to load

Re: [tex4ht] spanish navigation bar

2020-03-06 Thread Michal Hoftich
Hi Diego, > How can I get spanish navigation links or customize that? try the following configuration file: \Preamble{xhtml} \Configure{crosslinks}{[}{]}{próximo}{previo}{previo-final}{portada}{final}{superior}{} \begin{document} \EndPreamble --- >From the info file:

Re: [tex4ht] about configuring where to load mathjax from when using tex4ht in mathjax mode.

2020-03-04 Thread Michal Hoftich
Hi Nasser, > All the above should go to your .cfg file under the \Preamble tag. > > I also just compiled a large file with lots of math using V3 mathjax > and so far I see no problems with the math. I also noticed mathjax is > now faster than before ! I've updated TeX4ht sources to use MathJax

Re: [tex4ht] about configuring where to load mathjax from when using tex4ht in mathjax mode.

2020-03-03 Thread Michal Hoftich
Hi Nasser, > I can't remember where this is hard-coded. I know it is in some system > file in tex4ht. > > I think it will be best if there is an automatic way to override default > setting of where mathjax is loaded from to avoid having to edit > system files that belong to tex4ht. Or not add

[tex4ht] [bug #451] r666 breaks pgfmanual

2020-03-02 Thread Michal Hoftich
Follow-up Comment #3, bug #451 (project tex4ht): I've found the issue. We patch the `\usetikzlibrary` in `usepackage.4ht` for a better externalization support. I changed the following lines to get it work: -\renewcommand\usetikzlibrary[1]{% - \use:tikzlibrary{#1}% -

[tex4ht] [bug #451] r666 breaks pgfmanual

2020-03-01 Thread Michal Hoftich
Follow-up Comment #1, bug #451 (project tex4ht): Do you have a smaller example? I can test the pgfmanual tomorrow, but the following sample that loads the positioning library compiles without compilation errors for me: \documentclass[11pt]{article} \ifdefined\HCode %This driver to tex4ht

[tex4ht] [bug #449] \ is not a nobreak space

2020-02-28 Thread Michal Hoftich
Follow-up Comment #10, bug #449 (project tex4ht): Ah, that is bad. I think we should revert for now. I will put \:nbsp back. ___ Reply to this item at:

[tex4ht] [bug #449] \ is not a nobreak space

2020-02-26 Thread Michal Hoftich
Follow-up Comment #7, bug #449 (project tex4ht): OK, I've introduced a new command \:ensp. It is used for \Configure{ }. ___ Reply to this item at: ___

Re: [tex4ht] htlatex - Biber ; error

2020-02-25 Thread Michal Hoftich
Hello Rachid, > The MWE below is issued from: > https://tex.stackexchange.com/questions/346564/biblatex-biber-how-to-create-a-loop-to-printbibliography-year-after-year-from/346895?noredirect=1#comment1339562_346895 > > It compiles with no errors when using : Latex —> Biber —> Latex. I've

Re: [tex4ht] imakeidx index question

2020-02-25 Thread Michal Hoftich
Hi Jürgen, > > ! LaTeX Error: Missing \begin{document}. I can see it now. There is \usepackage{makeidx}, change that to \usepackage[]{imakeidx}. Teh makeidx package doesn't support updated \makeindex syntax. Best regards, Michal

Re: [tex4ht] imakeidx index question

2020-02-22 Thread Michal Hoftich
Hi Jürgen, > > ! LaTeX Error: Missing \begin{document}. > maybe it is just caused by temporary files? I will be offline this weekend, so I can investigate this only next week, unfortunately. Best regards, Michal

[tex4ht] [bug #449] \ is not a nobreak space

2020-02-21 Thread Michal Hoftich
Follow-up Comment #5, bug #449 (project tex4ht): It seems that multiple enspaces after line break are discarded. So should I add them? I am bit worried that it may break things. ___ Reply to this item at:

[tex4ht] [bug #449] \ is not a nobreak space

2020-02-19 Thread Michal Hoftich
Follow-up Comment #3, bug #449 (project tex4ht): I' am afraid it isn't possible to use , it collapses. It is possible to use en space (), but I don't think it has any advantages over nbsp, except that it allows line breaks. ___ Reply to

[tex4ht] [bug #448] Package patching in the document preamble is broken

2020-02-19 Thread Michal Hoftich
Follow-up Comment #5, bug #448 (project tex4ht): Thanks, Karl. It is also necessary to update tex4ht.sty, as it provides definition of \:AtEndOfPackage. ___ Reply to this item at:

[tex4ht] [bug #448] Package patching in the document preamble is broken

2020-02-18 Thread Michal Hoftich
Follow-up Comment #3, bug #448 (project tex4ht): It seems to work, so I think you can commit it :) thanks :) ___ Reply to this item at: ___ Message

[tex4ht] [bug #449] \ is not a nobreak space

2020-02-18 Thread Michal Hoftich
Follow-up Comment #1, bug #449 (project tex4ht): Hi Karl, I see. But the space generated by '\ ' is non-collapsible, so it is not an ordinary space. It is possible to configure it to produce normal space using: \Configure{ }{ }, but it causes issues in verbatim, for example. You will lose line

[tex4ht] [bug #448] Package patching in the document preamble is broken

2020-02-17 Thread Michal Hoftich
Follow-up Comment #1, bug #448 (project tex4ht): I've added a possible solution to the sources. I need to test it a bit more, so maybe we should wait before we update TL. ___ Reply to this item at:

Re: [tex4ht] imakeidx index question

2020-02-17 Thread Michal Hoftich
Hi Jürgen > I can report success - both for the testfile _and_ my larger ebook file! > Thank you so much! I am really happy it works! > If I am interpreting this correctly, this index system generates a numbered > location for each \index entry, and then uses these numbers in the >

[tex4ht] [bug #448] Package patching in the document preamble is broken

2020-02-17 Thread Michal Hoftich
URL: Summary: Package patching in the document preamble is broken Project: tex4ht Submitted by: michal_h21 Submitted on: Mon 17 Feb 2020 10:23:48 PM EET Category: None

Re: [tex4ht] imakeidx index question

2020-02-14 Thread Michal Hoftich
Hi Jürgen, > For epub I get the following: sorry for the late reply, I was bit exhausted in the last few weeks. In the meantime, tex4ht make4ht had been updated in both TeX Live and Miktex, so everything should work now. The attached zip file contains a TeX file, make4ht build file and generated

[tex4ht] [bug #446] Accents are treated incorrectly

2020-02-14 Thread Michal Hoftich
Follow-up Comment #1, bug #446 (project tex4ht): It I understand it correctly, the letters that are listed in the argument after accent type are ignored. So pictures are created for all F characters, but not for \hat u. I don't know why there are ignored characters just for some accents, but

Re: [tex4ht] imakeidx index question

2020-01-27 Thread Michal Hoftich
Hi Jürgen, > It does do that. Unfortunately, while both .ind files exist, the index > entries have a value of "0" instead of the proper subsubsection... > > https://drive.google.com/open?id=131oXr_4-VTni1VKwkjUXuiu9AdORvu7E > > But maybe we should wait until the updated package becomes available

Re: [tex4ht] imakeidx index question

2020-01-23 Thread Michal Hoftich
Hi Jürgen, > I've been using the 0.3c version (dated Nov 27) since January 17th. > Presumably I need to write some of the file from this repository over that > version? > > http://svn.gnu.org.ua/viewvc/tex4ht/trunk/ > > Alternatively, if this fix becomes available via the usual package >

[tex4ht] \LaTeX and \TeX logo in the HTML output

2020-01-22 Thread Michal Hoftich
Hi all, I know there were some requests to use plain text output for \TeX and \LaTeX commands in the past. Finally, I've implemented this as the default version for the HTML output. The fancy version that try to mimics their appearance in PDF using CSS can be requested using the "fancylogo"

Re: [tex4ht] imakeidx index question

2020-01-22 Thread Michal Hoftich
Hi Jürgen, > tex4ebook -lm index -e mybuild.mk4 Test.tex > > https://drive.google.com/drive/folders/131oXr_4-VTni1VKwkjUXuiu9AdORvu7E?usp=sharing > > Unfortunately, the result seems to be the same. Unless I need to disable > indexing4ht somewhere else, other than by not using myconfig.cfg. I

Re: [tex4ht] imakeidx index question

2020-01-21 Thread Michal Hoftich
Hi Jürgen, > it doesn't create any "topic.ind" file even though all index entries are for > the "Topic" index. Instead, it builds a "place.ind" file for which the > entries are simply wrong. I forgot to mention that you need to disable the indexing4ht package, as it overwrites the index

Re: [tex4ht] imakeidx index question

2020-01-17 Thread Michal Hoftich
Hi Jürgen, > So, any thoughts on my problem? sorry for the late reply, work keeps me abnormally busy. The indexing support in TeX4ht was redone last year, it is now possible to use Imakeidx package without any indexing4ht. I also found that it is much more robust to use links to each index entry

Re: [tex4ht] disable dvipng on preexistent png images?

2020-01-17 Thread Michal Hoftich
Hi Giuseppe, > After some upgrades, I've a problem during htlatex compiling. > It seems that dvipng also wants convert already existing png images... > Also, during the conversion I get this warning: dvipng warning: at (20,732) > unimplemented \special{em: graph

[tex4ht] [bug #444] Wrong MathML markup for functions?

2019-12-28 Thread Michal Hoftich
Follow-up Comment #3, bug #444 (project tex4ht): I've found that this breaks MathML accents: \documentclass{article} \begin{document} \[ \dot{\vec \omega}=\vec r\times\vec I\,. \] $\sin a$ \end{document} I've just pushed fix to the soures.

[tex4ht] [bug #447] biblatex 3.14

2019-12-20 Thread Michal Hoftich
Follow-up Comment #1, bug #447 (project tex4ht): Hello Jürgen, thank you for the report and especially the fix. I've updated the sources with your proposed solution. Best, Michal ___ Reply to this item at:

[tex4ht] [bug #442] Bugs from cmidrule of booktabs

2019-12-17 Thread Michal Hoftich
Follow-up Comment #2, bug #442 (project tex4ht): I've finally took a look at this issue, sorry for the delay. There are two issues. The easier one can be fixed in the TeX4ht code. There was just wrong CSS instruction that caused drawing of the line over the whole row that contains the \cmidrule.

Re: [tex4ht] imakeidx index question

2019-12-17 Thread Michal Hoftich
Hi Jürgen, > then the index entry within links back to "2.2" instead of "34". > Can anyone think of a workaround for this? I would really like keep a > separate number for the individual stories, and use these as the base for > index entries - but for many sections it just doesn't make sense

Re: [tex4ht] New options for the paragraph separation

2019-12-17 Thread Michal Hoftich
Hi Reinhard, > I have no experience with ebooks. Maybe the optional argument is a > possible solution. But can't this information be derived from the > LaTeX file itself? All you have to do is to determine whether the > parskip package is loaded. TeX4ht keeps the information about

Re: [tex4ht] New options for the paragraph separation

2019-12-15 Thread Michal Hoftich
> For myself, I fully agree. Indented paragraphs on web pages just look > weird/wrong to me. -k Yes, they look weird on web. They are OK in ebooks. Anyway, I've updated the sources, the spaces between paragraphs are used by default, indenting can be requested using the "p-indent" option. Best,

[tex4ht] New options for the paragraph separation

2019-12-13 Thread Michal Hoftich
Hi all, by default, HTML files produced by TeX4ht contain paragraphs separated by both blank space and text indents. To select only one of these paragraph separation methods, I've added two new options available in the HTML output: "p-indent" and "p-space". Personally, I would make the

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

2019-11-27 Thread Michal Hoftich
Follow-up Comment #6, bug #226 (project tex4ht): I've uploaded new make4ht version to CTAN. It contains new DOM filter: mathmlfixes. It should fix issues with nested token elements in MathML. ___ Reply to this item at:

[tex4ht] [bug #444] Wrong MathML markup for functions?

2019-11-26 Thread Michal Hoftich
Follow-up Comment #1, bug #444 (project tex4ht): David Carlisle confirmed that this should be changed, so I've updated the sources. ___ Reply to this item at:

[tex4ht] [bug #444] Wrong MathML markup for functions?

2019-11-25 Thread Michal Hoftich
URL: Summary: Wrong MathML markup for functions? Project: tex4ht Submitted by: michal_h21 Submitted on: Mon 25 Nov 2019 04:15:54 PM EET Category: None Priority: 5 -

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

2019-11-25 Thread Michal Hoftich
Hi Bill, >> The original issue of spurious elements for longer texts can be fixed >> using post-processing - make4ht provides common_domfilters extension, which >> does exactly this. >> > > Can such post-processing be reliably robust? (I doubt it.) > We have a DOM processing library in

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

2019-11-22 Thread Michal Hoftich
Follow-up Comment #5, bug #226 (project tex4ht): I've found an issue with this approach - the \PauseMathClass will prevent correct tagging of nested structures. For example: \mathit{\overline{a}+\overline{b}} This will result in b¯ The b character should be placed in element. So I think

Re: [tex4ht] New make4ht version and documentation

2019-10-22 Thread Michal Hoftich
Hi all, I've added a new logging mechanism to make4ht. It will hide most information from the command line output by default, including output from the executed commands. The loglevel can be selected using the `-a` option. There are several levels: debug, info, status (default), warning, error

[tex4ht] [bug #440] tabular generates invalid html due to trailing row

2019-10-22 Thread Michal Hoftich
Follow-up Comment #6, bug #440 (project tex4ht): Great! I've added this code as a new domfilter to make4ht. It is also used in the `common_domfilters` extension. So with the soon to be released make4ht version, you will just need to use make4ht -f html5+common_domfilters filename.tex This

[tex4ht] [bug #442] Bugs from cmidrule of booktabs

2019-10-22 Thread Michal Hoftich
Follow-up Comment #1, bug #442 (project tex4ht): Thanks for the report. I will look at this probably after I release the new make4ht version, as it keeps me quite busy right now. ___ Reply to this item at:

[tex4ht] [bug #440] tabular generates invalid html due to trailing row

2019-10-17 Thread Michal Hoftich
Follow-up Comment #4, bug #440 (project tex4ht): It seems that booktabs commands only add CSS declarations for the rows with borders. I've updated the build file to check also the CSS, so it should be OK. Here is a new version. I will definitely made filter from this code, I will also include it

[tex4ht] [bug #440] tabular generates invalid html due to trailing row

2019-10-16 Thread Michal Hoftich
Follow-up Comment #1, bug #440 (project tex4ht): You can try the attached build file. It tries to remove all empty rows from tables. It is not easily possible to detect empty rows at the moment when tex4ht inserts starting tags for rows, I think. So the Lua post-processing seems like a best

[tex4ht] [bug #441] tex4ht+fontspec+textbf produces incorrectly nested html

2019-10-16 Thread Michal Hoftich
Follow-up Comment #1, bug #441 (project tex4ht): Hi Alex, you are right, there is tag mismatch. Try the following .cfg file: \Preamble{xhtml} \Configure{textit}{\HCode{}\NoFonts}{\EndNoFonts\Tg} \Configure{textbf}{\HCode{}\NoFonts}{\EndNoFonts\Tg}

Re: [tex4ht] New make4ht version and documentation

2019-10-14 Thread Michal Hoftich
> This is caused by the font issue in Debian container that I mentioned > in my previous email. I need to investigate it more, but it will take > some time. I've found that the issue was missing "lmodern" package in the Docker container. It seems OK now. Best, Michal

Re: [tex4ht] New make4ht version and documentation

2019-10-11 Thread Michal Hoftich
Hi Nasser, > When copying the compiling examples from the above page, > the HTML shows the double quotes around the parameters > which should be the normal ", it shows them as a strange > backquote instead ”. This is caused by the font issue in Debian container that I mentioned in my previous

[tex4ht] New make4ht version and documentation

2019-10-11 Thread Michal Hoftich
Hi all, I hope to release a new make4ht (and tex4ebook) versions soon. There are some big news: - I've updated the documentation. There is lot of new information, fixed grammar, it has totally new structure. I still need to add one final section about development of filters, extensions and

[tex4ht] [bug #438] latin small letter a with grave

2019-10-10 Thread Michal Hoftich
Update of bug #438 (project tex4ht): Open/Closed:Open => Closed ___ Reply to this item at: ___

[tex4ht] [bug #438] latin small letter a with grave

2019-09-29 Thread Michal Hoftich
Follow-up Comment #4, bug #438 (project tex4ht): Yes, other accented letters worked, this is why I didn't know about this issue. In my tests I used Czech letters, which worked well. Thanks for your kind words, I am working hard on the new make4ht release.

[tex4ht] [bug #438] latin small letter a with grave

2019-09-27 Thread Michal Hoftich
Follow-up Comment #2, bug #438 (project tex4ht): It should be fixed by the most recent commit in make4ht. The issue was that make4ht replaced characters for non-breaking spaces in the document by XML entities, but the a grave character uses the same byte as the second component in it's UTF-8

[tex4ht] [bug #438] latin small letter a with grave

2019-09-26 Thread Michal Hoftich
Follow-up Comment #1, bug #438 (project tex4ht): Ah, you are right. This is issue with LuaXML that I thought that I fixed. But obviously I didn't :( ___ Reply to this item at:

[tex4ht] I've set up tex4ht chat

2019-09-20 Thread Michal Hoftich
Hi all, I've set up chat room for tex4ht on Matrix, with Gitter bridge: https://matrix.to/#/!TPtwmiUBINdfBLVrmC:matrix.org?via=matrix.org https://gitter.im/tex4ht/community?utm_source=share-link_medium=link_campaign=share-link I think it should be possible to bridge it also to IRC, but I've

[tex4ht] [bug #437] unclosed \ifnum for \\* in longtable

2019-09-18 Thread Michal Hoftich
Follow-up Comment #3, bug #437 (project tex4ht): Thanks for the confirming. I've pushed the fixed code to the source code repo. ___ Reply to this item at:

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

2019-08-26 Thread Michal Hoftich
Hi Bill, > > https://www.albany.edu/dept/math-stat/hammond/demos/tex4ht/hilmar.html Thanks for this demo. You are right that there are some issues with spaces. I've took a look at their support in tex4ht and found that there is no support for \:, \! or \; in tex4ht sources. So I've

Re: [tex4ht] make4ht -f odt bug

2019-08-23 Thread Michal Hoftich
Hello, > MiKTeX gives the well-known bugs: > "Java ... xtpipes ... " and also "tidy failed as well ...", > but TeXLive runs OK (no error or warning messages). the ODT output for make4ht should work on Miktex. At least it used to work some time ago, when I wrote code to locate the Xtpipes files.

[tex4ht] [bug #433] Ligature fi becoming ø in avant garde

2019-08-16 Thread Michal Hoftich
Follow-up Comment #1, bug #433 (project tex4ht): Thanks for the report. The 8-bit fonts can be sometimes a bit mess. Even if a standard encoding is used, some characters, especially ligatures can be non-standard, which results in such errors. tex4ht uses special files with conversion tables

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

2019-08-13 Thread Michal Hoftich
Follow-up Comment #1, bug #434 (project tex4ht): I don't think this is a bug. tex4ht now produces HTML5 in XML serialization by default, another supported HTML doctype is XHTML. As post-processing that involves XML tools may be used by tex4ht, it is really not a good idea to produce HTML files

Re: [tex4ht] tex4ht Digest, Vol 114, Issue 2

2019-07-10 Thread Michal Hoftich
Dear Alexandre, On Sat, Jul 6, 2019 at 1:23 PM Alexandre Roberts wrote: > A few weeks ago I posted a query about using parnotes whose footnote > anchors/hooks use Arabic-style numerals in right-to-left Arabic script: >

[tex4ht] [bug #430] Please support document class scrreprt with dblatex

2019-07-05 Thread Michal Hoftich
Follow-up Comment #1, bug #430 (project tex4ht): Thanks for the report. I've added the support for Koma classes as well as Memoir to the tex4ht sources. You can try to place the updated docbook.4ht to the directory with your document to test it. (file #318)

Re: [tex4ht] Problem with tex4ht after latest update, adjustbox problem

2019-07-05 Thread Michal Hoftich
Hi Nasser, > TL 2019 on linux. I did a diff and I see some new additions in > html4.4ht related to adjustbox which looks like the cause of this > problem. I don't get any error with your test file. Maybe you have a older version of adjustbox.4ht somewhere? From your log I can see that there is

[tex4ht] [bug #429] htlatex: Does not delete intermediate files

2019-07-05 Thread Michal Hoftich
Follow-up Comment #4, bug #429 (project tex4ht): You can use a simple wrapper around htlatex if you don't mind the issues I described in my previous post. This version is for Unix based OSes: #!/bin/bash htlatex "$@" base=${1%.tex} rm $base.dvi rm $base.idv rm $base.lg rm $base.tmp # following

[tex4ht] [bug #429] htlatex: Does not delete intermediate files

2019-07-03 Thread Michal Hoftich
Follow-up Comment #2, bug #429 (project tex4ht): Hi Hilmar, as Karl and Nasser said, there is no cleanup performed by htlatex or other tex4ht scripts by default. The auxilary files are in fact quite important for the correct conversion, so it is not a good idea to delete them after every

[tex4ht] [bug #425] Conflicts between babel and new-accents

2019-06-06 Thread Michal Hoftich
Follow-up Comment #1, bug #425 (project tex4ht): You are right, there should be \:CheckOption{new-accents}\if:Option\else before \Configure{accent}. I've fixed this in the sources. The updated unicode.4ht file is attached. Thanks for the report. (file #314)

[tex4ht] [bug #426] htlatex mathjax option breaks references

2019-06-06 Thread Michal Hoftich
Follow-up Comment #1, bug #426 (project tex4ht): This is something that is not easily solvable. The labels inside math are not processed by LaTeX at all, so the labels are not saved. MathJax itself supports some form of referencing, when \eqref command is found in the HTML code. So one possible

[tex4ht] [bug #423] \left and \right inside caption with label cause TeX capacity exceeded when used with hyperref

2019-05-29 Thread Michal Hoftich
Follow-up Comment #3, bug #423 (project tex4ht): The problem is, you may want to expand some macros, while others not. It is possible to disable all expansion, but you cannot automatically detect which macros should be expanded and which not.

[tex4ht] [bug #423] \left and \right inside caption with label cause TeX capacity exceeded when used with hyperref

2019-05-26 Thread Michal Hoftich
Follow-up Comment #1, bug #423 (project tex4ht): Dear Joel, this issue is caused by the nameref support, which is loaded automatically by hyperref. Each caption, section title and similar stuff is then saved to the auxilary file, in order to be available for the \nameref command. There can be

Re: [tex4ht] Presentation at BachoTeX

2019-05-22 Thread Michal Hoftich
Hi all, > I will go to BachoTeX this year, I will have a presentation about > TeX4ht. The registration is still open, I think, so if anybody wants > to see that, or have a face to face conversation, it will be possible. So BachoTeX is over :) I hope my presentation was interesting, I was super

Re: [tex4ht] How to best find cause of Illegal storage address?

2019-05-16 Thread Michal Hoftich
On Thu, May 16, 2019 at 6:29 PM Nasser M. Abbasi wrote: > > > > > This document has lots of Latex code generated by Maple, > > which still use very old latex font commands, and that is why I > > needed to use enabledeprecatedfontcommands. The strange thing, > > it only failed with tex4ht and not

Re: [tex4ht] How to best find cause of Illegal storage address?

2019-05-16 Thread Michal Hoftich
Hi Nasser, > --- error --- Illegal storage address > Make4ht: Fatal error. Command tex4ht returned exit code 256 > Isn't it possible to make a smaller example? I think this error should be related to the tex4ht.env processing, so it should happen even

Re: [tex4ht] Bold index entries

2019-05-07 Thread Michal Hoftich
Hi Jürgen, > Now, as far as I can tell, if I just press on each instance the > ebook still has a hyperlinked index with bold entries at the right places - > but it is annoying to have to do this each and every time I compile. Does > anyone know a way around this? Do you still use the

Re: [tex4ht] is it possible to use KaTex with tex4ht?

2019-05-07 Thread Michal Hoftich
Hi Nasser, > Since tex4ht now supports mathjax mode, I was just wondering, > if it is even possible to make tex4ht also support katex mode > as well? i.e. compile the latex file so that the HTML > generated uses Katex for math rendering instead of mathjax. yes, it is possible to support KaTeX.

[tex4ht] [bug #422] error from pgflibraryfadings when adding tcolorbox with new tex4ht tikz driver. TL 2019

2019-05-03 Thread Michal Hoftich
Follow-up Comment #1, bug #422 (project tex4ht): Hi Nasser. this issue had been fixed by the current version of the dvisvgm4ht driver. It should work for most documents now. Best, Michal ___ Reply to this item at:

Re: [tex4ht] Why tex4ht produces ", for \, instead of space in mathjax mode only?

2019-04-21 Thread Michal Hoftich
Hi Nasser, this is caused by redefinition of commands that caused issues in the TOC. I've changed that to redefine these commands only on the moment something is being written to TOC, so they should work as usual in the normal text. Try the attached mathjax-latex-4ht.4ht file. Best regards,

Re: [tex4ht] BUG: xcolor tex4ht

2019-04-11 Thread Michal Hoftich
Hi Deimi, I've found the issue - it was necessary to insert tex4ht hooks in \AtBeginDocument. The sample on TeX.sx now works with the updated driver. I haven't tested the results with TikZ manual yet. Best, Michal

Re: [tex4ht] BUG: xcolor tex4ht

2019-04-10 Thread Michal Hoftich
Hi Deimi, > > Does it help if you set: > 1. 'dvilualatex' compiler instead of 'latex' (probably you'll need > \usepackage[T1]{fontenc} for TL2019) > 2. \usepackage{luatex85} (for compatibility: pgfsys-dvips.def driver uses > \pdfsavepos macro, while in luatex it's \savepos)? Thanks for the

Re: [tex4ht] BUG: xcolor tex4ht

2019-04-10 Thread Michal Hoftich
> > Ah, there seems to be lot of issues. The compilation fails with fatal > error, but most of the document had been generated, up to section "94 > Mathematical Expressions". I've found that when I commented out all math-operator environments containing "`" character in

Re: [tex4ht] BUG: xcolor tex4ht

2019-04-10 Thread Michal Hoftich
> I would really appreciate that! The main difficulty I have is that TeX4ht > hooks into all kinds of macros which results in altered expansion behaviour > which blows up all over the place. For the xcolor problems I have found some > workarounds, prior to your patches, which can be found on my

Re: [tex4ht] BUG: xcolor tex4ht

2019-04-09 Thread Michal Hoftich
> Thank you very much. Does that also fix the > \AtBeginDocument{\definecolor{...}} issue? Unfortunately the PGF/TikZ manual > still doesn't build with TeX4ht, but that is not related to xcolor now. > It should fix that. The main issue was the color name anyway. But I am sure there are other

Re: [tex4ht] BUG: xcolor tex4ht

2019-04-09 Thread Michal Hoftich
Hi Henri, > There is a bug in tex4ht color support which causes a compilation > error when the color name is same as a color scheme name. You would > get the same error with \textcolor{rgb} for example. I hope to fix > that tomorrow. I hopefully fixed the issues. I've updated the sources, the

Re: [tex4ht] BUG: xcolor tex4ht

2019-04-08 Thread Michal Hoftich
Hi Henri > > \documentclass{article} > \usepackage{xcolor} > \begin{document} > \textcolor{gray!100}{Lorem ipsum.} > \end{document} > There is a bug in tex4ht color support which causes a compilation error when the color name is same as a color scheme name. You would get the same error with

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

2019-04-08 Thread Michal Hoftich
Hi Nasser, Bill, > This sounds like a good solution. I do not know if those in the know-how > could implement this in ex4ht if it not too hard. > > I also do not know if I could do what you described using some configuration > in my .cfg. You can put this \Css command to your config file:

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

2019-04-06 Thread Michal Hoftich
Hi Nasser, > Is this a mathjax issue itself or make4ht is not doing > something right? It is definitely MathJax issue, but I am not sure if they can fix that. Only commands in math are being passed to MathJax, so it would need to detect font properties of the surrounding text to detect if the

[tex4ht] Presentation at BachoTeX

2019-04-03 Thread Michal Hoftich
Hi all, I will go to BachoTeX this year, I will have a presentation about TeX4ht. The registration is still open, I think, so if anybody wants to see that, or have a face to face conversation, it will be possible. Best regards, Michal

Re: [tex4ht] about \dag and \ddag in tex4ht with mathjax

2019-04-03 Thread Michal Hoftich
Hi Nasser, > > My question is why \renewcommand did not work, I > remember seeing something like this before, something > to do with order how things are processed? > no, \renewcommand cannot work as it is not preserved during the conversion, so MathJax cannot see that. You must use the

[tex4ht] [bug #411] reversemarginpar is ignored

2019-03-25 Thread Michal Hoftich
Follow-up Comment #1, bug #411 (project tex4ht): I've added a support for \reversemarginpar in the HTML format. It will produce the "reversemarginapar" class, which can be styled using CSS. Modified version of the CSS code is used by default, but the result is quite ugly. Better solution is to

Re: [tex4ht] several bugs and a query

2019-03-25 Thread Michal Hoftich
Dear Alex, > Many thanks for this fix -- and for posting it ahead of time! It works > perfectly as far as I can tell. I've just fixed the issue with footnote anchor in the same size as the footnote text. I hope it was the last bigger issue :) Best regards, Michal

Re: [tex4ht] several bugs and a query

2019-03-19 Thread Michal Hoftich
Dear Alexandre, > I just noticed that TeX Live 2018 has been frozen. I am hoping to submit a > Word document to a publisher before the end of the month. If there is a fix > for the superscript/subscript-in-footnotes bug before then, will there be > some way to patch my version of tex4ht before

[tex4ht] [bug #412] tex4ht \Css code works using standard document class but has no effect using koma-script class

2019-03-15 Thread Michal Hoftich
Follow-up Comment #1, bug #412 (project tex4ht): Hi Nasser, I don't think it was a bug, it was just the fact that different elements were used in configurations for Komascript and base classes. Anyway, since HTML5 provides and elements, the configurations for floats, figures and captions

Re: [tex4ht] ! Bad register code (65536)., \__regex_query_set:nnn ... \l__regex_curr_pos_int MATHJAX mode

2019-03-13 Thread Michal Hoftich
Hi Nasser, > I know the problem is due to large size of the equation. > Editor tells me it is 208,987 characters long so I have > to remove it. But the question is why this error in mathjax > only? Because l3regex is used to clean-up the math. There are spaces before brackets and other issues

Re: [tex4ht] %%~ expands to $TEXMFDIST

2019-03-11 Thread Michal Hoftich
Hi Karl, > TL19, including this change, is currently being pretested -- > https://tug.org/texlive/pretest.html. If anyone has patches to be > included, please let me know asap. I've just installed TL19 pretest and it seems to work well. I was bit worried about Lua 5.3, which has some backward

Re: [tex4ht] several bugs and a query

2019-02-18 Thread Michal Hoftich
Dear Alex, I've been busy in the last week, so I was not able to take a look at these issues yet. I hope that things will settle down soon, I will start to process the issue queue then. No need to worry about the number of issues. Best regards, Michal > Just a follow-up about the bug

Re: [tex4ht] several bugs and a query

2019-02-09 Thread Michal Hoftich
Dear Alex, could you please add MWEs to questions where it is missing? It will make it easier for us to replicate the issues. I hope to take a look at all of this in next few days. Best regards, Michal

Re: [tex4ht] fyi, few problems with tex4ht and tables

2019-02-03 Thread Michal Hoftich
Hi Karl, > https://tex.stackexchange.com/questions/472629/how-to-make-tex4ht-center-a-long-table-as-it-does-with-table > https://tex.stackexchange.com/questions/472628/how-to-remove-lines-added-above-and-below-table-when-using-tex4ht >

<    1   2   3   4   5   6   7   8   9   10   >