Re: [tex4ht] [bug #466] tex4ht produces wrong table when adding td { padding: 10px; }

2020-05-16 Thread Michal Hoftich
Hi Nasser, On Sat, May 16, 2020 at 11:52 AM Nasser M. Abbasi wrote: > PLease find screen shot and all the files (html and latex and pdf) > generated in this folder > > https://www.12000.org/tmp/051620/ > > The left and middle vertical lines go down much more than the table. > It is supposed to b

[tex4ht] [bug #466] tex4ht produces wrong table when adding td { padding: 10px; }

2020-05-16 Thread Michal Hoftich
Follow-up Comment #1, bug #466 (project tex4ht): Hi Nasser, I don't see the problem you describe. The issue I can see is that only top and bottom padding is increased. The left and right padding stays the same. The CSS file contains more specific padding specifications for these paddings, so you

Re: [tex4ht] [bug #464] ! Bad register code (65536). because no new line used in long math?

2020-05-11 Thread Michal Hoftich
> > it seems like issue in the LaTeX regular expression parser. We use it to fix > > some issues in the code that is passed to MathJax. Your code seems to be too > > long for that. Couldn't you break your huge equation into smaller pieces? > > The regex code uses toks registers to store tokens, and

[tex4ht] [bug #464] ! Bad register code (65536). because no new line used in long math?

2020-05-10 Thread Michal Hoftich
Follow-up Comment #3, bug #464 (project tex4ht): Hi Nasser, it seems like issue in the LaTeX regular expression parser. We use it to fix some issues in the code that is passed to MathJax. Your code seems to be too long for that. Couldn't you break your huge equation into smaller pieces? Best, Mi

[tex4ht] [bug #462] tex4ht problem with mathjax when using array with text{}

2020-05-09 Thread Michal Hoftich
Follow-up Comment #1, bug #462 (project tex4ht): Hi Nasser, I think you need to provide correct configuration for \small and \text commands for MathJax, it clearly doesn't like it. And it doesn't like double brackets as well. I am sure examples of command configurations are somewhere in the TeX4ht

[tex4ht] [bug #459] False path in lit/README

2020-05-08 Thread Michal Hoftich
Follow-up Comment #7, bug #459 (project tex4ht): The build process is mainly about generating of .htf and .4ht files anyway. Binaries are prepared by Karl separately, I believe. ___ Reply to this item at:

[tex4ht] [bug #459] False path in lit/README

2020-05-08 Thread Michal Hoftich
Follow-up Comment #5, bug #459 (project tex4ht): I am actually surprised that it worked in Windows except for symlinks. I try to avoid Windows as much as I can. Even with WSL there are some things, especially regarding keyboard support, that drive me crazy every time I try to do anything with it.

[tex4ht] [bug #461] Formatting issues in doc/tex4ht-options.tex

2020-05-08 Thread Michal Hoftich
Follow-up Comment #1, bug #461 (project tex4ht): Thanks for the patch, I've just applied it. ___ Reply to this item at: ___ Message sent via/by Puszcza

[tex4ht] [bug #457] tex4ht removes space causing mathjax to fail

2020-05-05 Thread Michal Hoftich
Update of bug #457 (project tex4ht): Status:None => Fixed Open/Closed:Open => Closed ___ Reply to this item at:

[tex4ht] [bug #459] False path in lit/README

2020-05-05 Thread Michal Hoftich
Update of bug #459 (project tex4ht): Status:None => Fixed Open/Closed:Open => Closed ___ Reply to this item at:

[tex4ht] [bug #460] Minor fix in Introduction to \Configure (missing >)

2020-05-05 Thread Michal Hoftich
Update of bug #460 (project tex4ht): Status:None => Fixed Open/Closed:Open => Closed ___ Reply to this item at:

Re: [tex4ht] New bug reports

2020-05-05 Thread Michal Hoftich
Hi Vincent, > I am new to the list (but some of you may already know me ;-) ). I > have just filed this: thanks for the reports and welcome to the list! Best regards, Michal

[tex4ht] [bug #459] False path in lit/README

2020-05-05 Thread Michal Hoftich
Follow-up Comment #3, bug #459 (project tex4ht): Hello Vincent, I've updated the sources before you uploaded the patch. But your vesion is better, so we will use it. The scripts are used only in the build process, when the .4ht files are generated from the literate sources. I don't think we supp

[tex4ht] [bug #460] Minor fix in Introduction to \Configure (missing >)

2020-05-05 Thread Michal Hoftich
Follow-up Comment #1, bug #460 (project tex4ht): Thanks for the report, I've fixed it. BTW, I've pushed also the current version of the new work in progress TeX4ht documentation to the repo. The generated HTML version is currently on my domain: https://www.kodymirus.cz/tex4ht-doc/tex4ht-doc.html

[tex4ht] [bug #459] False path in lit/README

2020-05-05 Thread Michal Hoftich
Follow-up Comment #1, bug #459 (project tex4ht): Thanks for the report, Vincent. I've updated the README file. The new version of the text is: The directory `extra-bin` contains do-nothing scripts named xmllint and vcss, which are called for validation via tex4ht-env.tex. (Of course they won't b

[tex4ht] [bug #457] tex4ht removes space causing mathjax to fail

2020-04-20 Thread Michal Hoftich
Follow-up Comment #1, bug #457 (project tex4ht): Hi Nasser, I've posted detailed answer on TeX.sx. I've fixed this issue in sources, so it should be available soon. Best regards, Michal ___ Reply to this item at:

[tex4ht] [bug #456] what is so special about $\ln$ when using tex4ht in mathjax mode?

2020-04-19 Thread Michal Hoftich
Follow-up Comment #1, bug #456 (project tex4ht): Hi Nasser, this is the same issue we faced not that long ago. It was just necessary to add \fixmathjaxtoc\ln to the sources, which I did. So it should be available soon in TL 2020. ___ Reply

[tex4ht] [bug #451] r666 breaks pgfmanual

2020-04-15 Thread Michal Hoftich
Follow-up Comment #12, bug #451 (project tex4ht): Gmail displays a following warning: --- Be careful with this message This may be a spoofed message. The message claims to have been sent from your account, but Gmail couldn’t verify the actual source. Avoid clicking links or replying with

[tex4ht] [bug #451] r666 breaks pgfmanual

2020-04-15 Thread Michal Hoftich
Follow-up Comment #11, bug #451 (project tex4ht): Thanks Karl. I will post details about the Gmail warning in the next message. ___ Reply to this item at: ___

[tex4ht] [bug #451] r666 breaks pgfmanual

2020-04-15 Thread Michal Hoftich
Follow-up Comment #9, bug #451 (project tex4ht): Ah, I can see it. We patch the \tikzexternalize command before it had been loaded using \usetikzlibrary{external}. I've fixed that in the TeX4ht sources. With this change and few changes in the .cfg file in TikZ repository, I was able to compile t

[tex4ht] [bug #451] r666 breaks pgfmanual

2020-04-15 Thread Michal Hoftich
Follow-up Comment #6, bug #451 (project tex4ht): Hi Henri, I've just installed TL 2020 and your example compiles correctly for me. So maybe the regression had been fixed already? I guess TL version used in you CI uses slightly older version of LaTeX kernel and it will be fixed in the following up

[tex4ht] [bug #451] r666 breaks pgfmanual

2020-04-15 Thread Michal Hoftich
Follow-up Comment #5, bug #451 (project tex4ht): Hi Henri, thanks for the report. This document compiles correctly for me, but I am still on TL 2019. I guess that this is caused by some change in LaTeX kernel that was introduced in the latest releases. I will install TL 2020 and try to find what

Re: [tex4ht] verbatim in latex makes mathjax mode not work in V3

2020-04-09 Thread Michal Hoftich
Hi Nasser, > This is all caused by the verbatim in the Latex. Something in that verbatim > is preventing mathjax V3 from working. Removing the verbatime, makes > V3 mathjax works. But I have no control of what is inside verbatim > and can't change it. > > Is this a problem with mathjax V3 itself?

[tex4ht] [bug #453] tex4ht has strange characters at end of section titles when using cprotect

2020-04-04 Thread Michal Hoftich
Follow-up Comment #1, bug #453 (project tex4ht): Hi Nasser, I don't think you need to use the \cprotect command. It just seems that \left and \right commands cause issues when used in sections in the mathjax mode. We need to disable them. I've already fixed the sources and posted a workaround on

Re: [tex4ht] serious bug with \PauseCutAt

2020-04-03 Thread Michal Hoftich
Hi Nasser, On Fri, Apr 3, 2020 at 9:01 PM Nasser M. Abbasi wrote: > > Is this a known bug? If not, I can enter official report on it. > > When using \TocAt with \PauseCutAt, tex4ht gives error. > > Please see the following MWE I didn't even know about existence of this command :D It is used on

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 invest

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 defa

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 indexi

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: \Configure{crosslin

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

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 this

[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}% - \find:externalize#1external\

[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 o

[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 posted

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 t

[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 sent

[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 > hyperlinke

[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 these

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

[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" option

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 can

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 handlin

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 icons/pcore/project_criterion.png,

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

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 to

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 indentation

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

[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 "p-space"

[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 - Nor

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 make4ht

[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 we

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 and

[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 e

[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 soluti

[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} \Configure{textsc}{\HCode{}\NoFonts}{\EndNoFont

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-14 Thread Michal Hoftich
Hi Reinhard, > If the usage message is a LaTeX verbatim environment you could try > > \usepackage{upquote} > > in order to get rid of typographic quotes. > > The upquote package re-defines \verb and the verbatim environment and > thus only works with standard LaTeX. With LuaTeX you can achieve

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 em

[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 output

[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: ___ Messag

[tex4ht] [bug #439] adding \pagestyle{fancy} gives compile error with tex4ht

2019-10-08 Thread Michal Hoftich
Follow-up Comment #1, bug #439 (project tex4ht): Hi Nasser, I've posted my answer with more details on TeX.sx. The issue is that Fancyhdr redefines some sectioning commands and it clashes with tex4ht. I've pushed a fix to the sources. ___

[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 seque

[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: __

Re: [tex4ht] Is this a known problem with tex4ht mathjax mode? array inside table

2019-09-22 Thread Michal Hoftich
Hi Nasser, (/usr/local/texlive/2019/texmf-dist/tex/generic/tex4ht/html5.4ht)) (./foo1.aux) > (/usr/local/texlive/2019/texmf-dist/tex/latex/lm/ot1lmtt.fd) > Runaway argument? > f\left ( x\right ) =\left \{ \begin {array}[c]{ccc} -1 \@endpbox \hskip \ETC. > ! Forbidden control sequence found while s

[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&utm_medium=link&utm_campaign=share-link I think it should be possible to bridge it also to IRC, but I

[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: ___

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

2019-09-18 Thread Michal Hoftich
Follow-up Comment #1, bug #437 (project tex4ht): Hi David, this seems to be caused by this definition in longtable.sty \def\LT@tabularcr{%

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 ad

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

2019-08-23 Thread Michal Hoftich
Follow-up Comment #3, bug #434 (project tex4ht): Ah, that is unfortunate. But is it really worth to fix HTML 4 stuff in 2019? I think we should aim at least at XHTML. ___ Reply to this item at:

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 #392] make4ht crashes, error code 256, when using arev with bold font

2019-08-21 Thread Michal Hoftich
Follow-up Comment #3, bug #392 (project tex4ht): It seems a font that doesn't produce spaces is selected when LuaTeX is used as a backend. It isn't selected in the PDF mode, which is strange. When I select this font manually, the spaces collapse even in PDF. __

[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 betwee

[tex4ht] [bug #435] tex4ht: Creates invalid html document when using \AtBeginDocument

2019-08-14 Thread Michal Hoftich
Follow-up Comment #1, bug #435 (project tex4ht): The `\AtBeginDocument` command is usually used to redefine macros and initialize stuff. This use works. What is the issue in this case is that it includes a text in the document. As tex4ht outputs the HTML header at this moment as well, it happens t

[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 th

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: > https://tex.stackexchange.com/questions/495709/producing-odt-arabic-edition-w

[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 no

[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 fi

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