Re: lyx command-line

2011-06-13 Thread Mukhtar Ullah
Thanks rh. My OS is Windows 7 64bit professional. On 13/06/2011 16:52, Richard Heck wrote: On 06/13/2011 07:01 AM, Mukhtar Ullah wrote: Dear Lyx developers, I have noticed two problems with LyX when run from the command prompt in windows: 1) Typing LyX -help or LyX --help displays nothing. I ca

Re: lyx command-line

2011-06-13 Thread Richard Heck
On 06/13/2011 07:01 AM, Mukhtar Ullah wrote: > Dear Lyx developers, > I have noticed two problems with LyX when run from the command prompt > in windows: > 1) Typing > LyX -help > or > LyX --help > displays nothing. I can still use the options such as -e and so forth. > But if I forget the switches

lyx command-line

2011-06-13 Thread Mukhtar Ullah
Dear Lyx developers, I have noticed two problems with LyX when run from the command prompt in windows: 1) Typing LyX -help or LyX --help displays nothing. I can still use the options such as -e and so forth. But if I forget the switches, I have lost the help. 2) Lyx does not return/display an

Re: Lyx command line question

2005-10-20 Thread Paul Smith
On 10/20/05, Angus Leeming <[EMAIL PROTECTED]> wrote: > >> I don't agree. Read http://www.unicom.com/pw/reply-to-harmful.html, and > >> then get a decent email program (or news client, if you read the list > >> via gmane). For example, I press L in kmail when I want to answer to the > >> list. > >

Re: Lyx command line question

2005-10-20 Thread Roy Schestowitz
_/ On Wed 19 Oct 2005 19:42:31 BST, [Paul] wrote : \_ PS: Please always reply to the list I second that. I noticed a tendency to reply off-list. This leaves gaps in the mailing list archives and puts off a subset of list subscribers. css-discuss, on the contrary, adopted some different

Re: Lyx command line question: summarized

2005-10-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Angus Leeming <[EMAIL PROTECTED]> typed: > Lars Gullik Bjønnes wrote: > > | The problem is that "for" splits the returned list of files using > > | whitespace... > > > > find foo -name \*.gif -print -exec convert {} `basename {}`.png \; > > then (ha!) > > Thanks. I've just

Re: Lyx command line question: summarized

2005-10-19 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | The problem is that "for" splits the returned list of files using > | whitespace... > > find foo -name \*.gif -print -exec convert {} `basename {}`.png \; > then (ha!) Thanks. I've just learnt something. Don't you have to quote the args passed to convert? Bet you s

Re: Lyx command line question

2005-10-19 Thread Angus Leeming
Paul Smith wrote: >> I don't agree. Read http://www.unicom.com/pw/reply-to-harmful.html, and >> then get a decent email program (or news client, if you read the list >> via gmane). For example, I press L in kmail when I want to answer to the >> list. > > I ignored all those details (discussed at t

Re: Lyx command line question: summarized

2005-10-19 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | The problem is that "for" splits the returned list of files using | whitespace... find foo -name \*.gif -print -exec convert {} `basename {}`.png \; then (ha!) | > (and you forgot a '$') | | Right :) (And restricted the search to the foo directory ra

Re: Lyx command line question: summarized

2005-10-19 Thread Mike Meyer
[drifting off-topic] In <[EMAIL PROTECTED]>, Angus Leeming <[EMAIL PROTECTED]> typed: > The problem is that "for" splits the returned list of files using > whitespace... > > Perhaps the bigger problem is that you can overrun the internal array size > used by "for" to store the list of returne

Re: Lyx command line question

2005-10-19 Thread Paul Smith
On 10/19/05, Georg Baum <[EMAIL PROTECTED]> wrote: > > I agree, Paul. The reply address should be occupied by the list's > address. > > I don't agree. Read http://www.unicom.com/pw/reply-to-harmful.html, and > then get a decent email program (or news client, if you read the list via > gmane). For e

Re: Lyx command line question

2005-10-19 Thread Georg Baum
Am Mittwoch, 19. Oktober 2005 20:51 schrieb Paul Smith: > I agree, Paul. The reply address should be occupied by the list's address. I don't agree. Read http://www.unicom.com/pw/reply-to-harmful.html, and then get a decent email program (or news client, if you read the list via gmane). For exa

Re: Lyx command line question: summarized

2005-10-19 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming writes: > | find foo -name '*.gif' | while read file > | do > | pngfile=`basename "$file" .gif`.png > | convert "$file" "pngfile" > | done > Hmm... I thought thiw was usually written as a for-loop. > for file in `find foo -name \*.gif` ; do >

Re: [OT Mail List header rewriting ] Re: Lyx command line question

2005-10-19 Thread Kayvan A. Sylvan
On Wed, Oct 19, 2005 at 08:32:06PM +0100, Paul wrote: > My experience of lists is that 99% of the time I want to reply to the > whole list, so it makes sense to me to have that as the default. > > > If someone really decides to make the change, please set the rewriter to put > > both the originato

Re: Lyx command line question

2005-10-19 Thread Lars Gullik Bjønnes
Paul Smith <[EMAIL PROTECTED]> writes: | On 10/19/05, Paul <[EMAIL PROTECTED]> wrote: | > >>> PS: Please always reply to the list | > > | > > I second that. I noticed a tendency to reply off-list. This leaves | > > gaps in the mailing list archives and puts off a subset of list | > > subscribers.

Re: [OT Mail List header rewriting ] Re: Lyx command line question

2005-10-19 Thread Paul
Todd Denniston wrote: >>I agree, Paul. The reply address should be occupied by the list's address. > > I could agree ... if I had not seen the problems it can cause. > example: the MUSCLE list (smart cards) > http://lists.drizzle.com/mailman/listinfo/muscle > > First: to me this breaks the rule

Re: Lyx command line question: summarized

2005-10-19 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | find foo -name '*.gif' | while read file | do | pngfile=`basename "$file" .gif`.png | convert "$file" "pngfile" | done Hmm... I thought thiw was usually written as a for-loop. for file in `find foo -name \*.gif` ; do pngfile=`basename "

Re: Lyx command line question

2005-10-19 Thread Lars Gullik Bjønnes
Paul <[EMAIL PROTECTED]> writes: | >>> PS: Please always reply to the list | > | > I second that. I noticed a tendency to reply off-list. This leaves | > gaps in the mailing list archives and puts off a subset of list | > subscribers. css-discuss, on the contrary, adopted some different | > habit

Re: Lyx command line question

2005-10-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Paul <[EMAIL PROTECTED]> typed: > Maybe it's just my mail client, but this list seems to default for a > reply to the sender instead of to the list, unlike all the other lists > I've ever been on. I accidently sent a reply intended for the list to > the sender and didn't rea

[OT Mail List header rewriting ] Re: Lyx command line question

2005-10-19 Thread Todd Denniston
Paul Smith wrote: > > On 10/19/05, Paul <[EMAIL PROTECTED]> wrote: > > >>> PS: Please always reply to the list > > > > > > I second that. I noticed a tendency to reply off-list. This leaves > > > gaps in the mailing list archives and puts off a subset of list > > > subscribers. css-discuss, on the

Re: Lyx command line question

2005-10-19 Thread Paul Smith
On 10/19/05, Paul <[EMAIL PROTECTED]> wrote: > >>> PS: Please always reply to the list > > > > I second that. I noticed a tendency to reply off-list. This leaves > > gaps in the mailing list archives and puts off a subset of list > > subscribers. css-discuss, on the contrary, adopted some different

Re: Lyx command line question

2005-10-19 Thread Paul
>>> PS: Please always reply to the list > > I second that. I noticed a tendency to reply off-list. This leaves > gaps in the mailing list archives and puts off a subset of list > subscribers. css-discuss, on the contrary, adopted some different > habits. The main question to ask is "would the grou

RE: Lyx command line question: summarized

2005-10-19 Thread Angus Leeming
Mike Meyer wrote: >> 2) run, before you run pdflatex, something like >> for FILE in `find . -name '*\.gif'`; do convert $FILE `echo $FILE | >> sed 's/\(.*\.\)gif/\1png/'`; done > > basename is safer: > > for file in $(find . -name *.gif) > do > convert $file $(basename $file .gif).png > done

RE: Lyx command line question: summarized

2005-10-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Sanders, Maarten (M.J.L.) <[EMAIL PROTECTED]> typed: > 2) run, before you run pdflatex, something like > for FILE in `find . -name '*\.gif'`; do convert $FILE `echo $FILE | sed > 's/\(.*\.\)gif/\1png/'`; done basename is safer: for file in $(find . -name *.gif) do conv

RE: Lyx command line question: summarized

2005-10-19 Thread Sanders, Maarten (M.J.L.)
aum [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 19, 2005 8:56 AM > To: lyx-users@lists.lyx.org > Subject: Re: Lyx command line question > > > Geoffrey Lloyd wrote: > > > Yes it should but you must note that Export->Pdflatex is > different to > > Export-&

Re: Lyx command line question

2005-10-19 Thread Jose' Matos
On Wednesday 19 October 2005 06:04, Roy Schestowitz wrote: > That said, I can't understand why people steer away from encapsulated > PostScript, which in most cases ought to be used as it preserves and > incorporates vectors rather than pixels. If used properly, it is also far > smaller in terms of

Re: Lyx command line question

2005-10-18 Thread Georg Baum
Geoffrey Lloyd wrote: > Yes it should but you must note that Export->Pdflatex is different to > Export->latex followed by running pdflatex on the file. > > In the second case the only Export that Lyx is performing is Lyx->tex. > This will not convert any graphics file formats. This is true for 1

Re: Lyx command line question

2005-10-18 Thread Roy Schestowitz
PROTECTED]> Sent: Tuesday, October 18, 2005 3:40 PM Subject: Re: Lyx command line question Am Dienstag, 18. Oktober 2005 16:09 schrieb Sanders, Maarten (M.J.L.): Georg/Angus, From within the GUI things work fine. It is just the conversion on the commandline that does not do the part w

Re: Lyx command line question

2005-10-18 Thread Geoffrey Lloyd
- Original Message - From: "Georg Baum" <[EMAIL PROTECTED]> To: "Sanders, Maarten (M.J.L.)" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: "Angus Leeming" <[EMAIL PROTECTED]> Sent: Tuesday, October 18, 2005 3:40 PM Subject: Re: Lyx

Re: Lyx command line question

2005-10-18 Thread Georg Baum
Am Dienstag, 18. Oktober 2005 16:09 schrieb Sanders, Maarten (M.J.L.): > Georg/Angus, > > From within the GUI things work fine. It is just the conversion on the > commandline that does not do the part where the gif file is converted to > some format pdflatex understands. Convert is present on my sy

Re: Lyx command line question

2005-10-18 Thread Angus Leeming
Sanders, Maarten (M.J.L.) wrote: > I try to use lyx from the command line. > > In lyx 1.4pre2 preview pdflatex goes fine. > > On the commandline I get: > > $ lyx --export latex myfile.lyx > ... lot of messages but OK > $ pdflatex myfile.tex > ... goes fine except for an gif image. I can

Re: Lyx command line question

2005-10-18 Thread Georg Baum
Sanders, Maarten (M.J.L.) wrote: > I try to use lyx from the command line. > > In lyx 1.4pre2 preview pdflatex goes fine. > > On the commandline I get: > > $ lyx --export latex myfile.lyx > ... lot of messages but OK > $ pdflatex myfile.tex > ... goes fine except for an gif image. I can

Lyx command line question

2005-10-18 Thread Sanders, Maarten (M.J.L.)
I try to use lyx from the command line. In lyx 1.4pre2 preview pdflatex goes fine. On the commandline I get: $ lyx --export latex myfile.lyx ... lot of messages but OK $ pdflatex myfile.tex ... goes fine except for an gif image. I can the latex question about an image not being found and

Re: Problems with lyx command line in WIN32/Cygwin environment

2004-08-18 Thread Jose' Matos
On Wednesday 18 August 2004 10:38, Angus Leeming wrote: > If I remember rightly, Ruurd provided a stripped down subset of python > with his Win32 lyx package. Such a strategy has proved to be fragile as > lyx2lyx's capabilities and requirements have increased with subsequent > releases of lyx 1.3.x

Re: Problems with lyx command line in WIN32/Cygwin environment

2004-08-18 Thread Angus Leeming
Jose' Matos wrote: >> It sounds like the installation of LyX win32 lacked some module named >> "getopt" but I found getopt.py and getopt.pyc in >> the e:/lyx/lyx/bin/lib/ directory. > > getopt belongs to the standard python library so it should be there. > > What version of python are you usi

Re: Problems with lyx command line in WIN32/Cygwin environment

2004-08-18 Thread Jose' Matos
On Monday 09 August 2004 12:00, He Jin wrote: > Hi everybody, > > I found a very strange problem in win32/cygwin environment using lyx > commandline. > > When I try to translate a lyx file into .tex format using command line > "lyx --export latex YYY.lyx", it reported as following: > >

Re: Problems with lyx command line in WIN32/Cygwin environment

2004-08-17 Thread Colin J. Williams
Paul A. Rubin wrote: He Jin wrote: Hi everybody, I found a very strange problem in win32/cygwin environment using lyx commandline. When I try to translate a lyx file into .tex format using command line "lyx --export latex YYY.lyx", it reported as following: *

Re: Problems with lyx command line in WIN32/Cygwin environment

2004-08-17 Thread Paul A. Rubin
He Jin wrote: Hi everybody, I found a very strange problem in win32/cygwin environment using lyx commandline. When I try to translate a lyx file into .tex format using command line "lyx --export latex YYY.lyx", it reported as following: ** Tra

Problems with lyx command line in WIN32/Cygwin environment

2004-08-09 Thread He Jin
Hi everybody, I found a very strange problem in win32/cygwin environment using lyx commandline. When I try to translate a lyx file into .tex format using command line "lyx --export latex YYY.lyx", it reported as following: ** Traceback (most r