Patches item #3603246, was opened at 2013-02-04 03:42
Message generated for change (Comment added) made by milde
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=422032&aid=3603246&group_id=38414
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Yannick Copin (ycopin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in option "--graphicx-option=auto" of rst2latex
Initial Comment:
When using the option "--graphicx-option=auto", a spurious "'))" is included in the tex output and prevent the proper compilation. This is due to a typo in writers/latex2e/__init__.py:
PreambleCmds.graphicx_auto = r"""% Check output format
\ifx\pdftexversion\undefined
\usepackage{graphicx}
\else
\usepackage[pdftex]{graphicx}
\fi'))"""
Attached patch correct the typo.
----------------------------------------------------------------------
>Comment By: Günter Milde (milde)
Date: 2013-02-13 05:16
Message:
Thanks for the bug report and patch. It's applied.
BTW: with an up-to-date TeX installation the recommended value is the
default: no option.
The relevant code for auto detection of the converter is now included in
graphicx.sty.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=422032&aid=3603246&group_id=38414
|