Converting from older version

2005-05-27 Thread Christian Payne

Hi,

I have a large and somewhat complex LyX document that I been working on 
under LyX 1.1.6fix4 on a Linux system for a number of years. For 
various reasons I now need to keep working on this with LyX under 
Windows (version 1.3.5). However, when I go and open up the file I get a 
message An error occurred running the conversion script.


Can anyone suggestion how I can fix this problem? In particular, it is 
ESSENTIAL that the document not be damaged in any way!



Thanks in advance,

Christian.


Re: laprint psfrag

2005-05-27 Thread Vaclav Smidl
Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a .pdf file.
Attached.
It is also using a2ping script, which is too big for mailinglist, google for 
it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:
 Hi,

 Anyone use laprint, a matlab function, successfully in lyx?

 Richard

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
function monoprint(figno,name,scale);
% function prints figure fig to pdf file name
% It is using laprint to complete the job

% settings for Springer Mono latex class

set(0,'defaulttextinterpreter','none');

laprint(figno,'/tmp/laprint_out',...
  'width',scale*11.8,...
  'factor',0.6,...
  'scalefonts','off',...
  'keepfontprops','on',...
  'asonscreen','on',...
  'printcmd',['print(''-ffigurenumber'',' ...
  '''-depsc2'',''filename.eps'')'],...
  'mathticklabels','on');

if 1
  fprintf(1,'   Compiling: LaTeX - dvips - pdf ...\r');
  latextmp=fopen(['/tmp/pcttmp.tex'],'w');
  fprintf(latextmp,'\\documentclass[10pt]{article}\n');
  fprintf(latextmp,'\\usepackage[margin=0mm]{geometry}\n');
  fprintf(latextmp,'\\usepackage{graphicp,psfrag}\n');
  fprintf(latextmp,'\\input{mono-pre.tex}\n');
  fprintf(latextmp,'\\begin{document}\n');
  fprintf(latextmp,'\\thispagestyle{empty}\n');
  fprintf(latextmp,'\\input{%s.tex}\n\\end{document}\n','laprint_out');
  fclose(latextmp);
end

curpath	= pwd;
eval('!cd /tmp; latex pcttmp.tex /dev/null;');
if (exist('/tmp/pcttmp.dvi') == 2)
eval(['!cd /tmp; dvips -q pcttmp.dvi -o laprint_out.ps']);
eval(['!cd /tmp; ~/bin/a2ping.pl laprint_out.ps']);
	eval(['!cp /tmp/laprint_out.pdf ' curpath '/' name '.pdf']);
end

Re: Converting from older version

2005-05-27 Thread Milos Komarcevic
Christian Payne [EMAIL PROTECTED] writes:
 Can anyone suggestion how I can fix this problem? In particular

Did you check the wiki? You probably just need to create the 
lyx2lyx.cmd file:
http://wiki.lyx.org/LyX/LyXWinTips
 
 it is ESSENTIAL that the document not be damaged in any way!

Keep a backup copy then.

Regards,
Milos



dvips and /tmp

2005-05-27 Thread Bruce Momjian
Is there a way to have dvips use a directory other than /tmp for
temporary files?  I am using lyx 1.2.3 and tetex 1.0.6.

I have a memory-based /tmp file system and it is too small to for dvips
to generate a presentation I am working on.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]|  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073


Re: dvips and /tmp

2005-05-27 Thread Angus Leeming

Bruce Momjian wrote:

Is there a way to have dvips use a directory other than /tmp for
temporary files?  I am using lyx 1.2.3 and tetex 1.0.6.

I have a memory-based /tmp file system and it is too small to for dvips
to generate a presentation I am working on.


Fire up the Edit-Preferences dialog and go change the location in the 
Paths pane, then press Save. You'll need to shut down and restart LyX for 
it to take effect.


Angus




LyX and cocoaspell

2005-05-27 Thread Jordi Tritlla i Cambra

Dear lyxers

	I am rather new to LyX on OSX (10.3.9). 
So far I managed quite well to get in everything 
in working order, starting to write my first 
paper using elsart. My only problem is that I 
cannot make cocoaspell work under LyX even making 
the symbolic link. I have follow the instruction 
in LyX wiki and I got this answer from Lyx:


Error: the file 
/usr/local/lib/aspell-0.60e/english can not be 
opened for reading


Any suggestions?

Cheers,

Jordi
--
===
Dr. Jordi Tritlla i Cambra

¡PAGINA WEB PUESTA AL DIA (02/2005): 
http://geminis.geociencias.unam.mx/~jordit/



Centro de Geociencias 
	Tl: (52-442) 2381116 ext 137

Universidad Nacional Autonoma de Mexico Tl.red: 562 34116 ext 137
Carretera Querétaro-San Luís Potosí km 15.5 
	Fax: (52-442) 2-38-11-00

Campus UNAM-Juriquilla  emails alternativos:
Apartado Postal 1-742   [EMAIL PROTECTED]
C.P. 76230 Querétaro, Qro.  [EMAIL PROTECTED]
México
	[EMAIL PROTECTED]




Re: find/replace with lyx objects (such as ERTs, footnotes, etc.) [ regexes]

2005-05-27 Thread Sven Schreiber
Angus Leeming wrote:

 Kevin Pfeiffer wrote:
 
 
Following up on myself again, 'Idx'es are another object that I would
like to be able to find/replace. As mentioned, actually _any_ inline
container should be find/replaceable if possible.

Is this the best place to post wishes? Or should they go into the
bugzilla?
 
 
 If you post them here we'll lose them.
 If you post them to bugzilla we can ignore them and feel guilty about it.
 
 That's a big difference :)
 
 (Post them to bugzilla in other words.)
 

So Kevin, have you opened a bug for that yet? If so, I would like to add
a comment/ interim suggestion:

I have just discovered that using the Navigate - Note menu item is
very useful to do just that, navigate from note to note. Is there any
reason why not all inset types have entries in the Navigate menu?
(Especially footnotes and ERT.)

Also, it's nice that the menu has a submenu-list for figures and tables.
Wouldn't that also be useful for other insets, maybe using the first
couple of words as a substitute for the caption?

Finally, the Navigate - Ref entry actually seems to refer to labels,
not to references. Is that a (known?) bug or a feature?

Please direct me to the appropriate bugzilla entries if those exist. (I
have briefly searched for inset so far.) Thanks.

-sven


Re: laprint psfrag

2005-05-27 Thread Richard Wang

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following  
code,


x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)

But the system hung...

Did I use it incorrectly?
I have a2ping installed in my system.

Richard

On May 27, 2005, at 2:15 AM, Vaclav Smidl wrote:


Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a  
.pdf file.

Attached.
It is also using a2ping script, which is too big for mailinglist,  
google for

it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:

Hi,

Anyone use laprint, a matlab function, successfully in lyx?

Richard


--  
--- 
--

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
monoprint.m




laprint psfrag

2005-05-27 Thread Richard Wang

it hangs on line 33 in monoprint.m :

eval('!cd /tmp; latex pcttmp.tex /dev/null;');

any suggestions?

Richard


Begin forwarded message:


From: Richard Wang [EMAIL PROTECTED]
Date: May 27, 2005 10:40:21 AM PDT
To: Vaclav Smidl [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Subject: Re: laprint  psfrag

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following  
code,


x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)

But the system hung...

Did I use it incorrectly?
I have a2ping installed in my system.

Richard

On May 27, 2005, at 2:15 AM, Vaclav Smidl wrote:


Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a  
.pdf file.

Attached.
It is also using a2ping script, which is too big for mailinglist,  
google for

it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:

Hi,

Anyone use laprint, a matlab function, successfully in lyx?

Richard


--  
-- 
---

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
monoprint.m




Re: laprint psfrag

2005-05-27 Thread Vaclav Smidl
On Friday 27 May 2005 19:40, Richard Wang wrote:
 Hi Vasek,

 Thanks for the message.  I tried to run monoprint with the following
 code,

 x=0:0.1:1
 plot(x,sin(x))
 monoprint(1,'test4',2)


Strange. Works fine on my setup. (Linux, tetex)
BTW, I would not use 2 as the third argument. The picture would be bigger than 
the page of article class. You would need to add a3paper to its options.

 But the system hung...

Well, this happens when there is malformed latex code in the figure and latex 
runs in interactive mode. 

Do you have all the packages? graphicp,psfrag, geometry
Actually, you do not need graphicp, change it to graphicx, it should also 
work.

What happens if you go to /tmp and run:
latex pcttmp.tex
manually?


Vasek

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: laprint psfrag

2005-05-27 Thread Richard Wang
that's exact what I did.  I changed graphicp to graphicx,  It runs well  
in the beginning, but the system could not find the file mono-pre.tex.   
There should be a way to fix it..



LaTeX2e 2003/12/01
Babel v3.8c and hyphenation patterns for american, french, german,  
ngerman, n

ohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.cfg))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/dvips.def)))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/psfrag/psfrag.sty)

! LaTeX Error: File `mono-pre.tex' not found.

Type X to quit or RETURN to proceed,
or enter new name. (Default extension: tex)



On May 27, 2005, at 11:10 AM, Vaclav Smidl wrote:


On Friday 27 May 2005 19:40, Richard Wang wrote:

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following
code,

x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)



Strange. Works fine on my setup. (Linux, tetex)
BTW, I would not use 2 as the third argument. The picture would be  
bigger than
the page of article class. You would need to add a3paper to its  
options.



But the system hung...


Well, this happens when there is malformed latex code in the figure  
and latex

runs in interactive mode.

Do you have all the packages? graphicp,psfrag, geometry
Actually, you do not need graphicp, change it to graphicx, it should  
also

work.

What happens if you go to /tmp and run:
latex pcttmp.tex
manually?


Vasek

--  
--- 
--

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic





Re: LyX and cocoaspell

2005-05-27 Thread Bennett Helm

On May 27, 2005, at 11:10 AM, Jordi Tritlla i Cambra wrote:


Dear lyxers

	I am rather new to LyX on OSX (10.3.9). So far I managed quite well 
to get in everything in working order, starting to write my first 
paper using elsart. My only problem is that I cannot make cocoaspell 
work under LyX even making the symbolic link. I have follow the 
instruction in LyX wiki and I got this answer from Lyx:


Error: the file /usr/local/lib/aspell-0.60e/english can not be 
opened for reading


Any suggestions?


Apparently I need to update the wiki to reflect better how to install 
cocoAspell (which is now done).


If you go to the cocoAspell site, you'll notice there that dictionaries 
must be downloaded and installed separately from 
ftp://ftp.gnu.org/gnu/aspell/dict. I believe you haven't yet done 
this, an that's why it's producing this error for you.


Let me know if that does the trick.

Bennett



Re: laprint psfrag

2005-05-27 Thread Vaclav Smidl

 ! LaTeX Error: File `mono-pre.tex' not found.

Oh, sorry, I did not noticed that. 
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek


Re: laprint psfrag

2005-05-27 Thread Richard Wang
I see, I removed it.   Now the line 36,  ~/a2ping.pl part has problem, 
matlab shows:


/Users/richardwang/a2ping.pl  command does not exist.

Then I replace ~/a2ping.pl by a2ping, but it shows:

Compiling: LaTeX - dvips - pdf ...
Died at /usr/local/teTeX/bin/powerpc-apple-darwin-current/a2ping line 
1618, IN line 1.

cd /tmp; a2ping laprint_out.ps: Signal 127
cp: /tmp/laprint_out.pdf: No such file or directory

Any suggestions?

Richard





On May 27, 2005, at 12:43 PM, Vaclav Smidl wrote:



! LaTeX Error: File `mono-pre.tex' not found.


Oh, sorry, I did not noticed that.
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek





Re: laprint psfrag

2005-05-27 Thread Richard Wang

In case that someone knows a2ping, the line 1681 is:

 o_force_papersize:
die if is_page1_stop();
 # vvv ($llx,$lly,$urx,$ury)=(0,0,$papersize_x,$papersize_y);

Thanks.

Richard


On May 27, 2005, at 1:01 PM, Richard Wang wrote:

I see, I removed it.   Now the line 36,  ~/a2ping.pl part has problem, 
matlab shows:


/Users/richardwang/a2ping.pl  command does not exist.

Then I replace ~/a2ping.pl by a2ping, but it shows:

Compiling: LaTeX - dvips - pdf ...
Died at /usr/local/teTeX/bin/powerpc-apple-darwin-current/a2ping line 
1618, IN line 1.

cd /tmp; a2ping laprint_out.ps: Signal 127
cp: /tmp/laprint_out.pdf: No such file or directory

Any suggestions?

Richard





On May 27, 2005, at 12:43 PM, Vaclav Smidl wrote:



! LaTeX Error: File `mono-pre.tex' not found.


Oh, sorry, I did not noticed that.
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek







troubleshooting 1.3.1 book template question

2005-05-27 Thread tom poe
Hello:  I am using Lyx 1.3.1 and the book template.  When I convert to
pdf with either the pdf selection or the ps selection followed by
ps2pdf, I get formatting problems at the tops of pages.  For example if
the Chapter has sections and subsections, they are layered over each
other at the top of each page.  I downloaded both the bz2 and gz
patches, but tar doesn't recognize the header info.  I then decided to
download 1.3.5 and see what happens, but the download site is
temporarily not working for me.  I started to go through the archives,
but the first several pages drew a blank.  

Can someone point me to the code that controls the info on the top of
each page in a converted pdf file?  I'll play with that, maybe, until I
get a successful download of 1.3.5
Thanks, in advance,
Tom





Web Site: Tips Tricks Gone?

2005-05-27 Thread Rich Shepard

  I have the URL package installed and specified in my document's preamble.
But, I don't know how to use it to define a URL. I went to the LyX web site
and clicked on the link for Tips  Tricks. Instead of seeing what used to
be there, I was taken to the TUG web site and shown Herbert's PSTricks main
page.

  What happened to that wonderful resource of tips and tricks?

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Help with big braces

2005-05-27 Thread Stefano Franchi

Hi all,

I need to insert a small diagram in my text that (in an ugly Ascii 
version) should look more or less like the the one below. I could draw 
it in a graphic package and insert it as an image, but I would very 
much like to have LyX typeset it and maintain consistency with fonts, 
etc., Problem is, I can't see how to do it. Perhaps exploiting the math 
options?  I read the math section of the LyX manual, but I don't see 
any way to do it. Perhaps the math experts have a suggestion?

Any help greatly appreciated.

Stefano

Here is the diagram


 /
 |  Some text here
 |  followed by Greek
 |  text here
 |
 |
/
\/   Some English and
 |   |   Greek text
 |   |
 |  /Some English and
 |  \Greek text
 |   |
 |   |  Some English and
 |\ Greek text
 \







__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Overlong URL

2005-05-27 Thread Rich Shepard

  I've read TLC2, pages 93-96 where the URL package is described, but I have
not found how to force a break in a typeset URL when it overfills the
horizontal line. I've tried spliting it over two lines using a '%' to
indicate continuation, but that is ignored.

  How do I fix an overfull line when it's the formatted URL that is too
long?

TIA,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Converting from older version

2005-05-27 Thread Christian Payne

Hi,

I have a large and somewhat complex LyX document that I been working on 
under LyX 1.1.6fix4 on a Linux system for a number of years. For 
various reasons I now need to keep working on this with LyX under 
Windows (version 1.3.5). However, when I go and open up the file I get a 
message An error occurred running the conversion script.


Can anyone suggestion how I can fix this problem? In particular, it is 
ESSENTIAL that the document not be damaged in any way!



Thanks in advance,

Christian.


Re: laprint psfrag

2005-05-27 Thread Vaclav Smidl
Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a .pdf file.
Attached.
It is also using a2ping script, which is too big for mailinglist, google for 
it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:
 Hi,

 Anyone use laprint, a matlab function, successfully in lyx?

 Richard

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
function monoprint(figno,name,scale);
% function prints figure fig to pdf file name
% It is using laprint to complete the job

% settings for Springer Mono latex class

set(0,'defaulttextinterpreter','none');

laprint(figno,'/tmp/laprint_out',...
  'width',scale*11.8,...
  'factor',0.6,...
  'scalefonts','off',...
  'keepfontprops','on',...
  'asonscreen','on',...
  'printcmd',['print(''-ffigurenumber'',' ...
  '''-depsc2'',''filename.eps'')'],...
  'mathticklabels','on');

if 1
  fprintf(1,'   Compiling: LaTeX - dvips - pdf ...\r');
  latextmp=fopen(['/tmp/pcttmp.tex'],'w');
  fprintf(latextmp,'\\documentclass[10pt]{article}\n');
  fprintf(latextmp,'\\usepackage[margin=0mm]{geometry}\n');
  fprintf(latextmp,'\\usepackage{graphicp,psfrag}\n');
  fprintf(latextmp,'\\input{mono-pre.tex}\n');
  fprintf(latextmp,'\\begin{document}\n');
  fprintf(latextmp,'\\thispagestyle{empty}\n');
  fprintf(latextmp,'\\input{%s.tex}\n\\end{document}\n','laprint_out');
  fclose(latextmp);
end

curpath	= pwd;
eval('!cd /tmp; latex pcttmp.tex /dev/null;');
if (exist('/tmp/pcttmp.dvi') == 2)
eval(['!cd /tmp; dvips -q pcttmp.dvi -o laprint_out.ps']);
eval(['!cd /tmp; ~/bin/a2ping.pl laprint_out.ps']);
	eval(['!cp /tmp/laprint_out.pdf ' curpath '/' name '.pdf']);
end

Re: Converting from older version

2005-05-27 Thread Milos Komarcevic
Christian Payne [EMAIL PROTECTED] writes:
 Can anyone suggestion how I can fix this problem? In particular

Did you check the wiki? You probably just need to create the 
lyx2lyx.cmd file:
http://wiki.lyx.org/LyX/LyXWinTips
 
 it is ESSENTIAL that the document not be damaged in any way!

Keep a backup copy then.

Regards,
Milos



dvips and /tmp

2005-05-27 Thread Bruce Momjian
Is there a way to have dvips use a directory other than /tmp for
temporary files?  I am using lyx 1.2.3 and tetex 1.0.6.

I have a memory-based /tmp file system and it is too small to for dvips
to generate a presentation I am working on.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]|  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073


Re: dvips and /tmp

2005-05-27 Thread Angus Leeming

Bruce Momjian wrote:

Is there a way to have dvips use a directory other than /tmp for
temporary files?  I am using lyx 1.2.3 and tetex 1.0.6.

I have a memory-based /tmp file system and it is too small to for dvips
to generate a presentation I am working on.


Fire up the Edit-Preferences dialog and go change the location in the 
Paths pane, then press Save. You'll need to shut down and restart LyX for 
it to take effect.


Angus




LyX and cocoaspell

2005-05-27 Thread Jordi Tritlla i Cambra

Dear lyxers

	I am rather new to LyX on OSX (10.3.9). 
So far I managed quite well to get in everything 
in working order, starting to write my first 
paper using elsart. My only problem is that I 
cannot make cocoaspell work under LyX even making 
the symbolic link. I have follow the instruction 
in LyX wiki and I got this answer from Lyx:


Error: the file 
/usr/local/lib/aspell-0.60e/english can not be 
opened for reading


Any suggestions?

Cheers,

Jordi
--
===
Dr. Jordi Tritlla i Cambra

¡PAGINA WEB PUESTA AL DIA (02/2005): 
http://geminis.geociencias.unam.mx/~jordit/



Centro de Geociencias 
	Tl: (52-442) 2381116 ext 137

Universidad Nacional Autonoma de Mexico Tl.red: 562 34116 ext 137
Carretera Querétaro-San Luís Potosí km 15.5 
	Fax: (52-442) 2-38-11-00

Campus UNAM-Juriquilla  emails alternativos:
Apartado Postal 1-742   [EMAIL PROTECTED]
C.P. 76230 Querétaro, Qro.  [EMAIL PROTECTED]
México
	[EMAIL PROTECTED]




Re: find/replace with lyx objects (such as ERTs, footnotes, etc.) [ regexes]

2005-05-27 Thread Sven Schreiber
Angus Leeming wrote:

 Kevin Pfeiffer wrote:
 
 
Following up on myself again, 'Idx'es are another object that I would
like to be able to find/replace. As mentioned, actually _any_ inline
container should be find/replaceable if possible.

Is this the best place to post wishes? Or should they go into the
bugzilla?
 
 
 If you post them here we'll lose them.
 If you post them to bugzilla we can ignore them and feel guilty about it.
 
 That's a big difference :)
 
 (Post them to bugzilla in other words.)
 

So Kevin, have you opened a bug for that yet? If so, I would like to add
a comment/ interim suggestion:

I have just discovered that using the Navigate - Note menu item is
very useful to do just that, navigate from note to note. Is there any
reason why not all inset types have entries in the Navigate menu?
(Especially footnotes and ERT.)

Also, it's nice that the menu has a submenu-list for figures and tables.
Wouldn't that also be useful for other insets, maybe using the first
couple of words as a substitute for the caption?

Finally, the Navigate - Ref entry actually seems to refer to labels,
not to references. Is that a (known?) bug or a feature?

Please direct me to the appropriate bugzilla entries if those exist. (I
have briefly searched for inset so far.) Thanks.

-sven


Re: laprint psfrag

2005-05-27 Thread Richard Wang

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following  
code,


x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)

But the system hung...

Did I use it incorrectly?
I have a2ping installed in my system.

Richard

On May 27, 2005, at 2:15 AM, Vaclav Smidl wrote:


Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a  
.pdf file.

Attached.
It is also using a2ping script, which is too big for mailinglist,  
google for

it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:

Hi,

Anyone use laprint, a matlab function, successfully in lyx?

Richard


--  
--- 
--

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
monoprint.m




laprint psfrag

2005-05-27 Thread Richard Wang

it hangs on line 33 in monoprint.m :

eval('!cd /tmp; latex pcttmp.tex /dev/null;');

any suggestions?

Richard


Begin forwarded message:


From: Richard Wang [EMAIL PROTECTED]
Date: May 27, 2005 10:40:21 AM PDT
To: Vaclav Smidl [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Subject: Re: laprint  psfrag

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following  
code,


x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)

But the system hung...

Did I use it incorrectly?
I have a2ping installed in my system.

Richard

On May 27, 2005, at 2:15 AM, Vaclav Smidl wrote:


Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a  
.pdf file.

Attached.
It is also using a2ping script, which is too big for mailinglist,  
google for

it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:

Hi,

Anyone use laprint, a matlab function, successfully in lyx?

Richard


--  
-- 
---

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
monoprint.m




Re: laprint psfrag

2005-05-27 Thread Vaclav Smidl
On Friday 27 May 2005 19:40, Richard Wang wrote:
 Hi Vasek,

 Thanks for the message.  I tried to run monoprint with the following
 code,

 x=0:0.1:1
 plot(x,sin(x))
 monoprint(1,'test4',2)


Strange. Works fine on my setup. (Linux, tetex)
BTW, I would not use 2 as the third argument. The picture would be bigger than 
the page of article class. You would need to add a3paper to its options.

 But the system hung...

Well, this happens when there is malformed latex code in the figure and latex 
runs in interactive mode. 

Do you have all the packages? graphicp,psfrag, geometry
Actually, you do not need graphicp, change it to graphicx, it should also 
work.

What happens if you go to /tmp and run:
latex pcttmp.tex
manually?


Vasek

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: laprint psfrag

2005-05-27 Thread Richard Wang
that's exact what I did.  I changed graphicp to graphicx,  It runs well  
in the beginning, but the system could not find the file mono-pre.tex.   
There should be a way to fix it..



LaTeX2e 2003/12/01
Babel v3.8c and hyphenation patterns for american, french, german,  
ngerman, n

ohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.cfg))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/dvips.def)))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/psfrag/psfrag.sty)

! LaTeX Error: File `mono-pre.tex' not found.

Type X to quit or RETURN to proceed,
or enter new name. (Default extension: tex)



On May 27, 2005, at 11:10 AM, Vaclav Smidl wrote:


On Friday 27 May 2005 19:40, Richard Wang wrote:

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following
code,

x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)



Strange. Works fine on my setup. (Linux, tetex)
BTW, I would not use 2 as the third argument. The picture would be  
bigger than
the page of article class. You would need to add a3paper to its  
options.



But the system hung...


Well, this happens when there is malformed latex code in the figure  
and latex

runs in interactive mode.

Do you have all the packages? graphicp,psfrag, geometry
Actually, you do not need graphicp, change it to graphicx, it should  
also

work.

What happens if you go to /tmp and run:
latex pcttmp.tex
manually?


Vasek

--  
--- 
--

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic





Re: LyX and cocoaspell

2005-05-27 Thread Bennett Helm

On May 27, 2005, at 11:10 AM, Jordi Tritlla i Cambra wrote:


Dear lyxers

	I am rather new to LyX on OSX (10.3.9). So far I managed quite well 
to get in everything in working order, starting to write my first 
paper using elsart. My only problem is that I cannot make cocoaspell 
work under LyX even making the symbolic link. I have follow the 
instruction in LyX wiki and I got this answer from Lyx:


Error: the file /usr/local/lib/aspell-0.60e/english can not be 
opened for reading


Any suggestions?


Apparently I need to update the wiki to reflect better how to install 
cocoAspell (which is now done).


If you go to the cocoAspell site, you'll notice there that dictionaries 
must be downloaded and installed separately from 
ftp://ftp.gnu.org/gnu/aspell/dict. I believe you haven't yet done 
this, an that's why it's producing this error for you.


Let me know if that does the trick.

Bennett



Re: laprint psfrag

2005-05-27 Thread Vaclav Smidl

 ! LaTeX Error: File `mono-pre.tex' not found.

Oh, sorry, I did not noticed that. 
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek


Re: laprint psfrag

2005-05-27 Thread Richard Wang
I see, I removed it.   Now the line 36,  ~/a2ping.pl part has problem, 
matlab shows:


/Users/richardwang/a2ping.pl  command does not exist.

Then I replace ~/a2ping.pl by a2ping, but it shows:

Compiling: LaTeX - dvips - pdf ...
Died at /usr/local/teTeX/bin/powerpc-apple-darwin-current/a2ping line 
1618, IN line 1.

cd /tmp; a2ping laprint_out.ps: Signal 127
cp: /tmp/laprint_out.pdf: No such file or directory

Any suggestions?

Richard





On May 27, 2005, at 12:43 PM, Vaclav Smidl wrote:



! LaTeX Error: File `mono-pre.tex' not found.


Oh, sorry, I did not noticed that.
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek





Re: laprint psfrag

2005-05-27 Thread Richard Wang

In case that someone knows a2ping, the line 1681 is:

 o_force_papersize:
die if is_page1_stop();
 # vvv ($llx,$lly,$urx,$ury)=(0,0,$papersize_x,$papersize_y);

Thanks.

Richard


On May 27, 2005, at 1:01 PM, Richard Wang wrote:

I see, I removed it.   Now the line 36,  ~/a2ping.pl part has problem, 
matlab shows:


/Users/richardwang/a2ping.pl  command does not exist.

Then I replace ~/a2ping.pl by a2ping, but it shows:

Compiling: LaTeX - dvips - pdf ...
Died at /usr/local/teTeX/bin/powerpc-apple-darwin-current/a2ping line 
1618, IN line 1.

cd /tmp; a2ping laprint_out.ps: Signal 127
cp: /tmp/laprint_out.pdf: No such file or directory

Any suggestions?

Richard





On May 27, 2005, at 12:43 PM, Vaclav Smidl wrote:



! LaTeX Error: File `mono-pre.tex' not found.


Oh, sorry, I did not noticed that.
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek







troubleshooting 1.3.1 book template question

2005-05-27 Thread tom poe
Hello:  I am using Lyx 1.3.1 and the book template.  When I convert to
pdf with either the pdf selection or the ps selection followed by
ps2pdf, I get formatting problems at the tops of pages.  For example if
the Chapter has sections and subsections, they are layered over each
other at the top of each page.  I downloaded both the bz2 and gz
patches, but tar doesn't recognize the header info.  I then decided to
download 1.3.5 and see what happens, but the download site is
temporarily not working for me.  I started to go through the archives,
but the first several pages drew a blank.  

Can someone point me to the code that controls the info on the top of
each page in a converted pdf file?  I'll play with that, maybe, until I
get a successful download of 1.3.5
Thanks, in advance,
Tom





Web Site: Tips Tricks Gone?

2005-05-27 Thread Rich Shepard

  I have the URL package installed and specified in my document's preamble.
But, I don't know how to use it to define a URL. I went to the LyX web site
and clicked on the link for Tips  Tricks. Instead of seeing what used to
be there, I was taken to the TUG web site and shown Herbert's PSTricks main
page.

  What happened to that wonderful resource of tips and tricks?

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Help with big braces

2005-05-27 Thread Stefano Franchi

Hi all,

I need to insert a small diagram in my text that (in an ugly Ascii 
version) should look more or less like the the one below. I could draw 
it in a graphic package and insert it as an image, but I would very 
much like to have LyX typeset it and maintain consistency with fonts, 
etc., Problem is, I can't see how to do it. Perhaps exploiting the math 
options?  I read the math section of the LyX manual, but I don't see 
any way to do it. Perhaps the math experts have a suggestion?

Any help greatly appreciated.

Stefano

Here is the diagram


 /
 |  Some text here
 |  followed by Greek
 |  text here
 |
 |
/
\/   Some English and
 |   |   Greek text
 |   |
 |  /Some English and
 |  \Greek text
 |   |
 |   |  Some English and
 |\ Greek text
 \







__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Overlong URL

2005-05-27 Thread Rich Shepard

  I've read TLC2, pages 93-96 where the URL package is described, but I have
not found how to force a break in a typeset URL when it overfills the
horizontal line. I've tried spliting it over two lines using a '%' to
indicate continuation, but that is ignored.

  How do I fix an overfull line when it's the formatted URL that is too
long?

TIA,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Converting from older version

2005-05-27 Thread Christian Payne

Hi,

I have a large and somewhat complex LyX document that I been working on 
under LyX "1.1.6fix4" on a Linux system for a number of years. For 
various reasons I now need to keep working on this with LyX under 
Windows (version 1.3.5). However, when I go and open up the file I get a 
message "An error occurred running the conversion script".


Can anyone suggestion how I can fix this problem? In particular, it is 
ESSENTIAL that the document not be damaged in any way!



Thanks in advance,

Christian.


Re: laprint & psfrag

2005-05-27 Thread Vaclav Smidl
Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a .pdf file.
Attached.
It is also using a2ping script, which is too big for mailinglist, google for 
it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:
> Hi,
>
> Anyone use laprint, a matlab function, successfully in lyx?
>
> Richard

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
function monoprint(figno,name,scale);
% function prints figure "fig" to pdf file "name"
% It is using laprint to complete the job

% settings for Springer Mono latex class

set(0,'defaulttextinterpreter','none');

laprint(figno,'/tmp/laprint_out',...
  'width',scale*11.8,...
  'factor',0.6,...
  'scalefonts','off',...
  'keepfontprops','on',...
  'asonscreen','on',...
  'printcmd',['print(''-f'',' ...
  '''-depsc2'',)'],...
  'mathticklabels','on');

if 1
  fprintf(1,'   Compiling: LaTeX -> dvips -> pdf ...\r');
  latextmp=fopen(['/tmp/pcttmp.tex'],'w');
  fprintf(latextmp,'\\documentclass[10pt]{article}\n');
  fprintf(latextmp,'\\usepackage[margin=0mm]{geometry}\n');
  fprintf(latextmp,'\\usepackage{graphicp,psfrag}\n');
  fprintf(latextmp,'\\input{mono-pre.tex}\n');
  fprintf(latextmp,'\\begin{document}\n');
  fprintf(latextmp,'\\thispagestyle{empty}\n');
  fprintf(latextmp,'\\input{%s.tex}\n\\end{document}\n','laprint_out');
  fclose(latextmp);
end

curpath	= pwd;
eval('!cd /tmp; latex pcttmp.tex >/dev/null;');
if (exist('/tmp/pcttmp.dvi') == 2)
eval(['!cd /tmp; dvips -q pcttmp.dvi -o laprint_out.ps']);
eval(['!cd /tmp; ~/bin/a2ping.pl laprint_out.ps']);
	eval(['!cp /tmp/laprint_out.pdf ' curpath '/' name '.pdf']);
end

Re: Converting from older version

2005-05-27 Thread Milos Komarcevic
Christian Payne <[EMAIL PROTECTED]> writes:
> Can anyone suggestion how I can fix this problem? In particular

Did you check the wiki? You probably just need to create the 
lyx2lyx.cmd file:
http://wiki.lyx.org/LyX/LyXWinTips
 
> it is ESSENTIAL that the document not be damaged in any way!

Keep a backup copy then.

Regards,
Milos



dvips and /tmp

2005-05-27 Thread Bruce Momjian
Is there a way to have dvips use a directory other than /tmp for
temporary files?  I am using lyx 1.2.3 and tetex 1.0.6.

I have a memory-based /tmp file system and it is too small to for dvips
to generate a presentation I am working on.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]|  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073


Re: dvips and /tmp

2005-05-27 Thread Angus Leeming

Bruce Momjian wrote:

Is there a way to have dvips use a directory other than /tmp for
temporary files?  I am using lyx 1.2.3 and tetex 1.0.6.

I have a memory-based /tmp file system and it is too small to for dvips
to generate a presentation I am working on.


Fire up the Edit->Preferences dialog and go change the location in the 
Paths pane, then press "Save". You'll need to shut down and restart LyX for 
it to take effect.


Angus




LyX and cocoaspell

2005-05-27 Thread Jordi Tritlla i Cambra

Dear lyxers

	I am rather new to LyX on OSX (10.3.9). 
So far I managed quite well to get in everything 
in working order, starting to write my first 
paper using elsart. My only problem is that I 
cannot make cocoaspell work under LyX even making 
the symbolic link. I have follow the instruction 
in LyX wiki and I got this answer from Lyx:


"Error: the file 
"/usr/local/lib/aspell-0.60e/english" can not be 
opened for reading"


Any suggestions?

Cheers,

Jordi
--
===
Dr. Jordi Tritlla i Cambra

¡PAGINA WEB PUESTA AL DIA (02/2005): 
http://geminis.geociencias.unam.mx/~jordit/



Centro de Geociencias 
	Tl: (52-442) 2381116 ext 137

Universidad Nacional Autonoma de Mexico Tl.red: 562 34116 ext 137
Carretera Querétaro-San Luís Potosí km 15.5 
	Fax: (52-442) 2-38-11-00

Campus UNAM-Juriquilla  emails alternativos:
Apartado Postal 1-742   [EMAIL PROTECTED]
C.P. 76230 Querétaro, Qro.  [EMAIL PROTECTED]
México
	[EMAIL PROTECTED]




Re: find/replace with lyx objects (such as ERTs, footnotes, etc.) [& regexes]

2005-05-27 Thread Sven Schreiber
Angus Leeming wrote:

> Kevin Pfeiffer wrote:
> 
> 
>>Following up on myself again, 'Idx'es are another object that I would
>>like to be able to find/replace. As mentioned, actually _any_ inline
>>container should be find/replaceable if possible.
>>
>>Is this the best place to post wishes? Or should they go into the
>>bugzilla?
> 
> 
> If you post them here we'll lose them.
> If you post them to bugzilla we can ignore them and feel guilty about it.
> 
> That's a big difference :)
> 
> (Post them to bugzilla in other words.)
> 

So Kevin, have you opened a bug for that yet? If so, I would like to add
a comment/ interim suggestion:

I have just discovered that using the "Navigate - Note" menu item is
very useful to do just that, navigate from note to note. Is there any
reason why not all inset types have entries in the Navigate menu?
(Especially footnotes and ERT.)

Also, it's nice that the menu has a submenu-list for figures and tables.
Wouldn't that also be useful for other insets, maybe using the first
couple of words as a substitute for the caption?

Finally, the "Navigate - Ref" entry actually seems to refer to labels,
not to references. Is that a (known?) bug or a feature?

Please direct me to the appropriate bugzilla entries if those exist. (I
have briefly searched for "inset" so far.) Thanks.

-sven


Re: laprint & psfrag

2005-05-27 Thread Richard Wang

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following  
code,


x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)

But the system hung...

Did I use it incorrectly?
I have a2ping installed in my system.

Richard

On May 27, 2005, at 2:15 AM, Vaclav Smidl wrote:


Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a  
.pdf file.

Attached.
It is also using a2ping script, which is too big for mailinglist,  
google for

it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:

Hi,

Anyone use laprint, a matlab function, successfully in lyx?

Richard


--  
--- 
--

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic





laprint & psfrag

2005-05-27 Thread Richard Wang

it hangs on line 33 in monoprint.m :

eval('!cd /tmp; latex pcttmp.tex >/dev/null;');

any suggestions?

Richard


Begin forwarded message:


From: Richard Wang <[EMAIL PROTECTED]>
Date: May 27, 2005 10:40:21 AM PDT
To: Vaclav Smidl <[EMAIL PROTECTED]>
Cc: lyx-users@lists.lyx.org
Subject: Re: laprint & psfrag

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following  
code,


x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)

But the system hung...

Did I use it incorrectly?
I have a2ping installed in my system.

Richard

On May 27, 2005, at 2:15 AM, Vaclav Smidl wrote:


Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a  
.pdf file.

Attached.
It is also using a2ping script, which is too big for mailinglist,  
google for

it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:

Hi,

Anyone use laprint, a matlab function, successfully in lyx?

Richard


--  
-- 
---

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic





Re: laprint & psfrag

2005-05-27 Thread Vaclav Smidl
On Friday 27 May 2005 19:40, Richard Wang wrote:
> Hi Vasek,
>
> Thanks for the message.  I tried to run monoprint with the following
> code,
>
> x=0:0.1:1
> plot(x,sin(x))
> monoprint(1,'test4',2)
>

Strange. Works fine on my setup. (Linux, tetex)
BTW, I would not use 2 as the third argument. The picture would be bigger than 
the page of article class. You would need to add a3paper to its options.

> But the system hung...

Well, this happens when there is malformed latex code in the figure and latex 
runs in interactive mode. 

Do you have all the packages? graphicp,psfrag, geometry
Actually, you do not need graphicp, change it to graphicx, it should also 
work.

What happens if you go to /tmp and run:
latex pcttmp.tex
manually?


Vasek

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: laprint & psfrag

2005-05-27 Thread Richard Wang
that's exact what I did.  I changed graphicp to graphicx,  It runs well  
in the beginning, but the system could not find the file mono-pre.tex.   
There should be a way to fix it..



LaTeX2e <2003/12/01>
Babel  and hyphenation patterns for american, french, german,  
ngerman, n

ohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.cfg))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/dvips.def)))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/psfrag/psfrag.sty)

! LaTeX Error: File `mono-pre.tex' not found.

Type X to quit or  to proceed,
or enter new name. (Default extension: tex)



On May 27, 2005, at 11:10 AM, Vaclav Smidl wrote:


On Friday 27 May 2005 19:40, Richard Wang wrote:

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following
code,

x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)



Strange. Works fine on my setup. (Linux, tetex)
BTW, I would not use 2 as the third argument. The picture would be  
bigger than
the page of article class. You would need to add a3paper to its  
options.



But the system hung...


Well, this happens when there is malformed latex code in the figure  
and latex

runs in interactive mode.

Do you have all the packages? graphicp,psfrag, geometry
Actually, you do not need graphicp, change it to graphicx, it should  
also

work.

What happens if you go to /tmp and run:
latex pcttmp.tex
manually?


Vasek

--  
--- 
--

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic





Re: LyX and cocoaspell

2005-05-27 Thread Bennett Helm

On May 27, 2005, at 11:10 AM, Jordi Tritlla i Cambra wrote:


Dear lyxers

	I am rather new to LyX on OSX (10.3.9). So far I managed quite well 
to get in everything in working order, starting to write my first 
paper using elsart. My only problem is that I cannot make cocoaspell 
work under LyX even making the symbolic link. I have follow the 
instruction in LyX wiki and I got this answer from Lyx:


"Error: the file "/usr/local/lib/aspell-0.60e/english" can not be 
opened for reading"


Any suggestions?


Apparently I need to update the wiki to reflect better how to install 
cocoAspell (which is now done).


If you go to the cocoAspell site, you'll notice there that dictionaries 
must be downloaded and installed separately from 
. I believe you haven't yet done 
this, an that's why it's producing this error for you.


Let me know if that does the trick.

Bennett



Re: laprint & psfrag

2005-05-27 Thread Vaclav Smidl
>
> ! LaTeX Error: File `mono-pre.tex' not found.
>
Oh, sorry, I did not noticed that. 
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek


Re: laprint & psfrag

2005-05-27 Thread Richard Wang
I see, I removed it.   Now the line 36,  ~/a2ping.pl part has problem, 
matlab shows:


/Users/richardwang/a2ping.pl  command does not exist.

Then I replace ~/a2ping.pl by a2ping, but it shows:

Compiling: LaTeX -> dvips -> pdf ...
Died at /usr/local/teTeX/bin/powerpc-apple-darwin-current/a2ping line 
1618,  line 1.

cd /tmp; a2ping laprint_out.ps: Signal 127
cp: /tmp/laprint_out.pdf: No such file or directory

Any suggestions?

Richard





On May 27, 2005, at 12:43 PM, Vaclav Smidl wrote:



! LaTeX Error: File `mono-pre.tex' not found.


Oh, sorry, I did not noticed that.
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek





Re: laprint & psfrag

2005-05-27 Thread Richard Wang

In case that someone knows a2ping, the line 1681 is:

 o_force_papersize:
die if is_page1_stop();
 # vvv ($llx,$lly,$urx,$ury)=(0,0,$papersize_x,$papersize_y);

Thanks.

Richard


On May 27, 2005, at 1:01 PM, Richard Wang wrote:

I see, I removed it.   Now the line 36,  ~/a2ping.pl part has problem, 
matlab shows:


/Users/richardwang/a2ping.pl  command does not exist.

Then I replace ~/a2ping.pl by a2ping, but it shows:

Compiling: LaTeX -> dvips -> pdf ...
Died at /usr/local/teTeX/bin/powerpc-apple-darwin-current/a2ping line 
1618,  line 1.

cd /tmp; a2ping laprint_out.ps: Signal 127
cp: /tmp/laprint_out.pdf: No such file or directory

Any suggestions?

Richard





On May 27, 2005, at 12:43 PM, Vaclav Smidl wrote:



! LaTeX Error: File `mono-pre.tex' not found.


Oh, sorry, I did not noticed that.
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek







troubleshooting 1.3.1 book template question

2005-05-27 Thread tom poe
Hello:  I am using Lyx 1.3.1 and the book template.  When I convert to
pdf with either the pdf selection or the ps selection followed by
ps2pdf, I get formatting problems at the tops of pages.  For example if
the Chapter has sections and subsections, they are layered over each
other at the top of each page.  I downloaded both the bz2 and gz
patches, but tar doesn't recognize the header info.  I then decided to
download 1.3.5 and see what happens, but the download site is
temporarily not working for me.  I started to go through the archives,
but the first several pages drew a blank.  

Can someone point me to the code that controls the info on the top of
each page in a converted pdf file?  I'll play with that, maybe, until I
get a successful download of 1.3.5
Thanks, in advance,
Tom





Web Site: Tips & Tricks Gone?

2005-05-27 Thread Rich Shepard

  I have the URL package installed and specified in my document's preamble.
But, I don't know how to use it to define a URL. I went to the LyX web site
and clicked on the link for "Tips & Tricks." Instead of seeing what used to
be there, I was taken to the TUG web site and shown Herbert's PSTricks main
page.

  What happened to that wonderful resource of tips and tricks?

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Help with big braces

2005-05-27 Thread Stefano Franchi

Hi all,

I need to insert a small diagram in my text that (in an ugly Ascii 
version) should look more or less like the the one below. I could draw 
it in a graphic package and insert it as an image, but I would very 
much like to have LyX typeset it and maintain consistency with fonts, 
etc., Problem is, I can't see how to do it. Perhaps exploiting the math 
options?  I read the math section of the LyX manual, but I don't see 
any way to do it. Perhaps the math experts have a suggestion?

Any help greatly appreciated.

Stefano

Here is the "diagram"


 /
 |  Some text here
 |  followed by Greek
 |  text here
 |
 |
/
\/   Some English and
 |   |   Greek text
 |   |
 |  /Some English and
 |  \Greek text
 |   |
 |   |  Some English and
 |\ Greek text
 \







__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Overlong URL

2005-05-27 Thread Rich Shepard

  I've read TLC2, pages 93-96 where the URL package is described, but I have
not found how to force a break in a typeset URL when it overfills the
horizontal line. I've tried spliting it over two lines using a '%' to
indicate continuation, but that is ignored.

  How do I fix an overfull line when it's the formatted URL that is too
long?

TIA,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863