latex exporter in Pillar
Hi! I am currently investigating whether Pillar may be used for the AgileVisualization book. I am interested in exporting to PDF and Latex. I have tried the command: ./pillar export âto=latex first.pier > first.tex But the generated .tex file is not valid since it contains a line: -=-=-=-= \newcommand{\ct}[1]} -=-=-=-= Will this be fixed ? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Have you used the template files ? I used for my own book, took the files from Update Pharo By Example and it worked like a charm including creation CI job and even pushing the book to gitbook. Tex files, pdf files and MD files generated without any issues. Also working with Updated PBE I never had an issue with bad tex generation. On Wed, Sep 3, 2014 at 10:24 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!
I am currently investigating whether Pillar may be used for the AgileVisualization book. I am interested in exporting to PDF and Latex. I have tried the command:
./pillar export âto=latex first.pier > first.tex
But the generated .tex file is not valid since it contains a line: -=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
Will this be fixed ?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Alex, Could you describe the steps you took? Cheers, Doru On Wed, Sep 3, 2014 at 9:34 PM, kilon alios <kilon.alios@gmail.com> wrote:
Have you used the template files ? I used for my own book, took the files from Update Pharo By Example and it worked like a charm including creation CI job and even pushing the book to gitbook. Tex files, pdf files and MD files generated without any issues. Also working with Updated PBE I never had an issue with bad tex generation.
On Wed, Sep 3, 2014 at 10:24 PM, Alexandre Bergel <alexandre.bergel@me.com
wrote:
Hi!
I am currently investigating whether Pillar may be used for the AgileVisualization book. I am interested in exporting to PDF and Latex. I have tried the command:
./pillar export âto=latex first.pier > first.tex
But the generated .tex file is not valid since it contains a line: -=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
Will this be fixed ?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- www.tudorgirba.com "Every thing has its own flow"
Exactly what is described here: https://www.gitbook.io/book/damiencassou/pillar I simply replaced html by latex I am trying the template to see if this works. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Sep 4, 2014, at 1:19 AM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi Alex,
Could you describe the steps you took?
Cheers, Doru
On Wed, Sep 3, 2014 at 9:34 PM, kilon alios <kilon.alios@gmail.com> wrote: Have you used the template files ? I used for my own book, took the files from Update Pharo By Example and it worked like a charm including creation CI job and even pushing the book to gitbook. Tex files, pdf files and MD files generated without any issues. Also working with Updated PBE I never had an issue with bad tex generation.
On Wed, Sep 3, 2014 at 10:24 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote: Hi!
I am currently investigating whether Pillar may be used for the AgileVisualization book. I am interested in exporting to PDF and Latex. I have tried the command:
./pillar export âto=latex first.pier > first.tex
But the generated .tex file is not valid since it contains a line: -=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
Will this be fixed ?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- www.tudorgirba.com
"Every thing has its own flow"
On Wed, Sep 3, 2014 at 9:24 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
-=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
I know the problem. I think this is a bad interaction between the mustache template and LaTeX use of '}}'. The workaround for you would be to specify your own LaTeX template where all macros are in a dedicated external file (copy/paste what we do for the book from https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english/tre...). -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Hi Damien, It seems to work much better. Why Mustache reacts on {{ }} and not on {{{{ }}}} ? Is this possible? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Sep 4, 2014, at 3:03 AM, Damien Cassou <damien.cassou@gmail.com> wrote:
On Wed, Sep 3, 2014 at 9:24 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
-=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
I know the problem. I think this is a bad interaction between the mustache template and LaTeX use of '}}'.
The workaround for you would be to specify your own LaTeX template where all macros are in a dedicated external file (copy/paste what we do for the book from https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english/tre...).
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
I have discovered another problem. In my latex template I have: \chapter{{{{title}}}} In the produced .tex file, this lines becomes \chapter} This is a rather serious issue that prevents me from using Pillar :-( Is there a chance to see this fixed? Instead of {{{ ⦠}}} which heavily conflicts with Latex, can it be {-{ ⦠}-} instead ? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Sep 4, 2014, at 3:03 AM, Damien Cassou <damien.cassou@gmail.com> wrote:
On Wed, Sep 3, 2014 at 9:24 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
-=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
I know the problem. I think this is a bad interaction between the mustache template and LaTeX use of '}}'.
The workaround for you would be to specify your own LaTeX template where all macros are in a dedicated external file (copy/paste what we do for the book from https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english/tre...).
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Hi, I just tried to do the following: 1. I took the book skeleton https://github.com/pillar-markup/book-skeleton 2. I executed download.sh 3. I executed compile.sh This works out of the box. Could you point us more exactly to where the problem appears? Cheers, Doru On Fri, Sep 5, 2014 at 9:53 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
I have discovered another problem.
In my latex template I have:
\chapter{{{{title}}}}
In the produced .tex file, this lines becomes
\chapter}
This is a rather serious issue that prevents me from using Pillar :-( Is there a chance to see this fixed?
Instead of {{{ ⦠}}} which heavily conflicts with Latex, can it be {-{ ⦠}-} instead ?
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Sep 4, 2014, at 3:03 AM, Damien Cassou <damien.cassou@gmail.com> wrote:
On Wed, Sep 3, 2014 at 9:24 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
-=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
I know the problem. I think this is a bad interaction between the mustache template and LaTeX use of '}}'.
The workaround for you would be to specify your own LaTeX template where all macros are in a dedicated external file (copy/paste what we do for the book from
https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english/tre... ).
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
-- www.tudorgirba.com "Every thing has its own flow"
Yes, it works. I will use that template instead... Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Sep 7, 2014, at 5:10 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,
I just tried to do the following:
1. I took the book skeleton https://github.com/pillar-markup/book-skeleton
2. I executed download.sh
3. I executed compile.sh
This works out of the box.
Could you point us more exactly to where the problem appears?
Cheers, Doru
On Fri, Sep 5, 2014 at 9:53 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote: I have discovered another problem.
In my latex template I have:
\chapter{{{{title}}}}
In the produced .tex file, this lines becomes
\chapter}
This is a rather serious issue that prevents me from using Pillar :-( Is there a chance to see this fixed?
Instead of {{{ ⦠}}} which heavily conflicts with Latex, can it be {-{ ⦠}-} instead ?
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Sep 4, 2014, at 3:03 AM, Damien Cassou <damien.cassou@gmail.com> wrote:
On Wed, Sep 3, 2014 at 9:24 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
-=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
I know the problem. I think this is a bad interaction between the mustache template and LaTeX use of '}}'.
The workaround for you would be to specify your own LaTeX template where all macros are in a dedicated external file (copy/paste what we do for the book from https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english/tre...).
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
-- www.tudorgirba.com
"Every thing has its own flow"
How can I have a footnote? Alexandre On Sep 7, 2014, at 5:10 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,
I just tried to do the following:
1. I took the book skeleton https://github.com/pillar-markup/book-skeleton
2. I executed download.sh
3. I executed compile.sh
This works out of the box.
Could you point us more exactly to where the problem appears?
Cheers, Doru
On Fri, Sep 5, 2014 at 9:53 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote: I have discovered another problem.
In my latex template I have:
\chapter{{{{title}}}}
In the produced .tex file, this lines becomes
\chapter}
This is a rather serious issue that prevents me from using Pillar :-( Is there a chance to see this fixed?
Instead of {{{ ⦠}}} which heavily conflicts with Latex, can it be {-{ ⦠}-} instead ?
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Sep 4, 2014, at 3:03 AM, Damien Cassou <damien.cassou@gmail.com> wrote:
On Wed, Sep 3, 2014 at 9:24 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
-=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
I know the problem. I think this is a bad interaction between the mustache template and LaTeX use of '}}'.
The workaround for you would be to specify your own LaTeX template where all macros are in a dedicated external file (copy/paste what we do for the book from https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english/tre...).
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
-- www.tudorgirba.com
"Every thing has its own flow"
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
last time I asked footnotes were not supported by Pillar. However you can use Latex syntax to add a footnote. see section 3.9 here about using Latex syntax ---> https://www.gitbook.io/book/damiencassou/pillar and here is how to add footnotes in Latex ---> http://en.wikibooks.org/wiki/LaTeX/Footnotes_and_Margin_Notes On Wed, Sep 10, 2014 at 2:27 AM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
How can I have a footnote?
Alexandre
On Sep 7, 2014, at 5:10 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,
I just tried to do the following:
1. I took the book skeleton https://github.com/pillar-markup/book-skeleton
2. I executed download.sh
3. I executed compile.sh
This works out of the box.
Could you point us more exactly to where the problem appears?
Cheers, Doru
On Fri, Sep 5, 2014 at 9:53 PM, Alexandre Bergel < alexandre.bergel@me.com> wrote: I have discovered another problem.
In my latex template I have:
\chapter{{{{title}}}}
In the produced .tex file, this lines becomes
\chapter}
This is a rather serious issue that prevents me from using Pillar :-( Is there a chance to see this fixed?
Instead of {{{ ⦠}}} which heavily conflicts with Latex, can it be {-{ ⦠}-} instead ?
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Sep 4, 2014, at 3:03 AM, Damien Cassou <damien.cassou@gmail.com> wrote:
On Wed, Sep 3, 2014 at 9:24 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
-=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
I know the problem. I think this is a bad interaction between the mustache template and LaTeX use of '}}'.
The workaround for you would be to specify your own LaTeX template where all macros are in a dedicated external file (copy/paste what we do for the book from
https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english/tre... ).
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
-- www.tudorgirba.com
"Every thing has its own flow"
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Wed, Sep 10, 2014 at 1:27 AM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
How can I have a footnote?
you can't, I don't like footnotes (they disturb the reading). If you really want them in LaTeX, use Kilon's piece of advice. You can also add the feature to Pillar (with its tests and support for the other backends). -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Alex did you follow the description? Stef On 3/9/14 21:24, Alexandre Bergel wrote:
Hi!
I am currently investigating whether Pillar may be used for the AgileVisualization book. I am interested in exporting to PDF and Latex. I have tried the command:
./pillar export âto=latex first.pier > first.tex
But the generated .tex file is not valid since it contains a line: -=-=-=-= \newcommand{\ct}[1]} -=-=-=-=
Will this be fixed ?
Cheers, Alexandre
participants (5)
-
Alexandre Bergel -
Damien Cassou -
kilon alios -
stepharo -
Tudor Girba