dependency parsing error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rubber |
Fix Released
|
High
|
Unassigned |
Bug Description
The lstinputlisting files are incorrectly parsed when you put a latex comment (%) after options. You can view a sample tex file producing error on:
https:/
When you run:
$ rubber -pdf -vv lst-depends-
This is Rubber version 1.1.
parsing /home/david/
built-in module listings registered
dependencies: ['/home/
built-in module dvips registered
built-in module ps2pdf registered
'%' does not exist
There were errors compiling lst-depends-
'%' is parsed and procesed as a file name.
A simple Q&D patch for file "src/latex_
def hook_input (loc, opt, file):
> if file.strip(' ') in ['%', '\n']:
> return
>
if file.find('\\') < 0 and file.find('#') < 0:
doc.add_
Cheers
Changed in rubber: | |
milestone: | 1.3 → none |
status: | Fix Committed → Fix Released |
Thank you, I can reproduce this. Too later for 1.2, however, this will go into the next release.