bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: & with TeX format


From: Francis Montagnac
Subject: Re: & with TeX format
Date: 24 Apr 2001 08:14:10 GMT

>    tex &latex my_file.tex

>The result of this command must be running TeX with the LaTeX format,
>but bash launches TeX in backgroud and LaTeX in foreground with the
>file my_file.tex.

This is normal: you need to quote the &

Ex:

  tex \&latex my_file.tex

or

  tex '&latex' my_file.tex

> I think that bash undersand tex &latex my_file.tex as tex &; latex
> my_file.tex.

Right.

  command1 & command2

executes command1 in background and command2 in foreground. The syntax 

  command1 &; command2

is not valid.

-- 
Francis.Montagnac@sophia.inria.fr, Tel: (33)04 92 38 79 11
INRIA Sophia, 2004, rte des Lucioles, B.P.93 - 06902 Sophia Antipolis Cedex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]