[tex4ht] how to make clickable hyperlink with htlatex when using htef inside a table?

2013-03-28 Thread Nasser M. Abbasi
When generating HTML from this file -- \documentclass{article}% \usepackage{hyperref} \begin{document} \[% \begin{tabular}[c]{|l|}\hline \href{http://www.google.com}{web site}\\\hline \end{tabular} \] \end{document} -- using the command htlatex

Re: [tex4ht] how to make clickable hyperlink with htlatex when using htef inside a table?

2013-03-28 Thread Nasser M. Abbasi
Thanks ! it works now. I changed it to use \begin{center} .. \end{center} to center the table. And now all links are there now. I am not very good in Latex ;) --Nasser On 3/28/2013 6:34 PM, Radhakrishnan CV wrote: On Fri, Mar 29, 2013 at 4:03 AM, Nasser M. Abbasi n...@12000.org wrote

Re: [tex4ht] How to make tex4ht process .png files with scale option for \includegraphics?

2013-04-29 Thread Nasser M. Abbasi
On 3/22/2013 3:05 AM, Radhakrishnan CV wrote: On Fri, Mar 22, 2013 at 1:31 PM, Nasser M. Abbasi n...@12000.org wrote: Is there a way to make tex4ht use .png files and not having to covert all the images to .eps? ... Need to provide the following either in your custom *.cfg or after

[tex4ht] future support planned for multicol package using CSS3 multi-column?

2013-05-24 Thread Nasser M. Abbasi
I was just wondering if htlatex will *eventually* support multicol package using CSS3 as shown here: http://www.css3.info/preview/multi-column-layout/ It would be nice to be able to use multicol package to layout table of contents in 2 columns for example, which works now in latex and pdflatex

[tex4ht] How to align image and text in same table row with htlatex?

2013-05-25 Thread Nasser M. Abbasi
I posted this question on stackexchange 8 days ago, but no answer. I was wondering if some expert here might help. The problem is described here: http://tex.stackexchange.com/questions/114732/vertical-alignment-of-table-rows-with-images-pdf-vs-html-generated-by-htlatex I basically use

[tex4ht] How to insert HTML code at any location in the generated HTML file?

2013-07-10 Thread Nasser M. Abbasi
I am converting a latex document that I used to compile with latex2html to htlatex. With latex2html, I used to do this to insert raw HTML code any where: \documentclass{article} \usepackage{html} \begin{document} \begin{rawhtml} any HTML code here

Re: [tex4ht] How to insert HTML code at any location in the generated HTML file?

2013-07-10 Thread Nasser M. Abbasi
On 7/10/2013 5:49 AM, Radhakrishnan CV wrote: On Wed, Jul 10, 2013 at 1:54 PM, Nasser M. Abbasi n...@12000.org wrote: I am converting a latex document that I used to compile with latex2html to htlatex. [...] What is the correct way to insert HTML code any where in the document, and have

Re: [tex4ht] How to insert HTML code at any location in the generated HTML file?

2013-07-10 Thread Nasser M. Abbasi
On 7/10/2013 6:14 AM, Michal Hoftich wrote: Correct way is to not insert any HTML code to the document, but instead redefine ordinary LaTeX commands to insert html codes in .4ht files. If you really want to insert HTML code directly, you can define command which will eat arguments in normally

Re: [tex4ht] future support for multicols in htlatex?

2013-07-12 Thread Nasser M. Abbasi
On 7/12/2013 1:08 AM, Nasser M. Abbasi wrote: For example, when I write this in Latex: --- \documentclass{article}% \usepackage{lipsum} \usepackage{multicol} \setlength{\columnsep}{20pt} \setlength{\columnseprule}{0.01pt} \begin{document} \begin{multicols}{2

Re: [tex4ht] future support for multicols in htlatex?

2013-07-12 Thread Nasser M. Abbasi
For completeness, a final update. Jagath AR was kind enough to help me more off line. Now multiple columns work OK with htlatex. no problem with enumeration lists. I added a small note on this with the final .cfg to use as template/example to my latex cheat sheet here, under the tex4ht section

[tex4ht] How to increase spacings/indentation in table of content for generated HTML?

2013-07-24 Thread Nasser M. Abbasi
The toc generated by tex4ht, in HTML, has too small horizontal indentation between different levels. I'd like the next level to be a little more indented away. i.e. same way as it appears in the toc generated by pdflatex. Looking around, I found this

Re: [tex4ht] [bug #188] adding support for multicols in htlatex

2013-07-31 Thread Nasser M. Abbasi
fyi; Tested it on Linux mint with TL 2013, and found no issues so far. These are the steps I did -- 1. renamed in/usr/local/texlive/2013/texmf-dist/tex/generic/tex4ht these 2 files: -rw-r--r-- 1 root root1947 Jul 3 2009 multicol.4ht.ORIGINAL -rw-r--r-- 1 root root

[tex4ht] How to prevent 2 table of contents showing on the HTML page when splitting a document htlatex foo.tex htm, 2 ?

2013-08-09 Thread Nasser M. Abbasi
Hello; I have always been very confused about how the main table of contents is generated when splitting a document vs. not splitting the document. For example, running this: htatex foo.tex htm on the file \begin{document} \tableofcontents \end{document}

[tex4ht] minitoc is generated but with no links. How to make minitoc be clickable?

2013-08-09 Thread Nasser M. Abbasi
Hello; I am trying to generate table of contents for different pages in a very large and split document, and also control where the TOC gets displayed. Some sections or chapters can be too small to require a TOC, and some are larger and a TOC will be useful there or I might not want a TOC at

Re: [tex4ht] minitoc is generated but with no links. How to make minitoc be clickable?

2013-08-09 Thread Nasser M. Abbasi
{subsubsection 1} \ifx\HCode\undefined \else \TocAt{chapter} %RESET it to NO TOC before chapter \fi \chapter{chapter 2} \lipsum{1} \section{section 1 under chapter 2} \end{document} --- --Nasser On 8/9/2013 3:10 PM, Nasser M. Abbasi wrote: Hello; I am trying to generate table

Re: [tex4ht] How to make table of contents use correct settings of \setcounter{tocdepth} for \tableofcontents ?

2013-08-11 Thread Nasser M. Abbasi
On 8/11/2013 1:36 AM, Radhakrishnan CV wrote: I think, the following might help you: Thanks you very much. Yes, that worked very well. For completion, I have a MWE below which generates a local TOC for one chapter which is larger than the second local TOC for the second chapter, both for

[tex4ht] enumerate and itemize lists are not processed when they are in first section when using {multicol}?

2013-08-26 Thread Nasser M. Abbasi
I found that enumeration or itemize lists are not processed in the first section when using {multicol} Here is a screen shot: http://12000.org/tmp/082613/htlatex.png Here is a MWE. Linux mint, TL 2013 with the new htlatex support for multicol. This only happens for the first section that

[tex4ht] [bug #191] enumerate and itemize lists not processed in first section when using multicol

2013-08-26 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?191 Summary: enumerate and itemize lists not processed in first section when using multicol Project: tex4ht Submitted by: nma123 Submitted on: Tue 27 Aug 2013 12:12:18 AM EEST

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

2013-10-19 Thread Nasser M. Abbasi
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 better than when using MathML. So, my

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

2013-10-19 Thread Nasser M. Abbasi
On 10/19/2013 7:18 PM, William F Hammond wrote: Moreover, the last time I checked the MathJax folk recommend that translation programs use MathML rather than TeX. Also note that when TeX is used in HTML, the MathJax processor converts it to MathML before rendering it. Yes, true, but that is

[tex4ht] fyi, possible issue with tex4ht with the appendix package? ! LaTeX Error: \theHchapter undefined.

2013-10-21 Thread Nasser M. Abbasi
this is FYI: I found a small problem, which shows up _only_ with tex4ht and not with pdflatex on the same file. TexLive 2013 I posted a question on this here: http://tex.stackexchange.com/questions/140008/latex-error-thehchapter-undefined-when-using-tex4ht-with-hyperref-and-appendix The error

[tex4ht] is this a bug in tex4ht? Bad mathchar (79119) using \sum with mathml

2014-01-09 Thread Nasser M. Abbasi
There seems a problem using \sum with tex4ht. I was able to reproduce it all the time with specific configuration. This happened when I was trying different configurations to check some things. Here is MWE: \documentclass{article} \begin{document} $\sum

Re: [tex4ht] is this a bug in tex4ht? Bad mathchar (79119) using \sum with mathml

2014-01-09 Thread Nasser M. Abbasi
On 1/9/2014 6:07 AM, Nasser M. Abbasi wrote: Here is the command to produce the error make4ht foo.tex nma btw, if you do not have make4ht installed, htlatex will also work. I just happened to use Michal's make4ht front end, which is separate program to call tex4ht. So replacing

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

2014-01-10 Thread Nasser M. Abbasi
I hit a big problem and not able to find a solution. My Latex cheat sheet uses verbatim to illustrate latex commands and the result of the command. So I show the actual latex command inside verbatim, and then outside the verbatim show the result. This all works well when using tex4ht to

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

2014-01-10 Thread Nasser M. Abbasi
=text/css\Hnewline .MathJax_MathML {text-indent: 0;}\Hnewline /style\Hnewline}} \begin{document} \EndPreamble Regards, Michal 2014/1/10 Nasser M. Abbasi n...@12000.org: I hit a big problem and not able to find a solution. My Latex cheat sheet uses verbatim to illustrate latex commands

[tex4ht] using minipage in tex4ht?

2014-02-22 Thread Nasser M. Abbasi
Hello; I assume tex4ht does not support minipage? due to semantics of what a page is for HTML? Just wanted to make sure. I tried this small example, in order to place 2 items side-by-side on a page. With pdflatex, the output shows them side-by-side but the HTML shows them on top of each

[tex4ht] fyi, error with mathml switch, question posted

2014-03-04 Thread Nasser M. Abbasi
this is just FYI; I think there is a problem with tex4ht when compiling a small example using mathml mode. Easier to post this question on tex exchange (screen shots). But thought some here might be interested to know about it.

[tex4ht] Error using empheq package with texlive 2013 tex4ht. Missing } inserted

2014-04-01 Thread Nasser M. Abbasi
FYI; Not sure if this is a bug in tex4ht or something else. In case someone here might be interested in taking a look. I posted this on http://tex.stackexchange.com/questions/168809/error-compiling-empheq-with-texlive-2013-tex4ht-missing-inserted - \documentclass{article}

Re: [tex4ht] html template

2014-05-20 Thread Nasser M. Abbasi
On 5/20/2014 3:07 PM, Ever Barbero wrote: Is there a template to make the html pages generated by tex4ht look better, such as the default in plastex? Is it possible to build that template? ... and if so, how to automatically add it to the html generated by tex4ht? ... really generated by htlatex

[tex4ht] [bug #215] package titlesec causes tex4ht to give error when using $[]$ in section title

2014-06-21 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?215 Summary: package titlesec causes tex4ht to give error when using $[]$ in section title Project: tex4ht Submitted by: nma123 Submitted on: Sat 21 Jun 2014 07:22:13 PM EEST Category:

[tex4ht] [bug #216] error using pgfsysdriver, shows up with texlive 2014, ok with texlive 2013

2014-06-21 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?216 Summary: error using pgfsysdriver, shows up with texlive 2014, ok with texlive 2013 Project: tex4ht Submitted by: nma123 Submitted on: Sat 21 Jun 2014 07:28:42 PM EEST Category:

[tex4ht] [bug #218] tex4ht 2014 compile error using mathml switch using multline with pmatrix and easybmat

2014-06-21 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?218 Summary: tex4ht 2014 compile error using mathml switch using multline with pmatrix and easybmat Project: tex4ht Submitted by: nma123 Submitted on: Sat 21 Jun 2014 07:39:02 PM EEST

[tex4ht] [bug #220] loading tocloft package causes toc not to be generated in HTML

2014-07-11 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?220 Summary: loading tocloft package causes toc not to be generated in HTML Project: tex4ht Submitted by: nma123 Submitted on: Fri 11 Jul 2014 12:37:54 PM EEST Category: None

[tex4ht] [bug #224] package empheq does not work with tex4ht, ! Missing } inserted

2014-07-31 Thread Nasser M. Abbasi
Follow-up Comment #1, bug #224 (project tex4ht): After some trial and error and lots of googling, I found this solution, which puts a box around equations and does work in htlatex and pdflatex. This uses array and fbox. This can be a workaround until empheq works with htlatex

Re: [tex4ht] [bug #224] package empheq does not work with tex4ht, ! Missing } inserted

2014-08-04 Thread Nasser M. Abbasi
On 8/4/2014 6:41 PM, Karl Berry wrote: I clicked on add comment and pasted the latex code, but looking at it in the email below, it removed all the \ from the code I pasted in the comment window. So all the latex commands below do not have the \. I see the backslashes at

[tex4ht] another mathml/mathjax issue, \operatorname{} problem with mathjax

2014-08-06 Thread Nasser M. Abbasi
fyi, This might be known issue. This MWE generate mathml that mathjax does not like. \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \[ \operatorname{I_{\frac{4}{3}}} \] \end{document} ---

Re: [tex4ht] another mathml/mathjax issue, \operatorname{} problem with mathjax

2014-08-07 Thread Nasser M. Abbasi
? Isn't tex4ht which generates the mathml? The latex itself is generated by sage and I process it by tex4ht. If you meant the latex itself is not valid, then I'll try to let someone at Sage know they are producing invalid Latex then. Thank you, --Nasser 2014-08-06 21:51 GMT+02:00 Nasser M. Abbasi n

[tex4ht] [bug #228] tex4ht does not accept \setcounter{tocdepth} in report class

2014-08-09 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?228 Summary: tex4ht does not accept \setcounter{tocdepth} in report class Project: tex4ht Submitted by: nma123 Submitted on: Sat 09 Aug 2014 10:31:39 PM EEST Category: None

Re: [tex4ht] is Verbatim[frame=single] supposed to show frame in tex4ht generated HTML?

2014-08-14 Thread Nasser M. Abbasi
: solid 0.4pt; } at the end? Michal 2014-08-14 15:20 GMT+02:00 Nasser M. Abbasi n...@12000.org: Before I spend time for workaround, I thought to check what is the status of this is. Using \begin{Verbatim}[frame=single] text \end{Verbatim} does not show frame in HTML but it does in pdf. Googling

[tex4ht] fyi, possible bug in multicol support for tex4ht when using \columnbreak

2014-11-22 Thread Nasser M. Abbasi
fyi, I've posted this on tex stackexchange, in case someone might be interested: http://tex.stackexchange.com/questions/213527/htlatex-outputs-extra-word-not-in-document-when-using-columnbreak-with-multicol This MWE produces the output shown above (extra word auto shows up)

Re: [tex4ht] [bug #241] grave accent letter ` (hex 60) changes to left single quotation mark (hex 0xE2 0x80 0x98)

2015-01-15 Thread Nasser M. Abbasi
this fix in my end to see if it works for all cases. --Nasser On 1/15/2015 9:45 PM, CV Radhakrishnan wrote: On 16/01/15 7:22 am, Nasser M. Abbasi wrote: when running htlatex on this file \documentclass[12pt]{article} \begin{document} `123` \verb|`123`| \end{document} the grave accent

Re: [tex4ht] [bug #241] grave accent letter ` (hex 60) changes to left single quotation mark (hex 0xE2 0x80 0x98)

2015-01-16 Thread Nasser M. Abbasi
On 1/16/2015 6:17 AM, Michal Hoftich wrote: I will repost my answer on TeX.sx. This is not a bug, but default LaTeX behaviour: This is the default behaviour, you will get the same result even with `pdflatex`. You can use `upquote` package to redefine grave and upright-quote to

[tex4ht] [bug #241] grave accent letter ` (hex 60) changes to left single quotation mark (hex 0xE2 0x80 0x98)

2015-01-15 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?241 Summary: grave accent letter ` (hex 60) changes to left single quotation mark (hex 0xE2 0x80 0x98) Project: tex4ht Submitted by: nma123 Submitted on: Fri 16 Jan 2015 03:52:11 AM EET

[tex4ht] Why is tex4ht losing the image colors from dvi and idv files?

2015-02-11 Thread Nasser M. Abbasi
According to http://www.cvr.cc/?p=297 x.idv: This is a dvi file extracted from x.dvi, and it contains the images needed in the HTML files. I am trying to make 3D pst pictures work with tex4ht. Finally got it working, except the colors in the images are all gone from the dvi file when using

[tex4ht] [bug #236] using {newtxtext, newtxmath} packages breaks MathML generation in tex4ht

2015-01-06 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?236 Summary: using {newtxtext,newtxmath} packages breaks MathML generation in tex4ht Project: tex4ht Submitted by: nma123 Submitted on: Tue 06 Jan 2015 09:51:32 PM EET Category: None

[tex4ht] [bug #238] htlatex outputs extra word not in document when using \columnbreak with multicols

2015-01-06 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?238 Summary: htlatex outputs extra word not in document when using \columnbreak with multicols Project: tex4ht Submitted by: nma123 Submitted on: Tue 06 Jan 2015 09:59:27 PM EET

[tex4ht] [bug #237] problem with titlesec package with tex4ht when using starred version of \section

2015-01-06 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?237 Summary: problem with titlesec package with tex4ht when using starred version of \section Project: tex4ht Submitted by: nma123 Submitted on: Tue 06 Jan 2015 09:55:43 PM EET

[tex4ht] [bug #235] tex4ht hyper fonts problems.

2015-01-06 Thread Nasser M. Abbasi
URL: http://puszcza.gnu.org.ua/bugs/?235 Summary: tex4ht hyper fonts problems. Project: tex4ht Submitted by: nma123 Submitted on: Tue 06 Jan 2015 09:47:45 PM EET Category: None Priority: 5 - Normal

[tex4ht] possible bug in using \usepackage{cprotect} with HTML showing extra strange letters not in text

2015-03-10 Thread Nasser M. Abbasi
fyi, I think there is a bug somewhere. Please see http://tex.stackexchange.com/questions/232395/why-tex4ht-generate-funny-looking-extra-characters-when-using-usepackagecprote extra strange characters are generated in HTML MWE: \documentclass[]{article}

[tex4ht] htlatex can't find cfg in home folder in latest TL update on 64 bit linux

2015-02-23 Thread Nasser M. Abbasi
I am not sure what is going on here. This is very strange. I installed new TL on 64 bit linux 3 days ago. New installation. When I put my nma.cfg file in my home folder and go to a different directory and type htlatex index.tex nma,htm,3 I get an error I can't find file nma.cfg When I

[tex4ht] TeX4ht warning --- Cannot determine size of graphic in svg graphics. Does tex4ht support bounding box on svg?

2015-05-15 Thread Nasser M. Abbasi
Currently I use svg graphics for all images since it looks better than png on the web. Here is a typical latex file. I use pdf version of the image for pdflatex and use the svg version for htlatex. I convert the pdf to svg using the program pdf2svg which works much better thank inkscape I

Re: [tex4ht] TeX4ht warning --- Cannot determine size of graphic in svg graphics. Does tex4ht support bounding box on svg?

2015-05-19 Thread Nasser M. Abbasi
Sorry, please ignore my last email. I needed to use ebb -x on the PDF file, not the SVG. I am all set now. sorry about that, never used this command before. --Nasser On 5/19/2015 12:21 PM, Nasser M. Abbasi wrote: On 5/19/2015 10:35 AM, Michal Hoftich wrote: you need to create a .xbb

Re: [tex4ht] TeX4ht warning --- Cannot determine size of graphic in svg graphics. Does tex4ht support bounding box on svg?

2015-05-16 Thread Nasser M. Abbasi
On 5/16/2015 4:36 PM, Karl Berry wrote: TeX4ht needs .eps format of the figure since it works with dvips graphics driver and hence cannot accept any other graphics file format. I use png and jpg with tex4ht all the time. tex4ht.env has rules to convert them on the fly (highly

Re: [tex4ht] SVG figures cause font styling to be lost

2015-05-31 Thread Nasser M. Abbasi
I can't tell why it does not work when including the tex source code for the tikz pic. But here is a workaround. The result is in a zip with my .cfg included which is at this link: http://12000.org/tmp/053105/bobs_figures.zip I changed your latex file to be to include the image itself instead

[tex4ht] fyi, added detailed layout of tex4ht setup

2015-06-01 Thread Nasser M. Abbasi
fyi; I've added another note to my tex4ht cheat sheet. This one shows the detailed setup Iam using make4ht with tex4ht with all the needed configuration. This is not meant as a guide to how to setup things, or a tutorial, but only to show my setup I am using. May be it might be useful for

[tex4ht] how to make \usepackage{newtxtext} work with tex4ht? it removes fi and ff from text

2015-07-01 Thread Nasser M. Abbasi
When I compile this MWE - \documentclass[12pt]{article} \usepackage{newtxtext} \begin{document} find differential \end{document} - The HTML shows nd dierential So the fi and ff are gone. (looking at the HTML source code itself, I

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

2015-07-29 Thread Nasser M. Abbasi
On 7/29/2015 9:22 PM, Jagath AR wrote: On 29 July 2015 at 09:04, Nasser M. Abbasi n...@12000.org wrote: I was reading this post http://tex.stackexchange.com/questions/59702/suggest-a-nice-font-family-for-my-basic-latex-template-text-and-math And I liked the pkfonts shown there. But when I

[tex4ht] when will make4ht be part of tex4ht in the main TexLive distribution?

2015-08-01 Thread Nasser M. Abbasi
Is there a reason why make4ht is not yet part of the TL? https://github.com/michal-h21/make4ht I am asking, because for example, I wanted to post a question on tex4ht at Tex.Stackexchange, where I made an example latex file to show the problem, but had to use luacode in it. (long story)

Re: [tex4ht] when will make4ht be part of tex4ht in the main TexLive distribution?

2015-08-02 Thread Nasser M. Abbasi
On 8/2/2015 3:19 AM, Michal Hoftich wrote: Hi Nasser, Is there a reason why make4ht is not yet part of the TL? https://github.com/michal-h21/make4ht I am asking, because for example, I wanted to post a question on tex4ht at Tex.Stackexchange, where I made an example latex file to show the

[tex4ht] what do these warning messages really mean. starts/ends with character code 255

2015-08-03 Thread Nasser M. Abbasi
When compiling the following MWE, it generates messages such as warning --- File `lm-ec.htf' starts/ends with character code 255 (instead of 124) warning --- File `lm-ec.htf' starts/ends with character code 255 (instead of 124) warning --- Couldn't find font `zxlri-8r.htf' (char codes:

[tex4ht] is it possible to use kpfonts with tex4ht?

2015-07-28 Thread Nasser M. Abbasi
I was reading this post http://tex.stackexchange.com/questions/59702/suggest-a-nice-font-family-for-my-basic-latex-template-text-and-math And I liked the pkfonts shown there. But when I tried to compile the file with htlatex, the display math came up ok, but the inline math did not, and I see

Re: [tex4ht] graphics Images no longer resize in TL 2015 with tex4ht, need help finding why

2015-07-27 Thread Nasser M. Abbasi
On 7/26/2015 7:11 PM, Nasser M. Abbasi wrote: I am still little confused. So you want just me to replace \newcommand\emwidth{16} this line \let\emwidth\f@size % convert pt to rem \newcommand\CalcRem[1]{\strip@pt\dimexpr(#1)/\emwidth} With \newcommand\emwidth{11

Re: [tex4ht] graphics Images no longer resize in TL 2015 with tex4ht, need help finding why

2015-07-26 Thread Nasser M. Abbasi
On 7/26/2015 1:46 PM, Michal Hoftich wrote: Hi all, I am back from vacation :) Welcome back. Please do not take long vacations, We need you here :) The problem is in the .cfg file, I am not sure why it showed only in current TL. I do not know. I was copying using magic code for this

[tex4ht] graphics Images no longer resize in TL 2015 with tex4ht, need help finding why

2015-07-22 Thread Nasser M. Abbasi
Spend 6 hrs on this and I gave up. For some reason, the images no longer resize in the web pages as before. This used to work. I made earlier a small document that describes this resizing method here (layout) http://12000.org/my_notes/faq/LATEX/layout/index.htm But when I tried this method

Re: [tex4ht] graphics Images no longer resize in TL 2015 with tex4ht, need help finding why

2015-07-22 Thread Nasser M. Abbasi
the eps method only requires one to make an eps file from each pdf file. This is basically the only extra step needed. But all of this can be automated using makefiles so it is not a problem. --Nasser On 7/22/2015 3:21 AM, Nasser M. Abbasi wrote: Spend 6 hrs on this and I gave up. For some reason

Re: [tex4ht] graphics Images no longer resize in TL 2015 with tex4ht, need help finding why

2015-07-22 Thread Nasser M. Abbasi
On 7/22/2015 6:13 PM, Karl Berry wrote: I gave up trying to find why the pure svg method does not resize with tex4ht anymore. If it did so once, surely we can make it do so again. Michal? Unfortunately I can't begin to guess which change made it fail. The Linux image on my VBox

Re: [tex4ht] [bug #258] mathml and info options make error

2015-07-20 Thread Nasser M. Abbasi
On 7/20/2015 4:35 AM, Nicolas Richard wrote: Doing htlatex xhtml,mathml,info on even the most trivial file the following error: /usr/local/texlive/2014/texmf-dist/tex/generic/tex4ht/infomml.4ht:3: Missing number, treated as zero. to be read again m l.3

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

2015-10-31 Thread Nasser M. Abbasi
Hello; I mentioned this in tex chat room. I found a work around. But may be I should send it here also, just in case someone gets this error in the future or may be seen this before. I am not able to make a MWE since I do not even know where to start, since the error is just error code 256. I

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

2015-12-02 Thread Nasser M. Abbasi
On 12/2/2015 4:10 PM, Nasser M. Abbasi wrote: On 12/2/2015 3:57 PM, Karl Berry wrote: The only way I can imagine a corrupt DVI file being created is if TeX is interrupted in the middle of the run. If one of you can send me the file that is being given to tex and the invocation of tex with all

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

2015-12-02 Thread Nasser M. Abbasi
On 12/2/2015 3:57 PM, Karl Berry wrote: The only way I can imagine a corrupt DVI file being created is if TeX is interrupted in the middle of the run. If one of you can send me the file that is being given to tex and the invocation of tex with all cmdline arguments, we could at least confirm it

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 Nasser M. Abbasi
On 12/4/2015 2:11 PM, William F Hammond wrote: On Thu, Dec 3, 2015 at 1:19 PM, Nasser M. Abbasi <n...@12000.org> wrote: I just put a new zip file with this missing .tex included file: OK, that helps. I also had to go looking online for mcode.sty. Sorry. I'll add this to the zip fil

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 Nasser M. Abbasi
e problems somethimes due to conflicts. Thank you, --Nasser On 12/4/2015 3:14 PM, Nasser M. Abbasi wrote: On 12/4/2015 2:11 PM, William F Hammond wrote: On Thu, Dec 3, 2015 at 1:19 PM, Nasser M. Abbasi <n...@12000.org> wrote: I just put a new zip file with this missing .tex included file:

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 Nasser M. Abbasi
On 12/6/2015 4:18 PM, William F Hammond wrote: On Sat, Dec 5, 2015 at 11:13 AM, Nasser M. Abbasi <n...@12000.org> wrote: I found one way to reproduce the error very easily by making one change in the Matlab code in the listing inside the Latex file. So this seems to be an encoding issue.

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

2015-12-05 Thread Nasser M. Abbasi
his solves the problem. I just thought someone else might like to know about this in case it might indicate some other more serious problem somewhere else. thanks, --Nasser On 12/4/2015 5:08 PM, Nasser M. Abbasi wrote: I found the conflict! And also got a better error. It comes from /usr/loc

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

2015-12-05 Thread Nasser M. Abbasi
On 12/5/2015 5:41 PM, Karl Berry wrote: So, it appears a bad DVI file is being created by dviluatex. That should never happen and thus is something we should report to them. However, we have to be able to provide input that they can run directly with the engine binary, not using make4ht.

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

2015-12-30 Thread Nasser M. Abbasi
When splitting a document, and clicking on a link from the parent page to go to the child page, one would expect the child page to open where the top of the page is visible. But what happens now, is that when the child page opens one has to use the slider to move it up a little to see the top

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

2015-12-30 Thread Nasser M. Abbasi
On 12/30/2015 8:24 PM, Nasser M. Abbasi wrote: And now from foo.htm, clicking on the link called HW1, opps, This should be link called HW not HW1 (i.e chapter name), since it is being split at chapter level. (2). Here is a more clear example: --- documentclass{report

Re: [tex4ht] Too many DVI errors. stack empty at pop command, conficts, bm package, siunitx, dvilualatex

2016-01-01 Thread Nasser M. Abbasi
On 1/1/2016 5:31 AM, Michal Hoftich wrote: Hi Nasser, it seems that it is caused by the xfrac package. A really minimal example is following: \documentclass[12pt]{report}% \usepackage[T1]{fontenc} \usepackage{xfrac} \begin{document} \[ \sfrac{a}{b} \] \end{document}

Re: [tex4ht] Too many DVI errors. stack empty at pop command, conficts, bm package, siunitx, dvilualatex

2016-01-01 Thread Nasser M. Abbasi
On 1/1/2016 3:08 PM, Michal Hoftich wrote: Thanks but I am not getting the core dump on my end? TL 2015 fresh update. That's weird, I have freshly updated TL as well.. If you like me to try something else, please let me know. I've got the SIGSEGV error also with your sample file That

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

2016-01-01 Thread Nasser M. Abbasi
On 1/1/2016 11:36 AM, William F Hammond wrote: Happy New Year! On Fri, Jan 1, 2016 at 2:02 AM, Michal Hoftich wrote: . . . The solution I gave to Nasser is fragile, every sectioning command used in the document must be reconfigured. While generally I prefer unified

[tex4ht] Image processing error: max_count exceeded error from make4ht

2015-12-31 Thread Nasser M. Abbasi
Hello; I am building a large latex file with lots of images included using includegraphics. Over 500 svg images. I am getting these errors from make4ht on this one latex file: - .. Make4ht: dvisvgm -v1 -n -c 1.15,1.15 -p 1- index.idv DVI error:

[tex4ht] Too many DVI errors. stack empty at pop command, conficts, bm package, siunitx, dvilualatex

2015-12-31 Thread Nasser M. Abbasi
This is follow up on the make4ht errors I was getting, "max_count exceeded". But since I finally found the conflict that was causing it, and it is all related to DVI problems, I thought to start new thread. Here is a MWE, which shows the issue. What happens is that DVI creates corrupted DVI

[tex4ht] Undefined control sequence. when loading package breakurl package with tex4ht

2015-11-21 Thread Nasser M. Abbasi
This MWE --- \documentclass[11pt]{article}% \usepackage[T1]{fontenc} \usepackage{hyperref} \usepackage[hyphenbreaks]{breakurl} \begin{document} \url{http://www.google.com} \end{document} Compiles with pdflatex and lualatex but gives syntax error

[tex4ht] [bug #309] tex4ht does not work with package savetrees

2016-06-04 Thread Nasser M. Abbasi
URL: Summary: tex4ht does not work with package savetrees Project: tex4ht Submitted by: nma123 Submitted on: Sun 05 Jun 2016 06:55:15 AM EEST Category: None Priority:

[tex4ht] [bug #310] Need automated way to prevent duplicate files when using -d option

2016-06-04 Thread Nasser M. Abbasi
URL: Summary: Need automated way to prevent duplicate files when using -d option Project: tex4ht Submitted by: nma123 Submitted on: Sun 05 Jun 2016 07:06:10 AM EEST Category: None

Re: [tex4ht] is it possible to define a Latex environment, where one can issue direct HTML code in it for tex4ht only?

2016-06-10 Thread Nasser M. Abbasi
On 6/10/2016 3:53 AM, Michal Hoftich wrote: ""Nasser, this is of course typical example of case when you should put your macros to .sty file and redefinitions for tex4ht into .4ht file. mycode.sty: \ProvidesPackage{mycode} \RequirePackage{listings} \lstnewenvironment{code}

Re: [tex4ht] [bug #309] tex4ht does not work with package savetrees

2016-06-09 Thread Nasser M. Abbasi
On 6/9/2016 9:25 AM, Michal Hoftich wrote: I love the idea. IMHO it's a proper way of doing. It' far better that "\ifdefined\HCode" conditional in tex file. Sure, the conditional compilation should be the last resort. There is a patch for savetrees and fontspec, as I said, it needs testing,

[tex4ht] [bug #312] tcolorbox package does not work with tex4ht. All newlines are lost in listings

2016-06-09 Thread Nasser M. Abbasi
URL: Summary: tcolorbox package does not work with tex4ht. All newlines are lost in listings Project: tex4ht Submitted by: nma123 Submitted on: Fri 10 Jun 2016 04:25:10 AM EEST

[tex4ht] is it possible to define a Latex environment, where one can issue direct HTML code in it for tex4ht only?

2016-06-10 Thread Nasser M. Abbasi
I am struggling with this. I need to be able to define an environment, where when Latex file is compiled to HTML does one thing, and when compiled to pdf does another thing. This sounds easy enough. The problem is it is for code listing. For pdf, I can use listing package no problem. For HTML,

Re: [tex4ht] is it possible to define a Latex environment, where one can issue direct HTML code in it for tex4ht only?

2016-06-10 Thread Nasser M. Abbasi
- Thank you, Nasser On 10 June 2016 at 11:41, Nasser M. Abbasi <n...@12000.org> wrote: I am struggling with this. I need to be able to define an environment, where when Latex file is compiled to HTML does one thing, and when compiled to pdf does another thing. This sounds

[tex4ht] Is this a bug in cutAt for tex4ht?

2016-06-11 Thread Nasser M. Abbasi
I have large document, book style, and I want to split it to 3 levels in HTML, but and I want to prevent splitting at one chapter (becuase I want this specific chapter content to be all on one web page). So I used the commands \PauseCutAt{chapter} just before the start of the chapter I do

Re: [tex4ht] is it possible to define a Latex environment, where one can issue direct HTML code in it for tex4ht only?

2016-06-14 Thread Nasser M. Abbasi
On 6/10/2016 3:53 AM, Michal Hoftich wrote: ""Nasser, this is of course typical example of case when you should put your macros to .sty file and redefinitions for tex4ht into .4ht file. Thanks to the pointer above by Michal, I made some progress with the above method. Now using tex4ht, it

Re: [tex4ht] About the duplicate files when building with tex4ht using -d option

2016-05-28 Thread Nasser M. Abbasi
On 5/28/2016 11:23 AM, Michal Hoftich wrote: I've changed the behaviour of make4ht, check the Github repo. It in fact uses OS commands to copy files (cp on Unix, copy on Windows), so I've just replaced it with mv, resp move. Could you please test it on Windows? Thanks Michal; Just to be

[tex4ht] [bug #307] make4ht removes spaces in \href in LUA mode when using mathdesign package

2016-05-28 Thread Nasser M. Abbasi
URL: Summary: make4ht removes spaces in \href in LUA mode when using mathdesign package Project: tex4ht Submitted by: nma123 Submitted on: Sun 29 May 2016 07:55:10 AM EEST Category:

[tex4ht] About the duplicate files when building with tex4ht using -d option

2016-05-28 Thread Nasser M. Abbasi
When building with -d , as in make4ht foo.tex -d some_folder -- make4ht [options] filename ["tex4ht.sty op." "tex4ht op." "t4ht op" "latex op"] -d,--output-dir (default nil) Output directory (or using htlatex),

[tex4ht] [bug #316] spurious character in html4.4ht cause tex4ht to fail in TL 2016

2016-06-16 Thread Nasser M. Abbasi
URL: Summary: spurious character in html4.4ht cause tex4ht to fail in TL 2016 Project: tex4ht Submitted by: nma123 Submitted on: Fri 17 Jun 2016 12:38:17 AM EEST Category: None

[tex4ht] tex4ht does not resize SVG image when using width=\columnwidth in mutlicolumn environment

2016-02-03 Thread Nasser M. Abbasi
I use make4ht and use SVG for images. This works well, and I can use \includegraphics[width=\textwidth]{p1} or \includegraphics[width=\paperwidth]{p1} or \includegraphics[width=0.6\textwidth]{p1} etc... and it will adjust image size correctly. I am using some magic configuration code in my .cfg

Re: [tex4ht] problem with slow compilation of large latex file with large math content

2016-03-26 Thread Nasser M. Abbasi
Thanks for the offer to look into it. I put the latex file and all the needed include files I use and the .cfg and main.mk and the command in one zip file. Here it is, in this folder: http://12000.org/tmp/032616/ opps. I am sorry, I forgot to also inlcude the svg images for use by tex4ht in

Re: [tex4ht] problem with slow compilation of large latex file with large math content

2016-03-26 Thread Nasser M. Abbasi
On 3/26/2016 1:11 AM, Radhakrishnan CV wrote: On Sat, Mar 26, 2016 at 3:23 AM, Nasser M. Abbasi <n...@12000.org> wrote: ​[...]​ For example, for one file, using Vbox, it took 14 hrs for make4ht to compile the file to html. On cygwin, it took little less than than. About

Re: [tex4ht] problem with slow compilation of large latex file with large math content

2016-03-27 Thread Nasser M. Abbasi
On 3/27/2016 5:13 PM, Karl Berry wrote: I call make4ht to compile the file I don't know anything about make4ht, that's Michal's bag ... Perhaps it is already smart enough to avoid multiple runs when it's not necessary. (I'm having deja vu, did we already discuss this, Michal?) -k The

  1   2   3   4   5   >