iamjakewarner / jdf Goto Github PK
View Code? Open in Web Editor NEWJoyner Document Format official
License: MIT License
Joyner Document Format official
License: MIT License
Per the text, JDF specifies references being organized alphabetically by first author’s last name, then by the date published. However, the jdf.cls specifies a sorting order of "ynt" (year, name, title), but to align with the text, it should be "nyt".
Not sure if this is helpful for anyone, but I was looking for a way to "install" this so I could use it for multiple classes instead of copy/pasting it places. Using Ubuntu 20.10 groovy with LatTeX workshop/VSCode. Ended up doing the following
Thanks for making this available, quite helpful for writing reports for my OMSCS classes
The references section of the sample pdf provided in the repo is blank. There should be 5 included references.
I git clone
https://github.com/iamjakewarner/jdf, and run the command pandoc ./jdf-starter.Rmd -o pandoc.pdf
, but the resulted PDF (attached) does no have the same formatting as the included PDF in the repo.
thanks for the project!
it would be nice to document the macOS install process for dependencies, like pdflatex
Hi @iamjakewarner, just wondering if this is intentional:
You can see there is a space after the first paren when citing multiple authors.
Hi - In the mac install instructions, it says brew install text-live-utility. It should say "tex" rather than "text".
error message:
output file: jdf-starter.knit.md
` ! Missing number, treated as zero.
(
l.194 ...columnwidth - 3\tabcolsep) * \real{0.15}}
\raggedright
Error: LaTeX failed to compile jdf-starter.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See jdf-starter.log for more info.
Execution halted `
see this error in my logs:
Package biblatex Warning: Field 'prefixnumber' deprecated. Please use 'labelprefix' instead.
it looks like it is related to this line:
https://github.com/iamjakewarner/jdf/blob/master/jdf.cls#L226
I'm using the jdf-template.pandoc
file to compile my markdown files into a PDF that follows the JDF format. However, I experience a CSLReferences undefined error when compiling using pandoc here:
└─▪ pandoc M1_Journal.md -o m1pdf.pdf --from markdown --template jdf-template.pandoc --bibliography=references.bib --csl=apa.csl --citeproc
Error producing PDF.
! LaTeX Error: Environment CSLReferences undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.70 \begin{CSLReferences}
For reference, here are my pandoc and pdflatex versions:
pandoc --version
pandoc 2.19
Compiled with pandoc-types 1.22.2, texmath 0.12.5.2, skylighting 0.13,
citeproc 0.8.0.1, ipynb 0.2, hslua 2.2.1
Scripting engine: Lua 5.4
User data directory: /Users/nhi/.local/share/pandoc
Copyright (C) 2006-2022 John MacFarlane. Web: https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
pdflatex --version
pdfTeX 3.141592653-2.6-1.40.24 (TeX Live 2022)
kpathsea version 6.3.4
Copyright 2022 Han The Thanh (pdfTeX) et al.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.37; using libpng 1.6.37
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.03
TeX was installed using MacTeX: https://tug.org/mactex/mactex-download.html .
The version on the left is the output from the RMarkdown / Quarto template. The version on the right is the docx version.
The fonts are inconsistent across both versions. I suspect the font in the Word doc (on the right) is the right one.
I tried to play with the following commands in JDF.cls, by changing them to the suggestions listed here :
But I'm still unsuccessful. Perhaps something to do with my OS (Mac/ Sonoma) Any help?
Hi @iamjakewarner, thanks for making this repo.
I'm running the following:
pdflatex jdf-starter && bibtex jdf-starter
and getting the following errors:
This is BibTeX, Version 0.99d (TeX Live 2019)
The top-level auxiliary file: jdf-starter.aux
I found no \citation commands---while reading file jdf-starter.aux
I found no \bibdata command---while reading file jdf-starter.aux
I found no \bibstyle command---while reading file jdf-starter.aux
(There were 3 error messages)
I was wondering if you've ever seen this before? Basically the citations and references aren't being generated properly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.