You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was compiling HTML from markdown using pandoc with the --citeproc option, and I noticed that the bibliography looked bad (basically because there's no hanging indent).
Here is an example with tufte-pandoc-css
Compare to the following (with the default css), it's clear that the lack of hanging indent makes it pretty unreadable.
This seems to be caused by the fact that no classes such as div.csl-entry are defined in tufte-css, or in the additional css files in this repo.
I hacked together a quick fix by copying things from the default css. This is what I added:
This is better. But, a more comprehensive fix would be needed to make this work with arbitrary CSLs, I think (I'm just using the default Chicago author-year CSL, ones that make numbered references (e.g. Springer, or IEEE) would need additional attention.) Am I missing something, and is this fix not needed? Is fixing this something within the scope of this project?
(Also, This repo is great. Thanks for putting it up!)
The text was updated successfully, but these errors were encountered:
Ok. I just made a pull request here #6 (comment) with this addition. It doesn't provide complete support (I've only tested it with the default chicago-author-date style), but it should work for people who just use the default settings which is better than nothing :).
I was compiling HTML from markdown using pandoc with the
--citeproc
option, and I noticed that the bibliography looked bad (basically because there's no hanging indent).Here is an example with tufte-pandoc-css
Compare to the following (with the default css), it's clear that the lack of hanging indent makes it pretty unreadable.
This seems to be caused by the fact that no classes such as
div.csl-entry
are defined in tufte-css, or in the additional css files in this repo.I hacked together a quick fix by copying things from the default css. This is what I added:
to get the following
This is better. But, a more comprehensive fix would be needed to make this work with arbitrary CSLs, I think (I'm just using the default Chicago author-year CSL, ones that make numbered references (e.g. Springer, or IEEE) would need additional attention.) Am I missing something, and is this fix not needed? Is fixing this something within the scope of this project?
(Also, This repo is great. Thanks for putting it up!)
The text was updated successfully, but these errors were encountered: