Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The momogenmo Treasury of n-plus Literature . . . #121

Open
spenteco opened this issue Nov 24, 2016 · 3 comments
Open

The momogenmo Treasury of n-plus Literature . . . #121

spenteco opened this issue Nov 24, 2016 · 3 comments

Comments

@spenteco
Copy link

spenteco commented Nov 24, 2016

. . . is done!

The output is on my website, and I've pushed the code to a github repo, which also contains my notes on the process, etc.

There is also a messy list of the documents not linked to from my site, which offers a way to quickly see what texts are in the, uhm, Treasury, along with information about each text's size and the degree to which it is was transformed by the process.

@ikarth
Copy link

ikarth commented Nov 24, 2016

On formatting Greek in pdflatex: I ran into this issue last year, since my novel had frequent quotes in Latin and Greek. I'd have to go back and test it to be sure, but I believe the key was to add a command in the .latex template:

\newcommand\rendergreek[1]{\fontspec{GFS Bodoni}\selectlanguage{greek}#1\selectlanguage{english}}

and to include -V otherlangs=polutonikogreek,greek in my Pandoc arguments. Greek sections were then surrounded by the \rendergreek{} command, like so: \rendergreek{ζυγά}. (Which was the only part where I had to alter the generator's output to get the greek rendering to work. And wasn't strictly necessary.)

@spenteco
Copy link
Author

spenteco commented Nov 28, 2016 via email

@ikarth
Copy link

ikarth commented Nov 28, 2016

The hardest part is getting LaTeX to use a Greek font. You'll probably have to switch from pdflatex to xelatex, since that has much better non-Latin-character unicode support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants