bugGNU TeXmacs - Bugs: bug #66921, Strange incorrect conversion of...

 
 

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

bug #66921: Strange incorrect conversion of '>' to LaTeX

Submitter:  Massimiliano Gubinelli <mgubi>
Submitted:  Mon 17 Mar 2025 02:17:03 PM UTC
   
 
Category:  Conversion Priority:  5 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Mon 17 Mar 2025 02:17:03 PM UTC, original submission:  

The following markup
```
<\eqnarray*>
  <tformat|<table|<row|<cell|x>|<cell|\<gtr\>>|<cell|y>>>>
</eqnarray*>
```
results in an incorrect LaTeX output upon conversion:
```
\documentclass{article}
\usepackage[english]{babel}

%%%%%%%%%% Start TeXmacs macros
\catcode`\>=\active \def>{
\fontencoding{T1}\selectfont\symbol{62}\fontencoding{\encodingdefault}}
%%%%%%%%%% End TeXmacs macros

\begin{document}

\begin{eqnarray*}
  x & > & y
\end{eqnarray*}

\end{document}
```
in particular the \catcode macro gives an error in LaTeX. If I remove the \catcode line then the file compiles correctly.

Massimiliano Gubinelli <mgubi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mgubi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-962f.
    Corresponding source code