-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,741 additions
and
1,738 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ __latexindent_temp.tex | |
.texpadtmp/ | ||
|
||
reference | ||
|
||
project-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,47 @@ | ||
ARGS = \ | ||
# basic | ||
|
||
BUILD = build | ||
|
||
all: | ||
mkdir -p $(BUILD) | ||
|
||
clean : | ||
rm -f $(BUILD)/* | ||
|
||
# pandoc args | ||
|
||
OPT-CITEPROC = \ | ||
--csl=acm-sig-proceedings.csl --citeproc \ | ||
|
||
OPT-PDF = \ | ||
--listings \ | ||
--template=template.tex \ | ||
--csl=acm-sig-proceedings.csl --citeproc \ | ||
--metadata-file default.yaml \ | ||
--pdf-engine=lualatex | ||
|
||
# -V 'mainfont:DejaVuSerif' \ | ||
# -V 'sansfont:DejaVuSans' \ | ||
# -V 'monofont:DejaVuSansMono' \ | ||
# -V 'mathfont:TeXGyreDejaVuMath-Regular' | ||
|
||
ARGS-INC = \ | ||
--filter pandoc-include \ | ||
$(ARGS) | ||
|
||
ARGS-HTML = \ | ||
ARGS-BASIC = \ | ||
--filter pandoc-include \ | ||
--listings \ | ||
--metadata-file default.yaml | ||
|
||
main-full : main-full.md | ||
pandoc $< -o build/$@.pdf $(ARGS) | ||
ARGS-HTML = \ | ||
$(OPT-CITEPROC) \ | ||
$(ARGS-BASIC) | ||
|
||
# `--filter` should be ahead of `--citeproc` | ||
main-outline : main-outline.md | ||
pandoc $< -o build/$@.pdf $(ARGS-INC) | ||
ARGS-PDF = \ | ||
$(ARGS-BASIC) \ | ||
$(OPT-CITEPROC) \ | ||
$(OPT-PDF) | ||
|
||
debug : main.md | ||
pandoc $< -o build/$@.tex $(ARGS-INC) | ||
pandoc $< -o build/$@.html $(ARGS-HTML) | ||
pandoc $< -o build/$@.pdf $(ARGS-INC) | ||
# projects | ||
|
||
clean : | ||
rm -f build/* | ||
demo : demo/main.md | ||
pandoc $< -o $(BUILD)/$@.pdf $(ARGS-PDF) --resource-path=demo | ||
|
||
# Not used | ||
# | ||
# -f markdown+implicit_header_references \ | ||
# -V 'mainfont:DejaVuSerif' \ | ||
# -V 'sansfont:DejaVuSans' \ | ||
# -V 'monofont:DejaVuSansMono' \ | ||
# -V 'mathfont:TeXGyreDejaVuMath-Regular' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# To-do | ||
|
||
- [ ] Try to use `algorithem2e`. | ||
- [ ] Read https://www.flutterbys.com.au/stats/tut/tut17.3.html | ||
- [ ] Test Definition list (See https://www.flutterbys.com.au/stats/tut/tut17.3.html) | ||
- [ ] Support custom languages in `listings` (See https://github.com/jgm/pandoc/issues/4116) | ||
- [ ] Testing embed latex with [--mathjax](https://pandoc.org/MANUAL.html#option--mathjax). | ||
- [ ] Inline code `example` in the caption of code block (See https://github.com/jgm/pandoc/issues/4846#issuecomment-414493096). | ||
- [ ] Section id referencing and generation `\ref`. | ||
- [ ] Bugfix: `lstinline` doesn't break at page boundary. | ||
- [ ] Bugfix: Unicode-to-latex cannot apply on inline code with only a leading unicode symbol, e.g. `∪` will result in `l.459 \passthrough{\lstinline!∪1!}` | ||
- [ ] Bugfix: using `-f gfm`, email in the template `\email{$author.email$}` will render as `\email{\href{mailto:weng@cs.jhu.edu}{\nolinkurl{weng@cs.jhu.edu}}}` (the correct result is `\email{weng@cs.jhu.edu}`). | ||
- [ ] explain more about `template.tex` | ||
- [ ] read author details from a separate file, instead of hardcode it (however, change the template is easier) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.