Science.md icon indicating copy to clipboard operation
Science.md copied to clipboard

how to wirte template for any journal?

Open meflyup opened this issue 8 years ago • 3 comments

is there any guide? thanks.

meflyup avatar Feb 18 '17 08:02 meflyup

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 avatar Feb 18 '17 12:02 mschroen

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.

mschroen avatar Feb 18 '17 12:02 mschroen

thanks ,I'll try following the guide.

meflyup avatar Mar 02 '17 03:03 meflyup