Skip to content

Commit

Permalink
Merge pull request #54 from openjournals/jats-folder
Browse files Browse the repository at this point in the history
Use folder "jats" instead of "paper.jats"
  • Loading branch information
xuanxu authored May 15, 2024
2 parents b40cfbd + 5688ea9 commit 44073e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/custom/jats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function Writer (doc, opts)
return img
end
}
pandoc.mediabag.write('paper.jats')
pandoc.mediabag.write('jats')
return pandoc.write(doc, 'jats_publishing+element_citations', opts)
end

Expand Down
2 changes: 1 addition & 1 deletion data/defaults/jats.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
to: jats.lua
output-file: paper.jats/paper.jats
output-file: jats/paper.jats


filters:
Expand Down
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ for format in $(printf "%s" "$outformats" | sed -e 's/,/ /g'); do
extra_args=
if [ "$format" = "jats" ]; then
[ "$verbosity" -gt 0 ] && printf 'Creating folder "paper.jats"\n'
mkdir -p "paper.jats"
mkdir -p "jats"
fi

# Note that the output file must be defined in the format's defaults file.
Expand Down

0 comments on commit 44073e6

Please sign in to comment.