Latex export option does not work with images with dots in their filenames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RedNotebook |
Triaged
|
Medium
|
Unassigned |
Bug Description
I'm running version 1.10.1. When exporting to latex, I get this type of output in the tex file:
\includegraphic
which unfortunately does not work if [filename] contains dots, which is actually pretty usual in some situations (e.g. photo filename contains date and time it was taken).
As simple fix to make it work is to enclose the filename, not only in double quotes, but in curly braces as well:
\includegraphic
in this way pdflatex only looks for the extension AFTER the curly braces close. I think this should be a pretty benign fix. I would love to create a patch if I had some guidance (never done it before, not very knowledgeable in programming)
Thanks for the report! If you want, have a look at https:/ /answers. launchpad. net/rednotebook /+faq/1980 and https:/ /answers. launchpad. net/rednotebook /+faq/1925 to find out how to create a patch. For this bug, you will have to edit the file rednotebook/ util/markup. py.