AllenDowney / plastex-oreilly

Branch of plastex that generates DocBook 4.5 that meets O'Reilly style guidelines.
7 stars 7 forks source link

plastex does not play nicely with Mac text files #18

Open AllenDowney opened 12 years ago

AllenDowney commented 12 years ago

Files encoded with Mac line endings cause plastex to quietly ignore the contents of the input file and fail to generate output.

For now I am working around this by converting the input files, but this would be good to fix.

Also, plastex cannot handle smart quotes and apostrophes generated by Macs. I'm not sure these are legal LaTeX in the first place, so maybe plastex shouldn't handle them.

AllenDowney commented 12 years ago

Now that we have preprocess.py, I will add code to clean up Mac text.

AllenDowney commented 12 years ago

Well, I added some code to preprocess.py, but getting it working will take more effort than I think this issue is worth, so I am punting for now.