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

2013-07-11 Thread Radhakrishnan CV
On Fri, Jul 12, 2013 at 4:23 AM, Karl Berry wrote: > Runaway argument? > > I see CVR solved your problem with an environment. That's good (maybe > we should add that environment in general), but this error indicates the > problem is simply having a blank line (\par) in the argument, and we >

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

2013-07-11 Thread Karl Berry
Runaway argument? I see CVR solved your problem with an environment. That's good (maybe we should add that environment in general), but this error indicates the problem is simply having a blank line (\par) in the argument, and we should just make \HCode \long in order to allow it. (I admit I

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 9:32 AM, Radhakrishnan CV wrote: \documentclass{article} \begin{document} \ScriptEnv{html} {\NoFonts\hfill\break} {\EndNoFonts} \begin{html} This is HTML head 2 \end{html} \end{document} Thank you very much, yes, this is what I wanted. It works now -

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

2013-07-10 Thread Radhakrishnan CV
On Wed, Jul 10, 2013 at 4:28 PM, Nasser M. Abbasi wrote: > On 7/10/2013 5:49 AM, Radhakrishnan CV wrote: > >> On Wed, Jul 10, 2013 at 1:54 PM, Nasser M. Abbasi wrote: >> >> I am converting a latex document that I used to compile with >>> latex2html to htlatex. >>> >>> >> [...] >> >> >> What is

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 La

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

2013-07-10 Thread Michal Hoftich
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 LaTeX run and insert \HCode with tex4ht. Like th

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 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 it show at that

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

2013-07-10 Thread Radhakrishnan CV
On Wed, Jul 10, 2013 at 1:54 PM, Nasser M. Abbasi 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 it show at that location in the HTML > file? I have very

[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 \end{rawh