Re: custom display of specific ERT

2008-10-07 Thread Andre Poenitz
On Mon, Oct 06, 2008 at 11:44:47PM -0400, Wendell Smith wrote:
 Hello,
 I am a new LyX user, and I am really enjoying it! Thanks to all the  
 developers!

 I was just wondering if it was at all possible to get a specific TeX  
 command that LyX does not recognize to display as some sort of non-ERT.

 To make that clearer, I'll tell you my issue:
 In the preamble, I have (using kerning and other commands I copied  
 online) defined \dbar to be a d crossed at the top, like \hbar. LyX, of  
 course, recognizes neither \dbar nor the code underneath it, although it  
 looks great in the pdf output. It would be nice (although not necessary)  
 if there was some way I could tell LyX to display \dbar as just a plain  
 d instead of ERT, or even better, as a bold or non-italicized (in math  
 mode) d.

 I've looked a little through the archives, and I didn't see anything  
 there that looked like this question, but if it has already been  
 answered, please point me to it!

It only works for math. In this case you can define a math macro with
zero arguments. This definiton will appear with two boxes on screen.
In he first one you put the TeX expansion, in the second one you could
put anything. The contents of the second box will be used for on-screen
rendering, so you can try to fake the appearance of \dbar there.

Andre'


Re: custom display of specific ERT

2008-10-07 Thread Wendell Smith

Andre Poenitz wrote:

On Mon, Oct 06, 2008 at 11:44:47PM -0400, Wendell Smith wrote:
  

Hello,
I am a new LyX user, and I am really enjoying it! Thanks to all the  
developers!


I was just wondering if it was at all possible to get a specific TeX  
command that LyX does not recognize to display as some sort of non-ERT.


To make that clearer, I'll tell you my issue:
In the preamble, I have (using kerning and other commands I copied  
online) defined \dbar to be a d crossed at the top, like \hbar. LyX, of  
course, recognizes neither \dbar nor the code underneath it, although it  
looks great in the pdf output. It would be nice (although not necessary)  
if there was some way I could tell LyX to display \dbar as just a plain  
d instead of ERT, or even better, as a bold or non-italicized (in math  
mode) d.


I've looked a little through the archives, and I didn't see anything  
there that looked like this question, but if it has already been  
answered, please point me to it!



It only works for math. In this case you can define a math macro with
zero arguments. This definiton will appear with two boxes on screen.
In he first one you put the TeX expansion, in the second one you could
put anything. The contents of the second box will be used for on-screen
rendering, so you can try to fake the appearance of \dbar there.

Andre'
  


Thanks, I only need it for math! But... how and do I define a math 
macro? In the preamble? You said this definiton will appear with two 
boxes on screen - how do I get that definition to appear on the screen 
at all?


thanks,
Wendell


Re: custom display of specific ERT

2008-10-07 Thread Wendell Smith
I apologize for the confusion, but I figured one thing out but would 
like to ask something new.


I figured out how to insert a math macro: Alt-x to start writing a 
command, and then math-macro dbar 0 to start a new math macro will 
then input the macro right then and there (with dbar being the macro 
command I want to create); I found this online, once I knew to look for 
a macro.


However, is there any way to put a math macro like that in a layout file 
or a preamble?


thanks,
Wendell


Re: custom display of specific ERT

2008-10-07 Thread Jean-Marc Lasgouttes
However, is there any way to put a math macro like that in a layout  
file or a preamble?


Not currently.

JMarc


Re: Error 0x800f0214

2008-10-07 Thread Manveru
2008/10/6 Gary Ri [EMAIL PROTECTED]:
 I'm on Windows Vista Home Premium x64. I installed LyX version 1.5.6, and
 towards the end of the installation it tried to do something with a printer
 and gave error 0x800f0214. However when I ran LyX, nothing seemed to be
 broken so I'm wondering if I can just ignore it. I googled 0x800f0214 and it
 seems to be some problem with printing from x64 to a printer installed in
 XP.


1.5.6 installs EMF to PS printer by default. I suggest that is should
be an option in installer - I personally do not want this.

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: custom display of specific ERT

2008-10-07 Thread rgheck

Wendell Smith wrote:
I apologize for the confusion, but I figured one thing out but would 
like to ask something new.


I figured out how to insert a math macro: Alt-x to start writing a 
command, and then math-macro dbar 0 to start a new math macro will 
then input the macro right then and there (with dbar being the macro 
command I want to create); I found this online, once I knew to look 
for a macro.


However, is there any way to put a math macro like that in a layout 
file or a preamble?


As JMarc said, no. But you can put it, and any other macros you like, 
into a separate file and then include that (InsetFileChild Document) 
at the top of the document.


Richard



Re: External_templates file format

2008-10-07 Thread rgheck

David Townshend wrote:

On Mon, Oct 6, 2008 at 1:52 PM, rgheck [EMAIL PROTECTED] wrote:

  

aquavitae wrote:



Hi

Can anyone tell me exactly how the external_templates file works?  I want
to
use datatool to plot some graphs, and I have the data in a csv file.  Just
referencing the csv file in ERT (the code is
\DTLloaddb{databasename}{filename}) gives the usual problems with relative
paths, so I wanted to try to write a copier for it in external_templates.
So
far my attempts have got me nowhere and I haven't been able to find any
documentation for the file.


  

There's material on this in the Customization manual, chapter 6, but I
can't say I understand it.



Uh, thanks.  I feel a bit stupid now - hours googling and I didn't think of
looking at the installed docs!

  
If you study these docs and are able to make sense of them, I'd VERY 
much appreciate it if you'd forward any comments to me on how they could 
be improved, or whether they are even still accurate.


Richard



Re: problems converting from eps to pdf

2008-10-07 Thread Guenter Milde
Ralph Boland [EMAIL PROTECTED] schrieb:
 --=_Part_45330_23596359.1223326104568
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline

 I am running lyx 1.5.3 on ubuntu 08 10  (hardy).
 I just added a eps file to a lyx document.
 Now I cannot generate a pdf file.
 I am told by lyx that I need to add a converter for this in the preferences
 dialog.
 I found out that if I install livetex-extra-utils I will get a command:
 epstopdf

 I did this and the command was installed.
 I then added converters
 epstopdf $$i  (EPS --PDF (dvipdfm)
 epstopdf $$i  (EPS - PDF (pdflatex)
 epstopdf $$i  (EPS - PDF (ps2pdf)

 (I didn't know which of these I needed).

You need

   epstopdf --outfile=$$o $$i
   
(I have it only in (EPS - PDF (ps2pdf).)

 This didn't work however because the command

  convertwas not found.

This is the fallback (using ugly bitmaps). 
See http://wiki.lyx.org/LyX/FiguresInLyX.

Günter



dot/graphviz

2008-10-07 Thread Eran Kaplinsky

Can anyone guide me how to incorporate dot graphs in my LyX documents?
Is there a wiki on this?

Thanks,
Eran



Re: External_templates file format

2008-10-07 Thread David Townshend
On Tue, Oct 7, 2008 at 4:18 PM, rgheck [EMAIL PROTECTED] wrote:

 David Townshend wrote:

 On Mon, Oct 6, 2008 at 1:52 PM, rgheck [EMAIL PROTECTED] wrote:



 aquavitae wrote:



 Hi

 Can anyone tell me exactly how the external_templates file works?  I
 want
 to
 use datatool to plot some graphs, and I have the data in a csv file.
  Just
 referencing the csv file in ERT (the code is
 \DTLloaddb{databasename}{filename}) gives the usual problems with
 relative
 paths, so I wanted to try to write a copier for it in
 external_templates.
 So
 far my attempts have got me nowhere and I haven't been able to find any
 documentation for the file.




 There's material on this in the Customization manual, chapter 6, but I
 can't say I understand it.



 Uh, thanks.  I feel a bit stupid now - hours googling and I didn't think
 of
 looking at the installed docs!



 If you study these docs and are able to make sense of them, I'd VERY much
 appreciate it if you'd forward any comments to me on how they could be
 improved, or whether they are even still accurate.

 Richard

 I've only had a look at the section on convertors (Ch. 3.2) and external
material (Ch. 6), but I can make sense of them.  I think that there are some
serious deficiencies in the external_templates file format and I filed a bug
report about it (http://bugzilla.lyx.org/show_bug.cgi?id=5331).  I also
think that the file could be better dealt with using xml.

As far as the docs are concerned, they seemed to be fairly up to date.
There's a lot thats unclear and not well detailed, but I don't think there's
anything thats plain wrong.  To improve them I think they just need a lot
more detail and examples throughout, e.g. under* 3.2.2 Copiers* there is a
definition: *$$l The 'LATEX name'. * Great, but what exactly is the *'LATEX
name'*?  Another example is in *6.2.1 The template
header*:*AutomaticProduction true|false Whether the file represented
by the template
must be generated by LYX.*  Which file?  Does this mean whether the copier
should be called automatically?  But if this is false then how is the file
generated?  Or does it refer to another file, and if so, which one?

I don't know if this helps at all - let me know if you want more info.  If I
can, I might have a look at reworking the external_templates and submitting
a patch to the devs, but I'm having problems with svn (I'm behind a proxy
which doesn't allow the svn protocol so I can't do svn co svn://... and I
can't find a way to do it through html)  Btw, if anyone has any suggestions
about this please let me know.

David


Re: dot/graphviz

2008-10-07 Thread Les Denham
On Tuesday 07 October 2008, Eran Kaplinsky wrote:
 Can anyone guide me how to incorporate dot graphs in my LyX documents?
 Is there a wiki on this?

 Thanks,
 Eran

I have not used graphviz, but according to its website it can output 
postscript and PDF, either of which can be put in a figure in LyX (you may 
need to convert postscript to EPS, but that's easy too).  Or you could output 
SVG files and use inkscape to include them in LyX (see 
http://wiki.lyx.org/Tips/UseInkscapeSVGImages).

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


how to number only one equation in a Matrix

2008-10-07 Thread Erez Yerushalmi
Dear All,

Simple question here.

I want to start with an equation, do the calculation on the right side, and
end up with the solution and an equation number at the end.

For example,
I begin with insert equation with a number by using cnrl-alt-M
Then I use cnrl-enter to create the next equations (like a matrix).

BUT, how do I write this type of equation with only the last equation as a
#,

example:
A=b-c
  =(d+e)-d
  =g  (#)

and NOT
A=b-c(#)
  =(d+e)-d  (#)
  =g   (#)


Any help would be appreciated.

Erez


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: how to number only one equation in a Matrix

2008-10-07 Thread Huaming Wu
just move the cursor to the end of the first 2 lines, and enter delete.

On Tue, Oct 7, 2008 at 6:11 PM, Erez Yerushalmi
[EMAIL PROTECTED] wrote:
 Dear All,

 Simple question here.

 I want to start with an equation, do the calculation on the right side, and
 end up with the solution and an equation number at the end.

 For example,
 I begin with insert equation with a number by using cnrl-alt-M
 Then I use cnrl-enter to create the next equations (like a matrix).

 BUT, how do I write this type of equation with only the last equation as a
 #,

 example:
 A=b-c
  =(d+e)-d
  =g  (#)

 and NOT
 A=b-c(#)
  =(d+e)-d  (#)
  =g   (#)


 Any help would be appreciated.

 Erez


 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi




-- 
Best regards,
Huaming Wu


Re: fully colored table cells with booktabs an colortbl

2008-10-07 Thread Johannes Knaus
Well, I tried the proposed solutions here but they didn't produce what  
I want.
Setting linespace to a negative value is generally an option but I  
have multiline input (linebreaks inside the table cells), so I need a  
little space between the horizontal lines and the content of the cell.  
But I want that space to be colored and not white. I could neither  
find something on this in the Embedded Objects Manual.

So, I post a small LyX file with the table, as Paul suggested.



booktabsncolor.lyx
Description: Binary data




Thanks for your help,

Johannes



Am 05.10.2008 um 02:44 schrieb Paul A. Rubin:


Johannes Knaus wrote:

Hello,
How can I achieve fully colored table cells using booktabs (i.e.  
formal table option) and colortbl?
When I put ERT \cellcolor{gray} inside a table cell it appears gray  
the output but there remains some white space between the gray box  
and the upper and lower table line (see attached screenshot).
Is it possible to fill the cell seemlessly / to color also this  
remaining white space?
Within the Additional Space dialog I have already set anything to  
None.


AFAIK it should fill the cell by default, unless something else is  
in play.  Can you post a small LyX file that produces your image?


/Paul





Export to rtf with bibliogrpahy and formated citations

2008-10-07 Thread Matts Lindström
Hi,

I'm using Lyx 1.6 rc2 (on Ubuntu Hardy Heron). This is my question: is
it somehow possible to export a lyx document to rtf (or .odt or .doc)
*with* bibliography and citations included *and* correctly formated by
bibtex? Thus far I've had no success using the rtf-export: the
document exports fine, but no citations/bibliography...

(I'm using jurabib with the jox style)

Thanks,
Matts Lindström


Re: Export to rtf with bibliogrpahy and formated citations

2008-10-07 Thread Wilfried
Matts Lindström
[EMAIL PROTECTED] wrote:

 I'm using Lyx 1.6 rc2 (on Ubuntu Hardy Heron). This is my question: is
 it somehow possible to export a lyx document to rtf (or .odt or .doc)
 *with* bibliography and citations included *and* correctly formated by
 bibtex? Thus far I've had no success using the rtf-export: the
 document exports fine, but no citations/bibliography...
 
 (I'm using jurabib with the jox style)

Hi!
AFAIK, LyX uses latex2rtf as export-to-rtf utility.
So the export to rtf has the limitations of latex2rtf:
It recognizes and converts only the packages which are 
hard-coded in it's program code.

AFAIK latex2rtf does NOT support the jurabib package.
The only bib packages supported by latex2rtf are
apacite
apalike
apanat
authordate
harvard
natbib

For more information, see the documentation of latex2rtf,
e.g. at http://latex2rtf.sourceforge.net/latex2rtf_1_9_19.html

You may also have a look at the test files (included in the latex2rtf
source package). All test files should be converted successfully by
latex2rtf.


--
Wilfried Hennings



Re: External_templates file format

2008-10-07 Thread Georg Baum
David Townshend wrote:

 On Tue, Oct 7, 2008 at 4:18 PM, rgheck
 [EMAIL PROTECTED] wrote:
 
 David Townshend wrote:

 On Mon, Oct 6, 2008 at 1:52 PM, rgheck
 [EMAIL PROTECTED] wrote:



 aquavitae wrote:



 Hi

 Can anyone tell me exactly how the external_templates file works?  I
 want
 to
 use datatool to plot some graphs, and I have the data in a csv file.
  Just
 referencing the csv file in ERT (the code is
 \DTLloaddb{databasename}{filename}) gives the usual problems with
 relative
 paths, so I wanted to try to write a copier for it in
 external_templates.

copiers are not defined in the external templates file. Copiers are external
scripts that are called when files of certain formats need to be copied.
They are only needed if the _contents_ of the file to be copied needs to be
changed. I believe that you don't need that in your case.

 As far as the docs are concerned, they seemed to be fairly up to date.
 There's a lot thats unclear and not well detailed, but I don't think
 there's
 anything thats plain wrong.  To improve them I think they just need a lot
 more detail and examples throughout, e.g. under* 3.2.2 Copiers* there is a
 definition: *$$l The 'LATEX name'. * Great, but what exactly is the
 *'LATEX
 name'*?

This is only needed in special cases (e.g. the tex_copy.py script that is
used top copy .pstex/pdftex files used by the xfig template from the temp
dir to the final location).

 Another example is in *6.2.1 The template 
 header*:*AutomaticProduction true|false Whether the file represented
 by the template
 must be generated by LYX.*  Which file?

The final result as given by the UpdateResult line. If AutomaticProduction
is false then LyX does not call any converters, only the original file is
copied to the temp dir. Therefore this implies that UpdateResult is the
original file. 

 Does this mean whether the 
 copier
 should be called automatically?

No, the copiers are always called automatically.


Georg



Problem referencing a figure

2008-10-07 Thread FERNANDO DIAZ
Hi:

I have a problem with a cross reference to a figure in Lyx. I inserted the
figure using Insert figure float, then insert grapichs and finally  apply a
label to it. Everything seems to be alright, but when I want to dvi it, i
get the following message:

LaTex Error: File 'prettyref.sty' not found.

Has someone had a similar problem?

I am using Lyx 1.5.6 on Woindows XP

Thanks!


hang up in 1.6.0 rc3

2008-10-07 Thread Marcelo Acuña
hello,
 I am having much hang up with rc3 and rc2 (not in rc1 and beta 4).
 Anyone have same problem?
 Is a problem in my system?
 Regards
Marcelo



Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: Problem referencing a figure

2008-10-07 Thread Marcelo Acuña
 
 I have a problem with a cross reference to a figure in Lyx.
 I inserted the
 figure using Insert figure float, then insert grapichs and
 finally  apply a
 label to it. Everything seems to be alright, but when I
 want to dvi it, i
 get the following message:
 
 LaTex Error: File 'prettyref.sty' not found.
 
 Has someone had a similar problem?
 
 I am using Lyx 1.5.6 on Woindows XP
 
 Thanks!

 Do you have installed prettyref.sty package in your system?
 The error message say not.
 Regards
Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Fwd: hang up in 1.6.0 rc3

2008-10-07 Thread James Sutherland



Begin forwarded message:


From: Marcelo Acuña [EMAIL PROTECTED]
Date: October 7, 2008 6:30:14 PM MDT
To: James Sutherland [EMAIL PROTECTED]
Subject: Re: hang up in 1.6.0 rc3
Reply-To: [EMAIL PROTECTED]


hello,
I am having much hang up with rc3 and rc2 (not in rc1

and beta 4).

Anyone have same problem?
Is a problem in my system?
Regards
Marcelo



What OS?  I haven't seen many crashes on Mac with rc3.



Linux opensuse 11.0, with kde 3.5, compiled with qt 4.4.0



  


¡Buscá desde tu celular!

Yahoo! oneSEARCH ahora está en Claro

http://ar.mobile.yahoo.com/onesearch




Re: custom display of specific ERT

2008-10-07 Thread Andre Poenitz
On Mon, Oct 06, 2008 at 11:44:47PM -0400, Wendell Smith wrote:
 Hello,
 I am a new LyX user, and I am really enjoying it! Thanks to all the  
 developers!

 I was just wondering if it was at all possible to get a specific TeX  
 command that LyX does not recognize to display as some sort of non-ERT.

 To make that clearer, I'll tell you my issue:
 In the preamble, I have (using kerning and other commands I copied  
 online) defined \dbar to be a d crossed at the top, like \hbar. LyX, of  
 course, recognizes neither \dbar nor the code underneath it, although it  
 looks great in the pdf output. It would be nice (although not necessary)  
 if there was some way I could tell LyX to display \dbar as just a plain  
 d instead of ERT, or even better, as a bold or non-italicized (in math  
 mode) d.

 I've looked a little through the archives, and I didn't see anything  
 there that looked like this question, but if it has already been  
 answered, please point me to it!

It only works for math. In this case you can define a math macro with
zero arguments. This definiton will appear with two boxes on screen.
In he first one you put the TeX expansion, in the second one you could
put anything. The contents of the second box will be used for on-screen
rendering, so you can try to fake the appearance of \dbar there.

Andre'


Re: custom display of specific ERT

2008-10-07 Thread Wendell Smith

Andre Poenitz wrote:

On Mon, Oct 06, 2008 at 11:44:47PM -0400, Wendell Smith wrote:
  

Hello,
I am a new LyX user, and I am really enjoying it! Thanks to all the  
developers!


I was just wondering if it was at all possible to get a specific TeX  
command that LyX does not recognize to display as some sort of non-ERT.


To make that clearer, I'll tell you my issue:
In the preamble, I have (using kerning and other commands I copied  
online) defined \dbar to be a d crossed at the top, like \hbar. LyX, of  
course, recognizes neither \dbar nor the code underneath it, although it  
looks great in the pdf output. It would be nice (although not necessary)  
if there was some way I could tell LyX to display \dbar as just a plain  
d instead of ERT, or even better, as a bold or non-italicized (in math  
mode) d.


I've looked a little through the archives, and I didn't see anything  
there that looked like this question, but if it has already been  
answered, please point me to it!



It only works for math. In this case you can define a math macro with
zero arguments. This definiton will appear with two boxes on screen.
In he first one you put the TeX expansion, in the second one you could
put anything. The contents of the second box will be used for on-screen
rendering, so you can try to fake the appearance of \dbar there.

Andre'
  


Thanks, I only need it for math! But... how and do I define a math 
macro? In the preamble? You said this definiton will appear with two 
boxes on screen - how do I get that definition to appear on the screen 
at all?


thanks,
Wendell


Re: custom display of specific ERT

2008-10-07 Thread Wendell Smith
I apologize for the confusion, but I figured one thing out but would 
like to ask something new.


I figured out how to insert a math macro: Alt-x to start writing a 
command, and then math-macro dbar 0 to start a new math macro will 
then input the macro right then and there (with dbar being the macro 
command I want to create); I found this online, once I knew to look for 
a macro.


However, is there any way to put a math macro like that in a layout file 
or a preamble?


thanks,
Wendell


Re: custom display of specific ERT

2008-10-07 Thread Jean-Marc Lasgouttes
However, is there any way to put a math macro like that in a layout  
file or a preamble?


Not currently.

JMarc


Re: Error 0x800f0214

2008-10-07 Thread Manveru
2008/10/6 Gary Ri [EMAIL PROTECTED]:
 I'm on Windows Vista Home Premium x64. I installed LyX version 1.5.6, and
 towards the end of the installation it tried to do something with a printer
 and gave error 0x800f0214. However when I ran LyX, nothing seemed to be
 broken so I'm wondering if I can just ignore it. I googled 0x800f0214 and it
 seems to be some problem with printing from x64 to a printer installed in
 XP.


1.5.6 installs EMF to PS printer by default. I suggest that is should
be an option in installer - I personally do not want this.

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: custom display of specific ERT

2008-10-07 Thread rgheck

Wendell Smith wrote:
I apologize for the confusion, but I figured one thing out but would 
like to ask something new.


I figured out how to insert a math macro: Alt-x to start writing a 
command, and then math-macro dbar 0 to start a new math macro will 
then input the macro right then and there (with dbar being the macro 
command I want to create); I found this online, once I knew to look 
for a macro.


However, is there any way to put a math macro like that in a layout 
file or a preamble?


As JMarc said, no. But you can put it, and any other macros you like, 
into a separate file and then include that (InsetFileChild Document) 
at the top of the document.


Richard



Re: External_templates file format

2008-10-07 Thread rgheck

David Townshend wrote:

On Mon, Oct 6, 2008 at 1:52 PM, rgheck [EMAIL PROTECTED] wrote:

  

aquavitae wrote:



Hi

Can anyone tell me exactly how the external_templates file works?  I want
to
use datatool to plot some graphs, and I have the data in a csv file.  Just
referencing the csv file in ERT (the code is
\DTLloaddb{databasename}{filename}) gives the usual problems with relative
paths, so I wanted to try to write a copier for it in external_templates.
So
far my attempts have got me nowhere and I haven't been able to find any
documentation for the file.


  

There's material on this in the Customization manual, chapter 6, but I
can't say I understand it.



Uh, thanks.  I feel a bit stupid now - hours googling and I didn't think of
looking at the installed docs!

  
If you study these docs and are able to make sense of them, I'd VERY 
much appreciate it if you'd forward any comments to me on how they could 
be improved, or whether they are even still accurate.


Richard



Re: problems converting from eps to pdf

2008-10-07 Thread Guenter Milde
Ralph Boland [EMAIL PROTECTED] schrieb:
 --=_Part_45330_23596359.1223326104568
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline

 I am running lyx 1.5.3 on ubuntu 08 10  (hardy).
 I just added a eps file to a lyx document.
 Now I cannot generate a pdf file.
 I am told by lyx that I need to add a converter for this in the preferences
 dialog.
 I found out that if I install livetex-extra-utils I will get a command:
 epstopdf

 I did this and the command was installed.
 I then added converters
 epstopdf $$i  (EPS --PDF (dvipdfm)
 epstopdf $$i  (EPS - PDF (pdflatex)
 epstopdf $$i  (EPS - PDF (ps2pdf)

 (I didn't know which of these I needed).

You need

   epstopdf --outfile=$$o $$i
   
(I have it only in (EPS - PDF (ps2pdf).)

 This didn't work however because the command

  convertwas not found.

This is the fallback (using ugly bitmaps). 
See http://wiki.lyx.org/LyX/FiguresInLyX.

Günter



dot/graphviz

2008-10-07 Thread Eran Kaplinsky

Can anyone guide me how to incorporate dot graphs in my LyX documents?
Is there a wiki on this?

Thanks,
Eran



Re: External_templates file format

2008-10-07 Thread David Townshend
On Tue, Oct 7, 2008 at 4:18 PM, rgheck [EMAIL PROTECTED] wrote:

 David Townshend wrote:

 On Mon, Oct 6, 2008 at 1:52 PM, rgheck [EMAIL PROTECTED] wrote:



 aquavitae wrote:



 Hi

 Can anyone tell me exactly how the external_templates file works?  I
 want
 to
 use datatool to plot some graphs, and I have the data in a csv file.
  Just
 referencing the csv file in ERT (the code is
 \DTLloaddb{databasename}{filename}) gives the usual problems with
 relative
 paths, so I wanted to try to write a copier for it in
 external_templates.
 So
 far my attempts have got me nowhere and I haven't been able to find any
 documentation for the file.




 There's material on this in the Customization manual, chapter 6, but I
 can't say I understand it.



 Uh, thanks.  I feel a bit stupid now - hours googling and I didn't think
 of
 looking at the installed docs!



 If you study these docs and are able to make sense of them, I'd VERY much
 appreciate it if you'd forward any comments to me on how they could be
 improved, or whether they are even still accurate.

 Richard

 I've only had a look at the section on convertors (Ch. 3.2) and external
material (Ch. 6), but I can make sense of them.  I think that there are some
serious deficiencies in the external_templates file format and I filed a bug
report about it (http://bugzilla.lyx.org/show_bug.cgi?id=5331).  I also
think that the file could be better dealt with using xml.

As far as the docs are concerned, they seemed to be fairly up to date.
There's a lot thats unclear and not well detailed, but I don't think there's
anything thats plain wrong.  To improve them I think they just need a lot
more detail and examples throughout, e.g. under* 3.2.2 Copiers* there is a
definition: *$$l The 'LATEX name'. * Great, but what exactly is the *'LATEX
name'*?  Another example is in *6.2.1 The template
header*:*AutomaticProduction true|false Whether the file represented
by the template
must be generated by LYX.*  Which file?  Does this mean whether the copier
should be called automatically?  But if this is false then how is the file
generated?  Or does it refer to another file, and if so, which one?

I don't know if this helps at all - let me know if you want more info.  If I
can, I might have a look at reworking the external_templates and submitting
a patch to the devs, but I'm having problems with svn (I'm behind a proxy
which doesn't allow the svn protocol so I can't do svn co svn://... and I
can't find a way to do it through html)  Btw, if anyone has any suggestions
about this please let me know.

David


Re: dot/graphviz

2008-10-07 Thread Les Denham
On Tuesday 07 October 2008, Eran Kaplinsky wrote:
 Can anyone guide me how to incorporate dot graphs in my LyX documents?
 Is there a wiki on this?

 Thanks,
 Eran

I have not used graphviz, but according to its website it can output 
postscript and PDF, either of which can be put in a figure in LyX (you may 
need to convert postscript to EPS, but that's easy too).  Or you could output 
SVG files and use inkscape to include them in LyX (see 
http://wiki.lyx.org/Tips/UseInkscapeSVGImages).

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


how to number only one equation in a Matrix

2008-10-07 Thread Erez Yerushalmi
Dear All,

Simple question here.

I want to start with an equation, do the calculation on the right side, and
end up with the solution and an equation number at the end.

For example,
I begin with insert equation with a number by using cnrl-alt-M
Then I use cnrl-enter to create the next equations (like a matrix).

BUT, how do I write this type of equation with only the last equation as a
#,

example:
A=b-c
  =(d+e)-d
  =g  (#)

and NOT
A=b-c(#)
  =(d+e)-d  (#)
  =g   (#)


Any help would be appreciated.

Erez


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: how to number only one equation in a Matrix

2008-10-07 Thread Huaming Wu
just move the cursor to the end of the first 2 lines, and enter delete.

On Tue, Oct 7, 2008 at 6:11 PM, Erez Yerushalmi
[EMAIL PROTECTED] wrote:
 Dear All,

 Simple question here.

 I want to start with an equation, do the calculation on the right side, and
 end up with the solution and an equation number at the end.

 For example,
 I begin with insert equation with a number by using cnrl-alt-M
 Then I use cnrl-enter to create the next equations (like a matrix).

 BUT, how do I write this type of equation with only the last equation as a
 #,

 example:
 A=b-c
  =(d+e)-d
  =g  (#)

 and NOT
 A=b-c(#)
  =(d+e)-d  (#)
  =g   (#)


 Any help would be appreciated.

 Erez


 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi




-- 
Best regards,
Huaming Wu


Re: fully colored table cells with booktabs an colortbl

2008-10-07 Thread Johannes Knaus
Well, I tried the proposed solutions here but they didn't produce what  
I want.
Setting linespace to a negative value is generally an option but I  
have multiline input (linebreaks inside the table cells), so I need a  
little space between the horizontal lines and the content of the cell.  
But I want that space to be colored and not white. I could neither  
find something on this in the Embedded Objects Manual.

So, I post a small LyX file with the table, as Paul suggested.



booktabsncolor.lyx
Description: Binary data




Thanks for your help,

Johannes



Am 05.10.2008 um 02:44 schrieb Paul A. Rubin:


Johannes Knaus wrote:

Hello,
How can I achieve fully colored table cells using booktabs (i.e.  
formal table option) and colortbl?
When I put ERT \cellcolor{gray} inside a table cell it appears gray  
the output but there remains some white space between the gray box  
and the upper and lower table line (see attached screenshot).
Is it possible to fill the cell seemlessly / to color also this  
remaining white space?
Within the Additional Space dialog I have already set anything to  
None.


AFAIK it should fill the cell by default, unless something else is  
in play.  Can you post a small LyX file that produces your image?


/Paul





Export to rtf with bibliogrpahy and formated citations

2008-10-07 Thread Matts Lindström
Hi,

I'm using Lyx 1.6 rc2 (on Ubuntu Hardy Heron). This is my question: is
it somehow possible to export a lyx document to rtf (or .odt or .doc)
*with* bibliography and citations included *and* correctly formated by
bibtex? Thus far I've had no success using the rtf-export: the
document exports fine, but no citations/bibliography...

(I'm using jurabib with the jox style)

Thanks,
Matts Lindström


Re: Export to rtf with bibliogrpahy and formated citations

2008-10-07 Thread Wilfried
Matts Lindström
[EMAIL PROTECTED] wrote:

 I'm using Lyx 1.6 rc2 (on Ubuntu Hardy Heron). This is my question: is
 it somehow possible to export a lyx document to rtf (or .odt or .doc)
 *with* bibliography and citations included *and* correctly formated by
 bibtex? Thus far I've had no success using the rtf-export: the
 document exports fine, but no citations/bibliography...
 
 (I'm using jurabib with the jox style)

Hi!
AFAIK, LyX uses latex2rtf as export-to-rtf utility.
So the export to rtf has the limitations of latex2rtf:
It recognizes and converts only the packages which are 
hard-coded in it's program code.

AFAIK latex2rtf does NOT support the jurabib package.
The only bib packages supported by latex2rtf are
apacite
apalike
apanat
authordate
harvard
natbib

For more information, see the documentation of latex2rtf,
e.g. at http://latex2rtf.sourceforge.net/latex2rtf_1_9_19.html

You may also have a look at the test files (included in the latex2rtf
source package). All test files should be converted successfully by
latex2rtf.


--
Wilfried Hennings



Re: External_templates file format

2008-10-07 Thread Georg Baum
David Townshend wrote:

 On Tue, Oct 7, 2008 at 4:18 PM, rgheck
 [EMAIL PROTECTED] wrote:
 
 David Townshend wrote:

 On Mon, Oct 6, 2008 at 1:52 PM, rgheck
 [EMAIL PROTECTED] wrote:



 aquavitae wrote:



 Hi

 Can anyone tell me exactly how the external_templates file works?  I
 want
 to
 use datatool to plot some graphs, and I have the data in a csv file.
  Just
 referencing the csv file in ERT (the code is
 \DTLloaddb{databasename}{filename}) gives the usual problems with
 relative
 paths, so I wanted to try to write a copier for it in
 external_templates.

copiers are not defined in the external templates file. Copiers are external
scripts that are called when files of certain formats need to be copied.
They are only needed if the _contents_ of the file to be copied needs to be
changed. I believe that you don't need that in your case.

 As far as the docs are concerned, they seemed to be fairly up to date.
 There's a lot thats unclear and not well detailed, but I don't think
 there's
 anything thats plain wrong.  To improve them I think they just need a lot
 more detail and examples throughout, e.g. under* 3.2.2 Copiers* there is a
 definition: *$$l The 'LATEX name'. * Great, but what exactly is the
 *'LATEX
 name'*?

This is only needed in special cases (e.g. the tex_copy.py script that is
used top copy .pstex/pdftex files used by the xfig template from the temp
dir to the final location).

 Another example is in *6.2.1 The template 
 header*:*AutomaticProduction true|false Whether the file represented
 by the template
 must be generated by LYX.*  Which file?

The final result as given by the UpdateResult line. If AutomaticProduction
is false then LyX does not call any converters, only the original file is
copied to the temp dir. Therefore this implies that UpdateResult is the
original file. 

 Does this mean whether the 
 copier
 should be called automatically?

No, the copiers are always called automatically.


Georg



Problem referencing a figure

2008-10-07 Thread FERNANDO DIAZ
Hi:

I have a problem with a cross reference to a figure in Lyx. I inserted the
figure using Insert figure float, then insert grapichs and finally  apply a
label to it. Everything seems to be alright, but when I want to dvi it, i
get the following message:

LaTex Error: File 'prettyref.sty' not found.

Has someone had a similar problem?

I am using Lyx 1.5.6 on Woindows XP

Thanks!


hang up in 1.6.0 rc3

2008-10-07 Thread Marcelo Acuña
hello,
 I am having much hang up with rc3 and rc2 (not in rc1 and beta 4).
 Anyone have same problem?
 Is a problem in my system?
 Regards
Marcelo



Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: Problem referencing a figure

2008-10-07 Thread Marcelo Acuña
 
 I have a problem with a cross reference to a figure in Lyx.
 I inserted the
 figure using Insert figure float, then insert grapichs and
 finally  apply a
 label to it. Everything seems to be alright, but when I
 want to dvi it, i
 get the following message:
 
 LaTex Error: File 'prettyref.sty' not found.
 
 Has someone had a similar problem?
 
 I am using Lyx 1.5.6 on Woindows XP
 
 Thanks!

 Do you have installed prettyref.sty package in your system?
 The error message say not.
 Regards
Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Fwd: hang up in 1.6.0 rc3

2008-10-07 Thread James Sutherland



Begin forwarded message:


From: Marcelo Acuña [EMAIL PROTECTED]
Date: October 7, 2008 6:30:14 PM MDT
To: James Sutherland [EMAIL PROTECTED]
Subject: Re: hang up in 1.6.0 rc3
Reply-To: [EMAIL PROTECTED]


hello,
I am having much hang up with rc3 and rc2 (not in rc1

and beta 4).

Anyone have same problem?
Is a problem in my system?
Regards
Marcelo



What OS?  I haven't seen many crashes on Mac with rc3.



Linux opensuse 11.0, with kde 3.5, compiled with qt 4.4.0



  


¡Buscá desde tu celular!

Yahoo! oneSEARCH ahora está en Claro

http://ar.mobile.yahoo.com/onesearch




Re: custom display of specific ERT

2008-10-07 Thread Andre Poenitz
On Mon, Oct 06, 2008 at 11:44:47PM -0400, Wendell Smith wrote:
> Hello,
> I am a new LyX user, and I am really enjoying it! Thanks to all the  
> developers!
>
> I was just wondering if it was at all possible to get a specific TeX  
> command that LyX does not recognize to display as some sort of non-ERT.
>
> To make that clearer, I'll tell you my issue:
> In the preamble, I have (using kerning and other commands I copied  
> online) defined \dbar to be a d crossed at the top, like \hbar. LyX, of  
> course, recognizes neither \dbar nor the code underneath it, although it  
> looks great in the pdf output. It would be nice (although not necessary)  
> if there was some way I could tell LyX to display \dbar as just a plain  
> "d" instead of ERT, or even better, as a bold or non-italicized (in math  
> mode) "d".
>
> I've looked a little through the archives, and I didn't see anything  
> there that looked like this question, but if it has already been  
> answered, please point me to it!

It only works for math. In this case you can define a math macro with
zero arguments. This definiton will appear with two boxes on screen.
In he first one you put the TeX expansion, in the second one you could
put anything. The contents of the second box will be used for on-screen
rendering, so you can try to fake the appearance of \dbar there.

Andre'


Re: custom display of specific ERT

2008-10-07 Thread Wendell Smith

Andre Poenitz wrote:

On Mon, Oct 06, 2008 at 11:44:47PM -0400, Wendell Smith wrote:
  

Hello,
I am a new LyX user, and I am really enjoying it! Thanks to all the  
developers!


I was just wondering if it was at all possible to get a specific TeX  
command that LyX does not recognize to display as some sort of non-ERT.


To make that clearer, I'll tell you my issue:
In the preamble, I have (using kerning and other commands I copied  
online) defined \dbar to be a d crossed at the top, like \hbar. LyX, of  
course, recognizes neither \dbar nor the code underneath it, although it  
looks great in the pdf output. It would be nice (although not necessary)  
if there was some way I could tell LyX to display \dbar as just a plain  
"d" instead of ERT, or even better, as a bold or non-italicized (in math  
mode) "d".


I've looked a little through the archives, and I didn't see anything  
there that looked like this question, but if it has already been  
answered, please point me to it!



It only works for math. In this case you can define a math macro with
zero arguments. This definiton will appear with two boxes on screen.
In he first one you put the TeX expansion, in the second one you could
put anything. The contents of the second box will be used for on-screen
rendering, so you can try to fake the appearance of \dbar there.

Andre'
  


Thanks, I only need it for math! But... how and do I define a math 
macro? In the preamble? You said "this definiton will appear with two 
boxes on screen" - how do I get that definition to appear on the screen 
at all?


thanks,
Wendell


Re: custom display of specific ERT

2008-10-07 Thread Wendell Smith
I apologize for the confusion, but I figured one thing out but would 
like to ask something new.


I figured out how to insert a math macro: "Alt-x" to start writing a 
command, and then "math-macro dbar 0" to start a new math macro will 
then input the macro right then and there (with "dbar" being the macro 
command I want to create); I found this online, once I knew to look for 
a macro.


However, is there any way to put a math macro like that in a layout file 
or a preamble?


thanks,
Wendell


Re: custom display of specific ERT

2008-10-07 Thread Jean-Marc Lasgouttes
However, is there any way to put a math macro like that in a layout  
file or a preamble?


Not currently.

JMarc


Re: Error 0x800f0214

2008-10-07 Thread Manveru
2008/10/6 Gary Ri <[EMAIL PROTECTED]>:
> I'm on Windows Vista Home Premium x64. I installed LyX version 1.5.6, and
> towards the end of the installation it tried to do something with a printer
> and gave error 0x800f0214. However when I ran LyX, nothing seemed to be
> broken so I'm wondering if I can just ignore it. I googled 0x800f0214 and it
> seems to be some problem with printing from x64 to a printer installed in
> XP.
>

1.5.6 installs EMF to PS printer by default. I suggest that is should
be an option in installer - I personally do not want this.

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: custom display of specific ERT

2008-10-07 Thread rgheck

Wendell Smith wrote:
I apologize for the confusion, but I figured one thing out but would 
like to ask something new.


I figured out how to insert a math macro: "Alt-x" to start writing a 
command, and then "math-macro dbar 0" to start a new math macro will 
then input the macro right then and there (with "dbar" being the macro 
command I want to create); I found this online, once I knew to look 
for a macro.


However, is there any way to put a math macro like that in a layout 
file or a preamble?


As JMarc said, no. But you can put it, and any other macros you like, 
into a separate file and then include that (Inset>File>Child Document) 
at the top of the document.


Richard



Re: External_templates file format

2008-10-07 Thread rgheck

David Townshend wrote:

On Mon, Oct 6, 2008 at 1:52 PM, rgheck <[EMAIL PROTECTED]> wrote:

  

aquavitae wrote:



Hi

Can anyone tell me exactly how the external_templates file works?  I want
to
use datatool to plot some graphs, and I have the data in a csv file.  Just
referencing the csv file in ERT (the code is
\DTLloaddb{databasename}{filename}) gives the usual problems with relative
paths, so I wanted to try to write a copier for it in external_templates.
So
far my attempts have got me nowhere and I haven't been able to find any
documentation for the file.


  

There's material on this in the Customization manual, chapter 6, but I
can't say I understand it.



Uh, thanks.  I feel a bit stupid now - hours googling and I didn't think of
looking at the installed docs!

  
If you study these docs and are able to make sense of them, I'd VERY 
much appreciate it if you'd forward any comments to me on how they could 
be improved, or whether they are even still accurate.


Richard



Re: problems converting from eps to pdf

2008-10-07 Thread Guenter Milde
Ralph Boland <[EMAIL PROTECTED]> schrieb:
> --=_Part_45330_23596359.1223326104568
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline

> I am running lyx 1.5.3 on ubuntu 08 10  (hardy).
> I just added a eps file to a lyx document.
> Now I cannot generate a pdf file.
> I am told by lyx that I need to add a converter for this in the preferences
> dialog.
> I found out that if I install livetex-extra-utils I will get a command:
> epstopdf

> I did this and the command was installed.
> I then added converters
> epstopdf $$i  (EPS -->PDF (dvipdfm)
> epstopdf $$i  (EPS -> PDF (pdflatex)
> epstopdf $$i  (EPS -> PDF (ps2pdf)

> (I didn't know which of these I needed).

You need

   epstopdf --outfile=$$o $$i
   
(I have it only in (EPS -> PDF (ps2pdf).)

> This didn't work however because the command

>  "convert"was not found.

This is the fallback (using ugly bitmaps). 
See http://wiki.lyx.org/LyX/FiguresInLyX.

Günter



dot/graphviz

2008-10-07 Thread Eran Kaplinsky

Can anyone guide me how to incorporate dot graphs in my LyX documents?
Is there a wiki on this?

Thanks,
Eran



Re: External_templates file format

2008-10-07 Thread David Townshend
On Tue, Oct 7, 2008 at 4:18 PM, rgheck <[EMAIL PROTECTED]> wrote:

> David Townshend wrote:
>
>> On Mon, Oct 6, 2008 at 1:52 PM, rgheck <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>> aquavitae wrote:
>>>
>>>
>>>
 Hi

 Can anyone tell me exactly how the external_templates file works?  I
 want
 to
 use datatool to plot some graphs, and I have the data in a csv file.
  Just
 referencing the csv file in ERT (the code is
 \DTLloaddb{databasename}{filename}) gives the usual problems with
 relative
 paths, so I wanted to try to write a copier for it in
 external_templates.
 So
 far my attempts have got me nowhere and I haven't been able to find any
 documentation for the file.




>>> There's material on this in the Customization manual, chapter 6, but I
>>> can't say I understand it.
>>>
>>>
>>>
>> Uh, thanks.  I feel a bit stupid now - hours googling and I didn't think
>> of
>> looking at the installed docs!
>>
>>
>>
> If you study these docs and are able to make sense of them, I'd VERY much
> appreciate it if you'd forward any comments to me on how they could be
> improved, or whether they are even still accurate.
>
> Richard
>
> I've only had a look at the section on convertors (Ch. 3.2) and external
material (Ch. 6), but I can make sense of them.  I think that there are some
serious deficiencies in the external_templates file format and I filed a bug
report about it (http://bugzilla.lyx.org/show_bug.cgi?id=5331).  I also
think that the file could be better dealt with using xml.

As far as the docs are concerned, they seemed to be fairly up to date.
There's a lot thats unclear and not well detailed, but I don't think there's
anything thats plain wrong.  To improve them I think they just need a lot
more detail and examples throughout, e.g. under* 3.2.2 Copiers* there is a
definition: *"$$l The 'LATEX name'." * Great, but what exactly is the *'LATEX
name'*?  Another example is in *6.2.1 The template
header*:*"AutomaticProduction true|false Whether the file represented
by the template
must be generated by LYX."*  Which file?  Does this mean whether the copier
should be called automatically?  But if this is false then how is the file
generated?  Or does it refer to another file, and if so, which one?

I don't know if this helps at all - let me know if you want more info.  If I
can, I might have a look at reworking the external_templates and submitting
a patch to the devs, but I'm having problems with svn (I'm behind a proxy
which doesn't allow the svn protocol so I can't do "svn co svn://..." and I
can't find a way to do it through html)  Btw, if anyone has any suggestions
about this please let me know.

David


Re: dot/graphviz

2008-10-07 Thread Les Denham
On Tuesday 07 October 2008, Eran Kaplinsky wrote:
> Can anyone guide me how to incorporate dot graphs in my LyX documents?
> Is there a wiki on this?
>
> Thanks,
> Eran

I have not used graphviz, but according to its website it can output 
postscript and PDF, either of which can be put in a figure in LyX (you may 
need to convert postscript to EPS, but that's easy too).  Or you could output 
SVG files and use inkscape to include them in LyX (see 
http://wiki.lyx.org/Tips/UseInkscapeSVGImages).

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


how to number only one equation in a Matrix

2008-10-07 Thread Erez Yerushalmi
Dear All,

Simple question here.

I want to start with an equation, do the calculation on the right side, and
end up with the solution and an equation number at the end.

For example,
I begin with insert equation with a number by using cnrl-alt-M
Then I use cnrl-enter to create the next equations (like a matrix).

BUT, how do I write this type of equation with only the last equation as a
#,

example:
A=b-c
  =(d+e)-d
  =g  (#)

and NOT
A=b-c(#)
  =(d+e)-d  (#)
  =g   (#)


Any help would be appreciated.

Erez


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: how to number only one equation in a Matrix

2008-10-07 Thread Huaming Wu
just move the cursor to the end of the first 2 lines, and enter delete.

On Tue, Oct 7, 2008 at 6:11 PM, Erez Yerushalmi
<[EMAIL PROTECTED]> wrote:
> Dear All,
>
> Simple question here.
>
> I want to start with an equation, do the calculation on the right side, and
> end up with the solution and an equation number at the end.
>
> For example,
> I begin with insert equation with a number by using cnrl-alt-M
> Then I use cnrl-enter to create the next equations (like a matrix).
>
> BUT, how do I write this type of equation with only the last equation as a
> #,
>
> example:
> A=b-c
>  =(d+e)-d
>  =g  (#)
>
> and NOT
> A=b-c(#)
>  =(d+e)-d  (#)
>  =g   (#)
>
>
> Any help would be appreciated.
>
> Erez
>
>
> --
> Erez Yerushalmi
> PhD Student
> Warwick University, UK
> http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi
>



-- 
Best regards,
Huaming Wu


Re: fully colored table cells with booktabs an colortbl

2008-10-07 Thread Johannes Knaus
Well, I tried the proposed solutions here but they didn't produce what  
I want.
Setting linespace to a negative value is generally an option but I  
have multiline input (linebreaks inside the table cells), so I need a  
little space between the horizontal lines and the content of the cell.  
But I want that space to be colored and not white. I could neither  
find something on this in the Embedded Objects Manual.

So, I post a small LyX file with the table, as Paul suggested.



booktabsncolor.lyx
Description: Binary data




Thanks for your help,

Johannes



Am 05.10.2008 um 02:44 schrieb Paul A. Rubin:


Johannes Knaus wrote:

Hello,
How can I achieve fully colored table cells using booktabs (i.e.  
"formal" table option) and colortbl?
When I put ERT \cellcolor{gray} inside a table cell it appears gray  
the output but there remains some white space between the gray box  
and the upper and lower table line (see attached screenshot).
Is it possible to fill the cell seemlessly / to color also this  
remaining white space?
Within the "Additional Space" dialog I have already set anything to  
"None".


AFAIK it should fill the cell by default, unless something else is  
in play.  Can you post a small LyX file that produces your image?


/Paul





Export to rtf with bibliogrpahy and formated citations

2008-10-07 Thread Matts Lindström
Hi,

I'm using Lyx 1.6 rc2 (on Ubuntu Hardy Heron). This is my question: is
it somehow possible to export a lyx document to rtf (or .odt or .doc)
*with* bibliography and citations included *and* correctly formated by
bibtex? Thus far I've had no success using the rtf-export: the
document exports fine, but no citations/bibliography...

(I'm using jurabib with the jox style)

Thanks,
Matts Lindström


Re: Export to rtf with bibliogrpahy and formated citations

2008-10-07 Thread Wilfried
"Matts Lindström"
<[EMAIL PROTECTED]> wrote:

> I'm using Lyx 1.6 rc2 (on Ubuntu Hardy Heron). This is my question: is
> it somehow possible to export a lyx document to rtf (or .odt or .doc)
> *with* bibliography and citations included *and* correctly formated by
> bibtex? Thus far I've had no success using the rtf-export: the
> document exports fine, but no citations/bibliography...
> 
> (I'm using jurabib with the jox style)

Hi!
AFAIK, LyX uses latex2rtf as export-to-rtf utility.
So the export to rtf has the limitations of latex2rtf:
It recognizes and converts only the packages which are 
hard-coded in it's program code.

AFAIK latex2rtf does NOT support the jurabib package.
The only bib packages supported by latex2rtf are
apacite
apalike
apanat
authordate
harvard
natbib

For more information, see the documentation of latex2rtf,
e.g. at http://latex2rtf.sourceforge.net/latex2rtf_1_9_19.html

You may also have a look at the test files (included in the latex2rtf
source package). All test files should be converted successfully by
latex2rtf.


--
Wilfried Hennings



Re: External_templates file format

2008-10-07 Thread Georg Baum
David Townshend wrote:

> On Tue, Oct 7, 2008 at 4:18 PM, rgheck
> <[EMAIL PROTECTED]> wrote:
> 
>> David Townshend wrote:
>>
>>> On Mon, Oct 6, 2008 at 1:52 PM, rgheck
>>> <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
 aquavitae wrote:



> Hi
>
> Can anyone tell me exactly how the external_templates file works?  I
> want
> to
> use datatool to plot some graphs, and I have the data in a csv file.
>  Just
> referencing the csv file in ERT (the code is
> \DTLloaddb{databasename}{filename}) gives the usual problems with
> relative
> paths, so I wanted to try to write a copier for it in
> external_templates.

copiers are not defined in the external templates file. Copiers are external
scripts that are called when files of certain formats need to be copied.
They are only needed if the _contents_ of the file to be copied needs to be
changed. I believe that you don't need that in your case.

> As far as the docs are concerned, they seemed to be fairly up to date.
> There's a lot thats unclear and not well detailed, but I don't think
> there's
> anything thats plain wrong.  To improve them I think they just need a lot
> more detail and examples throughout, e.g. under* 3.2.2 Copiers* there is a
> definition: *"$$l The 'LATEX name'." * Great, but what exactly is the
> *'LATEX
> name'*?

This is only needed in special cases (e.g. the tex_copy.py script that is
used top copy .pstex/pdftex files used by the xfig template from the temp
dir to the final location).

> Another example is in *6.2.1 The template 
> header*:*"AutomaticProduction true|false Whether the file represented
> by the template
> must be generated by LYX."*  Which file?

The final result as given by the UpdateResult line. If AutomaticProduction
is false then LyX does not call any converters, only the original file is
copied to the temp dir. Therefore this implies that UpdateResult is the
original file. 

> Does this mean whether the 
> copier
> should be called automatically?

No, the copiers are always called automatically.


Georg



Problem referencing a figure

2008-10-07 Thread FERNANDO DIAZ
Hi:

I have a problem with a cross reference to a figure in Lyx. I inserted the
figure using Insert figure float, then insert grapichs and finally  apply a
label to it. Everything seems to be alright, but when I want to dvi it, i
get the following message:

LaTex Error: File 'prettyref.sty' not found.

Has someone had a similar problem?

I am using Lyx 1.5.6 on Woindows XP

Thanks!


hang up in 1.6.0 rc3

2008-10-07 Thread Marcelo Acuña
hello,
 I am having much hang up with rc3 and rc2 (not in rc1 and beta 4).
 Anyone have same problem?
 Is a problem in my system?
 Regards
Marcelo



Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: Problem referencing a figure

2008-10-07 Thread Marcelo Acuña
> 
> I have a problem with a cross reference to a figure in Lyx.
> I inserted the
> figure using Insert figure float, then insert grapichs and
> finally  apply a
> label to it. Everything seems to be alright, but when I
> want to dvi it, i
> get the following message:
> 
> LaTex Error: File 'prettyref.sty' not found.
> 
> Has someone had a similar problem?
> 
> I am using Lyx 1.5.6 on Woindows XP
> 
> Thanks!

 Do you have installed prettyref.sty package in your system?
 The error message say not.
 Regards
Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Fwd: hang up in 1.6.0 rc3

2008-10-07 Thread James Sutherland



Begin forwarded message:


From: Marcelo Acuña <[EMAIL PROTECTED]>
Date: October 7, 2008 6:30:14 PM MDT
To: James Sutherland <[EMAIL PROTECTED]>
Subject: Re: hang up in 1.6.0 rc3
Reply-To: [EMAIL PROTECTED]


hello,
I am having much hang up with rc3 and rc2 (not in rc1

and beta 4).

Anyone have same problem?
Is a problem in my system?
Regards
Marcelo



What OS?  I haven't seen many crashes on Mac with rc3.



Linux opensuse 11.0, with kde 3.5, compiled with qt 4.4.0



  


¡Buscá desde tu celular!

Yahoo! oneSEARCH ahora está en Claro

http://ar.mobile.yahoo.com/onesearch