Listings can be floating (like figures) or not; I'd still recommend to float the larger ones, especially if you want to refer to them from several places, because for those, you need a number/caption and an entry in the list of illustrations. Floating is more or less independent from the label and caption, but IMHO it makes more sense.
I'm not sure of the details, but maybe you'll have to update how you marked them up in Pillar to work as needed with the new LaTeX class. Check the pillar chapter or its readme file on github. On 6 May 2016 at 04:27, Esteban A. Maringolo <emaring...@gmail.com> wrote: > Damien: > > One thing I noticed with the new PDF rendering is that the code > listings does not appear in the order they are in the Pillar file, so > I can't be sure that a code block will follow a certain paragraph, > hence I can't say "in the following example code", because the example > might have appeared three paragraphs ago. > > Can that be avoided? And if not... how can I "link" or add a reference > to such code block? > > Regards! > > Esteban A. Maringolo > > > 2016-05-04 4:14 GMT-03:00 stepharo <steph...@free.fr>: > > Yes this is on my todo. > > > > > > Le 3/5/16 à 14:01, Damien Pollet a écrit : > > > > The interns updated the stable release of Pillar; there is a mention of > the > > listings package in the log, which suggests that pillar outputs TeX code > for > > the new sbabook class instead of the old one. That should be fixable by > > finding the correct version of Pillar to use, but the correct long-term > fix > > is to migrate to sbabook. > > > > On 27 April 2016 at 22:28, Esteban A. Maringolo <emaring...@gmail.com> > > wrote: > >> > >> I sent an email this morning about this issue, apparently it has to do > >> with a missing font. > >> > >> Esteban A. Maringolo > >> > >> > >> 2016-04-27 16:50 GMT-03:00 stepharo <steph...@free.fr>: > >> > Hi > >> > > >> > I tried to fix the build on jenkins but I failed. I do not know how to > >> > fix > >> > it. > >> > > >> > I do not know how to fix. Probably the changes in Pillar broke it. > >> > > >> > Now since Damien will quit our team, I wonder what will be the future > of > >> > pillar, may be markdown and for me LaTeX > >> > > >> > Stef > >> > > >> > > >> > > >> > ./AWS.tex:40: LaTeX Error: Environment listing undefined. > >> > > >> > See the LaTeX manual or LaTeX Companion for explanation. > >> > Type H <return> for immediate help. > >> > ... > >> > > >> > l.40 \begin{listing} > >> > [language=smalltalk] > >> > Your command was ignored. > >> > Type I <command> <return> to replace it with another command, > >> > or <return> to continue without it. > >> > > >> > > >> > ./AWS.tex:53: LaTeX Error: \begin{document} ended by \end{listing}. > >> > > >> > See the LaTeX manual or LaTeX Companion for explanation. > >> > Type H <return> for immediate help. > >> > ... > >> > > >> > l.53 \end{listing} > >> > > >> > Your command was ignored. > >> > Type I <command> <return> to replace it with another command, > >> > or <return> to continue without it. > >> > > >> > No file AWS.bbl. > >> > > >> > > >> > > > > > > > > -- > > Damien Pollet > > type less, do more [ | ] http://people.untyped.org/damien.pollet > > > > > > -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet