Hung
2a3e48c407
Strip backslash from hugo shortcode and square bracket
6 years ago
Rohit Goswami
0cf3965cd4
cite: Fix math
6 years ago
Rohit Goswami
2e4b9dd6fa
citation: Simplify further for all pandoc versions
6 years ago
Rohit Goswami
aeb5773757
citations: Update RegExp
6 years ago
Kaushal Modi
703823f827
Don't allow shortcodes to wrap over multiple lines
...
Pandoc auto-wraps the re-written Markdown. While I like this behavior
in general, it breaks the Hugo parsing as it does not allow newlines
between the "{{<" and ">}}" chars in shortcodes.
Actual fix for https://github.com/kaushalmodi/ox-hugo/issues/191 .
8 years ago
Kaushal Modi
370d60df0c
Add check that pandoc-citeproc is installed too
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/191#issuecomment-414129378
8 years ago
Kaushal Modi
c7f19a3ca3
Fix removal of escapes from figure shortcodes
...
Fixes the case where the figure shortcode spans over multiple lines.
Fixes https://github.com/kaushalmodi/ox-hugo/issues/191 .
Also fix the time zone in the date stamp for test to pass over Travis
CI.
8 years ago
Kaushal Modi
598a4d8822
Don't make Pandoc convert HTML spans to Pandoc style classes
...
Use -bracketed_spans
Fixes https://github.com/kaushalmodi/ox-hugo/issues/191 .
8 years ago
Kaushal Modi
f225884e26
Remove unnecessary file-truename step
...
The --bibliography file names are always relative to the directory
containing the Org file.
8 years ago
Kaushal Modi
b7e04248bf
Fix error when using #+bibliography keyword instead of property
8 years ago
Kaushal Modi
00a6794684
Fix fenced code blocks in Pandoc output
8 years ago
Kaushal Modi
03f7fa45f7
Support Pandoc link-citations meta-data; add test
...
Ref: https://github.com/kaushalmodi/ox-hugo/issues/177
8 years ago
Kaushal Modi
c8770f4bdb
Disable Pandoc fenced divs, now allowing ox-hugo inserted HTML divs
...
This also drastically reduced the Pandoc output cleanup complication.
8 years ago
Kaushal Modi
4e4e7d21d4
Use HTML class instead of id for "references"
8 years ago
Kaushal Modi
eaaed01f6b
Make Pandoc output Markdown footnote style consistent with ox-hugo
8 years ago
Kaushal Modi
38775bdb5d
Don't require ox-hugo-pandoc-cite unless Pandoc parsing is enabled
8 years ago
Kaushal Modi
b78ddba898
Restore Ox-hugo exported Markdown file if Pandoc output has no refs
8 years ago
Kaushal Modi
bb6575b0e1
Show an alert message if Pandoc run buffer is not empty
8 years ago
Kaushal Modi
6c94396a61
Don't run Pandoc at all if neither nocite nor citation keys present
8 years ago
Kaushal Modi
b06185716e
Make Pandoc first output to a temp file; contents are copied later
8 years ago
Kaushal Modi
cb2558b65a
Fix case where citations are enabled, but no citations exist
8 years ago
Kaushal Modi
e62cc259d2
Make Pandoc export to Blackfriday compatible Markdown table
...
Thanks to Daniel Stall from
https://groups.google.com/d/msg/pandoc-discuss/PvMKmgVeO3w/oqP6mKHoAgAJ
Add "-simple_tables+pipe_tables" to "-t markdown-citations".
8 years ago
Kaushal Modi
393b20992b
Throw user-error if pandoc run fails
...
Also refactor the functions/vars in ox-hugo-pandoc-cite.el: ox-hugo ->
org-hugo.
8 years ago
Kaushal Modi
3dcec7e27e
Don't force the final front-matter to YAML because of Pandoc
8 years ago
Kaushal Modi
3d590d0525
Print the full pandoc command in Messages
8 years ago
Kaushal Modi
96d13b1b96
Convert the Pandoc inserted ":::" to more sensible div wrappers
8 years ago
Kaushal Modi
db1025c8b0
Apparently the "--filter pandoc-citeproc" is redundant here
8 years ago
Kaushal Modi
f2c1ab9520
More fixing of Pandoc output
8 years ago
Kaushal Modi
ac22a16a07
Replace pandoc ref ID's to HTML ID's
8 years ago
Kaushal Modi
c4251abb78
Delete lines matching "^:::$"
8 years ago
Kaushal Modi
a17c136f6c
Fix Pandoc butchering the Hugo shortcodes
8 years ago
Kaushal Modi
e94c9d54b2
Don't use Pandoc inserted meta-data
...
Pandoc introduced its citations related meta-data like bibliography
and nocite which I did not prefer for few reasons:
1. It leaks full paths of the user's bibliography files in public.
2. Those meta-data fields are not needed by Hugo.
3. I like my style of YAML list fields better, it's more concise, and
consistent with the YAML front-matter of non-Pandoc-Citation posts.
8 years ago
Kaushal Modi
eb85f26d78
Move Pandoc Citation code to ox-hugo-pandoc-cite.el
8 years ago