Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4792

Invoking pdflatex from a notebook

From Themis Matsoukas <tmatsoukas@me.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Invoking pdflatex from a notebook
Date 2011-09-06 08:08 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j44kdn$973$1@smc.vnet.net> (permalink)

Show all headers | View raw


I am trying to invoke pdflatex from inside a Mathematica notebook but I can't get it to work. Standard shell commands work fine. For example the following gives me a listing of the current directory:

SetDirectory@NotebookDirectory[];
Import["!ls -a", "Text"]

".
.
DS_Store
debug.nb
test copy.tex
test.tex
unix shell.nb"

But when I evaluate

Import["!pdflatex test.tex", "Text"]

nothing happens.  I am running 8.0.1 on a Mac (Lion) and my latex installation is Texlive-2011.

Themis

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Invoking pdflatex from a notebook Themis Matsoukas <tmatsoukas@me.com> - 2011-09-06 08:08 +0000
  Re: Invoking pdflatex from a notebook JUN <noeckel@gmail.com> - 2011-09-07 09:45 +0000

csiph-web