SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-12-06 12:27:08

gensym
#! Junkie
Registered: 2011-10-17
Posts: 447

LaTeX to Epub

Hello,

If you are student who owns an ebook reader (...which can't make a good job of displaying pdfs) and takes his/her lecture notes in tex this might be a particularly useful thing to know:

#!/bin/sh
#source: http://tex.stackexchange.com/questions/1551/use-latex-to-produce-epub
latexml --dest=$1.xml $1.tex
latexmlpost -dest=$1.html $1.xml
ebook-convert $1.html $1.epub --language en --no-default-epub-cover

Depends on latexml and calibre.


'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}

Offline

Help fund CrunchBang, donate to the project!

#2 2012-12-06 13:58:34

junkie
#! Junkie
Registered: 2012-05-04
Posts: 370

Re: LaTeX to Epub

Sweet deal gensym. Thanks!

Offline

#3 2012-12-07 18:25:21

MrPink
#! CrunchBanger
From: .dk
Registered: 2011-06-28
Posts: 213

Re: LaTeX to Epub

I write my papers in LaTeX, but why use it for notetaking?

Offline

#4 2012-12-07 18:38:03

junkie
#! Junkie
Registered: 2012-05-04
Posts: 370

Re: LaTeX to Epub

The pure geek aesthetic of it! I don't even read the notes.

# funny side story
I actually saw someone in my science class using Faceb##k's note thingy for taking notes...

Last edited by junkie (2012-12-07 18:44:33)

Offline

#5 2012-12-07 19:27:57

gensym
#! Junkie
Registered: 2011-10-17
Posts: 447

Re: LaTeX to Epub

MrPink wrote:

I write my papers in LaTeX, but why use it for notetaking?

It is efficient. And if the subject you are taking notes of has funky math formulas it is pretty much the best tool for the job.

Last edited by gensym (2012-12-07 19:30:03)


'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}

Offline

#6 2012-12-07 21:41:03

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,943

Re: LaTeX to Epub

^ I find pencil/pen and paper more efficient for this.  Transcribe the notes to LaTeX later...transcription improves retention...

Offline

#7 2012-12-07 21:46:08

junkie
#! Junkie
Registered: 2012-05-04
Posts: 370

Re: LaTeX to Epub

^yes and I could never keep up with my crazy math teacher.

Offline

#8 2012-12-07 22:02:44

gensym
#! Junkie
Registered: 2011-10-17
Posts: 447

Re: LaTeX to Epub

pvsage wrote:

^ I find pencil/pen and paper more efficient for this.  Transcribe the notes to LaTeX later...transcription improves retention...

It is a matter of personal taste I guess. To me it is just a duplication of the effort spent smile


'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}

Offline

#9 2012-12-07 22:04:23

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,943

Re: LaTeX to Epub

/teacher makes gensym write "transcription improves retention" on board 100 times. tongue

Offline

#10 2012-12-07 22:19:12

gensym
#! Junkie
Registered: 2011-10-17
Posts: 447

Re: LaTeX to Epub

Harharhar,

import sys
preamble ="\\documentclass[a4paper]{article}\n\\usepackage[utf8]{inputenc}"
f = open("some_file.tex","w")
f.write(preamble + "\n" + "\\begin{document}\n\\begin{enumerate}")
f.write("\n".join(["\item transcription improves retention"]*100))
f.write("\\end{enumerate}\n\\end{document}")
f.close()

Now I have to find a way to get it on a board.


'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo