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

how to wirte template for any journal? #3

Open
meflyup opened this issue Feb 18, 2017 · 3 comments
Open

how to wirte template for any journal? #3

meflyup opened this issue Feb 18, 2017 · 3 comments

Comments

@meflyup
Copy link
Contributor

meflyup commented Feb 18, 2017

is there any guide? thanks.

@mschroen
Copy link
Owner

Using templates is easy and straight forward, as it only requires a template file in release/templates/ (e.g. journal-xyz.tex and changing the corresponding line --template templates/journal-xyz.tex in the pandoc call in the Makefile. This also works with html or docx templates, ofcourse.

Generating a template requires a few minutes. Either use the default template pandoc.tex and change it, or add a complete journal template. You'll need to add certain placeholders in the template code which can be copy-and-pasted from pandoc.tex, e.g. the section with the author list that starts with $if(author)$.

I already adapted journal templates from AGU and Copernicus and even created a thesis template working with Science.md. They are to be uploaded soon. It'll be great if the community could help providing working templates for all kinds of journals here.

@mschroen
Copy link
Owner

Just to add, writing Science.md templates essentially boils down to writing pandoc templates. They have a guide here. Nevertheless, it'll be great if people could help writing a more specific guide for Science.md.

@meflyup
Copy link
Contributor Author

meflyup commented Mar 2, 2017

thanks ,I'll try following the guide.

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

No branches or pull requests

2 participants