Re: lyx 2.0.1 and relative paths to tex files

2011-10-20 Thread Oscar Lopez
tex to the preamble file) Thank you very much for your comment Curtis Best regards Oscar On Thu 20 Oct 2011 05:25:57 PM EEST, Oscar Lopez wrote: > Dear LyXers > > I have recenty updated my lyx version to lyx 2.0.1 and I have found that > using relative paths to t

Re: lyx 2.0.1 and relative paths to tex files

2011-10-20 Thread Oscar Lopez
ll lyx anything Thanks for your comments Best regards Oscar Spyros On Thu 20 Oct 2011 05:25:57 PM EEST, Oscar Lopez wrote: Dear LyXers I have recenty updated my lyx version to lyx 2.0.1 and I have found that using relative paths to tex files at the lyx preamble does not work anymore. I

default math mode for multiline equations

2009-07-28 Thread Oscar Lopez
Dear lyxers I would like to know if there is some way to customize the math environment that lyx provides when Ctrl+Enter is used (multiline formulae). As it is described at the math documentation section 18.1 when AMS math package is used the align environment is used as the default. Now I

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-26 Thread Oscar Lopez
Steve Litt wrote: On Monday 25 May 2009 10:40:43 am Oscar Lopez wrote: What surprises me is that it's dependent on LyX version. If the LyX file is called bar.lyx, I'd like to see you do the following: lyx-1.5.4 -e latex bar.lyx mv bar.tex bar-1.5.4.tex lyx-1.6.2 -e latex

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-26 Thread Oscar Lopez
Enrico Forestieri wrote: Jürgen Spitzmüller writes: LyX does this automatically for you, that's why your document works if the code is inserted directly to the preamble. In former versions, Lyx blindly embraced any preamble with this pair. Now, it tries to be smart and only embraces it if

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-26 Thread Oscar Lopez
Jürgen Spitzmüller wrote: Oscar Lopez wrote: * if the lyx preamble consists of \input{foo.tex} it does not work and the aforementioned error appears. If I enclose \input{foo.tex} between \makeatletter and \makeatother then it works, which really puzzles me. *if the content of the preamble

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-25 Thread Oscar Lopez
oblem could be solved. Perhaps I am missing something quite evident and I am writing rubbish. Any comment or suggestion is appreciated. Thank you very much for all your help Best regards Oscar Oscar Lopez wrote: Dear Lyxers I am trying to use a lyx template which uses the memoir book class

memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-25 Thread Oscar Lopez
Dear Lyxers I am trying to use a lyx template which uses the memoir book class that worked pretty well with lyx-1.5.4 but now with lyx-1.6.2 refuses to compile because the lyx error (in fact latex error) says: \pagestyle{myMainheading} I've run across a `}' that doesn't seem to match anything.

Re: A method to insert syntax colored matlab code into Lyx

2009-05-11 Thread Oscar Lopez
Oscar Lopez wrote: BcBob wrote: The matlab code and a sample Lyx document are in the attached zip file. Bob http://n2.nabble.com/file/n2865240/matlab2tex.zip matlab2tex.zip However, I tried to test a simple matlab file, following the notes on the lyx file, and I got the following error

Re: A method to insert syntax colored matlab code into Lyx

2009-05-11 Thread Oscar Lopez
BcBob wrote: I have developed another solution to inserting matlab code into Lyx using the 'highlight.m' function from the matlab file exchange. This function creates latex output for the syntax colored matlab code. I wrote a driver function matlb2tex.m that takes care of the details. You can ins

Re: floats inserted in a beamer presentation does not show the label counter

2008-04-21 Thread Oscar Lopez
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > > Oscar Lopez wrote: > > RTFM (beameruserguide, sec. 11.6). There's a good rationale provided why it > is > so. I am sorry, my fault. I looked for "float" and nothing relevant appeared. Next time I'

floats inserted in a beamer presentation does not show the label counter

2008-04-20 Thread Oscar Lopez
Dear Lyxers When I insert a Float Figure in a beamer presentation with a caption the label counter it does not show at the pdf output. However, if i insert a reference to the figure label this reference is correctly displayed at the pdf output. Is this expected? Is there any way to include a numbe

Re: multiplatform vector drawing program to use

2008-04-08 Thread Oscar Lopez
Oscar Lopez <[EMAIL PROTECTED]> writes: Thank you very much for your contributions to this thread I would like to give a brief summary of what I have been able to learn I gave a try to inkscape however it seems that the render of latex formula is broken at linux at version 0.45. Last

multiplatform vector drawing program to use

2008-04-07 Thread Oscar Lopez
Dear lyxers I am starting a document project with a colleague using lyx. The goal is to obtain a big document of a technical course. My colleague uses the windows version of lyx and I use the linux version. At this initial stage we can easily share simple documents. Now we are concerned with the

Re: pdf output of boldsymbol math does not work

2008-03-03 Thread Oscar Lopez
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > > Paul A. Rubin wrote: > > Apparently, as of a recent version, LyX loads mathptmx automatically if > > you select Times Roman as your Roman font. Since mathptmx has no bold > > symbols, I can see this being a problem, and I'm surprised it was done

Re: pdf output of boldsymbol math does not work

2008-03-03 Thread Oscar Lopez
Paul A. Rubin <[EMAIL PROTECTED]> writes: > > Oscar Lopez wrote: > > Apparently, as of a recent version, LyX loads mathptmx automatically if > you select Times Roman as your Roman font. Since mathptmx has no bold > symbols, I can see this being a problem, and I'm

pdf output of boldsymbol math does not work

2008-03-03 Thread Oscar Lopez
Dear all It seems that pdf output of boldsymbol math does not show properly when the command \boldsymbol is used. I am using lyx-1.5.4 (compiled version using kubuntu and texlive) Open a new document (article) enter a math inset with \boldsymbol* an enter a letter \boldsymbol{a} \boldsymbol{\alph

Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-14 Thread Oscar Lopez
Oscar Lopez <[EMAIL PROTECTED]> writes: > However the old beamer lyx files with that > produces latex errors. Sorry I meant "However the old beamer files using lyx-1.4.x with that produces correct latex and pdf output."

Re: bug using lyx-1.5.2 export at the command line?

2007-10-14 Thread Oscar Lopez
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: >Does it crash on any file or only on specific files? If the latter, do these >files contain something specufic, such as a branch inset? It crash on a simple beamer lyx file (just a frame and an item, no text with branches, no notes, nothing particul

Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-12 Thread Oscar Lopez
José Matos <[EMAIL PROTECTED]> writes: > I think that in this case the problem is not lyx2lyx but it is a bug that is > scheduled to be fixed in 1.5.3. Please could you elaborate more on that? I mean, I have tried to produce, using lyx-1.5.2, a minimal example showing the problem and I haven't s

bug using lyx-1.5.2 export at the command line?

2007-10-12 Thread Oscar Lopez
Hello When I try to export a pdf file using the command line at my linux box the I get the following message % lyx -e pdf2 file.lyx lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help->Introduction and send us a bug report, if necessa

Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Oscar Lopez
Paul A. Rubin <[EMAIL PROTECTED]> writes: > > No, I've had no problems opening old beamer presentations (and, like > you, I have a bunch of them). The format for LyX document files evolves > with new releases, and there is a conversion tool included with LyX to > convert older format LyX file

Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-10 Thread Oscar Lopez
Hello lyxers Yesterday I updated from lyx-1.4.x to lyx-1.5.2 and first of all I would like to thank to developers for such a great software. The first try I did when testing the new version was to load a beamer presentation I was working on. The first thing I got was a bunch of errors in the Lyx

Re: xfig external inset (pstex pstex_t mechanism)

2006-07-28 Thread Oscar Lopez
> Oscar Lopez wrote: > >> As a side note, how the external inset knows if the fig file must be >> exported as combined ps/latex, it scans the fig file looking for the >> special flag of the text? > > No. As you can see from the definition of the xfig external inset

Re: xfig external inset (pstex pstex_t mechanism)

2006-07-28 Thread Oscar Lopez
Quoting Georg Baum <[EMAIL PROTECTED]>: > Jean-Pierre Chretien wrote: > >> Seems that lyx does not add the required \usepackage{xcolor} >>when an xfig >> inset is present, I had to add it manually to make it work. I added \usepackage{xcolor} to the preamble and it worked as expected > > Why xcolo

Re: xfig external inset (pstex pstex_t mechanism)

2006-07-28 Thread Oscar Lopez
Quoting Georg Baum <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > >> I thought that external inset shipped with 1.4.x was able to manage >> this situation, perhaps I am wrong. > > It should. Please send a minimal example .lyx file + .fig file, so that > we can reproduce the problem. Attached a

Re: "Floats" over more than one page

2002-02-07 Thread Oscar Lopez
Dekel Tsur wrote: > > On Wed, Feb 06, 2002 at 12:14:00PM +0100, Oscar Lopez wrote: > > Use something like this: > > In the preamble: > \usepackage{framed} > \def\xcaption#1{% > \fs@boxed% > \def\@captype{algorithm}% > \caption{#1}% > \unvbox\@flo

"Floats" over more than one page

2002-02-06 Thread Oscar Lopez
Hello eveyone I have a book-based document and I am using the algorithm floats. The document options are boxed and chapter and in this way the look of the algorithm is boxed with the caption located at the bottm of the frame with the numbering based on chapter number. I have only one long algorti

Re: \mathbb{R}

2001-11-21 Thread Oscar Lopez
[EMAIL PROTECTED] wrote: > > Hola > > Tengo un problema cuando intento poner letras tipo mathbb. Antepongo a > la letra el codigo latex \mathbb{R}, por ejemplo, pero me da error de > Latex cuando quiero ver el pdflatex. Trabajo con la version 1.1.6fix1 > Layout->Document->Extra->Use AMS Math

Re: movie in pdflatex

2001-11-06 Thread Oscar Lopez
Torben Lund wrote: > > Dear lyx-users > > Is it possible to in include a movie (mpeg/avi/mov ...) in a PDF > document using pdflatex? To include avi files you can use the following command in the preamble: \newcommand{\video}[5]{\vspace{#3}\hspace{#2}{\pdfannot width #4 height #5 depth 0cm { /

dvips + psfrag problem ?

2001-08-03 Thread Oscar Lopez
Hello lyxers First of all I apologize because the subject it is a little bit off-topic but I don't know where I can post a problem like this, please if you could point me out another forum I will be very grateful to you To compose figures with nice math fonts I use psfrag, but when I need to pro

Re: Cancellation in equations

2001-07-11 Thread Oscar Lopez
Rem wrote: > > > I have an equation that is being derived and I need to show some > cancellations during the evolution. Is there a way I can show the > cancellations, like a line segment (probably slope = 1, to be more specific) > drawn on a division? > In latex preamble \usepackage{cancel}

Re: RTF > LaTex conversion

2001-04-25 Thread Oscar Lopez
Shawn Koons wrote: > > Is there a program that will convert RTF to LaTex (or Lyx) that would > make it easier to import a document into Lyx with most of the formatting > in place? > > Converting RTF to, importing the text to Lyx, and then going through the > document by hand is a bit time-comsu

Re: draftcopy

2001-03-06 Thread Oscar Lopez
Francesco Scaglioni wrote: > > Thanks, > > Is it possible to use more than one option eg. no pages have draft > across them but all have draft at the bottom? You can use the option bottom to print DRAFT on all pages at the bottom. For other options you can check the draftcopy documentation loca

Re: draftcopy

2001-03-06 Thread Oscar Lopez
Francesco Scaglioni wrote: > > Hi and thanks in advance, > > As a newcomer to lyx and tex I am looking for pointers as to where to > go now. I have downloaded and installed (I think successfully) the > package 'draftcopy'. My question is a simple one. Within Lyx - how > should I go about imple

Re: Bug in pretty ref

2000-07-25 Thread Oscar Lopez
> > > Name: NouveauFichier.lyx >NouveauFichier.lyxType: Lyx Document (application/x-lyx) > Encoding: quoted-printable BTW if I change the language of the document fro

Re: Comments on lyx.1.1.5pre3 and layouts

2000-05-27 Thread Oscar Lopez
Alain Castera wrote: > On Fri, 26 May 2000, Oscar Lopez wrote: > > > I am trying something like that > > > Style parama > > What about : > > Style parama > LatexType Command > LatexName parama > Preamble > \newcommand{\parama}[1]{\de

Re: Comments on lyx.1.1.5pre3 and layouts

2000-05-26 Thread Oscar Lopez
Alain Castera wrote: > Style foocommand > Margin First_Dynamic > LatexType Command > LatexName myfoocommand > Preamble > \newcommand{\myfoocommand}{\foocommand{\theparama}{\theparamb}{\theparamc}} > EndPreamble > ... > End > > You can also do paramc and myfoocommand at once. > > Pl

Re: Comments on lyx.1.1.5pre3 and layouts

2000-05-26 Thread Oscar Lopez
Oscar Lopez wrote: > I am trying something like that > > Style parama > LatexType Command .. > LatexType Command > LatexName foocommand > LatexParam "{\param1}{\param2}{\p

Re: Comments on lyx.1.1.5pre3 and layouts

2000-05-26 Thread Oscar Lopez
Jean-Marc Lasgouttes wrote: > >>>>> "Oscar" == Oscar Lopez <[EMAIL PROTECTED]> writes: > > Oscar> Unfortunately this is not the case. Most of the times every > Oscar> argument represent a field that you have to fill with an > Oscar> arbitr

Re: Comments on lyx.1.1.5pre3 and layouts

2000-05-26 Thread Oscar Lopez
Jean-Marc Lasgouttes wrote: > Oscar> 2. How can I create a style layout for a latex command with, > Oscar> let's say, five arguments ?. I am trying to write a lyx layout > Oscar> for a specific cv class, and in this class there are many latex > Oscar> commands with a different number of arguments

Comments on lyx.1.1.5pre3 and layouts

2000-05-25 Thread Oscar Lopez
Hi all lyx-user's First of all, I would like to say that I am impressive with the new version of lyx.1.1.5pre3 and I really appreciate all the lyx team effort. I have discovered a new feature that I really like it, that is the possibility of editing and inserted label on the text, I have to say

Re: Boxing an equation array environment

2000-05-23 Thread Oscar Lopez
Herbert Voss wrote: > ok, here it comes ... not easy, but it's what you want ;-) > now \mybox{the lyx formula} > gives a boxed formula with a optimized frame. the value for \parbox in > \newcommand\myBox ... is no more important, but don't leave it blank, > latex needs a value. i choose the tex-c

Re: Boxing an equation array environment

2000-05-23 Thread Oscar Lopez
Juergen Vigna wrote: > > > Why not use a 1X1 tabular and put there a mathbox? Well yes it is displayed > in an own row then, so this might not be what you want, but ... ;) I am trying to avoid to use the displayed equation, I need to use the \sum, \int, \frac in the eqnarray environment, and the

Re: Boxing an equation array environment

2000-05-23 Thread Oscar Lopez
Herbert Voss wrote: > i'm sorry, but this doesn't work ... :-( > choose this one: > > \newcommand{\myBox}[1]{\hspace{1cm}\hfill% > \fbox{% > \parbox{5cm}{#1}% > }% > \hfill% > \parbox{0.5cm}{% > \begin{eqnarray}\end{eqnarray}% > } > } > Yes, it works, thank you, Herbert, In

Boxing an equation array environment

2000-05-22 Thread Oscar Lopez
Hi all lyx-user's ! I would like to know how can I boxed an eqnarray environment. I have used the ams command boxed but it only works with single equations. I have tried with the fancybox package, with the environment Beqnarray, but there are two things that it doesn't satisfy me. First of all,

AMS_Theorem layout difficulty

2000-03-01 Thread Oscar Lopez
Hi ! I would like to create a layout for a theorem like environment. I want to create an Axiom environment but I need to add a title following the word Axiom, but in a parametric way, such as 3.1 Axiom of local production of entropy. Bla, bla, bla, bla 3.2 Axiom. Bla bla bla 3.3 Axiom of loca

Re: Problem compiling lyx-1.1.4pre1

1999-12-22 Thread Oscar Lopez
Jean-Marc Lasgouttes wrote: > > I do not know what the real mandrake/redhat package names are in this case. > > Oscar> So I am afraid that the header files are not installed, I am > Oscar> not able to find the libstdc++-devel package. Am I looking for > Oscar> correctly the header files ? what

Re: Problem compiling lyx-1.1.4pre1

1999-12-22 Thread Oscar Lopez
Jean-Marc Lasgouttes wrote: > > >>>>> "Oscar" == Oscar Lopez <[EMAIL PROTECTED]> writes: > > Oscar> I didn't install anything because I am not the root of the > Oscar> system and I don't know what is installed, but if I do rpm -ql &

Re: Problem compiling lyx-1.1.4pre1

1999-12-22 Thread Oscar Lopez
Jean-Marc Lasgouttes wrote: > > >>>>> "Oscar" == Oscar Lopez <[EMAIL PROTECTED]> writes: > > [Oscar, since you message appeared here too, I'll answer to the list] > > Oscar> Hi! I am trying to install locally the lyx-1.1.4pre1.tar.

Problem compiling lyx-1.1.4pre1

1999-12-22 Thread Oscar Lopez
Hi! I am trying to install locally the lyx-1.1.4pre1.tar.gz package at a linux system: [oscar@kepler oscar]$ uname -a Linux kepler.lmm.jussieu.fr 2.2.9-19mdk #1 Wed May 19 19:53:00 GMT 1999 i686 unknown The system doesn't have install the xforms library so I downloaded it and I put the follow