bugtex4ht - Bugs: bug #474, unable to compile ">"...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #474: unable to compile ">" using tex4ht

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Sat Jul 4 08:26:02 2020  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

(-) Discussion

Sat Jul 4 08:49:42 2020, comment #1:

Hi Nasser,

you will get the same result with normal LaTeX. ">" don't produce the greater than symbol. You must use \textgreater instead.

Best,
Michal

Michal Hoftich <michal_h21>
Project Member
Sat Jul 4 08:26:02 2020, original submission:

This works OK in Latex but not in texh4t

=====================
\documentclass{article} % or some other suitable document class

\begin{document}
\section{unable to type ">"}
why?

\end{document}
=====================

Using make4ht foo.tex or using any other variation. It gives in HTML the inverted question mark.

Here is the HTML generated

==========
<!DOCTYPE html>
<html xml:lang='en-US' lang='en-US'>
<head><title></title>
<meta charset='utf-8' />
<meta content='TeX4ht (https://tug.org/tex4ht/)' name='generator' />
<meta content='width=device-width,initial-scale=1' name='viewport' />
<link type='text/css' rel='stylesheet' href='foo4.css' />
<meta content='foo4.tex' name='src' />
</head><body>
<h3 class='sectionHead'><span class='titlemark'>1 </span> <a id='x1-10001'></a>unable to type ”¿”</h3>
<!-- l. 5 --><p class='noindent'>why?
</p>

</body>
</html>
======================

Is there a workaround to this?

I can't use \verb|| in section titles, due to other problem this will cause.

Using TL 2020

Nasser M. Abbasi <nma123>

 

(-) Attached Files

No files currently attached

 

(-) Dependencies

Depends on the following items: None found

Items that depend on this one: None found

 

(+) Mail Notification Carbon-Copy List

(+) Votes

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

(+) History

Show feedback again

Back to the top


Powered by Savane 3.1-cleanup+gray