File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
tests/docs/smoke-all/2025/03/27 Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ function Pandoc (doc )
2
+ assert (quarto .doc .pdf_engine () == " xelatex" , " `quarto.doc.pdf_engine()` should be xelatex but is instead: " .. quarto .doc .pdf_engine ())
3
+ assert (quarto .doc .cite_method () == " natbib" , " `quarto.doc.cite_method()` should return natbib but return instead: " .. (quarto .doc .cite_method () or ' unset' ))
4
+ return doc
5
+ end
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : testing Lua API value for latex
3
+ format :
4
+ latex :
5
+ pdf-engine : xelatex
6
+ cite-method : natbib
7
+ references :
8
+ - type : article-journal
9
+ id : WatsonCrick1953
10
+ author :
11
+ - family : Watson
12
+ given : J. D.
13
+ - family : Crick
14
+ given : F. H. C.
15
+ issued :
16
+ date-parts :
17
+ - - 1953
18
+ - 4
19
+ - 25
20
+ title : ' Molecular structure of nucleic acids: a structure for
21
+ deoxyribose nucleic acid'
22
+ title-short : Molecular structure of nucleic acids
23
+ container-title : Nature
24
+ volume : 171
25
+ issue : 4356
26
+ page : 737-738
27
+ DOI : 10.1038/171737a0
28
+ URL : https://www.nature.com/articles/171737a0
29
+ language : en-GB
30
+ filters :
31
+ - 12299-1.lua
32
+ ---
33
+
34
+
You can’t perform that action at this time.
0 commit comments