[New-bugs-announce] [issue3655] latexwriter: \footnotemark can only take numbers as arguments

Pauli Virtanen report at bugs.python.org
Sat Aug 23 23:11:02 CEST 2008


New submission from Pauli Virtanen <pav at iki.fi>:

LaTeXTranslator.visit_footnote_reference generates improper Latex if 
the footnote marker given is not a number. This will result in a Latex 
error if the RST document contains footnotes where the marker is not a 
number.

The problem is that the Latex commands \footnotemark and \footnotetext 
apparently expect their [] argument to always be a number.

For example:

    \footnotemark[x]

results to error:

    ! Missing number, treated as zero.
    <to be read again> 
                       x
    l.4733 ...\footnotemark[x]

----------
assignee: georg.brandl
components: Documentation tools (Sphinx)
messages: 71817
nosy: georg.brandl, pv
severity: normal
status: open
title: latexwriter: \footnotemark can only take numbers as arguments

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3655>
_______________________________________


More information about the New-bugs-announce mailing list