[IPython-dev] High-quality pdf output (pdflatex) directly from notebooks
Massimo Di Stefano
massimodisasha at gmail.com
Sat May 12 19:08:07 EDT 2012
git clone https://github.com/fperez/nbconvert.git
gived me an nbconvert without latex support
… i had to manually copy and past the one from git browser :/
then running it i got this error :
(process:7700): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "nbconvert.py", line 712, in <module>
main(infile=args.infile[0], format=args.format)
File "nbconvert.py", line 690, in main
latexfname = converter.render()
File "nbconvert.py", line 149, in render
self.output = self.convert()
File "nbconvert.py", line 514, in convert
with open(os.path.join(os.path.dirname(myfile), 'preamble.tex')) as f:
IOError: [Errno 2] No such file or directory: 'preamble.tex'
Il giorno May 12, 2012, alle ore 4:52 PM, Fernando Perez ha scritto:
> On Sat, May 12, 2012 at 1:40 PM, Massimo Di Stefano
> <massimodisasha at gmail.com> wrote:
>> MacBook-Pro-di-Massimo:nbconvert epifanio$ python nbconvert.py -f latex IntroNumPy.ipynb
>> Unknown format 'latex', known formats are: rst (default), html, quick-html
>>
>> any clue on what i'm doing wrong ?
>
> The code hasn't been merged into nbconvert master yet, so right now
> you need to use my branch:
>
> https://github.com/fperez/nbconvert/tree/latex-conv
>
> It's been sitting in the PR queue for a while without any review, so I
> might just go ahead and merge it soon. But in the meantime, just use
> my branch (I don't have time to look into the merge right now).
>
> Cheers,
>
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
More information about the IPython-dev
mailing list