Re: [Patch] title-environment for AGU

2003-12-18 Thread Jose' Matos
On Tuesday 16 December 2003 20:44, Martin Vermeer wrote:
>
> Have you had a look at AGU sample files?

  No, busy at moment, finishing an article.
  Where are they. Why don't you add an example file in lib/examples?

> - Martin

-- 
José Abílio



Re: LyX Note inset bugs

2003-12-18 Thread Jose' Matos
On Tuesday 16 December 2003 21:01, Georg Baum wrote:
>
> - How accurate is lyx2lyx output? Should the output be identical char by
> char to the one from lyx, or are things like additional/missing newlines
> etc. allowed if it makes the code simpler and lyx can read the document and
> the latex output is identical?

  The later option, since sometimes between different versions that way as lyx 
outputs whitespace changes for no apparent reason. That is always a question 
of 90%-10%, if the code only requires a single line to have the same output 
as whitespaces concerned I will do it, else I don't bother.

> - What input does lyx2lyx accept? Is it needed to not only accept
>
> keyword "value"
>
> but also
>
> keyword"value"

  That was one of my major concerns when I started lyx2lyx, after some time I 
noticed that we can almost always use the first form since that is what lyx 
uses.

  I have developed also some code technics to deal with those cases without 
resorting to regular expressions.

> - Does lyx2lyx rely on a syntactically correct file or are error conditions
> to be checked and reported?

  I'm working on that.

> BTW, I have a hackish conversion frameless box -> minipage that works for
> my purposes.
> José, are you or anybody else working on that? If not, I could try to
> improve my python knowledge and produce something sensible.

  I'm not working on that, so be my guest. Don't hesitate to question me. :-)

> Georg

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Re: [Patch] title-environment for AGU

2003-12-18 Thread Martin Vermeer
On Thu, Dec 18, 2003 at 11:12:39AM +, Jose' Matos spake thusly:
 
> On Tuesday 16 December 2003 20:44, Martin Vermeer wrote:
> >
> > Have you had a look at AGU sample files?
> 
>   No, busy at moment, finishing an article.
>   Where are they. Why don't you add an example file in lib/examples?

I have some sample files, but it appears that these files are not for
general distribution. I can write my own though from their example and
the DTD.

Good idea.
 
> > - Martin
> 
> -- 
> José Abílio
 
Martin 



pgp0.pgp
Description: PGP signature


Re: lyx-devel src/: ChangeLog factory.C lyxfunc.C src/frontend ...

2003-12-18 Thread Jose' Matos
On Monday 15 December 2003 10:09, Juergen Spitzmueller wrote:
>
> > > In march 2002 (don't know the file format), the units have been renamed
> > > from "c%" to "col%" etc. See:
> > > http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/lengthcommon.C.dif
> > >f? r1 =1.2&r2=1.3 I think lyx2lyx does not honour that. At least
> > > examples/Minipage.lyx is broken therefore (I'll fix this).
> >
> >   Where should this fix go?
>
> Note that I have only fixed the Minipage.lyx example file. I'm unable to
> fix lyx2lyx (don't know python).
> The conversion should take place on the next file format change after
> 2002-03-27 (whatever that was).

  I suspect that I know why this has not been reported before.

  This happened in a devel version and only lately we have been sensible to 
file format changes. That means that only people using the cvs version at 
that time will have problems.

  This bug is on my todo list but with low priority. :-)

> Jürgen.

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Latest CVS color problems

2003-12-18 Thread Kayvan A. Sylvan
On the console, I see:

$ lyx final.lyx
BufferView::Pimpl::fitCursor.
LyX: Unknown X11 color  for

LyX: Unknown X11 color
 Using black instead, sorry!
LyX: Unknown X11 color  for

LyX: Unknown X11 color
 Using black instead, sorry!
Redraw screen

Upon trying to view->pdf2 (pdflatex), I get (from the log file):

! LaTeX Error: Undefined color `'.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...

l.39 ...on in \cite{hall98} and other references.}

Has anyone seen this before?! Thanks for any help you can give me.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Latest CVS color problems

2003-12-18 Thread Kayvan A. Sylvan
On Thu, Dec 18, 2003 at 03:57:40PM -0800, Kayvan A. Sylvan wrote:
> On the console, I see:
> 
> $ lyx final.lyx
> BufferView::Pimpl::fitCursor.
> LyX: Unknown X11 color  for
> 
> LyX: Unknown X11 color
>  Using black instead, sorry!
> LyX: Unknown X11 color  for
> 
> LyX: Unknown X11 color
>  Using black instead, sorry!
> Redraw screen
> 
> Upon trying to view->pdf2 (pdflatex), I get (from the log file):
> 
> ! LaTeX Error: Undefined color `'.
> 
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H   for immediate help.
>  ...
> 
> l.39 ...on in \cite{hall98} and other references.}
> 
> Has anyone seen this before?! Thanks for any help you can give me.

I have not quite figured out why, but in certain cases, LyX seems to
create lines like these:

ones (what
\emph on
\color None
not
\emph default
\color default
to do).

Which causes some lines like this to be generated in the latex output:

ones (what \emph{not} \textcolor{}{to do).

This is what causes the problem.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)