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

[FR] writing journal papers with .jmd and weave #415

Open
drbenvincent opened this issue Mar 11, 2021 · 0 comments
Open

[FR] writing journal papers with .jmd and weave #415

drbenvincent opened this issue Mar 11, 2021 · 0 comments

Comments

@drbenvincent
Copy link

drbenvincent commented Mar 11, 2021

Seems like this FR is completely different from #332 (which is about markdown to html?), but is partially related to #185.

I am interested in a use case of writing full journal papers in .jmd format and weaving to pdf. I would obviously think so, because I want to do it, but I believe this would be a really cool addition to the Julia ecosystem.

From what I can tell there are a couple of things required:

Inline results

Apologies if I have missed this in the docs, but it would be extremely useful to be able to inline Julia variables (i.e. numbers or strings) into the markdown text. I have not been able to find any existing issues that relate to this. An example application would be referring to the results of a statistical calculation, but it would obviously be useful wherever you need to refer to the outputs of some computation in your paper.

EDIT: Sorry, my bad. Looks like this is possible. It is in the docs. Eg...

    ```julia
    my_pi = 3.12
    ```

The value of pi is `j my_pi`. Nice.

bibtex citations

As far as I can tell this is underway in #185, but has potentially stalled?

EDIT: In this repo there is an example paper with bibtex citations, but weaving doesn't seem to work at this point... citations not inserted into text, and references not placed in the reference section.

use of latex templates

I have no idea how complex this would be, but often journals require a certain template or style file. From my own area, many journals require APA formatting. From the world of RMarkdown, there is a package called papaja which allows you to specify that you would like your latex formatted according to the APA format. This would be the cherry on top, but is probably going to be an absolute requirement for submission, depending on how pedantic the journal is.

EDIT: Ok, looks like template functionality is in fact there (see docs), but the level of flexibility is not immediately clear at the moment.

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

1 participant