listings package

4 views
Skip to first unread message

Ramana

unread,
Apr 18, 2010, 5:04:31 AM4/18/10
to latex-makefile-discuss
I'm trying to get latex-makefile to recognize a dependency on file.ext
when I have

\usepackage{listings}

\lstinputlisting{file.ext}

in my document.tex file.

I tried putting

document.pdf : file.ext

and when that didn't work,

document.tex : file.ext

into the Makefile.ini, but it doesn't try to reLaTeX after file.ext is
touched.

What's the right way to do this?


--
Subscription settings: http://groups.google.com/group/latex-makefile-discuss/subscribe?hl=en

Chris Monson

unread,
Apr 19, 2010, 2:57:40 PM4/19/10
to latex-makef...@googlegroups.com
Interesting question!  I haven't had a lot of experience with this myself (using lstinputlisting), but you might try

document.aux: file.ext

That might just fix it.
Reply all
Reply to author
Forward
0 new messages