EagleIce <[EMAIL PROTECTED]> writes:
| On Thursday 01 March 2001 23:27, Lars Gullik Bjønnes wrote:
| > | > It should certainly be off -- your documents are not supposed to be
| > | > executable, are they?
| >
| > Hmpfr, why not?
| >
| > ../UserGuide.lyx
| >
| > ----
| > #!/usr/bin/lyx
| > #LyX 1.1. create...
| > \lyxformat ...
| > ....
| >
| > ----
| >
| > would perhaps work
| > (It did work!)
| >
| > Lgb
| >
| Duh?.....er...could you explain this a little (and I'm not even a lawyer
| Matej!...:-)
To any .lyx file:
add: "#!<path to lyx binary>
at the top
make the .lyx file executable: chmod a+rx <.lyx file>
run it: ./<.lyx file>
This works on Linux, not sure if other os's will handle it the same
way.
Lgb