Hi Stef, 2017-11-01 8:11 GMT-03:00 Stephane Ducasse <stepharo.s...@gmail.com>: >> I wrote documentation for my packages in Markdown + pandoc + LaTeX. >> >> The TeX macros contains syntax colorization for Smalltalk code which >> can be easily added to Pillar (I suppose) >> Would you consider adding the syntax coloring from the TeX macros I sent to >> you? > > Sure now I'm not a latex expert and I want to keep dependencies to a minimum
Yes, LaTeX is complicated and ugly. > What you can do is > >> >> I have some silly questions about Pillar: >> >> The documents can be integrated with toc through pandoc, can this be >> done in Pillar? > > I do not understand what you mean here. > When creating PDF document with pandoc command line I use the parameter "--toc" to automatically create Table of Contents from the document titles and subtitles. For example from command line: pandoc --toc --latex-engine=xelatex --listings -H macros.tex BioSmalltalk.md -s -o BioSmalltalk.pdf I don't know if "toc" is supported in Pillar. As I understand a Pillar book can contain multiple chapters, but a chapter may include a table of contents on its own? >> For tables I use tabu, longtable, booktabs, what to use in Pillar? > In pillar you have > > | a column | a column | > Ok, what I mean is for example with the "longtabu" LaTeX package I can specify column width individually: \begin{longtabu} to \linewidth{X[1.5,l,m] X[.3,m] X[.3,m] X[.5,m] X[c,m] X[c,m] X[c,m]} And many other table spacing properties : https://en.wikibooks.org/wiki/LaTeX/Tables I guess to add more advanced features one should edit Pillar templates with archetype? >> For multiple language suppor I use fontspec and lmodern, what to use in >> Pillar? > > I do not know that. And what are the use. In pillar we have utf-8 > >> For link I use hyperref, what to use in Pillar? > > * * > I would love to have linkcolor, anchorcolor, citecolor, etc :) What I found is https://github.com/pillar-markup/Pillar-Archetype/blob/master/book/support/latex/common.tex So I could inject my own LaTeX styles/commands/sections in common.tex? Or should I go through PRLaTeXWriter? Then if you like it you may integrate into Pillar in the future? >> I have some chapters ready and I would love to be published in a book, >> under the umbrella of Pharo Books: >> >> https://github.com/hernanmd/Territorial/raw/master/Territorial.pdf >> http://biosmalltalk.github.io/web/doc/BioSmalltalk-1.0.pdf >> https://github.com/PhyloclassTalk/phyloclasstalk.github.io/raw/master/doc/PhyloclassTalk-1.0.pdf >> >> What do you think? > > Good! > now I would start simple in plain pillar and avoid as much as possible > to use specific latex function > and see if this is really a problem and then we can see if we need to > extend the latex template or pillar. > > Pillar is not latex. We want to keep agnostic about latex. > > Thanks for your comments Stef. Cheers, Hernán >> >> Cheers >> >> Hernán >> >> >> 2017-10-29 17:53 GMT-03:00 Stephane Ducasse <stepharo.s...@gmail.com>: >>> Hi guys >>> >>> I just published a new little booklet on Pharo tips and tricks! >>> Available at: http://books.pharo.org >>> >>> Feedback and contributions are welcome as usual. >>> >>> Stef >>> >> >