Two questions:<br><br>(1) Does someone else see the same (wrong) behavior on their installation? If so, then I can feel a little bit good that it is not just my configuration (and I can stop chasing down all the configuration files all over the place). How about with 2008?<br>
<br>(2) Running on Ubuntu 9.10. I have three TexLive installations, 7, 8, and 9 (that is 200X). The 2008 and 2009 were installed with install-tl (the appropriate version). It may be the case that I was wrong about the problem just manifesting. That is, I cannot find a version of the PDF that worked that was certainly produced with 2009 _or_ 2008. Thus I fall back on 2007 which is much less helpful in making fine tuning formatting decisions (adds 20 pages to a 500 page book). <br>
<br>(3) If I were not at the final layout stage this would not freak me out as much as it does. If someone else can make this work with 2K8 or 2K9, then I will beat my head against the problem and trace down the configuration. If the code does not work for another, then I will punt and fall back to 2K7.<br>
<br>Thanks in advance for any information.<br><br>-bcl<br><br><br><br><div class="gmail_quote">On Tue, Dec 15, 2009 at 4:24 AM, Ulrike Fischer <span dir="ltr"><<a href="mailto:news3@nililand.de">news3@nililand.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Am Mon, 14 Dec 2009 17:47:31 -0500 schrieb Brian C. Ladd:<br>
<div><div></div><div class="h5"><br>
> -----BEGIN PGP SIGNED MESSAGE-----<br>
> Hash: SHA1<br>
><br>
> I am not sure this is a TexLive question. Heck, I am not sure of anything right<br>
> now except that when I built the document 10 days ago listings.sty numbered the<br>
> listings correctly. Today, not so much.<br>
><br>
> Sample file: testing.tex<br>
> \documentclass{article}<br>
> \usepackage{listings}[2007/02/22]<br>
> % comment one<br>
> % comment two --- need to fill out the line count a little bit<br>
><br>
> \begin{document}<br>
> Testing<br>
> \lstinputlisting[numbers=left,linerange={3-4,7-8}]{testing.tex}<br>
> \end{document}<br>
><br>
><br>
> Output: xelatex testing.tex<br>
> Testing<br>
> 1 % comment one<br>
> 2 % comment two --- need to fill out the line count a little bit<br>
> 3 Testing<br>
> 4 \lstinputlisting[numbers=left,linerange={3-4,7-8}]{testing.tex}<br>
><br>
> The _lines_ are the right lines, extracted from the file. The line numbers, on<br>
> the other hand, are wrong. Using firstnumber=3 it is possible to get the first<br>
> group of numbers right.<br>
><br>
> I am using XeLaTeX (the real files are all fontified and such) but this sample<br>
> compiles and produces the same output for latex, pdflatex, and xelatex (didn't<br>
> try any other flavors).<br>
><br>
> What has changed in the last week? Nothing that I know of.<br>
<br>
</div></div>I don't think that anything has changed. _If_ it is possible to get<br>
the output you want the only place where you could have hide the<br>
code is a local listings.cfg. But I doubt that it is actually<br>
possible.<br>
<br>
<br>
<br>
--<br>
<font color="#888888">Ulrike Fischer<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Dr. Brian C. Ladd<br>Assistant Professor of Computer Science<br>SUNY Potsdam<br><a href="mailto:laddbc@potsdam.edu">laddbc@potsdam.edu</a><br>