Re: Creating argv for execvp

2004-07-20 Thread Angus Leeming
Angus Leeming wrote: > The use case itself (date) is probably exotic, but we use this code to > also parse the commands of the converters so we really should address > this bug. > > Attached is a test code that generates the correct vector from > a string input. Typical use: > $ ./trial "date '+%B

Creating argv for execvp

2004-07-20 Thread Angus Leeming
We've recently had a report on the users' list http://article.gmane.org/gmane.editors.lyx.general/17087 about a failure to use the Date template of the external inset to produce output equivalent to: date '+%B %d, %Y' (which comes out as "July 20, 2004" btw). The problem boils dow

Re: A python question

2004-07-20 Thread Angus Leeming
Angus Leeming wrote: > Jose, > > the file below is 'general_command_wrapper.py' to be found in lib/scripts > in the 1.3.x repository. It fails to execute commands like: Please ignore. I'm talking crap. -- Angus

A python question

2004-07-20 Thread Angus Leeming
Jose, the file below is 'general_command_wrapper.py' to be found in lib/scripts in the 1.3.x repository. It fails to execute commands like: date '+%B %d, %Y' because it doesn't wrap each arg in single quotes. Question is, what's the elegant way of wrapping each individual arg in quotes.

Re: latexbeamer

2004-07-20 Thread Angus Leeming
Juergen Spitzmueller wrote: > Angus Leeming wrote: >> Juergen, as my contact with the latexbeamer author, can I get you to >> review this patch and, if reasonable, send it on to him? > > I have no personal contact to him, but I have uploaded your patch to > https://sourceforge.net/tracker/index.p

Re: latexbeamer

2004-07-20 Thread Juergen Spitzmueller
Angus Leeming wrote: > Juergen, as my contact with the latexbeamer author, can I get you to review > this patch and, if reasonable, send it on to him? I have no personal contact to him, but I have uploaded your patch to https://sourceforge.net/tracker/index.php?func=detail&aid=994404&group_id=9241

Re: latexbeamer

2004-07-20 Thread Angus Leeming
Angus Leeming wrote: > When I load a latexbeamer doc, these warnings are printed to console > (multiple times). What needs to change in the layout file? > > step: Counter does not exist: lyxframeend{}\section > value: Counter does not exist: enumiii > value: Counter does not exist: enumiv > > (T

Re: [patch] LyXSocket cleanup

2004-07-20 Thread Lars Gullik Bjønnes
Joao Luis Meloni Assirati <[EMAIL PROTECTED]> writes: | Lars wrote: > >> | Index: lyxsocket.C >> | - fd_(lyx::support::socktools::listen(addr, MAX_CLIENTS)), >> | + fd_(lyx::support::socktools::listen(addr, 3)), > >> The use of MAX_CLIENTS here is not doing what the original auth

Re: inverse dvi search and source specials

2004-07-20 Thread Lars Gullik Bjønnes
Joao Luis Meloni Assirati <[EMAIL PROTECTED]> writes: | Lars wrote: > >> How are the source specials generated for the dvi generated from LyX? >> I cannot find any -src-specials arg to dvi that we use? > | They are generated by latex with the switch --src-specials (you need to change | by hand th

Re: inverse dvi search and source specials

2004-07-20 Thread Angus Leeming
Joao Luis Meloni Assirati wrote: >> Dvi inverse search relies on LFUN_GOTOFILEROW, wich uses >> view()->setCursorFromRow() wich uses buffer()->texrow().getIdFromRow(). > > There is another way, but I think it is not adequate to a feature freeze. > Lyx could generate the latex file inserting itsel