Re: [Pharo-dev] About PharoInProgress book
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. Maringolowrote: > 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 : > > 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 > > 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 : > >> > 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 for immediate help. > >> > ... > >> > > >> > l.40 \begin{listing} > >> > [language=smalltalk] > >> > Your command was ignored. > >> > Type Ito replace it with another command, > >> > orto 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 for immediate help. > >> > ... > >> > > >> > l.53 \end{listing} > >> > > >> > Your command was ignored. > >> > Type Ito replace it with another command, > >> > orto 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
Re: [Pharo-dev] About PharoInProgress book
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: > 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 > 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 : >> > 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 for immediate help. >> > ... >> > >> > l.40 \begin{listing} >> > [language=smalltalk] >> > Your command was ignored. >> > Type Ito replace it with another command, >> > orto 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 for immediate help. >> > ... >> > >> > l.53 \end{listing} >> > >> > Your command was ignored. >> > Type Ito replace it with another command, >> > orto continue without it. >> > >> > No file AWS.bbl. >> > >> > >> > > > > -- > Damien Pollet > type less, do more [ | ] http://people.untyped.org/damien.pollet > >
Re: [Pharo-dev] About PharoInProgress book
Super cool damien. Tx Le 3/5/16 à 20:17, Damien Pollet a écrit : I did the migration, now waiting for the CI to run a build. On my machine it looked fine. SBAbook is a LaTeX class I made for the Pharo books, that's what defines the new look of e.g. Enterprise Pharo On 3 May 2016 at 19:43, Esteban A. Maringolo> wrote: Hi Damien, Sorry, I don't know what SBABook is :) Who maintains the CI? Is it easily fixable? I could get TeX running locally following your advice, so I can build the book's PDFs on my own machine. I guess doing the same on the build slave should be as straightforward as that. Regards! Esteban A. Maringolo 2016-05-03 9:01 GMT-03:00 Damien Pollet >: > 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 > > 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 >: >> > 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 for immediate help. >> > ... >> > >> > l.40 \begin{listing} >> > [language=smalltalk] >> > Your command was ignored. >> > Type Ito replace it with another command, >> > orto 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 for immediate help. >> > ... >> > >> > l.53 \end{listing} >> > >> > Your command was ignored. >> > Type Ito replace it with another command, >> > orto 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
Re: [Pharo-dev] About PharoInProgress book
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> 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 >: > 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 for immediate help. > ... > > l.40 \begin{listing} > [language=smalltalk] > Your command was ignored. > Type Ito replace it with another command, > orto 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 for immediate help. > ... > > l.53 \end{listing} > > Your command was ignored. > Type Ito replace it with another command, > orto continue without it. > > No file AWS.bbl. > > -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet
Re: [Pharo-dev] About PharoInProgress book
Thanks Damien! It is working again. https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/101/changes Esteban A. Maringolo 2016-05-03 15:17 GMT-03:00 Damien Pollet: > I did the migration, now waiting for the CI to run a build. On my machine it > looked fine. > > SBAbook is a LaTeX class I made for the Pharo books, that's what defines the > new look of e.g. Enterprise Pharo > > On 3 May 2016 at 19:43, Esteban A. Maringolo wrote: >> >> Hi Damien, >> >> Sorry, I don't know what SBABook is :) >> Who maintains the CI? Is it easily fixable? >> >> I could get TeX running locally following your advice, so I can build >> the book's PDFs on my own machine. I guess doing the same on the build >> slave should be as straightforward as that. >> >> Regards! >> Esteban A. Maringolo >> >> >> 2016-05-03 9:01 GMT-03:00 Damien Pollet : >> > 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 >> > 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 : >> >> > 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 for immediate help. >> >> > ... >> >> > >> >> > l.40 \begin{listing} >> >> > [language=smalltalk] >> >> > Your command was ignored. >> >> > Type Ito replace it with another command, >> >> > orto 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 for immediate help. >> >> > ... >> >> > >> >> > l.53 \end{listing} >> >> > >> >> > Your command was ignored. >> >> > Type Ito replace it with another command, >> >> > orto 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
Re: [Pharo-dev] About PharoInProgress book
I did the migration, now waiting for the CI to run a build. On my machine it looked fine. SBAbook is a LaTeX class I made for the Pharo books, that's what defines the new look of e.g. Enterprise Pharo On 3 May 2016 at 19:43, Esteban A. Maringolowrote: > Hi Damien, > > Sorry, I don't know what SBABook is :) > Who maintains the CI? Is it easily fixable? > > I could get TeX running locally following your advice, so I can build > the book's PDFs on my own machine. I guess doing the same on the build > slave should be as straightforward as that. > > Regards! > Esteban A. Maringolo > > > 2016-05-03 9:01 GMT-03:00 Damien Pollet : > > 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 > > 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 : > >> > 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 for immediate help. > >> > ... > >> > > >> > l.40 \begin{listing} > >> > [language=smalltalk] > >> > Your command was ignored. > >> > Type Ito replace it with another command, > >> > orto 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 for immediate help. > >> > ... > >> > > >> > l.53 \end{listing} > >> > > >> > Your command was ignored. > >> > Type Ito replace it with another command, > >> > orto 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
Re: [Pharo-dev] About PharoInProgress book
Hi Damien, Sorry, I don't know what SBABook is :) Who maintains the CI? Is it easily fixable? I could get TeX running locally following your advice, so I can build the book's PDFs on my own machine. I guess doing the same on the build slave should be as straightforward as that. Regards! Esteban A. Maringolo 2016-05-03 9:01 GMT-03:00 Damien Pollet: > 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 > 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 : >> > 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 for immediate help. >> > ... >> > >> > l.40 \begin{listing} >> > [language=smalltalk] >> > Your command was ignored. >> > Type Ito replace it with another command, >> > orto 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 for immediate help. >> > ... >> > >> > l.53 \end{listing} >> > >> > Your command was ignored. >> > Type Ito replace it with another command, >> > orto continue without it. >> > >> > No file AWS.bbl. >> > >> > >> > > > > -- > Damien Pollet > type less, do more [ | ] http://people.untyped.org/damien.pollet
Re: [Pharo-dev] About PharoInProgress book
See https://github.com/SquareBracketAssociates/PharoInProgress/issues/24 On 3 May 2016 at 14:01, Damien Polletwrote: > 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 > 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 : >> > 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 for immediate help. >> > ... >> > >> > l.40 \begin{listing} >> > [language=smalltalk] >> > Your command was ignored. >> > Type Ito replace it with another command, >> > orto 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 for immediate help. >> > ... >> > >> > l.53 \end{listing} >> > >> > Your command was ignored. >> > Type Ito replace it with another command, >> > orto 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
Re: [Pharo-dev] About PharoInProgress book
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. Maringolowrote: > 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 : > > 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 for immediate help. > > ... > > > > l.40 \begin{listing} > > [language=smalltalk] > > Your command was ignored. > > Type Ito replace it with another command, > > orto 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 for immediate help. > > ... > > > > l.53 \end{listing} > > > > Your command was ignored. > > Type Ito replace it with another command, > > orto continue without it. > > > > No file AWS.bbl. > > > > > > -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet
Re: [Pharo-dev] About PharoInProgress book
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: > 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 for immediate help. > ... > > l.40 \begin{listing} > [language=smalltalk] > Your command was ignored. > Type Ito replace it with another command, > orto 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 for immediate help. > ... > > l.53 \end{listing} > > Your command was ignored. > Type Ito replace it with another command, > orto continue without it. > > No file AWS.bbl. > >
[Pharo-dev] About PharoInProgress book
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 for immediate help. ... l.40 \begin{listing} [language=smalltalk] Your command was ignored. Type Ito replace it with another command, orto 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 for immediate help. ... l.53 \end{listing} Your command was ignored. Type Ito replace it with another command, orto continue without it. No file AWS.bbl.