Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandoc + xelatex chocking on the \tightlist tex command. #9

Open
antoine-lizee opened this issue Sep 16, 2015 · 10 comments
Open

pandoc + xelatex chocking on the \tightlist tex command. #9

antoine-lizee opened this issue Sep 16, 2015 · 10 comments

Comments

@antoine-lizee
Copy link
Contributor

I get a

! Undefined control sequence.
l.227 \tightlist

which apparently comes from a "new" feature of pandoc that has not been integrated in the template. I will propose a PR modifying the template, but it asks the bigger question of maybe forking the default latex template to integrate the changes these guys make along the way.

@rougier
Copy link
Member

rougier commented Sep 17, 2015

The current latex template in ReScience could certainly be improved. I removed a lot of if/then/else statements mostly because I was discovering the pandoc tool and I may have break future compatibility.

What do you mean exactly by forking the latex template ? If you have a long-term solution in mind, that would be great.

@antoine-lizee
Copy link
Contributor Author

The pandoc default templates repo could be forked to make the basis of the template we're working on. We modify it in the forms of branches for instances, and then integrate the changes they make along the way.

@rougier
Copy link
Member

rougier commented Sep 17, 2015

But how do we link the ReScience-submission template to this branch then ?

@antoine-lizee
Copy link
Contributor Author

Not sure. We could use a submodule, or just have a different repo for the template itself, that we replace in the submission repo when it get changed.

@ThomasA
Copy link

ThomasA commented Sep 17, 2015 via email

@antoine-lizee
Copy link
Contributor Author

Yep, I'd go the route of a separate repo for the template alone - just not convinced about the submodule thing, which tends to break/be slightly complicated to maintain. Copy-paste-commit could be a good start.

@rougier
Copy link
Member

rougier commented Sep 18, 2015

And we have also the rmarkdown alternative proposal. Maybe we should start some experiments in a dedicated repository.

@antoine-lizee
Copy link
Contributor Author

+1
A branch might be enough though? That's what I did in my fork.

@eddelbuettel
Copy link
Member

Where is the rmarkdown proposal? I looked but failed to find it.

@antoine-lizee
Copy link
Contributor Author

cf ReScience/ReScience#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants