Skip to content

Commit

Permalink
appendix not ready
Browse files Browse the repository at this point in the history
  • Loading branch information
wjschne committed Mar 16, 2024
1 parent 4912a02 commit 110fc83
Show file tree
Hide file tree
Showing 8 changed files with 254 additions and 226 deletions.
4 changes: 0 additions & 4 deletions _extensions/apaquarto/_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ contributes:
fig-width: 6.5
fig-height: 6.5
filters:
- at: pre-ast
path: appendix.lua
- at: pre-ast
path: apalanguage.lua
- at: pre-ast
path: crossrefprefix.lua
- at: pre-ast
path: apafloatstoend.lua
- at: pre-ast
Expand Down
3 changes: 1 addition & 2 deletions _extensions/apaquarto/apaafternote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ function Pandoc(doc)

if doc.blocks[i].attributes["custom-style"] == "FigureWithoutNote" then
doc.blocks[i+1] = makeafternote(doc.blocks[i+1])
--print(makeafternote(doc.blocks[i+1]))

end

if doc.blocks[i].identifier:find("^tbl%-") then
doc.blocks[i+1] = makeafternote(doc.blocks[i+1])
end
Expand Down
4 changes: 2 additions & 2 deletions _extensions/apaquarto/apacaption.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ end
-- Format caption
local caption_formatter = function(p)
if pandoc.utils.stringify(p.content[1]) == figureword or pandoc.utils.stringify(p.content[1]) == tableword then
--print(p.content[1])

local figuretitle = pandoc.Para({})
local figurecaption = pandoc.Para({})

local intStart = 0
--print(p.content)

for i, v in ipairs(p.content) do
if i > intStart and i < intStart + 4 then

Expand Down
3 changes: 0 additions & 3 deletions _extensions/apaquarto/appendix.lua
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
function Cite (ct)
print(ct)
end
3 changes: 3 additions & 0 deletions apaquarto.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

/*-- scss:rules --*/

p code:not(.sourceCode), li code:not(.sourceCode), td code:not(.sourceCode) {
background: white;
}
432 changes: 221 additions & 211 deletions docs/options.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

29 changes: 26 additions & 3 deletions options.qmd

Large diffs are not rendered by default.

0 comments on commit 110fc83

Please sign in to comment.