Package: texmaker
Version: 1.6-1
Severity: normal
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch patch
When I click on one of the three functions to include a file (Latex
Menu/ include-input-includegraphics), a file chooser window is opened,
and when I select a file to include its path is not reported correctly,
for example:
My master document is ~/projects/document.tex
If i choose to include the image ~/projects/images/picture.png, the
program generates the output \includegraphics{picture.png} while the
correct string should be \includegraphics{images/picture.png}.
I attached a very simple patch that calculate the relative path between
the document and the file being included (I found the algorithm from
Kile's sources).
This bug has been originally reported in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/texmaker/+bug/186137
A patch is available here:
http://launchpadlibrarian.net/11576109/texmaker.patch
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]