Re: moving to linux... part 2 - tetex package installation

2007-06-15 Thread José Matos
On Wednesday 13 June 2007 10:10:36 Helge Hafting wrote:
> Most other distributions use the rpm packaging system.
> It is a long time since I used those - one usually had to
> download lots of rpm files and then give a command to install
> them all. The main difference from the "apt" command above was
> that you had to gather the files yourself, and then install all in
> one go. rpm would then tell you if anything else was missing,
> then you download that and try again until you have all you need.
> I have heard that the rpm-based systems also have automatic
> downloading these days, simplifying this process.

  Time passes so this information is outdated. :-)

  Most rpm distributions have a system that takes care of dependencies 
automatically. I know at least 3 systems but I know that there are more: 
apt-get (for rpm), yum and smart(rpm).

> Helge Hafting

-- 
José Abílio


Re: LyX and temporary directory

2007-06-23 Thread José Matos
On Saturday 23 June 2007 09:11:24 Wolfgang Engelmann wrote:
> /home/wolfgang/Lyx-tmp/
> need
> /home/wolfgang/tmp/ ??
>
> Any Linux user there who knows?

 I never saw the problems you are describing. :-)

 If I understand you correctly you said that as soon as you changed the 
temporary directory to your home area lyx started complaining that it could 
not create temporary files in /tmp?

  What version are using? (1.4.x I assume).

> Wolfgang

-- 
José Abílio


LyX version 1.5.0 (release candidate 2) is released

2007-06-27 Thread José Matos
Public release of LyX version 1.5.0 (release candidate 2)
===

We are glad to announce the release of LyX 1.5.0 (release candidate 2).
We expect this to be the last release before 1.5.0, and until the
first stable release only critical bugs and regressions will be
addressed.

We encourage users to try this release candidate and report
any feedback or problems to lyx-devel at lists.lyx.org.

Compared with the first release candidate we have mostly fixed bugs
and polished the graphical interface.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with page
   boundaries. You just write. In the background, Prof. Knuth's legendary
   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output -- or
   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes 'eating'
   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and the
   Macintosh and modern Windows platforms. 

You can download LyX 1.5.0rc2 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.devel.lyx.org/pub/lyx/devel/lyx-1.5.0rc2.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/devel/lyx-1.5.0rc2.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.devel.lyx.org/pub/lyx/devel/

As confusing as it is, two sets of installers are available to windows
users: LyX-1.5.0rc2-Installer.exe, LyX-1.5.0rc2-Installer-bundle.exe and
LyX-1.5.0rc2-AltInstaller.exe, LyX-1.5.0rc2-AltInstaller-Complete.exe.
The former is our official installer and the latter is previously known
as LyXWinInstaller. Please feel free to try either of them. Feedbacks
and bug reports on both installers are welcome because they will help 
the merge of two installers, which is expected to happen during the 
1.5.x series of LyX development.

If you find what you think is a bug in LyX 1.5.0rc2, you may either
e-mail the LyX developers' mailing list (lyx-devel @ lists.lyx.org), or open
a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/. If you can't find the answer there,
e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (release candidate 2)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then please report it to the lyx-devel
mailing list.

* Integrated CJK support

The very first result of the Unicode transition is that we have finally
merged in the externally maintained CJK-LyX branch.
The languages Chinese, Japanese, and Korean are now supported in
the user interface.
Note that from now on, former encoding settings for these languages
done v

Re: Fwd: Re: LyX version 1.5.0 (release candidate 2) is released

2007-06-28 Thread José Matos
On Thursday 28 June 2007 16:34:12 killermike wrote:
> On Thursday 28 June 2007 15:03:05 Urtzi Jauregi wrote:
> > As usual, remember not to save important documents with RC2 as the
> > stable version won't be able to open them.
>
> What is the latest version that can save documents that can be opened in
> final?

  The update path is always guaranteed. That means that 1.5.0 should be able 
to read any document made by svn, beta or release candidate versions.

> > Cheers,
> >
> > - Urtzi -

-- 
José Abílio


Re: Fwd: Re: LyX version 1.5.0 (release candidate 2) is released

2007-07-01 Thread José Matos
On Friday 29 June 2007 11:14:25 Dominik Waßenhoven wrote:
> > If you really don't want to install rc2, you should at least copy the
> > lib/lyx2lyx directory from the rc2 tarball and replace the one in your
> > rc1 installation. This way, you will be able to open the rc2 generated
> > document with your rc1 installation.

  Actually that is what we will do in the next stable release for the 1.4.x 
series (1.4.5). This version will be able to read files written with version 
1.5.x.

  We will release 1.5.0 and 1.4.5 at close times.

> Thanks for the suggestion, I will update later.
>
> Regards,
> Dominik.-

-- 
José Abílio


Re: HTML Export

2007-07-01 Thread José Matos
On Friday 29 June 2007 03:44:20 John O'Gorman wrote:
> > i cant remember which on top of my head, but it is in the docs.
>
> Latex2HTML

  You can install that for Fedora (another option is hevea):
$ yum search latex2html hevea

hevea.i386   1.08-6.fc6 fedora
Matched from:
hevea
HEVEA is a quite complete and fast LATEX to HTML translator.
HEVEA renders symbols by using the so-called HTML "entites", which
modern browsers display correctly most of the time.
http://hevea.inria.fr/


latex2html.noarch2002.2.1-6 fedora
Matched from:
latex2html
LATEX2HTML is a convertor written in Perl that converts LATEX
documents to HTML. This way e.g. scientific papers - primarily typeset
for printing - can be put on the Web for online viewing.

LATEX2HTML does also a good job in rapid web site deployment. These
pages are generated from a single LATEX source.
http://www.latex2html.org/

> John O'Gorman

-- 
José Abílio


Re: How to crash LyX1.5.0beta2

2007-07-11 Thread José Matos
On Friday 06 July 2007 17:24:22 Bob Lounsbury wrote:
> Cannot reproduce the crash on LyX 1.5.0rc2 on XP, I opened your
> example and did Shift->Up and Shift->Right a bunch of different times
> all over the table. I've found rc2 to be fairly resistant to crashes.

  The same here with Fedora (7) Linux.

> Bob Lounsbury

-- 
José Abílio


Re: Lyx 1.5.0rc2: \overset math command

2007-07-12 Thread José Matos
On Wednesday 11 July 2007 17:27:55 Andre Poenitz wrote:
> On Wed, Jul 11, 2007 at 02:02:47PM +0200, Nicolás wrote:
> > If I write \overset{def}{=} I get the preview shown in the attached
> > picture, that is 'def' does not appear above '=', but they both overlap.
>
> Right.
>
> Patch attached.
>
> Ok to commit?

  OK.

> Andre'

-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread José Matos
On Monday 16 July 2007 11:33:05 [EMAIL PROTECTED] wrote:
> Hi,
> I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
> previous doc written with lyx 1.3.
> There is a possibility to save in 1.3 format but not to load from.

  Is there any problem opening old files? It should just work, lyx will decide 
what is the version used and it will do the appropriate convertions.

> thanks for help
> best regards
> bela

-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread José Matos
On Monday 16 July 2007 14:52:42 Valter Filipe Silva wrote:
> I also have problem openning old files (from Lyx 1.5Beta3).

  ?

  What kind of problems?

  We will release 1.5.0 really soon and I would like to hear about those 
problems.

> Best regards
>
> Valter

-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-17 Thread José Matos
On Tuesday 17 July 2007 16:51:56 [EMAIL PROTECTED] wrote:
> > Hi,
> >  Here is an example written in lyx 1.4
> > best regards
> > bela

OK, the problem was easy to spot. :-)

Just for reference here it is the patch that fixes the problem:

Index: lyx_1_5.py
===
--- lyx_1_5.py  (revision 19100)
+++ lyx_1_5.py  (working copy)
@@ -444,6 +444,13 @@
 i = i + 1
 continue

+j = find_token(document.body, "\\end_inset", i)
+if j == -1:
+document.warning("Malformed document")
+else:
+command += "".join(document.body[i+1:j])
+document.body[i+1:j] = []
+
 # The following parser is taken from the original 
InsetCommandParams::scanCommand
 name = ""
 option1 = ""


-- 
José Abílio


Re: Read only as default.

2007-08-15 Thread José Matos
On Friday 10 August 2007 19:38:57 Bernhard Roider wrote:
> Jean-Marc Lasgouttes schrieb:
> > Emacs also have a "open read only" command. We could do something like
> > that and bind it to C-S-o, but not put it in menu.
>
> afaics there is nothing to do in the source code: just add the following
> line to the bind file:
>
> \bind "C-S-O" "command-sequence file-open; buffer-toggle-read-only"

  Another more general option is to change the file to be read only (I am 
referring to unix) in the filesystem with chmod:

chmod -w file.lyx

  That way lyx will not overwrite the file.

> bernhard

-- 
José Abílio


Re: Prosper y Lyx

2007-08-29 Thread José Matos
On Wednesday 29 August 2007 15:03:04 Jorge Mario wrote:
> Hello, I need to make presentations or transparencies with the Prosper
> in Lyx, I download  the examples and the package of it page it of Lyx
> wiki but they don't work.
>
> Has somebody implemented slides with the package Prosper?
>
> thanks

  Unless you really need to use prosper I would like to suggest beamer. That 
works with LyX. :-)

> Alguien Ha trabajado con el paquete Prosper en Lyx , porfavor si alguien
> sabe como hacerlo  denme un ejemplo

  Well I did long time ago but I already forgot the details. :-)

> gracias

  De nada. :-)

-- 
José Abílio


Re: Self-publishing with LyX

2007-08-29 Thread José Matos
On Wednesday 29 August 2007 23:54:07 Andre Poenitz wrote:
> My kpdf runs on fvwm2, and your file looks good.

  I have kpdf under kde and the text looks perfect. :-)

> Andre'

-- 
José Abílio


Re: Bug with background color of LyX notes?

2007-09-04 Thread José Matos
On Tuesday 04 September 2007 15:54:58 Paul A. Rubin wrote:
> Go for it.  But I won't be surprised if it's a long wait before a
> developer gets around to that one.

  Have we told you that we accept patches? ;-)

  Not that every patch goes in directly but a patch is a nice start. :-)

> /Paul

-- 
José Abílio


Re: Portuguese hyphenation?

2007-09-21 Thread José Matos
On Friday 21 September 2007 14:48:08 Roberto Gorjão wrote:
> Hello,
>
> This probably is really a newbie question but there it goes: how do I
> set the Portuguese hyphenation on?
>
> I've already set up the Portuguese language (with an utf8 encoding,
> because of BibTeX) on the document settings dialogue, but words are
> still getting broken in the wrong places.
>
> Thanks for your help!
>
> Roberto

It depends on the latex distribution you are using.
In older distribution not all patterns of language hyphenation were used due 
to the memory layout of tex.
That meant that portuguese was not one of the used by default languages. :-)

For modern distributions that should not be a problem.

To see this I have created a tex file with a single line:
\relax

This is what latex was to say about it:

$ latex teste.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./teste.tex
LaTeX2e <2005/12/01>
Babel  and hyphenation patterns for english, usenglishmax, dumylang, 
noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, 
ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, 
finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, 
ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, 
por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
turkish, ukenglish, ukrainian, loaded.
)

-- 
José Abílio


Re: DVI sem imagens

2007-09-25 Thread José Matos
On Tuesday 25 September 2007 02:47:18 David L. Johnson wrote:
> That's about the extent of my Spanish.

With the single exception that original post is in Portuguese your answer is 
accurate. ;-)

-- 
José Abílio


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

2007-10-12 Thread José Matos
On Thursday 11 October 2007 16:40:51 Paul A. Rubin wrote:
> 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 files to the current format.  It works pretty
> well but perhaps not perfectly; it may have tripped over something a bit
> unusual in your presentation file.  Whether it will have similar
> problems with other presentations is hard to predict.

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.

If you have any problem with convertions from previous version please report 
them here. :-)
-- 
José Abílio


Re: What's the problem with encoding?

2007-10-16 Thread José Matos
On Friday 12 October 2007 00:02:00 Armando Duarte Senra Martins wrote:
> Hello!

  Olá,

> I am trying to get through with Latex using Lyx to type a document in
> portuguese.
> I had a document previously typed with a WYSIWYG. When I imported it to
> Lyx lots af characters were lost. So I had to do find & replace to restore
> de accented characters.
> I tried many options: switched betweenn
> \usepackage[iso-8859-1]{oberdiek}
> \usepackage[latin1]{inputenc}
> \usepackage[utf-8]{inputenc}

  How did you import the document?

> I even tried to change the setting s of the document (changing language to
> portuguese and encondint to UTF-8)
>
> In every case I ended up with the same message (latin1.sty not found)
> I have tried to do the same with another processor the result was the same.
> I have MiKTeX installed (Windows XP).
>
> Thanks for your help.

  Do you have a small document that shows this problem? If necessary you can 
send me that document privately.

> Armando Duarte Senra Martins
> Universidade de Évora
> Departamento de Linguística e Literaturas
> Ap. 94
> 7002-554 ÉVORA

-- 
José Abílio


Re: problems converting old files

2007-10-17 Thread José Matos
On Wednesday 17 October 2007 16:50:47 Mark Hansel wrote:
> Hi,
>
> This AM, I tried to open a file with lyx format 2.16 and the lyx2lyx
> script failed. I can provide details off-list.

  Please do. I am interested to see where it fails to fix it.

> Mark Hansel

-- 
José Abílio


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread José Matos
On Thursday 08 November 2007 21:57:51 Bruce Pourciau wrote:
> When I try to open example lyx files posted on this list, I get a
> conversion script failure: "filename.lyz is from an earlier version
> of lyx, but the lyx2lyx script failed to convert it" I'm running LyX
> 1.4.1. Must I upgrade to 1.5?

  To read this file you need version 1.4.5.1. Or as you suggested version 1.5.

  I would recommend an upgrade, but then I am biased. :-)

  BTW for what is worth the new error messages in this case is more accurate 
saying that the file is from a different version.

> Bruce

-- 
José Abílio


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread José Matos
On Thursday 08 November 2007 21:00:30 Manveru wrote:
> What I need is to continue the text at particular level before I put new
> enumerated position on the list.
>
> Now I put "standard" paragraph for continuations, but I loose formating and
> continuous enumeration then.
>
> Any advices??

  Something like what follows attached?

> Thanks in advance.
> --
> Manveru



-- 
José Abílio


cont.lyx
Description: application/lyx


Re: Script Conversion Failure

2007-11-09 Thread José Matos
On Friday 09 November 2007 16:42:25 Paul A. Rubin wrote:
> The lyx2lyx script has an optional argument indicating the format to
> which to convert.  (It also has an optional from argument, though I
> don't see in the code where that is used.  But then I don't really speak
> Python.)

  LyX always calls lyx2lyx with the right argument, so in theory you should be 
able to plunge any more recent lyx2lyx into 1.4.x and have it working.

> It might be that if you acquire just the lyx2lyx directory 
> from 1.5.x, and have a reasonably up-to-date version of Python
> installed, you could convert recent files backward to 1.4.x.

  python 2.3.4

> It looks 
> to me as though the script I have in 1.5.2 is designed for backward as
> well as forward conversions.  But the script that shipped with 1.4.x
> would not be able to convert to/from 1.5.x formats.

  The latest version of 1.4.x (1.4.5.1) is able to read 1.5.x documents. That 
was the mainly purpose of its release. :-)

> /Paul

-- 
José Abílio


Re: Script Conversion Failure

2007-11-09 Thread José Matos
On Friday 09 November 2007 16:56:54 José Matos wrote:
>   The latest version of 1.4.x (1.4.5.1) is able to read 1.5.x documents.
> That was the mainly purpose of its release. :-)

That was the main purpose of its release...

-- 
José Abílio


Re: LyX 1.5.2: Some document classes "not available"

2007-11-20 Thread José Matos
On Tuesday 20 November 2007 14:05:27 Patrick Schoenbach wrote:
> Thanks. This already helps. However, www.sgmltools.org does not exist
> anymore. Where do I get SGMLTools for Windows from? Google does not help
> much, or did I overlook something?

  That is not a latex class. (personal note) I need to update the 
information. :-)

> Regards,
> Patrick

-- 
José Abílio


Re: LyX 1.5.2: Some document classes "not available"

2007-11-21 Thread José Matos
On Wednesday 21 November 2007 02:59:24 Koji Yokota wrote:
> SGMLtools was succeeded by SGMLtools-Lite. It can be found at:
>
> http://sgmltools-lite.sourceforge.net/
>
> As SGML is already becoming obsolete, you may want to consider using
> DocBook as the above webpage tells you.

  I think you meant above linuxdoc not SGML because both docbook and XML are 
SGML. :-)

> Koji

-- 
José Abílio


Re: DocBook Support?

2007-11-22 Thread José Matos
On Thursday 22 November 2007 10:40:03 Ryan Cross wrote:
> Hi,
>
> I have seen some pointers to using Lyx for creating/editing DocBook
> documents. However, the wiki suggests this isn't supported any more.

  I think that you are referring to linuxdoc and not to docbook.

> Does 
> anyone know how to do this? I'd like to use it with the current version.
>
> -Ryan



-- 
José Abílio


Re: Getting errors with microtype

2007-11-27 Thread José Matos
On Saturday 24 November 2007 12:48:34 Paul Smith wrote:
> How can one update pdfeTeX to a newer version? I am using Fedora Linux 7.

  It is possible to install the texlive packages that are under review for 
Fedora inclusion in Fedora 7. The idea is to replace tetex by texlive and the 
packages are the work of the same package maintainer of tetex for Fedora. 
Those texlive packages will replace tetex for Fedora 9.

  I have used them previously in Fedora 7 (I am using now Fedora 8) and it 
works.

> Paul

-- 
José Abílio


Re: DocBook Support?

2007-11-27 Thread José Matos
On Thursday 22 November 2007 22:12:56 Ryan Cross wrote:
> I don't know much about linuxdoc - but I am pretty sure I am correctly
> referring to docbook. Its an xml format for generating multiple types of
> documentation, pdf/html/chm (windows help files)/etc
>
> You can see lyx linked directly from the docbook wiki
> http://wiki.docbook.org/topic/DocBookAuthoringTools
>
> Can you shed light on either docbook or linuxdoc? (I'm mostly interested in
> docbook though)

  I can and I will, but presently I am overloaded with real work. I will 
return to this issue as soon as my time permits (next month fortunately). :-)

> -Ryan

-- 
José Abílio


Re: Getting errors with microtype

2007-11-28 Thread José Matos
On Tuesday 27 November 2007 22:27:00 Paul Smith wrote:
> However, it only contains F8 packages and none of F7.
>
> Paul

I had the same complain. :-)
Jindřich Nový replied that those packages work in F7 as well.
The only exception is xdvi that requires some symbol from the new glibc 
shipped with F8.

-- 
José Abílio


Re: lyx2lyx failure

2007-12-08 Thread José Matos
On Friday 07 December 2007 19:47:25 Christopher Menzel wrote:
> Howdy,
>
> I am unable to import some older LyX files (from 2000 -- LyX format
> version 215) and I'm not finding any solutions on the web or the LyX
> archives or Wiki.  Inside LyX, I get the following msg:
>
>(MyFile) is from a different version of LyX, but the lyx2lyx script
> failed to convert it.
>
> When I try to run lyx2lyx from the command line I get the following
> debug info:
>
> Traceback (most recent call last):
>File "./lyx2lyx", line 101, in 
>  sys.exit(main(sys.argv))
>File "./lyx2lyx", line 92, in main
>  file = LyX.File(end_format, input, output, error, debug,
> try_hard, cjk_encoding)
>File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py",
> line 556, in __init__
>  self.read()
>File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py",
> line 242, in read
>  self.encoding = get_encoding(self.language, self.inputencoding,
> self.format, self.cjk_encoding)
>File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py",
> line 128, in get_encoding
>  return lang[language][3]
> KeyError: 'default'
>
> Looking through the LyX file, I do not see any unusual characters;
> appears to be standard ASCII all the way.  Help/advice appreciated.

  A fix to this problem was committed to the next version (1.5.3).

Meanwhile a simple fix is to change the file by hand.

Where it says (in the first lines of the file)

\language default

change it to

\language english

As I said this problem is already fixed in svn. This is just a shortcut in the 
meanwhile.

> Chris Menzel

-- 
José Abílio


Re: TeXLive rpm packages available to Fedora 8 users

2007-12-09 Thread José Matos
On Sunday 09 December 2007 10:20:06 Jürgen Spitzmüller wrote:
> Did you try my suggestion on bugzilla (uninstalling KDE4)?

  I suspect that you are right.

  In my new desktop I have not (yet) installed kde4 and lyx displays figures 
and math previews. On my laptop were kde4libs are installed it crashes as 
soon as I enable figures display. :-(

  As I said before this only happens for some eps figures (not all) but the 
User's Guide is perfect example where it crashes.

  A simple recipe to duplicate this bug is:

  Help->User's Guide

  crash

> Jürgen

-- 
José Abílio


Re: TeXLive rpm packages available to Fedora 8 users

2007-12-10 Thread José Matos
On Sunday 09 December 2007 17:54:40 Rex Dieter wrote:
> If you could try the kde-3.96 update coming to updates-testing soon, and
> let folks know if it helps or not, it would be greatly appreciated.
>
> Else, someone (hint hint, else will probably will fall to me or others of
> fedora's KDE SIG  :)) is to pinpoint where in kdelibs the bug lies, and
> report that upstream to bugs.kde.org.

  Sure we will let you know if this works. :-)

> -- Rex

-- 
José Abílio


Re: TeXLive rpm packages available to Fedora 8 users

2007-12-10 Thread José Matos
On Sunday 09 December 2007 17:53:00 Rex Dieter wrote:
> What is most likely, afaict, is that this is a bug in some version(s)
> kdelibs4, and this isn't fedora (8) specific at all.

  I agree with Rex on this point. :-)

> -- Rex

-- 
José Abílio


Re: dejavu fonts with texlive (fedora 8)

2007-12-12 Thread José Matos
On Wednesday 12 December 2007 18:37:01 Neal Becker wrote:
> I noticed after installing texlive on fedora f8 that now if I create a
> beamer document, the default fonts are ugly, and they are coming from:
> /usr/share/fonts/dejavu-lgc/DejaVuLGCSans.ttf
>
> If I do \usepackage{cmlgc}, everything is cool.
>
> Where did this default get set and how to change it?

This happens for all documents, not just beamer.

If for some reason you specify other font like latin modern the output is OK.

Since I had not yet the chance to do a clean install I am not sure if this is 
a problem with the texlive configuration files or a real bug in the rpm 
packages.
-- 
José Abílio


Re: Lyx en español

2007-12-12 Thread José Matos
On Wednesday 12 December 2007 17:24:00 Todd Denniston wrote:
> Automatically translated text:
> Comapñeros of habal Hispanic. We ask in Spanish?

There was a type here, it is Compañeros. So the translations should be 
something like:

Dear Spanish speaker fellows may I ask questions in Spanish?

Your answer was on spot so I will not complain about that. :-)

-- 
José Abílio


Re: fun poll: your linux distro

2007-12-29 Thread José Matos
On Saturday 29 December 2007 00:37:44 Paul Smith wrote:
> Here: LyX 1.5.2 on Fedora 8. Hopefully, the official LyX 1.5.3 rpm for
> F8 will be available soon.

  That version is already in updates-testing

# yum update lyx --enable-repo=updates-testing

  should update lyx to the new version.

  It is not yet in updates due to the holidays. :-)

> Paul

-- 
José Abílio


Re: DocBook Support?

2008-01-04 Thread José Matos
On Wednesday 02 January 2008 08:03:52 Ryan Cross wrote:
> Bump... Can anyone provide some guidance on working with DocBook for Lyx
> (with any current versions)?
>
> Thanks!
> -Ryan

  I am sorry for the delay. I have been recovering from a small surgery just 
before the holidays, and now I am recovering from the holidays. :-)

  Expect new documentation next week. I will add the documentation to the wiki 
and then post a link here.

-- 
José Abílio


Re: Reminder of otl2lyx.awk

2008-01-04 Thread José Matos
On Sunday 30 December 2007 19:05:04 Steve Litt wrote:
> Hi all,
>
> otl2lyx.awk has been tested and works for LyX 1.4.x. I hear 1.5.x has a
> different format, so obviously otl2lyx.awk must be changed to output the
> 1.5.x type LyX, or maybe the LyX project offers a converter. Either way
> it's not rocket science.

  lyx2lyx is python script used to convert older documents and is used by 
default when reading old documents. So no convertion to the new format is 
needed unless you intend to use new elements not available in the old 
release.

  Since I suspect this is not the case then everything is OK. :-)

  BTW the same happens for other scripts like the csv2lyx that converts comma 
separated files to lyx documents with tables. The script was originally 
created for version 0.12 and it still works because the old files are 
converted with lyx2lyx.

> Thanks
>
> SteveT
>
> Steve Litt
> Author: Universal Troubleshooting Process books and courseware
> http://www.troubleshooters.com/

-- 
José Abílio


Re: lyx2lyx conversion

2008-01-14 Thread José Matos
On Monday 14 January 2008 17:02:43 rgheck wrote:
> If the file is from 1.5, upgrade to 1.4.5.1: It can read files from 1.5.
> If the problem is file corruption, we can try to solve the problem if
> you post the file here.

  Sometimes that is not possible due to privacy reasons, in some cases you can 
send the file privately to one of us and that is enough to fix the bug.

  If necessary we can supply a scrambler script, that replaces every printable 
character with an x.

> Richard

-- 
José Abílio


Re: [OT] Best KDE-centric Distribution?

2008-01-14 Thread José Matos
On Monday 14 January 2008 17:18:05 rgheck wrote:
> I've been using Fedora ever since I started using Linux, but the
> second-rate status of KDE under Fedora is starting to get to me, so I'm
> thinking about switching. But then: to what? I don't think Kubuntu is
> for me. Gentoo would be an option, but then I'm not sure I want to be
> quite that bleeding-edge. So, the question: What?

  What problems are you having? Rex Dieter, the fedora maintainer of lyx and 
of kde-redhat fame is very responsive and most of the perceived differences 
are gone.

  Actually I prefer the Fedora model for KDE for some reasons that I will not 
go into detail here... :-)

> Richard

-- 
José Abílio


Re: [OT] Best KDE-centric Distribution?

2008-01-15 Thread José Matos
On Tuesday 15 January 2008 13:14:45 rgheck wrote:
> [EMAIL PROTECTED] wrote:
> > Or how long it takes to compile LyX... :-) [*]
> >
> > [*] Seriously, I'm probably interested in the specs and what compile
> > time you got when using e.g. two or three of the cores. But this is
> > maybe better suited for the devel list.
>
> Actually, I'm still a newbie when it comes to multi-core and don't even
> know how to enable compilation on multiple cores. It seems to use only
> one core at a time. If you want to tell me how to enable that, I'll tell
> you what times I'm getting. But I'll tell you, I can develop a lot
> faster than I could before, and do it while doing other things.

  make -j 4

$ man make
...
   -j [jobs], --jobs[=jobs]
Specifies  the number of jobs (commands) to run simultaneously.

> Richard

-- 
José Abílio


Re: [OT] Best KDE-centric Distribution?

2008-01-15 Thread José Matos
On Monday 14 January 2008 17:46:02 Steve Litt wrote:
>
> IIRC the Mandriva 2007 I use defaults to KDE and has lots and lots of KDE
> programs (I'm writing this on kmail), but my hatred of KDE is so profound
> that my first step was to switch to IceWM, and my second step was to find
> non-KDE substitutes for as many KDE programs as I could.

  With all the due respect :-) but this hate seems a bit irrational. :-)

  André (out mathed - mathematical editor - guru) still uses fvwm with 16 
desktops open, at least according to a recent message. I met him before and I 
have witness this so it seems that you are in good company. :-)

> It's my fervent hope that LyX never becomes a KDE program. Qt is OK, but
> IMHO KDE programs have too many needless interactions with other programs
> (like dcop server, gimme a break), needlessly causing crashiness and other
> problems.

  dcop is no more in kde 4, long live dbus. :-)

  Georg Baum tried before to build a kde frontend to lyx (that shared lots of 
code with the qt frontend), that would live at the same time with the qt 
frontend like we had before an xforms frontend.

  A frontend of lyx better integrated with kde seems a nice idea. :-)

  I can understand though some of the frustration with kde 3, kde 4 shows a 
lot of promisses and good ideas. I have been working with it in rawhide (pre 
Fedora 9) and like it a lot while some of the ideas seems solid (no pun 
intended).

> SteveT
>
> Steve Litt
> Books written in LyX:
>   Troubleshooting Techniques of the Successful Technologist
>   Twenty Eight Tales of Troubleshooting
>   Troubleshooting: Just the Facts

-- 
José Abílio


Re: bug in conversion of old lyx file to 1.5.3 (uwthesis template)

2008-01-31 Thread José Matos
On Wednesday 30 January 2008 23:55:02 Scott Otterson wrote:
> I'm trying to use lyx 1.5.3 to read a lyx file which was created with an
> older version of lyx (the University of Washington lyx thesis template:
> http://staff.washington.edu/fox/tex/uwthesis_lyx.zip).  When I open the
> file,  this triggers a lyx bug, either in lyx or within our install of
> lyx (error message below the dotted line).
>
> Could someone suggest a workaround?

  Decompress the zip file and work from there... :-)

> Thanks,
>
> Scott

-- 
José Abílio


Re: bug in conversion of old lyx file to 1.5.3 (uwthesis template)

2008-01-31 Thread José Matos
On Thursday 31 January 2008 00:37:44 Paul A. Rubin wrote:
> BTW, the traceback seems to relate to the zlib library.  Were you
> attempting to convert the file while it was in an archive?  The last
> line of the error dump suggests not, but I wonder why then lyx2lyx was
> executing something gzip-related.  FWIW, I unzipped the archive and
> loaded from the unzipped directory.

If you compress your lyx file using zip or gzip both lyx and lyx2lyx will work 
directly with the compressed file. That is a feature since 1.4 (IIRC).

-- 
José Abílio


Re: accents and dead keys

2008-01-31 Thread José Matos
On Thursday 31 January 2008 09:41:59 Ignacio García wrote:
> Then, I should like to know if this behaviour also works for you, in
> other GNU/Linux
> flavours or O.S., and/or in other languages using dead keys for accent
> keys.

  Fedora 8 and a Portuguese keyboard here.
  The dead keys work just like you describe, why should this depend on the 
distribution and/or language?

> Thanks in advance and regards
> Ignacio García

-- 
José Abílio


Re: lyx crash when loading eps files

2008-02-19 Thread José Matos
On Tuesday 19 February 2008 05:55:21 Paul Johnson wrote:
> Is there any news on this trouble?  I'm a little puzzled by it.
>
> On Fedora 8, I just installed the bleeding edge KDE4 and found that
> lyx crashed, and then I googled my way to this thread.  I am running
> the lyx package that is distributed with Fedora updates.

  Are you using the 4.0.1 packages?

  The problem went way after the update to kde 4.0.1, I am also using the 
packages from kde-redhat.

-- 
José Abílio


Re: Why oh why did you drop xforms?

2008-02-21 Thread José Matos
On Thursday 21 February 2008 06:43:12 Abdelrazak Younes wrote:
> I've promised to keep out of this thread but this is again plain FUD,
> LyX-1.5 is perfectly compilable with Qt-4.1.0. The INSTALL file only
> says that it has been _tested_ with Qt-4.1.5. All version of Qt-4.1.x
> are course binary and source compilable.

  But as we know things rarely are so black and white, this is why we 
advertise the _tested_ 4.1.5.

  In version 1.5.3 the README says that the minimum Qt required version is 
4.1.1

> Abdel.

-- 
José Abílio


Re: Why oh why did you drop xforms?

2008-02-21 Thread José Matos
On Thursday 21 February 2008 16:24:30 Steve Litt wrote:
> So I'd add something like:
>
> WARNING!!! ALWAYS DELETE AND RESTORE YOUR LYX 1.5.3 SOURCE TREE AFTER A
> BLOWN ./CONFIGURE OR MAKE!!!
>
> And then add a sentence saying why.

make clean is not enough?

I am asking although I suspect that the answer is "no." :-(

> Thanks
>
> SteveT

-- 
José Abílio


Re: Why oh why did you drop xforms?

2008-02-21 Thread José Matos
On Thursday 21 February 2008 20:03:04 Steve Litt wrote:
>   --with-version-suffix=1.5.3

You can simply use --with-version-suffix and configure will put the right 
version for you. :-)

-- 
José Abílio


Re: Why oh why did you drop xforms?

2008-02-21 Thread José Matos
On Thursday 21 February 2008 19:55:28 Steve Litt wrote:
> On my box, every make, whether successful or failure, takes about 25
> minutes, and ./configure takes 5 minutes. I'm not going to have time to do
> that for at least a couple weeks.

  In such cases ccache is really useful. :-)

> The answer to that *would* be good to put in the doucmentation.

  FWIW I consider it not working to be a bug that needs to be fixed.
-- 
José Abílio


Re: Problems installing LyX - better method

2008-03-18 Thread José Matos
On Tuesday 18 March 2008 18:50:20 Siegfried MEUNIER-GUTTIN-CLUZEL wrote:
> I reported this bug (4633) 1.6svn seems to be incapable to read 1.5.x
> files (on my Win XP Pro system).

  And I replied there that I suspect from your python installation. :-)
We need a better debugging info for this kind of problems because the default 
message is not always accurate. :-(

> Siegfried.

-- 
José Abílio


Re: pdf file size

2008-03-19 Thread José Matos
On Tuesday 18 March 2008 21:03:11 Miki Dovrat wrote:
> Hi,
>
> Can I give lyx (or imagemagick convert through lyx) or some other latex
> package an option to resample all graphics in a certain resolution to
> reduce the pdf file size?  convert has a -resample option.
>
> I would love to do it "on the fly" without actually producing lower
> resolution images on disk, and pointing to them. Can I run a python
> script in the lyx tmp directory by lyx, or any such solution?
>
> I know adobe acrobat does this on the output pdf for $300. Doing convert
> on the pdf ruins the text as well.
>
> Thanks
>
> Miki

Please add this to lyx bugzilla so that it does not get forgoten. I don't 
remember to see this request before. All the times I had this problem before 
I have fixed it by hand.

-- 
José Abílio


Re: LyX logo

2008-03-26 Thread José Matos
On Tuesday 25 March 2008 00:48:50 M-L wrote:
> I agree. The bird is good, instantly recognisable and synonymous with LyX.
> It is the LyX brand in that it is unique.

That is not a bird. That is a platypus and is a mammal although it lays eggs.
http://en.wikipedia.org/wiki/Platypus

So please don't call it a bird, pretty please. :-)

-- 
José Abílio


Re: New splash screen (Was: LyX logo)

2008-03-27 Thread José Matos
On Thursday 27 March 2008 01:49:50 Rich Shepard wrote:
>    Regardless, naming the mascot Lydia is a great idea: no other FOSS
> application has such a name. Perhaps we could mate Lydia and Tux, sell the
> off-spring to zoos (once they hatch, of course) and fund development that
> way.

Oh, it would be a joy it were that simple that the pandas as an example:
http://blogs.nature.com/news/thegreatbeyond/2008/03/sex_workout_for_pandas.html

> Rich

-- 
José Abílio


Re: LyX logo

2008-03-27 Thread José Matos
On Wednesday 26 March 2008 20:06:49 [EMAIL PROTECTED] wrote:
> Ah, and I guess it's no coincidence that there's a platypus in the users'
> guide?  Is there a story behind this particular animal, e.g. something
> like that it's a "hybrid animal", like LyX?

  I am not sure, the platypus figure made its appearance in the 0.10 code 
base. So other than the usual suspects, Jean-Marc, Lars, Jürgen Vigna, Alan 
Rae or Asger, someone that may know what is the meaning of the platypus is 
David L. Johnson.

If I am allowed to guess I would conjecture that the association of a platypus 
to lyx is related with the C++ roots of LyX.

In objected oriented text/books the platypus is sometimes associated with the 
concept of polymorphism.
http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming

Is enough to search the web for examples of
"polymorphism platypus c++" to see the plethora of positive outcomes. Using 
google two top examples are:
http://classes.engr.oregonstate.edu/eecs/winter2004/cs582/slides/chap11/all.htm
http://accu.org/index.php/journals/255

> /Christian

-- 
José Abílio


Re: "Troubleshooting Process" not allowed?

2008-04-01 Thread José Matos
On Tuesday 01 April 2008 15:04:54 Jürgen Spitzmüller wrote:
> I hope this will be fixed in LyX 1.6.

  That will be released on Christmas.

> Jürgen

-- 
José Abílio


Re: When will Lyx 1.6 be available?

2008-04-06 Thread José Matos
On Sunday 06 April 2008 05:30:27 HZ wrote:
> Hi all
>
> I have seen a lot of new features with Lyx 1.6.
> It is so attractive. So I am just wondering when will it be released?

  When it is ready. :-)

> Is there any new information about that?

  We are near the release of the second alpha (the first that will be 
announced). If we take the release of 1.5 as an example it took 5 months 
between the first alpha (not announced) and the official release of 1.5.0.

> Cheers,
> HZ

-- 
José Abílio


Re: lyx2lyx fails to import .tex document created by openoffice

2008-04-07 Thread José Matos
On Monday 07 April 2008 16:39:25 José Matos wrote:
> This problem happens both for lyx 1.5.5svn and 1.6.0svn.
>
> > best,
> > rené toth

In order not to forget this bug I filled this in bugzilla:

http://bugzilla.lyx.org/show_bug.cgi?id=4719

-- 
José Abílio


Re: lyx2lyx fails to import .tex document created by openoffice

2008-04-07 Thread José Matos
On Monday 07 April 2008 15:21:07 René Toth wrote:
> hello,
>
> it seems that i've got a problem with lyx2lyx, when i try to import .tex
> documents which i've created with openoffice.
> lyx always reports an error to me, that the conversion-script failed,
> because the created .lyx file comes from a different
> lyx-version and the lyx2lyx script couldn't convert the document.
>
> my os is windows xp sp2, i use openoffice 2.4 and lyx 1.5.4.
>
> i'm not sure if this is a bug of lyx2lyx or the import of .tex documents
> created by openoffice doesn't work at all.
>
> in  the attachment you can find the .tex document i created with
> openoffice and which lyx2lyx fails to convert in a working
> .lyx document.
>
> maybe you can help me with this problem. thanks in advance.

Change the \inputencoding line from ascii to auto.

The problem is in the convertion from tex to lyx where tex2lyx sets the wrong 
inputencoding. The problem is that tex2lyx reads the following line of 
test.tex and assumes (correctly) the encoding:
\usepackage[ascii]{inputenc}

The problem, as far as I understand, is that later tex2lyx converts the ascii 
symbols to latin-1 (ngerman encoding) but keeps the inputencoding as ascii. 
So I think that line 308 of preamble.cpp wants to set encoding and not 
inputencoding. The fix should not be difficult after this diagnose. :-)

This problem happens both for lyx 1.5.5svn and 1.6.0svn.

> best,
> rené toth

-- 
José Abílio


Re: Creating LaTeX File Programmatically: The Solution

2008-04-08 Thread José Matos
On Tuesday 08 April 2008 00:58:49 Rich Shepard wrote:
>    I don't mind contributing this to the Wiki if Christian (or anyone else)
> thinks there might be future interest in this, but I did not try it with
> LyX because I knew there would be a lot of adjustments to get the
> positioning just right.

  I think that an initial implementation in latex can lead the way to a later 
implementation in lyx.

  I think that this is interesting and I welcome an entry in the wiki.

> Rich

-- 
José Abílio


Re: Missing the Obvious? -- FIXED!

2008-04-08 Thread José Matos
On Monday 07 April 2008 23:33:13 Rich Shepard wrote:
>    I now return you to your regularly scheduled mail list.

  Welcome to the "Teddy bear effect". :-)
http://www.answers.com/topic/teddy-bear-effect

> Rich

-- 
José Abílio


Re: Can't \includegraphic in preamble or ERT

2008-04-16 Thread José Matos
On Wednesday 16 April 2008 16:34:17 Jeremy Malcolm wrote:
> I have the layout of a Memoir book title page defined in LyX using  
> LaTeX, because it is too complex to be done with the LyX editor.  One  
> line of it is this:
>
> \includegraphics[scale=0.1]{terminuspress.png}

I know that it is a waste :-( but you have to put the absolute path. The 
problem happens because lyx moves the file to a temporary directory to create 
the pdf (or any other format) and so the relative path becomes invalid.

-- 
José Abílio


Re: lyx2lyx convert failed

2008-04-19 Thread José Matos
On Saturday 19 April 2008 11:36:19 Carlos Sosa Paz wrote:
> Dear all
>
> I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3
> version i got the following error message lyx2lyx failed to convert. Find
> attach the file.

  Correction, your lyx files says that you created it with 1.5.2 and not with 
1.4.2. :-)

  The attached file works OK with 1.5.4.

  The easier solution could be to update the 1.4 to 1.5, but I can understand 
that it is not always possible.

  One solution is to save the file in 1.5 as lyx-1.4 (File->Export as lyx 
1.4). I send the resulting file attached.

> Thanks
> Carlos Sosa Paz

-- 
José Abílio


setofcost.lyx
Description: application/lyx


Re: lyx 1.5.4 - make check Fail!.

2008-04-23 Thread José Matos
On Wednesday 23 April 2008 17:50:18 Enrique J. Madrid M. wrote:
> Hi,
>
> When I run the "make check" command, I get the message bellow:
>
> ...
> PASS: test_convert
> FAIL: test_filetools
> PASS: test_lstrings
> 
> 1 of 3 tests failed
> Please report to [EMAIL PROTECTED]
> 
> 
>
>
>
> enrique j. madrid m.
> Tecnología y Desarrollo.
>
> Soluciones Info Móviles S.A.C
> Avda. javier prado oeste 203 piso 13, lima 27
>  Telfs: + 51 (1) 211-0608,  RPM #620193

This is known, in this case it is safe to ignore the test. If you look closely 
you will see that it is related with path renormalizations.

-- 
José Abílio


Re: [announce] preview test release of LyX 1.6.0alpha2 for Windows

2008-04-24 Thread José Matos
On Thursday 24 April 2008 14:06:50 killermike wrote:
> On Thursday 24 April 2008 13:50:13 Uwe Stöhr wrote:
> > Hello LyX testers,
> >
> > I uploaded a new snapshot of the upcoming LyX version 1.6.0 for Windows:
> > LyX 1.6.0alpha2.
>
> Could someone confirm for me: is the Linux 1.6.0 alpha 2 actually buildable
> yet? I'm afraid that I've become a bit confused in terms of the discussion
> about it over on the dev list.

If you don't use the included boost it will work (because boost is missing 
from the tarball). That is as far as I remember. :-)

-- 
José Abílio


Re: Texlive for lyx

2008-04-29 Thread José Matos
On Tuesday 29 April 2008 08:35:45 [EMAIL PROTECTED] wrote:
> I use lyx 1.5.4 with tetex on a Gentoo computer. It works fine;
> I'm thinking about switching to texlive, as tetex seems on a deadend. Has
> anyone done it yet ? Got any problem ? How does LyX work with it ?
> Please let me know

I have done it using Fedora with no problem (as it was to be expected). :-)

It just works.
-- 
José Abílio


Re: Thesis template in Lyx

2008-04-30 Thread José Matos
On Wednesday 30 April 2008 20:57:54 Bob Lounsbury wrote:
> I then renamed report.layout to ufthesis.layout and changed the first line
> from:
>
> \DeclareLaTeXClass{report}
> to
> \DeclareLaTeXClass{ufthesis}
>
> And done. You now have a layout file for your ufthesis.cls file.

Or better yet, include it and start modifying from there:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[ufthesis]{UF Thesis}

Format 4
Input report

# Adding specific modifications below this line
...

-- 
José Abílio


Re: Tex capacity exceeded

2008-05-03 Thread José Matos
On Saturday 03 May 2008 16:34:01 Adrian Peter wrote:
> Hi,
>
>
>
> I am working on a multipart thesis using Lyx.  I keep getting the following
> error when I try to export to PDF or view the DVI:
>
>
>
> TeX capacity exceeded, sorry [input stack size=5000]
>
> I checked the mail archive and saw that there could be several issues that
> cause this error: unterminated brackets, infinite loops from the \renew
> command, too many eps figures, etc.  Nothing was conclusive.  My child
> documents do use several eps figures with many of them exceeding 30MB in
> size.  Could someone help me figure out what is really causing this error
> and how to fix it?  If it is the eps figures, will the problem be solved if
> I convert them to PNG of smaller size?  Thank you.

There is one limit where if there are more than 18 (more or less) figures 
before a given break this error will occur.
http://www.texnik.de/cgi-bin/mainFAQ.cgi?file=floats/floats#unprocessed

> Adrian

-- 
José Abílio


Re: Thesis template in Lyx (including a chapter)

2008-05-05 Thread José Matos
On Saturday 03 May 2008 03:30:28 Adrian Peter wrote:
> I have set the document type of the child document (my chapters) to the
> same type as the main lyx file (for which I created the layout file to
> point to the ufthesis.cls file).  Is the child document somehow redefining
> the graphicx package options?  Thanks.

  I don't think so.

> Adrian

-- 
José Abílio


Re: LyX formatting citations incorrectly-- Desperate for help

2008-05-08 Thread José Matos
On Friday 09 May 2008 00:06:24 Adam Pantanowitz wrote:
> Hi all
>
> I have searched far and wide, read documents, and tried messing around with
> layout and cls files, but have been unable to find an answer.
>
> If someone can help me, I'd be immensely grateful!
>
> I am trying to use the IEEEtran style sheet.  When I create a float (table
> or figure), the caption is not formatting according to the IEEEtran.cls
> file...
>
> What happens is that it displays:
> Figure 1.
> instead of:
> Fig 1.
>
> Also, it displays Table 1 instead of TABLE 1.  This problem has been
> driving me crazy!
>
> Any help appreciated

  Do you mean on screen or on the generated pdf?

> Kind regards,
>
> Adam

-- 
José Abílio


Re: Automated generation of graphs to be included

2008-05-14 Thread José Matos
On Wednesday 14 May 2008 13:54:04 Neal Becker wrote:
> I wrote a little python to generate a bunch of graphs.  How do I format
> this to a file to include in lyx?
>
> I tried making a file with:
>
> \begin_layout Standard
> \begin_inset Graphics
> filename N=512,e=--20.pdf
> width 100line%
>
> \end_inset
>
> And tried insert/file/lyx, but lyx says it's not a lyx file.  What is the
> best way to implement this?

How about using external insets?

-- 
José Abílio


Re: Automated generation of graphs to be included

2008-05-14 Thread José Matos
On Wednesday 14 May 2008 14:38:02 Neal Becker wrote:
> Not sure what you mean here.

Help->Customization-> Chapter 6 - Including External Material

-- 
José Abílio


Re: How badly is a LyX upgrade going to mess me up?

2008-05-14 Thread José Matos
On Wednesday 14 May 2008 18:55:28 Steve Litt wrote:
> So my question is, do you think 1.5.4 will reformat my 1.4.2
> documents in any way? Forewarned is forearmed.

It should not, if it does that and is not documented in NEWS or RELEASE-NOTES 
it is a bug and it should be fixed.

So if you want to see any possible problems read both NEWS and RELEASE-NOTES 
files.

> SteveT

-- 
José Abílio


Re: Mysterious LaTeX Error

2008-05-21 Thread José Matos
On Wednesday 21 May 2008 17:24:04 Rich Shepard wrote:
>    The 'Missing $ inserted' error message is generated when there is a math
> symbol (e.g., $) in the text string that causes LaTeX to enter math mode. I
> do not have any monetary amounts in the text. What other character might be
> seen by LaTeX as a command to enter math mode when that's not my intention?
> I don't see anything jumping out at me -- particularly in the string on
> line 1963 above -- that tells me what I need to fix.

The usual culprit in these cases is the underscore.

My suggestion is to replace the calls to str(left) and str(right) by a call to 
a new function that escapes all the usual suspects.

something like:

def latex_escape( item):
   usual_suspects = {'_' : '$_$', '$': '\$'}

   item = str(item)
   for chr in usual_suspects:
  item = item.replace(chr, usual_suspects[chr])
   return item


I am not sure if the latex code is right but you get the idea. :-)

> Rich

-- 
José Abílio


Re: Help with euro symbol

2006-08-05 Thread José Matos
On Saturday 05 August 2006 00:05, Uwe Stöhr wrote:
> Of course because LyX 1.4.x couldn't handle Unicode or the encoding the
> encodings to display the euro sign. LyX 1.5 wiil have this feature.

  Nope, there is a bug somewhere. LyX supports latin9, the encoding used for 
the euro, and I have inserted it directly before.

  Notice the attached lyx file it has the euro sign, but the only way to see 
it in lyx is to change the font encoding to iso8859-15 (latin9) and that can 
only be done in lyx-xforms.

  I surely agree about you remark regarding LyX 1.5. :-)

> For the meantime use the eurosysm pacakge and then the comand \euro to
> display the € sign, see the attached example.
>
> regards Uwe

-- 
José Abílio


newfile1.lyx
Description: application/lyx


Re: A Spell Checker Error

2006-08-08 Thread José Matos
On Tuesday 08 August 2006 03:45, Rich Shepard wrote:
>    Running 1.4.2 on linux here. Evoked the spelling checker on a short
> article and fixed the errors it found. Then I ran the source through
> pdflatex.
>
>    While reading the typeset document, I saw the word, 'th .' "How
> strange," I thought. Sure enough, the spelling check missed that, but a
> search for the string found it.

  This is strange, I remember a recent use of the spell checker where I have 
written something like 17th where the number was in math mode and the spell 
checker detected that th ans asked me to fix it.

>    I've no idea how this slipped past the gates, but it's worrisome that I
> cannot count on aspell (I don't recall if it's that or ispell) to catch my
> typos.

  Before 1.4.2 we had a bug where the first word in a document was not 
checked. I think that is fixed now.

> Rich

-- 
José Abílio


Re: placing a large table in landscape orientation

2006-08-08 Thread José Matos
On Tuesday 08 August 2006 06:54, John Pye wrote:
> Hi all,
>
> I have moderately wide table that I would like to place on a page of my
> LyX document in landscape format. I have been able to do this, although
> note that it comes out wrong in the DVI viewer, but appears not bad in
> the pdflatex output.
>
> The problem is that the text is a little too large, and even with the
> landscape orientation, my table is too big for the page.
>
> How can I shrink down the size of the text used in the table?

  See attached file.

> Alternatively, how can I make the table's caption show in landscape
> format as well, rather than above the rotated figure?

  No idea here.

> I don't know latex commands, so if I must use ERT for this, please
> specify what it is that must do. Any tips would be much appreciated.
>
> Cheers
> JP

-- 
José Abílio


small-table.lyx
Description: application/lyx


Re: Copying and pasting

2006-08-14 Thread José Matos
On Monday 14 August 2006 14:25, Pupeno wrote:
> My wife is doing some work in which she pastes lots of text from mails and
> other places, most of the on UTF-8 and pastes it on Lyx, but Lyx uses
> Latin-1, so she ends up with a lot of weird characters. Any ideas how to
> solve the problem ? something that is agile ?
> If upgrading to 4.0 is needed, I'll consider it, we are currently running
> 1.3.7, but the last time I tried 4.0, it didn't seem to be have UTF-8
> support.

  By 4.0 I think that you mean 1.4.x, right?

  In 1.4.2 I don't have any problem copy and pasting from an external source 
to lyx.

  Also as Matěj said lyx 1.4 does not support unicode, that is the goal of 
next version 1.5.

> Thanks.

-- 
José Abílio


Re: Copying and pasting

2006-08-15 Thread José Matos
On Tuesday 15 August 2006 14:58, Pupeno wrote:
> >   In 1.4.2 I don't have any problem copy and pasting from an external
> > source to lyx.
>
> Is the external selection in UTF-8 ? is your locale in UTF-8 ? is your
> desktop environment all using UTF-8 as well ? If so, can you track that it
> is a fix on LyX 1.4.2 ? (otherwise, the works-for-me is useless).

  Is there any other encoding other than utf-8? ;-)

  Yes, all encodings here are utf-8:
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

  I guess that this was a fix from 1.4.0, but I am not sure.

  I use Fedora (Core) 5 and my desktop environment is kde 3.5.4.

> >   Also as Matěj said lyx 1.4 does not support unicode, that is the goal
> > of next version 1.5.
>
> That'd be nice.

  The code has been merged recently, we already have lyx files in utf-8. Now 
the funny part is to work the latex export. It will take some time to get it 
right. :-)

-- 
José Abílio


Re: Math-intensive work in 1.4.x impossible.

2006-08-17 Thread José Matos
On Thursday 17 August 2006 18:56, Rudi Gaelzer wrote:
> Indeed, I'm running lyx on FC5 with gcc 4.1.x.
> Attached is the bug report obtained with  "lyx -dbg mathed,action 2>
> lyx_bug.txt"
>
> Apparently, the crash really occurs when I exit mathed mode and instant
> preview should kick in...
>
> Could this be the bug related to gcc?
>
> Thanks.

  When writing my thesis, where I had hundreds of math expressions I had to 
turn off instant preview or else I would see the same behaviour.

  I am running FC5 as well but as reported in this thread this seems to be an 
issue with gcc 4.1 that is not exclusive of FC5. :-(

-- 
José Abílio


Re: Math-intensive work in 1.4.x impossible.

2006-08-17 Thread José Matos
On Thursday 17 August 2006 19:21, Georg Baum wrote:
> Rudi, I think it is best if you stick with 1.3.7 until we have fixed this
> issue and then try again.

  Or turn off instant preview for the moment. :-)

> Georg

-- 
José Abílio


Designing a book with LyX (link)

2006-08-24 Thread José Matos
Hi all,
I found this link in Linux Weekly News:
Designing a book with LyX - 
http://software.newsforge.com/article.pl?sid=06/08/15/1859251

  It should be interesting to add to wiki. It is a good promotion of LyX's 
abilities. :-)

  Thanks to the authors for the text.
-- 
José Abílio


Re: Problem with including a gnuplot picture

2006-09-09 Thread José Matos
On Saturday 09 September 2006 15:03, Georg Baum wrote:
> Or write an external template for gnuplot. I am actually surprised
> that nobody did that yet.

  Angus tried this but found that it is not secure, you can pass any argument 
to gnuplot, you can not use it in a sand box.

  This is the only reason why gnuplot is not defined as a template and 
included in lyx.

> Georg

-- 
José Abílio


Re: wiki: FYI, the word "propecia" is now blocked

2006-09-12 Thread José Matos
On Tuesday 12 September 2006 11:38, [EMAIL PROTECTED] wrote:
> If there is any legitimate reason why you would want to write "propecia"
> in a page, let me know. (I don't even know what it means...)

  Wikipedia is your friend. ;-)

> /Christian

-- 
José Abílio


Re: Historical question

2006-09-13 Thread José Matos
On Wednesday 13 September 2006 20:37, Alex wrote:
> Hi!
>
> I would like to know when was the development of LyX started?

  This is what I have been able to dig. If you have details to add I am all 
hears. :-)

> I could find 0.8.0 dated to 21st of dec, 1995.
>
> But when was it first announced or released to the public?

  In 95, David mentioned last month that he still used the motif based 
version. (At version 1.5 :-)

  Some lines refer this in the Changelog from 0.7 code that we have in 
ftp.lyx.org

  Those are the packages I have been able to recover in 2003.

> Alex

-- 
José Abílio


Re: Footnotes in an Appendix?

2006-09-18 Thread José Matos
On Monday 18 September 2006 20:47, Dave Jarvis wrote:
> Hi,
>
> I love LyX. But that's not why I'm writing.
>
> I have recently (and perhaps naively) added footnotes into a table
> within an Appendix. When the PDF was generated, no footnotes appeared.
> Two pages from the same document illustrate the issue:
>
>   http://joot.com/dave/genesis-2006-a.png (without footnotes)
>   http://joot.com/dave/genesis-2006-b.png (with footnotes)
>
> I do not know if it is the table, the Appendix, or the combination of
> the two that is causing the problem. Any light someone can shed on this
> would be a great help.

As Marcelo said footnote don't work inside floats (not just tables), you can 
see a workaround here:
http://tug.org/TeXnik/mainFAQ.cgi?file=table/table#foot_2

PS: I searched this answer in the Wiki as I was sure this is a FAQ but I did 
not found it.

> Many thanks,
> Dave

-- 
José Abílio


Re: Footnotes in an Appendix?

2006-09-18 Thread José Matos
On Tuesday 19 September 2006 07:33, Juergen Spitzmueller wrote:
> It's there now:
> http://wiki.lyx.org/LyX/Tables#footintab

 Thanks,

> Jürgen

-- 
José Abílio


Re: Read only mode?

2006-09-22 Thread José Matos
On Friday 22 September 2006 19:58, Rudi Gaelzer wrote:
> Is there a read only mode for lyx?
>
> From a message sent by Jean-Marc in may, I gathered that there is such a
> thing:
> --- snip --
> You can use buffer-readonly-toggle (which can even be added as a menu
> item or icon).
>
> JMarc
> --- snip --
>
> I would like to have the possibility to open a lyx document in read-only
> mode. In fact, I would even like to be able to choose it as the default
> action.

  When I want a document in read only permanently I remove the write flags 
from its properties.

$ chmod a-w file

in linux and other unices...

  LyX recognises this and acts accordingly. :-)

> Can I do that with lyx 1.4.3? How?  When I enter "buffer-readonly-toggle"
> on the minibuffer, I got an "Unknown action"...

In minibuffer tab is your friend. :-)
buffer-toggle-read-only

> Thanks.

-- 
José Abílio


Re: 1.4.3 preview error

2006-09-23 Thread José Matos
On Saturday 23 September 2006 17:10, Marcelo Acuña wrote:
> Hello,

  Hi,

>  I have Linux Suse 9.3, lyx 1.4.3 compiled.
>
>  View > DVI no work
>  appears DVI visor, xdvik, with file name but nothing
> more, white page.
>
>  PDF´s updates no work.

  What is the pdf viewer you are using?

  Does it sees the original pdf?

>  Regards.
>
>  Marcelo

-- 
José Abílio


Re: Enumerate with Figure

2006-10-06 Thread José Matos
On Friday 06 October 2006 13:37, Bruce Pourciau wrote:
> Helge,
>
> Sounds like what I need, but when I tried to open your file I saw  
> this message: "This file is from an earlier version of LyX, but the  
> lyx2lyx script failed to convert it."

  The file was generated with a newer version and the lyx2lyx version that 
comes with 1.4.3 is not able to convert it back.

> Bruce

  T - 48m ;-)

-- 
José Abílio


Re: Installing new doc types?

2006-10-09 Thread José Matos
On Monday 09 October 2006 02:05, Timothy Reaves wrote:
>   I'd like to use the DocBook Book document class, but it is listed as
> unavailable.  I have all the DocBook tools installed (as that's what
> I've used the last several years).  What do I need to do to make the
> classes available to LyX?

  Hi Timothy,
the answer is in configure.py, we search for the presence of sgmltools 
or 
db2x scripts. What other tools do you propose for us to check the 
availability?

>   Thanks.

-- 
José Abílio


Re: config and comments

2006-10-09 Thread José Matos
On Monday 09 October 2006 14:32, Guy Hindell wrote:
> Hi there - a couple of questions.
>
> First, I have lyx integrated into our build environment so that it
> exports to latex (lyx -export pdflatex)  and runs pdflatex as part of a
> software build. This means I have users (developers) who run lyx without
> being aware of it as part of their build in order to generate
> documentation. The problem is, lyx doesn't seem  to generate its user
> config (in LYX_USERDIR_14 or wherever) when doing an export - it only
> does this when started interactively - and this causes the pdflatex run
> to fail. Any solution?

  AFAIR, this should be fixed in 1.4.4.

> Second, switching from 1.3.6 to 1.4.2 I find that the Comment
> environment has turned into a kind of note. I can highlight a block of
> text as I would have done before and select Insert->Note->Comment, and
> effect is the same... but how do I uncomment it again?

  For the moment the only option is to copy everything inside the note, cut it 
and paste it outside, removing the note afterwards. Again I think this will 
be simplified in 1.4.4 by allowing to dissolve the note if backspace is 
pressed in the first position.

> guy

-- 
José Abílio


Re: Installing new doc types?

2006-10-10 Thread José Matos
On Tuesday 10 October 2006 04:32, Timothy Reaves wrote:
> >
> >   Hi Timothy,
> > the answer is in configure.py, we search for the presence of sgmltools
> > or db2x scripts. What other tools do you propose for us to check the
> > availability?
> >
> >>Thanks.
>
>   None.  But I have those tools installed, and they are not being picked 
> up.

  How does configure.py finds latex?
  The detection mechanism is similar, it will search for those programs in the 
PATH.

-- 
José Abílio


Re: Installing new doc types?

2006-10-11 Thread José Matos
On Wednesday 11 October 2006 05:17, Timothy Reaves wrote:
> I understand that, but it's not being picked up.

  AFAIR, the environment variable PATH in the OSX package is set so that latex 
can be find in the way.

  For docbook we test for the presence of db2dvi in PATH. So you should 
guarantee that this program is in your path.

  I accept alternative ways to do it. :-)
-- 
José Abílio


Re: lyxformat command

2006-10-29 Thread José Matos
On Monday 30 October 2006 3:07 am, Mohan V. Chunkath wrote:
> Dear Paul,
> Does that mean that if I have the latest version of Lyx (1.4.3) for Windows
> XP I do not have to worry about the \lyxformat command i.e. are later
> versions backward compatible with earlier versions. Thanks in advance.

  Yes.
  New versions support all previous versions of lyx.

> Mohan Chunkath

-- 
José Abílio


Re: Trouble with Floats and Graphic centering

2006-10-31 Thread José Matos
On Tuesday 31 October 2006 3:59 pm, Stan Gatchel wrote:
> Any ideas on how to center the graphic in the float box?

  Go to the paragraph where the figure is, inside the float, and change its 
alignment to Center.

> Thanks,
>
> Stan

-- 
José Abílio


Re: Import of large latex table into Lyx does not work

2006-11-12 Thread José Matos
On Saturday 11 November 2006 10:18 am, Andre Poenitz wrote:
> On Tue, Nov 07, 2006 at 03:26:44PM +0200, Rainer M Krug wrote:
> >
> > The problem are empty cells, which are represented by "$$", which causes
> > confusion in LyX.
> > Now I don't know if this is a accepted format in LaTeX and if there is a
> > problem in LyX or if there is a problem in the export routine in R - if
> > anybody could shed some light on this?
>
> $$ is begin of displayed math in TeX and understood by LyX as such. If
> an empty cell is exported as '$$' nowadays that's a recently introduced
> bug as I remember making sure that such beasts get exported as '$ $' a
> while ago.

  No the bug comes from R as far as I understand the original report.

  Maybe it should be reported there, no?

> Andre'

-- 
José Abílio


Re: zlib and 1.4.3

2006-11-13 Thread José Matos
On Monday 13 November 2006 1:16 am, John B. Egger wrote:
> I unwisely installed LyX 1.4.3 in my /home/john/Downloads directory, and
> ./configure gave an error that libz can't be found and to make sure zlib
> is installed properly. Although I went ahead with "make" anyway, and LyX
> 1.4.3 is running, what should I do about this zlib issue? (/usr/lib and
> /usr/local/lib show libz files; just to be sure, I DL'd zlib from
> zlib.net and installed it.) I guess I've created kind of a mess here,
> but should I reinstall zlib in the same directory as LyX, or create a
> path to it? Or reinstall LyX to /usr/share or wherever it's supposed to
> go? [I'm using Xandros Linux (a debian-based distribution).]

  LyX searches for zlib.h and libz (the include file and the library), if they 
are in the standard paths this should not be a problem.

  Notice that if you have installed a dynamic library (.so) you need to run 
ldconfig (as root) so that it knows about it.

> --John
> Registered Linux User #291592

-- 
José Abílio


Re: looking for step-by-step guide for using docbook-xml with LyX

2006-11-15 Thread José Matos
On Wednesday 08 November 2006 12:15 am, Jeremy C. Reed wrote:
> I asked about this in May but didn't get any reply.

  I am sorry Jeremy, I am the responsible for this area and I have been really 
busy.

> I am looking for a step-by-step guide for using docbook-xml with LyX.
>
> My configure.py has:
>
> \Format docbook-xml xml   "Docbook (XML)" "" "" "%%"
> and
> \converter docbookdocbook-xml "cp $$i $$o"  "xml"
>
> I am running lyx 1.4.3 on NetBSD.
>
> The lyx configuration says:
>
> checking for SGML-tools 2.x (DocBook) or db2x scripts...
> +checking for "sgmltools"...   no
> +checking for "db2dvi"...   no
> ...
> +checking for docbook  class docbook-book...  no
> +checking for docbook  class docbook-chapter...  no
> +checking for docbook  class docbook-section...  no
> +checking for docbook  class docbook...  no
>
>
> What is the correct URL for downloading db2dvi and/or sgmltools?

  You can use any other toolchain as long as it takes a docbook (either sgml 
or xml) file and converts it to the final format.

  sgmltools is not active anymore and db2xxx are a set of tools that wrap 
calls to other tools (jadetex and company).

> Where is using docbook with LyX documented? I see some LinuxDoc
> documented, but I don't think that is correct for my needs.

  You are right, I should document better this path. :-(

> I found two bogus URLs in the LyX docs: http://www.sgmltools.org and
> http://pobox.com/~cg/sgmltools. I also read that SGMLtools is obsolete and
> the successor, SGMLtools-Lite, is also now obsolete.

  Yes.

> I found DocBook tools at http://sources.redhat.com/docbook-tools/ but I am
> unsure which is the one to use.

  Perhaps here:
  ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES

  db2xxx is in docbook-utils there.

> What is needed for LyX?
>
> Original message below:
>
> -=-=-=-
> Date: Sat, 6 May 2006 08:41:38 -0700 (PDT)
> Subject: working with docbook
>
> I have a document that begins with:
>
> "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd";
>[]>
> 
> ...
>
> It is processed with openjade using a style sheet called:
> .../share/sgml/docbook/dsssl/modular/print/docbook.dsl
>
> I spent a lot of time manually converting the entire document to lyx, but
> this means when I make changes I have to do it in two places -- if I want
> to submit back changes. Maybe I should have just used lyx on the original
> XML document and save back in XML.
>
> Can someone please point me to the documentation for reading and saving
> document in XML format using lyx?
>
> I did find:
>
> Document processing with LyX and SGML
> http://www.karakas-online.de/mySGML/
>
> Some articles about db4lyx and db2lyx.
>
> http://wiki.lyx.org/LyX/DocBook is empty
>
> 5-Minute Review: Using LyX for Creating DocBook
>  does not seems to show how to set it up, unless I overlooked it
>
> I also tried grepping through my installed /usr/pkg/share/lyx/doc/ files,
> but didn't find information.
> -=-=-=

  It is in my list to gather this information in the wiki. My time has been 
very limited recently though. :-(

  Every help is welcome.
-- 
José Abílio


  1   2   3   4   >