2016-11-07 23:47 GMT+01:00 Damien Pollet <[email protected]>: > On 7 November 2016 at 23:03, Nicolai Hess <[email protected]> wrote: > >> I look at the pdf for the update PBE and the references to code example >> don't >> work (just show ??, it works for figures). >> > > Could be that the reference or label simply don't match… > > >> The code in the code example isn't highlight and >> does't have a dark background (as it is in the html output). >> > > Don't expect PDF and HTML to look the same. Pillar does its job at a > semantic level, not at form level. Both have their own independent way of > styling stuff. For LaTeX it relies on a specific document class setup, > including some macros to have a layer of decoupling between pillar's output > and what some packages offer. The listing environment you're mentioning is > an example; I haven't looked at pre-EnterprisePharo books in a while, but > it should indeed just be defined as an alias to the lstlisting provided by > listings.sty. > > BTW I'd recommend migrating the books to the EnterprisePharo layout… but > that requires being somehow versed in the dark arts of LaTeX and ready to > spend a couple days checking for problems and matching format conventions… >
Hi Damien, I don't see how the layout from the EnterprisePharo could do labeled listings we could ref from the text. May it be that this is just not possible ? > > -- > Damien Pollet > type less, do more [ | ] http://people.untyped.org/damien.pollet >
