On 7 okt. 2011, at 21:07, Marek Stepanek wrote:

> I am wondering, how to use a worksheet in BBEdit. I never used a worksheet 
> and probably I misunderstood it. Could somebody help me to use it with LaTeX?

I guess you could, but I don't think you'd want to. The output of the pdflatex 
run will be stored in the worksheet. It is much easier to use a script to tell 
the terminal to process your document. You could use this set of scripts: 
http://msneep.home.xs4all.nl/latex/

> This is pretty fast, using the history (arrow key up). I am wondering, 
> whether I could use a worksheet, which I save in the same folder, as my 
> file.tex with all the commands I need. Would convenient, if only the 
> switching to an other window would still exist in BBEdit: CMD+1, CMD+2 etc 
> this was really handy in old BBEdit times.
> 
> Only problem: the commands I need, are apparently unknown to my worksheet.
> 
> pdflatex file.tex
> This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
> restricted \write18 enabled.
> entering extended mode
> ! I can't find file `file.tex'.
> <*> file.tex
> 
> (Press Enter to retry, or Control-D to exit)
> Please type another input file name:
> 
> Because the command pdflatex command is unknown to the worksheet, I tried to 
> export the PATH, with following commands, which are all not working (is a 
> worksheet using bash dialect or tcsh?):
> 
> export PATH="${PATH}:/usr/local/texlive/2011/bin/"
> set PATH=($PATH /usr/local/texlive/2011/bin/)
> setenv PATH "/usr/local/texlive/2011/bin/"
> 
> 
> Any help? Thank you!

tcsh is no longer used. Ar maybe that is my ideal world. 

But that is not your problem. pdflatex starts all right, but then asks for your 
file. So apparently the worksheet does not start in the directory where you 
think it is running. Have you tried to run 'pwd' in the worksheet?

Maarten

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to