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

LaTeX feature requests #14

Open
Kwpolska opened this issue Dec 2, 2013 · 5 comments
Open

LaTeX feature requests #14

Kwpolska opened this issue Dec 2, 2013 · 5 comments
Milestone

Comments

@Kwpolska
Copy link

Kwpolska commented Dec 2, 2013

  1. The Latin Modern (and the original Computer Modern) fonts have a very ugly monospace font. Use \usepackage{DejaVuSansMono}, alternatively \usepackage{beramono}* if DVSM does not exist; if none work you need to install the DejaVuSansMono (or dejavu) package.
  2. Please install the upquote package, as lines 7 and 8 suggest to have stuff in look better. Even if you have it, please also revise quotes (both " and ') in your code; for example the Hello World uses fancy Unicode quotes and does not run under any Python!
  3. I hope you will work on the “final” version of the book in LaTeX itself and not in Markdown (which is a very unpythony choice anyways). I can offer some LaTeX advice if needed.

* some people suggest \usepackage[scaled]{beramono}

@rpicard
Copy link
Owner

rpicard commented Dec 2, 2013

Thanks for the feedback.

I haven't played much with fonts yet, so I appreciate the feedback. Same goes with quote stuff.

I probably won't move to a LaTeX only workflow; I think it would serve as a barrier to entry to people reading the source (myself included). I get what you're saying about Markdown being unpythonic, but it was the only choice with the editors I used to draft the content. I haven't been able to find a nice RST based editor.

I'm going to mark this for milestone 1.0 to make sure I cover this before the final release.

@rpicard
Copy link
Owner

rpicard commented Dec 2, 2013

I'm totally open to hearing opinions in favor of switching to LaTeX though!

@Kwpolska
Copy link
Author

Kwpolska commented Dec 2, 2013

I did not want you to go LaTeX-only now, just in the very last phase, in v1.0, in order to tweak things.

PS. in order to convince you to use a better font: 0* and O in LMM cannot be distinguished if you do not know what it was meant to say, and then O is closer to a rectangle than a 0. (just like in courier new.)

* zero, oh, oh, zero.

@rpicard
Copy link
Owner

rpicard commented Dec 2, 2013

I see what you're saying. That's definitely an option.

With regards to fonts, you don't have to convince me! I'm all about clear and attractive typography. I intend to make this a very well set book. :)

@Kwpolska
Copy link
Author

Kwpolska commented Dec 2, 2013

well, you might as well get your hands on a copy of Hoefler Text (included with OS X) or Garamond (not quite), use XeLaTeX (to have “system”/ttf,otf,…/non-LaTeX fonts) and use the desired font in the book.

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

2 participants