RelaxedJS / ReLaXed-examples

Example projects for ReLaXed, the PDF edition framework: letter, slide, poster, report, and more.
ISC License
428 stars 64 forks source link

how to do automated reference in paper? #4

Open abbychau opened 6 years ago

abbychau commented 6 years ago

how to do automated reference in paper(for example, built on paper template)?

ojn commented 6 years ago

I might be wrong but you should be able to generate references with your Markdown tools of choice, then have pug import your md text and ref files at the right places.

Using markdown-it: https://pugjs.org/language/filters.html

and https://pugjs.org/language/includes.html

I haven't tried that since I usually prefer asciidoctor which has built it reference handling.

@Zulko Surely there might be a better i.e automated way?

@abbychau Maybee this could help if you use Atom and Zotero: https://atom.io/packages/zotero-citations (have no idea how relaxed would handle it though)

abbychau commented 6 years ago

I actually don't mind if the way works in pug or html or markdown. just to see if there is suggested automated way for relaxed from you guys.

mcrone commented 4 years ago

Has this been updated at all? I'm interested in exploring this approach for a thesis, rather than using Tex which I am very familiar with. A complete thesis in html would also be interesting, given new interactive plotting libraries such as plotly.js. Obviously references are a vital part of this.

Zulko commented 4 years ago

I would not recommend using ReLaXed for a full thesis at this point, it lacks essential features like table of content, inter-section references and I am not sure how well the citations currently work. To give you ideas, I use ReLaXed for:

mcrone commented 4 years ago

I'm more looking to the future (I'll only be writing up in three years). HTML is an attractive new medium so I'm just trying to get an idea of what will be worth learning in the near future because as with anything there is a bit of a learning curve. I'm quite a fan of your work @Zulko, especially the DNA foundry stuff.

Zulko commented 4 years ago

Thanks! One nice standard for writing both HTML pages and PDF documents is Markdown with plugins (I really like Markdown Preview Enhanced for instance). ReLaXed with HTML/Pug becomes more useful if you need finer control over layout and styles.