Ticket #1717 (new defect)

Opened 2 years ago

Last modified 22 months ago

symdef for sTeX logo name is not handled properly

Reported by: kohlhase Owned by: kohlhase
Priority: high Milestone: GenCS2013
Component: STeX/ltxml Version: trunk
Severity: major Keywords:
Cc: Blocked By:
Blocking: Due to close: YYYY/MM/DD
Include in GanttChart: no Dependencies:
Due to assign: YYYY/MM/DD

Description

In stc/slides/sTeX/en/sTeX-approach.tex we find

\symdef{sTeX}{\mbox{\raisebox{-.5ex}S\kern-.5ex\TeX}}

and this is transformed to

    <notation cd="sTeX-approach" name="sTeX">
      <prototype>
        <om:OMS cd="sTeX-approach" name="sTeX"/>
      </prototype>
      <rendering>
        <text>TeX</text>
      </rendering>
    </notation>

which is incorrect. This is used in prominent places in the EPC demo book, so it would be nice, if that could be corrected.

If this is difficult, I can just change it to

\symdef{sTeX}{\text{sTeX}}

but I would prefer a real solution.

Change History

Changed 2 years ago by kohlhase

  • owner changed from deyan to soprea
  • priority changed from normal to high

Changed 22 months ago by soprea

  • owner changed from soprea to kohlhase

In the intermediary xml we do have

<text xmlns="http://dlmf.nist.gov/LaTeXML"><text yoffset="-2.15pt">S</text>TeX</text>

The inner <text> disappears in post-processing. If you want to give up presentation information we can just copy and modify \raisebox. Else, just to be nice, we might want to change how LaTeXML treats \TeX (for now it just writes TeX).

Note: See TracTickets for help on using tickets.