Re: A question

2009-04-17 Thread Steve Litt
On Friday 17 April 2009 11:36:30 pm Adrian Diaz wrote:
> Friends of Lyx
>
> i am writting my thesis and several times i have to set up some
> list. Lyx by default has the option by point or number, but i would like
> to use symbols or letter and only in certains points of my thesis.
>
> any advice?
>
> Greetings Adrián

Hi Adrián,

I'll bet there's a package to do that on CTAN (www.ctan.org).

Also, see this article:

http://www.troubleshooters.com/linux/lyx/ownlists.htm

The referenced article tells how to to it in LaTeX. To use a special list 
environment with LyX, you need to tell the LyX environment code to use a 
LatexType of Item_Environment instead of Environment. See Help->Customization 
document, especially the section titled "Specific Paragraph Layouts"

If you're writing a thesis, I'd suggest you subscribe to the LyX list. All the 
LyX geniuses are there.

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



A question

2009-04-17 Thread Adrian Diaz
Friends of Lyx

i am writting my thesis and several times i have to set up some
list. Lyx by default has the option by point or number, but i would like
to use symbols or letter and only in certains points of my thesis.

any advice?

Greetings Adrián


Re: Page numbers and the book class

2009-04-17 Thread Yago

Do you know what's Google?.

http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-138.html
- Original Message - 
From: "Hesham Kamel" 

To: 
Sent: Friday, April 17, 2009 10:08 PM
Subject: Page numbers and the book class



Hi,
Please, I am using the book more fonts class.
Everything is fine, except I am using the* \pagestyle{empty}*
to suppress printing the header.
However, this also causes printing the page number *ONLY* for the first 
page

on each chapter.
*Is there a way to print page numbers for all pages, and in the same time
suppressing the headers?*

Thank you,
H



__ Information from ESET NOD32 Antivirus, version of virus 
signature database 4014 (20090416) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






Re: Error converting to loadable format

2009-04-17 Thread Uwe Stöhr

Eliseu Filho schrieb:


I get the name of the .eps file and below it the message:
Error converting to loadable format

Some system configuration info: 


Ghostscript 8.61
ImageMagick 6.5.1-3 Q16 (2009-05-01)


What you see is a problem that ImageMagick is either misconfigured or cannot find Ghostscript. 
ImageMagick 6.5.1-3 was released 5 days ago, so it seems that you have installed it manually. 
Perhaps while doing this something went wrong, perhaps the ImageMagick version that is installed 
with LyX still has some registry entries. But this is hard to say from here, so I propose to

- uninstall ImageMagick
- then uninstall Ghostscript
- then uninstall LyX _completely_ (leave Aspell as it is)
- finally reinstall LyX

It should then work.

regards Uwe


Re: [announce] LyX web available in Spanish

2009-04-17 Thread Sergio Celani

Marcelo Acuña escribió:

Hello LyXers!

From now on, most of the LyX web pages is translated into
Spanish.

If you want you can have a look at

 http://www.lyx.org/WebEs.Home

or clicking on the Spanish flag on top.

Suggestions or error corrections will always be welcome
here. Thanks!

Best regards
Ignacio García



 ¡Qué buena noticia! ¡Me alegro muchísimo!
  Saludos
Marcelo


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

  
Excelente noticia. Espero que con esto stenga mayor difusión en el mundo 
hispano este útil programa.

Saludos desde Argentina
Sergio


Re: Citation order wrong in table

2009-04-17 Thread Anders Host-Madsen
One (primitive) idea, which I don't know will work or not, 
is to use a \nocite command with
the authors in the order you want the citations to appear.



Page numbers and the book class

2009-04-17 Thread Hesham Kamel
Hi,
Please, I am using the book more fonts class.
Everything is fine, except I am using the* \pagestyle{empty}*
to suppress printing the header.
However, this also causes printing the page number *ONLY* for the first page
on each chapter.
*Is there a way to print page numbers for all pages, and in the same time
suppressing the headers?*

Thank you,
H


Citation order wrong in table

2009-04-17 Thread rettie

Hello everyone! I am in the situation where I have a table of previous work 
(articles) with numerical references, as below:

| Author [ref]| Year | Description |

However, the citations are ordered as they are in the subsequent text, not in 
the table, even through the table comes first, which makes it look like:

| Author [3]| Year | Description |
| Author [1]| Year | Description |
| Author [2]| Year | Description |

Text about [1]
Text about [2]
Text about [3]

Is there anyway to number the references according to the order they are in the 
table? I am using natbib with the "sort&compress" option. Thanks in advance!

Alex
-- 
View this message in context: 
http://n2.nabble.com/Citation-order-wrong-in-table-tp2651743p2651743.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller  writes:

> Jean-Marc Lasgouttes wrote:
>> > You've got more courage than I have.  I see that the Universities in the
>> > U.S. use A4 for convention papers, etc. that need to be exchanged with
>> > universities in the real - oops, ISO world.  Ideally, those users need
>> > both.
>>
>> We had to choose something, actually. But the current solution will
>> probably be replaced by a Metric/Imperial toggle pref.
>
> Aren't there some locale settings we can use?

There is LC_PAPER and LC_MEASUREMENT, but I do not know how to use them.

Also, since Qt 4.4, QLocale has a measurementSystem() method. We could
maybe use that when available.

JMarc


Re: Change default unit for column width

2009-04-17 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
> > You've got more courage than I have.  I see that the Universities in the
> > U.S. use A4 for convention papers, etc. that need to be exchanged with
> > universities in the real - oops, ISO world.  Ideally, those users need
> > both.
>
> We had to choose something, actually. But the current solution will
> probably be replaced by a Metric/Imperial toggle pref.

Aren't there some locale settings we can use?

Jürgen


Re: [announce] LyX web available in Spanish

2009-04-17 Thread Marcelo Acuña

> Hello LyXers!
> 
> From now on, most of the LyX web pages is translated into
> Spanish.
> 
> If you want you can have a look at
> 
>  http://www.lyx.org/WebEs.Home
> 
> or clicking on the Spanish flag on top.
> 
> Suggestions or error corrections will always be welcome
> here. Thanks!
> 
> Best regards
> Ignacio García

 ¡Qué buena noticia! ¡Me alegro muchísimo!
  Saludos
Marcelo


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


Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
Doug Laidlaw  writes:
> You've got more courage than I have.  I see that the Universities in the U.S. 
> use A4 for convention papers, etc. that need to be exchanged with 
> universities in the real - oops, ISO world.  Ideally, those users need both.

We had to choose something, actually. But the current solution will
probably be replaced by a Metric/Imperial toggle pref.

> I thhought that you might be saying that if I choose US letter, I will get 
> inches.  It didn't happen -at least, not without exiting the program, which I 
> didn't try.

Actually I was wrong. It depends on the default paper size that one
selects in Preferences.

JMarc


Re: [Figure embedding] An easy way to share lyx documents

2009-04-17 Thread Niko Schwarz
On Fri, Apr 17, 2009 at 8:53 AM, Rainer M Krug  wrote:
>
> 1) I like the lyx format as it is BECAUSE it is not compressed, so I
> would definitely not change the default format.
>

Ok, maybe I didn't make myself clear: you can have self-contained archives
with no compression at all on OSX. It works like this: you make a directory
and in that directory you dump a special file that tells finder to display
the directory as a package.

But from the command line, it is still a directory. And in finder, you can
look into the package by choosing "Show Package Contents" from the pop up
menu.

Now Pages files for example come as such "packages", you can copy that
directory around, send it through email (yea, email clients handle it
surprisingly well), and it still works.

Now, other operating systems see a directory and not a package. People using
something other than OSX would have to be reminded to copy the directory
around the .lyx file around, which would be managed by lyx.

The file would still be accessible, no performance penalty, but complete
send-aroundability, and while it might feel a little alien on other OS's, on
OSX it's the standard way to do such things, so OSX users will cheer.

cheers,

niko


Re: [Figure embedding] An easy way to share lyx documents

2009-04-17 Thread Andrew Sullivan
On Fri, Apr 17, 2009 at 09:26:26AM +0200, A B wrote:

> suggested. But basically everything in one place. Reason? If you need
> lyxa format, you are either archiving it for backup or sending it to
> someone. The recipient are never going to have the same directory
> structure as you. That will only mean failure to try to achieve. The
> easier way is to just loose the exact location if you are going for a
> lyxa  file.

You have this problem anyway, because LyX depends on LaTeX and all the
various LaTeX packages people have installed.  It's really quite a bit
more complicated than a Word or OOo installation.  I've no idea what
to do about this short of limiting the power of LyX by shipping its
own LaTeX with "standard" extensions.

A

-- 
Andrew Sullivan
a...@shinkuro.com
Shinkuro, Inc.


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
On Friday 17 April 2009 6:27:37 pm Jean-Marc Lasgouttes wrote:
> A B  writes:
> > Hi.
> > Is it possible to change the default unit for column width from inch
> > to mm (or something else?)
>
> The default width is cm if you use a 'metric' paper size and inch if you
> use a paper size from weird countries, like usletter or legal.
>
> JMarc

You've got more courage than I have.  I see that the Universities in the U.S. 
use A4 for convention papers, etc. that need to be exchanged with 
universities in the real - oops, ISO world.  Ideally, those users need both.

I thhought that you might be saying that if I choose US letter, I will get 
inches.  It didn't happen -at least, not without exiting the program, which I 
didn't try.

Doug.


Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
A B  writes:

> Hi.
> Is it possible to change the default unit for column width from inch
> to mm (or something else?)

The default width is cm if you use a 'metric' paper size and inch if you
use a paper size from weird countries, like usletter or legal.

JMarc


Re: [Figure embedding] An easy way to share lyx documents

2009-04-17 Thread Rainer M Krug
On Fri, Apr 17, 2009 at 9:26 AM, A B  wrote:
> First I wish to come clean with one thing: I'd like to see LyX being
> used by the ms word people in the industry, so my take is: do not
> trust files someone send to you (see earlier discussions on
> collaboration)
>
>> 1) I like the lyx format as it is BECAUSE it is not compressed, so I
>> would definitely not change the default format.
>
> Yes, that is very nice. Easy to generate lyx files from scripts, etc.
> Very nice and worth saving.

Exactly.

>
>> 2) I like the idea of an export format, which effectively compresses
>> all files necessary into a single file. This is very nice for
>> archiving final documents (lets call it .lyxa for lyx Archive).
>
> lyxa sounds like a nice idea, and there seems to allready be code for this.
> There are two things though. lyxa should, as I see it, keep everything
> in one place, all original paths will be removed, and it will be
> "everything in one directory" or possible one subdirectory for images,
> one for lyx files, one for bibtex stuff, one for  and so on, as
> suggested. But basically everything in one place. Reason? If you need
> lyxa format, you are either archiving it for backup or sending it to
> someone. The recipient are never going to have the same directory
> structure as you. That will only mean failure to try to achieve. The
> easier way is to just loose the exact location if you are going for a
> lyxa  file.
> The only time I can see that the exact location is important is when
> the images are changed and you don't want to update them manually in
> the lyxa file, but hey, then you are probably not receiving new lyxa
> versions back in collaboration with someone, so just keep your
> original structure and generate a new lyxa file if you need to send it
> to someone.
> I hope I've managed to make my point clear about that keeping the
> exact structure in a lyxa format is futile.
>
>
>> 5) .lyxa should contain information of the original location of the
>> foles on the system where it was created, to be able to update the
>> files not in the subdirectory.
> I say no. You do not want to trust someone on this, either sending
> your paths or receiving paths from someone else. If you trust your
> coworkers, set up subversion, use the same account, make it world
> readable... etc.
>
>
>> 6) One should be able to open a .lyxa file (which would modify the
>> files in the .lyxa but not the original location information (from 5))
>> or imported (showing the differences of the files in the .lyxa and the
>> original files and update the files when confirmed from the ones in
>> the .lyxa)
>>
>> In this way, the .lyxa could be used as a colaborative tool (original
>> author exports, sends .lyxa to other authors, they open it, save it,
>> send it back, oroginal author imports it and confirms the files which
>> should be overwritten) and as an archive tool of finalised documents.
>
> As I said no to replacing existing files with files from a lyxa file,
> I say no to that, but I say yes to colaboration.
> I don't want to start another flamewar about collaboration, but from
> my viewpoint, don't trust your enemies lyxa files, add a "diff this
> new lyxa file against this lyxa file that I have currently open and
> display differences so I can accept or reject them"-button :-)
> This will work also when you are working with total trust.

I probably did not make myself clear: I definitely do NOT want that it
is automatically replacing the original files, only AFTER
confirmation, which could be done after showing the differences.

>
> If someone includes an eps file that generates fractals and overload
> your cpu, well that is kind of hard to detect  and I guess you'll have
> to live with it.
>
> IMHO:
> The lyxa format is what Lyx misses, if you have to send more than one

agreed.

> file to send text and image, you are alienating 99% of the population.
> Then comes the question... should .lyx be available as a file format
> or an internal hidden format and  everything is saved in lyxa format?
> But that can probably be decided in the future.
>

Just one idea to make the conversion easier: what about offering the
option of creating the file structure automatically, when a graph or
bibtex is inserted? Under Linux, this could be done via links, under
Windows probably as well (.lnk files?)? i.e. when I include a file
outside the ./graphs directory, a link to the original location is
created?

Rainer

-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
What is your locale set at?  My /etc/sysconfig/i18n has the line 

LC_MEASUREMENT=en_AU.UTF-8

You should be able to set your locale with administrative tools, or with KDE.

If you are in the States, and want to keep inches for everything else, I don't 
know what you could do.  You may need to compile Lyx (or Latex) specially.

Doug.

On Friday 17 April 2009 5:27:09 pm A B wrote:
> I use Linux.
>
> 2009/4/17 Doug Laidlaw :
> > On Friday 17 April 2009 4:53:12 pm A B wrote:
> >> Hi.
> >> Is it possible to change the default unit for column width from inch
> >> to mm (or something else?)
> >
> > You don't say what OS.  I am running Mandriva Linux in Australia, which
> > is metric.  My paper is A4 and my measurements (all defaults at the
> > moment) are shown in cm.  You may have whatever is the default for your
> > computer.  Under Windows, it is "Regional Settings."
> >
> > HTH,
> >
> > Doug.




Re: Change default unit for column width

2009-04-17 Thread A B
I use Linux.

2009/4/17 Doug Laidlaw :
> On Friday 17 April 2009 4:53:12 pm A B wrote:
>> Hi.
>> Is it possible to change the default unit for column width from inch
>> to mm (or something else?)
>
> You don't say what OS.  I am running Mandriva Linux in Australia, which is
> metric.  My paper is A4 and my measurements (all defaults at the moment) are
> shown in cm.  You may have whatever is the default for your computer.  Under
> Windows, it is "Regional Settings."
>
> HTH,
>
> Doug.
>
>
>


Re: [Figure embedding] An easy way to share lyx documents

2009-04-17 Thread A B
First I wish to come clean with one thing: I'd like to see LyX being
used by the ms word people in the industry, so my take is: do not
trust files someone send to you (see earlier discussions on
collaboration)

> 1) I like the lyx format as it is BECAUSE it is not compressed, so I
> would definitely not change the default format.

Yes, that is very nice. Easy to generate lyx files from scripts, etc.
Very nice and worth saving.

> 2) I like the idea of an export format, which effectively compresses
> all files necessary into a single file. This is very nice for
> archiving final documents (lets call it .lyxa for lyx Archive).

lyxa sounds like a nice idea, and there seems to allready be code for this.
There are two things though. lyxa should, as I see it, keep everything
in one place, all original paths will be removed, and it will be
"everything in one directory" or possible one subdirectory for images,
one for lyx files, one for bibtex stuff, one for  and so on, as
suggested. But basically everything in one place. Reason? If you need
lyxa format, you are either archiving it for backup or sending it to
someone. The recipient are never going to have the same directory
structure as you. That will only mean failure to try to achieve. The
easier way is to just loose the exact location if you are going for a
lyxa  file.
The only time I can see that the exact location is important is when
the images are changed and you don't want to update them manually in
the lyxa file, but hey, then you are probably not receiving new lyxa
versions back in collaboration with someone, so just keep your
original structure and generate a new lyxa file if you need to send it
to someone.
I hope I've managed to make my point clear about that keeping the
exact structure in a lyxa format is futile.


> 5) .lyxa should contain information of the original location of the
> foles on the system where it was created, to be able to update the
> files not in the subdirectory.
I say no. You do not want to trust someone on this, either sending
your paths or receiving paths from someone else. If you trust your
coworkers, set up subversion, use the same account, make it world
readable... etc.


> 6) One should be able to open a .lyxa file (which would modify the
> files in the .lyxa but not the original location information (from 5))
> or imported (showing the differences of the files in the .lyxa and the
> original files and update the files when confirmed from the ones in
> the .lyxa)
>
> In this way, the .lyxa could be used as a colaborative tool (original
> author exports, sends .lyxa to other authors, they open it, save it,
> send it back, oroginal author imports it and confirms the files which
> should be overwritten) and as an archive tool of finalised documents.

As I said no to replacing existing files with files from a lyxa file,
I say no to that, but I say yes to colaboration.
I don't want to start another flamewar about collaboration, but from
my viewpoint, don't trust your enemies lyxa files, add a "diff this
new lyxa file against this lyxa file that I have currently open and
display differences so I can accept or reject them"-button :-)
This will work also when you are working with total trust.

If someone includes an eps file that generates fractals and overload
your cpu, well that is kind of hard to detect  and I guess you'll have
to live with it.

IMHO:
The lyxa format is what Lyx misses, if you have to send more than one
file to send text and image, you are alienating 99% of the population.
Then comes the question... should .lyx be available as a file format
or an internal hidden format and  everything is saved in lyxa format?
But that can probably be decided in the future.


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
On Friday 17 April 2009 4:53:12 pm A B wrote:
> Hi.
> Is it possible to change the default unit for column width from inch
> to mm (or something else?)

You don't say what OS.  I am running Mandriva Linux in Australia, which is 
metric.  My paper is A4 and my measurements (all defaults at the moment) are 
shown in cm.  You may have whatever is the default for your computer.  Under 
Windows, it is "Regional Settings."

HTH,

Doug.




[announce] LyX web available in Spanish

2009-04-17 Thread Ignacio García
Hello LyXers!

>From now on, most of the LyX web pages is translated into Spanish.

If you want you can have a look at

 http://www.lyx.org/WebEs.Home

or clicking on the Spanish flag on top.

Suggestions or error corrections will always be welcome here. Thanks!

Best regards
Ignacio García