Discussion:
[l2h] enumerate problems
Ernesto Cuadros Vargas
2017-08-09 20:44:03 UTC
Permalink
Hi all,

I am converting from latex to html an enumerate list but with letters
instead of numbers like this:

\begin{enumerate}[a)]
\item item1
\item item2
\item item3
\end{enumerate}

but I obtain an extra <ENTER> like this:

a)
item1
b)
item2
c)
item3

Does any one of you know how to solve this problem?

Thanks in advance
er
--
La información contenida en este e-mail y sus anexos es confidencial,
privilegiada y está dirigida exclusivamente a su destinatario, en
consecuencia, solo puede ser utilizada por aquel. Si usted no es el
destinatario original, no deberá examinar, usar, copiar o distribuir este
mensaje o la información que contiene. Si lo recibe por error, por favor
reenvíelo a la persona que se lo envió y elimínelo. Cualquier retención o
uso total o parcial no autorizada de este mensaje está estrictamente
prohibida y sancionada por ley.
Bob van der Poel
2017-08-09 23:50:55 UTC
Permalink
If anyone does have a solution ... please post to list! I've been
struggling with this for years.
Post by Ernesto Cuadros Vargas
Hi all,
I am converting from latex to html an enumerate list but with letters
\begin{enumerate}[a)]
\item item1
\item item2
\item item3
\end{enumerate}
a)
item1
b)
item2
c)
item3
Does any one of you know how to solve this problem?
Thanks in advance
er
La información contenida en este e-mail y sus anexos es confidencial,
privilegiada y está dirigida exclusivamente a su destinatario, en
consecuencia, solo puede ser utilizada por aquel. Si usted no es el
destinatario original, no deberá examinar, usar, copiar o distribuir este
mensaje o la información que contiene. Si lo recibe por error, por favor
reenvíelo a la persona que se lo envió y elimínelo. Cualquier retención o
uso total o parcial no autorizada de este mensaje está estrictamente
prohibida y sancionada por ley.
_______________________________________________
latex2html mailing list
http://tug.org/mailman/listinfo/latex2html
--
**** Listen to my FREE CD at http://www.mellowood.ca/music/cedars ****
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: ***@mellowood.ca
WWW: http://www.mellowood.ca
Ross Moore
2017-08-10 01:55:36 UTC
Permalink
Hello Bob and Ernesto.

On Aug 10, 2017, at 9:50 AM, Bob van der Poel <***@mellowood.ca<mailto:***@mellowood.ca>> wrote:

If anyone does have a solution ... please post to list! I've been struggling with this for years.

You need to define CSS styles and apply them.
HTML itself doesn’t control this with description lists.

Besides, these days you want to be using HTML 5 or XHTML,
and much of what LaTeX2HTML produces (up to HTML 4) has been deprecated.


2017-08-09 13:44 GMT-07:00 Ernesto Cuadros Vargas <***@utec.edu.pe<mailto:***@utec.edu.pe>>:
Hi all,

I am converting from latex to html an enumerate list but with letters instead of numbers like this:

\begin{enumerate}[a)]
\item item1
\item item2
\item item3
\end{enumerate}

but I obtain an extra <ENTER> like this:

a)
item1
b)
item2
c)
item3

Does any one of you know how to solve this problem?

Thanks in advance
er


Hope this helps.

Ross


Dr Ross Moore

Mathematics Dept | 12 Wally’s Walk, 734
Macquarie University, NSW 2109, Australia

T: +61 2 9850 8955 | F: +61 2 9850 8114<tel:%2B61%202%209850%209695>
M:+61 407 288 255<tel:%2B61%20409%20125%20670> | E: ***@mq.edu.au<mailto:***@mq.edu.au>

http://www.maths.mq.edu.au<http://mq.edu.au/>


[cid:***@01D030BE.D37A46F0]<http://mq.edu.au/>


CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.<http://mq.edu.au/>

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University.<http://mq.edu.au/>
Ernesto Cuadros Vargas
2017-08-10 16:27:48 UTC
Permalink
Hi Bob, Ross,

I have never used CSS in a latex to generate html ...
May you give an idea to do that with a small list like the one I sent
please?

regards
er
Post by Ross Moore
Hello Bob and Ernesto.
If anyone does have a solution ... please post to list! I've been
struggling with this for years.
You need to define CSS styles and apply them.
HTML itself doesn’t control this with description lists.
Besides, these days you want to be using HTML 5 or XHTML,
and much of what LaTeX2HTML produces (up to HTML 4) has been deprecated.
Post by Ernesto Cuadros Vargas
Hi all,
I am converting from latex to html an enumerate list but with letters
\begin{enumerate}[a)]
\item item1
\item item2
\item item3
\end{enumerate}
a)
item1
b)
item2
c)
item3
Does any one of you know how to solve this problem?
Thanks in advance
er
Hope this helps.
Ross
* Dr Ross Moore*
*Mathematics Dept **|* 12 Wally’s Walk, 734
Macquarie University, NSW 2109, Australia
*T:* +61 2 9850 *8955 | F:* +61 2 9850 8114 <%2B61%202%209850%209695>
http://www.maths.mq.edu.au <http://mq.edu.au/>
<http://mq.edu.au/>
CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.
<http://mq.edu.au/>
This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University. <http://mq.edu.au/>
--
La información contenida en este e-mail y sus anexos es confidencial,
privilegiada y está dirigida exclusivamente a su destinatario, en
consecuencia, solo puede ser utilizada por aquel. Si usted no es el
destinatario original, no deberá examinar, usar, copiar o distribuir este
mensaje o la información que contiene. Si lo recibe por error, por favor
reenvíelo a la persona que se lo envió y elimínelo. Cualquier retención o
uso total o parcial no autorizada de este mensaje está estrictamente
prohibida y sancionada por ley.
Ross Moore
2017-08-11 00:37:58 UTC
Permalink
Hello Ernesto,

On Aug 11, 2017, at 2:27 AM, Ernesto Cuadros Vargas <***@utec.edu.pe<mailto:***@utec.edu.pe>> wrote:

Hi Bob, Ross,

I have never used CSS in a latex to generate html ...
May you give an idea to do that with a small list like the one I sent please?

Well, no; not easily.

But I can refer you to p.130 The LaTeX Web Companion (5th printing 2004).
Here the commands are described, which are available for setting CSS styles
within LaTeX source for processing by LaTeX2HTML.

But you need to form your own understanding of what CSS is, and how it works
for HTML documents.
Then you’ll realise that it is a very powerful technology,
and one that doesn’t need LaTeX to be useable with your HTML documents.


regards
er

On Wed, Aug 9, 2017 at 8:55 PM, Ross Moore <***@mq.edu.au<mailto:***@mq.edu.au>> wrote:
Hello Bob and Ernesto.

On Aug 10, 2017, at 9:50 AM, Bob van der Poel <***@mellowood.ca<mailto:***@mellowood.ca>> wrote:

If anyone does have a solution ... please post to list! I've been struggling with this for years.

You need to define CSS styles and apply them.
HTML itself doesn’t control this with description lists.

Besides, these days you want to be using HTML 5 or XHTML,
and much of what LaTeX2HTML produces (up to HTML 4) has been deprecated.


Now the best way that I know to get a quite good HTML page from a LaTeX document
is to first generate what you want as a PDF, then use Adobe’s Acrobat Pro menu item
Export To > HTML web page


The attached file shows what results from the example source.
The list items have styles which give you the result you desire.



Hope this helps.

Ross


Dr Ross Moore

Mathematics Dept | 12 Wally’s Walk, 734
Macquarie University, NSW 2109, Australia

T: +61 2 9850 8955 | F: +61 2 9850 8114<tel:%2B61%202%209850%209695>
M:+61 407 288 255<tel:%2B61%20409%20125%20670> | E: ***@mq.edu.au<mailto:***@mq.edu.au>

http://www.maths.mq.edu.au<http://mq.edu.au/>


<http://mq.edu.au/>

[cid:ab4b67c4-f547-4183-ad6d-***@ausprd01.prod.outlook.com]

<http://mq.edu.au/>


CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.<http://mq.edu.au/>

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University.<http://mq.edu.au/>
Shigeharu TAKENO
2017-08-11 09:23:43 UTC
Permalink
shige 08/11 2017
----------------

Ernesto Cuadros Vargas wrote:
| I am converting from latex to html an enumerate list but with letters
| instead of numbers like this:
|
| \begin{enumerate}[a)]
| \item item1
| \item item2
| \item item3
| \end{enumerate}
|
| but I obtain an extra <ENTER> like this:
|
| a)
| item1
| b)
| item2
| c)
| item3
|
| Does any one of you know how to solve this problem?

Please try to insert your <file>.css file generated by latex2html
in your <file> directory (<file> is your LaTeX file name without
.tex):

DT { float; left }

+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
***@iee.niit.ac.jp TEL(&FAX): +81-257-22-8161
+========================================================+
Ernesto Cuadros Vargas
2017-10-23 17:20:02 UTC
Permalink
Hi Sigue,
Post by Shigeharu TAKENO
Please try to insert your <file>.css file generated by latex2html
DT { float; left }
It did not work because internally it is being generated with DT and also
using DD.
Something like this:

<DL COMPACT>
<DT>a)</DT>
<DD>item1</DD>
<DT>b)</DT>
<DD>item2</DD>
<DT>c)</DT>
<DD>item3</DD>
</DL>

I do not really know how to bring "Item1" text to the previous line ...

Thanks for your help ...
Er

shige 08/11 2017
Post by Shigeharu TAKENO
----------------
| I am converting from latex to html an enumerate list but with letters
|
| \begin{enumerate}[a)]
| \item item1
| \item item2
| \item item3
| \end{enumerate}
|
|
| a)
| item1
| b)
| item2
| c)
| item3
|
| Does any one of you know how to solve this problem?
Please try to insert your <file>.css file generated by latex2html
in your <file> directory (<file> is your LaTeX file name without
DT { float; left }
+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
+========================================================+
--
--
*Ernesto Cuadros-Vargas. PhD*
http://socios.spc.org.pe/ecuadros/
T:+(511) 2305000 <(01)%202305000> Ext 4281
Jr. Medrano Silva 165, Barranco
www.utec.edu.pe
<http://www.buscamoscomplices.pe/>
--
La información contenida en este e-mail y sus anexos es confidencial,
privilegiada y está dirigida exclusivamente a su destinatario, en
consecuencia, solo puede ser utilizada por aquel. Si usted no es el
destinatario original, no deberá examinar, usar, copiar o distribuir este
mensaje o la información que contiene. Si lo recibe por error, por favor
reenvíelo a la persona que se lo envió y elimínelo. Cualquier retención o
uso total o parcial no autorizada de este mensaje está estrictamente
prohibida y sancionada por ley.
Shigeharu TAKENO
2017-10-24 02:38:20 UTC
Permalink
shige 10/24 2017
----------------

| > Please try to insert your <file>.css file generated by latex2html
| > in your <file> directory (<file> is your LaTeX file name without .tex):
|
| > DT { float; left }

Sorry, I made a mistake. Use colon instead of semicolon:

DT { float: left }

+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
***@iee.niit.ac.jp TEL(&FAX): +81-257-22-8161
+========================================================+

Loading...