Sharing a document with figures between multiple computers

2009-06-26 Thread Sean Howe
Hi everybody, I'm collaborating with several people to produce a document
using LyX, and for the most part its going very well, but we're having a
problem with the figures. We've set it up so people just have the figures in
a subfolder Paper/Figures/ and then when they download the latest version
of the paper it just goes in the Paper/ folder. I thought this would work
fine if I then just entered all the figure paths locally as in
/Figures/blah.eps  but whenever someone downloads a new version with the
paths stored like this when they open it LyX prepends their working
directory to the path and then when they save it and reupload it the paths
are wrong for everyone else. I've tried to find info on the wiki and in the
archive but I  haven't had any luck  - does anyone know if there is any nice
way to get around this?
We are using LyX 1.6.3 on both Windows and Mac.

Thanks in advance
- Sean Howe


Re: Sharing a document with figures between multiple computers

2009-06-26 Thread Pavel Sanda
Sean Howe wrote:
 Hi everybody, I'm collaborating with several people to produce a document
 using LyX, and for the most part its going very well, but we're having a
 problem with the figures. We've set it up so people just have the figures in
 a subfolder Paper/Figures/ and then when they download the latest version
 of the paper it just goes in the Paper/ folder. I thought this would work
 fine if I then just entered all the figure paths locally as in
 /Figures/blah.eps  but whenever someone downloads a new version with the

the begining / is wrong. the configuration Project/paper.lyx and 
Project/images/...
and figure links images/image1.eps in paper.lyx works perfeclty here.

pavel


Re: Problem with Bibliography author-year style in document class book (KOMA-script)

2009-06-26 Thread 李猛
The solution works for me.

See  http://wiki.lyx.org/LyX/HumanitiesLyX
Using NatbibTo set up LyX to use natbib, go to
Document→Settings→Bibliography and check natbib.

Add the following line to your LaTeX preamble:
\bibpunct{(}{)}{,}{a}{,}{,}

This specifies in-text punctuation options for citations, i.e., Author
(Year), commas between citations, and so on. See the natbib documentation
for details.


-- 
Albert
Lab of Complex System and Artificial Intelligence,
Institute of Automation,Chinese Academy of Sciences(CASIA)
Beijing, 100190,P.R.CHINA


Lyx, Japanese and the Classic Thesis template

2009-06-26 Thread Clemente Beghi
Hello,

I am a complete beginner, but I would like to transfer my dissertation from
Word to LyX (either manually or automatically).
I have LyX 1.5.6 (the version that comes in the repositories) installed in
my computer that runs Ubuntu 8.4.
I have been trying to use lyx for the parts of my text in Japanese, but
every time I export to DVI it says the fonts are missing, which is strange
since I have installed all the Japanese related packages. Another thing is
that I would like to use Times Ext Roman, a unicode ttf font with all the
diacritics I need, but I am not sure I can use it with Lyx. Another thing
still  is that I would  like to use the Classic Thesis template, but
substitute the main font with Times Ext and have Hiragino otf for the
Japanese.
I am reading various posts, but the entire process is a bit confusing.
Hope someone can help.
All the best,

Clemente


Re: Lyx, Japanese and the Classic Thesis template

2009-06-26 Thread KYokota
Dear Clemente,

I guess you are using CJK package for Japanese part. In that case,
it's most likely that CJK package won't work just out of box. You need
set up fonts manually. There is instruction for it in the following
page (I'm assuming you can read Japanese):

http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?LaTeX-CJK

If you are using pLaTeX, you are actually missing some required packages.

Koji


Koma-Script

2009-06-26 Thread John

Hi,

I have KOMA-Script instaled in Miktex, but Lyx dont find it.

Unavailable Book (Koma-Script)

What I do?

John


Re: new paragraph after enum or list environment

2009-06-26 Thread James C. Sutherland


On Mar 27, 2009, at 4:43 PM, rgheck wrote:


James C. Sutherland wrote:
Does anyone know how to tell LyX to make a new paragraph after a  
list? For example, if I have new paragraphs indented, then one  
immediately following an enum or list will not be indented. How to  
I change that?



Have you tried to put the Separator environment in between?

rh



Is the Separator environment available in the article (Elsevier)  
document class?  It seems that it should be universally available in  
all document classes.  Is there a simple way of getting it into a class?


James


Re: Article (Koma): How to change fontsize for Abstract

2009-06-26 Thread rgheck

jezZiFeR wrote:

Hello,

I use Lyx 1.6.2 and want to have a smaller fontsize for the 
abstract-article. How could I achieve that?
I´ve tried, just for one instance, to enter ERT: {\footnotesize\}. 
But this works just for one instance, and even then Lyx tells me the 
following:


 \end{abstract}
I've inserted something that you may have forgotten.
(See the inserted text above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

In the compiled text there´s a } as the first sign of the text…

You want smaller than 10pt? If so, then I'd suggest you use some other 
class, because no hack like the one you describe is going to work reliably.


rh



Re: STY Layout and \maketitle Help

2009-06-26 Thread rgheck

Jean-Marc Lasgouttes wrote:

Le 24 juin 09 à 22:31, rgheck a écrit :
guess it's a tex2lyx importation bug, but I also doubt that any sane 
version of tex2lyx could ever catch this kind of thing reliably.


Could you make an executive summary for me?

The class wraps the title block in a command, \phmHeader, so you get 
something like:


\phmHeader{
\title{...}
\author{...}
\address{...}
\maketitle
}

When tex2lyx imported it, \phmHeader went into ERT, in a Standard 
environment, which then caused \maketitle to be output at the wrong 
time. Nor of course can \phmHeader go into the title environment, since 
then you get:

\title{\phmHeader{...
which is wrong.

I don't think LyX can easily output a structure like the one shown, no 
matter what tricks you use. But it seems to turn out that \maketitle can 
go outside the \phmHeader block with no damage.


I suppose one thing one could do is somehow use the trick I ended up 
suggesting in tex2lyx, namely, that we use a special InTitle environment 
instead of Standard until we get out of the title.


rh



Re: new paragraph after enum or list environment

2009-06-26 Thread rgheck

James C. Sutherland wrote:


On Mar 27, 2009, at 4:43 PM, rgheck wrote:


James C. Sutherland wrote:
Does anyone know how to tell LyX to make a new paragraph after a 
list? For example, if I have new paragraphs indented, then one 
immediately following an enum or list will not be indented. How to I 
change that?



Have you tried to put the Separator environment in between?

rh



Is the Separator environment available in the article (Elsevier) 
document class? It seems that it should be universally available in 
all document classes. Is there a simple way of getting it into a class?


Yes. Copy the elsarticle.layout file into your local layout directory. 
Open it and the stdlayouts.inc file in a text editor. Copy the Separator 
layout into elsarticle.layout.


Apparently, elsarticle does not import stdlayouts. Uwe might know why.

rh



AGU layout file

2009-06-26 Thread Michael Fienen

Hello-

I found a thread about making a layout file to work with the new  
agutex.cls class file but it seemed to stop in April.  Has anyone  
written a new layout file - I have been able to get LyX to find the  
cls file but without a layout it seems I can't actually make use of it.


Thanks!
m!ke

using LyX 1.6.2 on OSX10.5.7 with texlive


*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Michael Fienen, Ph. D
Hydrologist
United States Geological Survey
Wisconsin Water Science Center
8505 Research Way
Middleton, WI  53562-3581
phone:  608.821.3894
http://wi.water.usgs.gov/professional-pages/fienen.html



How to get citation like [1,2] rather than [2,1]?

2009-06-26 Thread Christian Ridderström

Hi,

I've google but couldn't find which package to use that automatically 
changes citations such that e.g,


[1,2]   -   [1,2]
[2,1]   -   [1,2]
[1,2,3] -   [1-3]
[2,3,1] -   [1-3]

Well, I think you get the idea...

What do I need to do in order to get LyX (with BibTeX) to do this?

/Christian

--
Christian Ridderström   Mobile: +46-8 768 39 44

Re: How to get citation like [1,2] rather than [2,1]?

2009-06-26 Thread rgheck

Christian Ridderström wrote:

Hi,

I've google but couldn't find which package to use that automatically 
changes citations such that e.g,


[1,2]-[1,2]
[2,1]-[1,2]
[1,2,3]-[1-3]
[2,3,1]-[1-3]

Well, I think you get the idea...

What do I need to do in order to get LyX (with BibTeX) to do this?


Use natbib numerical, with the option sortcompress.

rh



Sharing a document with figures between multiple computers

2009-06-26 Thread Sean Howe
Hi everybody, I'm collaborating with several people to produce a document
using LyX, and for the most part its going very well, but we're having a
problem with the figures. We've set it up so people just have the figures in
a subfolder Paper/Figures/ and then when they download the latest version
of the paper it just goes in the Paper/ folder. I thought this would work
fine if I then just entered all the figure paths locally as in
/Figures/blah.eps  but whenever someone downloads a new version with the
paths stored like this when they open it LyX prepends their working
directory to the path and then when they save it and reupload it the paths
are wrong for everyone else. I've tried to find info on the wiki and in the
archive but I  haven't had any luck  - does anyone know if there is any nice
way to get around this?
We are using LyX 1.6.3 on both Windows and Mac.

Thanks in advance
- Sean Howe


Re: Sharing a document with figures between multiple computers

2009-06-26 Thread Pavel Sanda
Sean Howe wrote:
 Hi everybody, I'm collaborating with several people to produce a document
 using LyX, and for the most part its going very well, but we're having a
 problem with the figures. We've set it up so people just have the figures in
 a subfolder Paper/Figures/ and then when they download the latest version
 of the paper it just goes in the Paper/ folder. I thought this would work
 fine if I then just entered all the figure paths locally as in
 /Figures/blah.eps  but whenever someone downloads a new version with the

the begining / is wrong. the configuration Project/paper.lyx and 
Project/images/...
and figure links images/image1.eps in paper.lyx works perfeclty here.

pavel


Re: Problem with Bibliography author-year style in document class book (KOMA-script)

2009-06-26 Thread 李猛
The solution works for me.

See  http://wiki.lyx.org/LyX/HumanitiesLyX
Using NatbibTo set up LyX to use natbib, go to
Document→Settings→Bibliography and check natbib.

Add the following line to your LaTeX preamble:
\bibpunct{(}{)}{,}{a}{,}{,}

This specifies in-text punctuation options for citations, i.e., Author
(Year), commas between citations, and so on. See the natbib documentation
for details.


-- 
Albert
Lab of Complex System and Artificial Intelligence,
Institute of Automation,Chinese Academy of Sciences(CASIA)
Beijing, 100190,P.R.CHINA


Lyx, Japanese and the Classic Thesis template

2009-06-26 Thread Clemente Beghi
Hello,

I am a complete beginner, but I would like to transfer my dissertation from
Word to LyX (either manually or automatically).
I have LyX 1.5.6 (the version that comes in the repositories) installed in
my computer that runs Ubuntu 8.4.
I have been trying to use lyx for the parts of my text in Japanese, but
every time I export to DVI it says the fonts are missing, which is strange
since I have installed all the Japanese related packages. Another thing is
that I would like to use Times Ext Roman, a unicode ttf font with all the
diacritics I need, but I am not sure I can use it with Lyx. Another thing
still  is that I would  like to use the Classic Thesis template, but
substitute the main font with Times Ext and have Hiragino otf for the
Japanese.
I am reading various posts, but the entire process is a bit confusing.
Hope someone can help.
All the best,

Clemente


Re: Lyx, Japanese and the Classic Thesis template

2009-06-26 Thread KYokota
Dear Clemente,

I guess you are using CJK package for Japanese part. In that case,
it's most likely that CJK package won't work just out of box. You need
set up fonts manually. There is instruction for it in the following
page (I'm assuming you can read Japanese):

http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?LaTeX-CJK

If you are using pLaTeX, you are actually missing some required packages.

Koji


Koma-Script

2009-06-26 Thread John

Hi,

I have KOMA-Script instaled in Miktex, but Lyx dont find it.

Unavailable Book (Koma-Script)

What I do?

John


Re: new paragraph after enum or list environment

2009-06-26 Thread James C. Sutherland


On Mar 27, 2009, at 4:43 PM, rgheck wrote:


James C. Sutherland wrote:
Does anyone know how to tell LyX to make a new paragraph after a  
list? For example, if I have new paragraphs indented, then one  
immediately following an enum or list will not be indented. How to  
I change that?



Have you tried to put the Separator environment in between?

rh



Is the Separator environment available in the article (Elsevier)  
document class?  It seems that it should be universally available in  
all document classes.  Is there a simple way of getting it into a class?


James


Re: Article (Koma): How to change fontsize for Abstract

2009-06-26 Thread rgheck

jezZiFeR wrote:

Hello,

I use Lyx 1.6.2 and want to have a smaller fontsize for the 
abstract-article. How could I achieve that?
I´ve tried, just for one instance, to enter ERT: {\footnotesize\}. 
But this works just for one instance, and even then Lyx tells me the 
following:


 \end{abstract}
I've inserted something that you may have forgotten.
(See the inserted text above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

In the compiled text there´s a } as the first sign of the text…

You want smaller than 10pt? If so, then I'd suggest you use some other 
class, because no hack like the one you describe is going to work reliably.


rh



Re: STY Layout and \maketitle Help

2009-06-26 Thread rgheck

Jean-Marc Lasgouttes wrote:

Le 24 juin 09 à 22:31, rgheck a écrit :
guess it's a tex2lyx importation bug, but I also doubt that any sane 
version of tex2lyx could ever catch this kind of thing reliably.


Could you make an executive summary for me?

The class wraps the title block in a command, \phmHeader, so you get 
something like:


\phmHeader{
\title{...}
\author{...}
\address{...}
\maketitle
}

When tex2lyx imported it, \phmHeader went into ERT, in a Standard 
environment, which then caused \maketitle to be output at the wrong 
time. Nor of course can \phmHeader go into the title environment, since 
then you get:

\title{\phmHeader{...
which is wrong.

I don't think LyX can easily output a structure like the one shown, no 
matter what tricks you use. But it seems to turn out that \maketitle can 
go outside the \phmHeader block with no damage.


I suppose one thing one could do is somehow use the trick I ended up 
suggesting in tex2lyx, namely, that we use a special InTitle environment 
instead of Standard until we get out of the title.


rh



Re: new paragraph after enum or list environment

2009-06-26 Thread rgheck

James C. Sutherland wrote:


On Mar 27, 2009, at 4:43 PM, rgheck wrote:


James C. Sutherland wrote:
Does anyone know how to tell LyX to make a new paragraph after a 
list? For example, if I have new paragraphs indented, then one 
immediately following an enum or list will not be indented. How to I 
change that?



Have you tried to put the Separator environment in between?

rh



Is the Separator environment available in the article (Elsevier) 
document class? It seems that it should be universally available in 
all document classes. Is there a simple way of getting it into a class?


Yes. Copy the elsarticle.layout file into your local layout directory. 
Open it and the stdlayouts.inc file in a text editor. Copy the Separator 
layout into elsarticle.layout.


Apparently, elsarticle does not import stdlayouts. Uwe might know why.

rh



AGU layout file

2009-06-26 Thread Michael Fienen

Hello-

I found a thread about making a layout file to work with the new  
agutex.cls class file but it seemed to stop in April.  Has anyone  
written a new layout file - I have been able to get LyX to find the  
cls file but without a layout it seems I can't actually make use of it.


Thanks!
m!ke

using LyX 1.6.2 on OSX10.5.7 with texlive


*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Michael Fienen, Ph. D
Hydrologist
United States Geological Survey
Wisconsin Water Science Center
8505 Research Way
Middleton, WI  53562-3581
phone:  608.821.3894
http://wi.water.usgs.gov/professional-pages/fienen.html



How to get citation like [1,2] rather than [2,1]?

2009-06-26 Thread Christian Ridderström

Hi,

I've google but couldn't find which package to use that automatically 
changes citations such that e.g,


[1,2]   -   [1,2]
[2,1]   -   [1,2]
[1,2,3] -   [1-3]
[2,3,1] -   [1-3]

Well, I think you get the idea...

What do I need to do in order to get LyX (with BibTeX) to do this?

/Christian

--
Christian Ridderström   Mobile: +46-8 768 39 44

Re: How to get citation like [1,2] rather than [2,1]?

2009-06-26 Thread rgheck

Christian Ridderström wrote:

Hi,

I've google but couldn't find which package to use that automatically 
changes citations such that e.g,


[1,2]-[1,2]
[2,1]-[1,2]
[1,2,3]-[1-3]
[2,3,1]-[1-3]

Well, I think you get the idea...

What do I need to do in order to get LyX (with BibTeX) to do this?


Use natbib numerical, with the option sortcompress.

rh



Sharing a document with figures between multiple computers

2009-06-26 Thread Sean Howe
Hi everybody, I'm collaborating with several people to produce a document
using LyX, and for the most part its going very well, but we're having a
problem with the figures. We've set it up so people just have the figures in
a subfolder "Paper/Figures/" and then when they download the latest version
of the paper it just goes in the "Paper/" folder. I thought this would work
fine if I then just entered all the figure paths locally as in
"/Figures/blah.eps"  but whenever someone downloads a new version with the
paths stored like this when they open it LyX prepends their working
directory to the path and then when they save it and reupload it the paths
are wrong for everyone else. I've tried to find info on the wiki and in the
archive but I  haven't had any luck  - does anyone know if there is any nice
way to get around this?
We are using LyX 1.6.3 on both Windows and Mac.

Thanks in advance
- Sean Howe


Re: Sharing a document with figures between multiple computers

2009-06-26 Thread Pavel Sanda
Sean Howe wrote:
> Hi everybody, I'm collaborating with several people to produce a document
> using LyX, and for the most part its going very well, but we're having a
> problem with the figures. We've set it up so people just have the figures in
> a subfolder "Paper/Figures/" and then when they download the latest version
> of the paper it just goes in the "Paper/" folder. I thought this would work
> fine if I then just entered all the figure paths locally as in
> "/Figures/blah.eps"  but whenever someone downloads a new version with the

the begining "/" is wrong. the configuration Project/paper.lyx and 
Project/images/...
and figure links "images/image1.eps" in paper.lyx works perfeclty here.

pavel


Re: Problem with Bibliography author-year style in document class "book (KOMA-script)

2009-06-26 Thread 李猛
The solution works for me.

See  http://wiki.lyx.org/LyX/HumanitiesLyX
Using NatbibTo set up LyX to use natbib, go to
Document→Settings→Bibliography and check natbib.

Add the following line to your LaTeX preamble:
\bibpunct{(}{)}{,}{a}{,}{,}

This specifies in-text punctuation options for citations, i.e., Author
(Year), commas between citations, and so on. See the natbib documentation
for details.


-- 
Albert
Lab of Complex System and Artificial Intelligence,
Institute of Automation,Chinese Academy of Sciences(CASIA)
Beijing, 100190,P.R.CHINA


Lyx, Japanese and the Classic Thesis template

2009-06-26 Thread Clemente Beghi
Hello,

I am a complete beginner, but I would like to transfer my dissertation from
Word to LyX (either manually or automatically).
I have LyX 1.5.6 (the version that comes in the repositories) installed in
my computer that runs Ubuntu 8.4.
I have been trying to use lyx for the parts of my text in Japanese, but
every time I export to DVI it says the fonts are missing, which is strange
since I have installed all the Japanese related packages. Another thing is
that I would like to use Times Ext Roman, a unicode ttf font with all the
diacritics I need, but I am not sure I can use it with Lyx. Another thing
still  is that I would  like to use the Classic Thesis template, but
substitute the main font with Times Ext and have Hiragino otf for the
Japanese.
I am reading various posts, but the entire process is a bit confusing.
Hope someone can help.
All the best,

Clemente


Re: Lyx, Japanese and the Classic Thesis template

2009-06-26 Thread KYokota
Dear Clemente,

I guess you are using CJK package for Japanese part. In that case,
it's most likely that CJK package won't work just out of box. You need
set up fonts manually. There is instruction for it in the following
page (I'm assuming you can read Japanese):

http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?LaTeX-CJK

If you are using pLaTeX, you are actually missing some required packages.

Koji


Koma-Script

2009-06-26 Thread John

Hi,

I have KOMA-Script instaled in Miktex, but Lyx dont find it.

Unavailable Book (Koma-Script)

What I do?

John


Re: new paragraph after enum or list environment

2009-06-26 Thread James C. Sutherland


On Mar 27, 2009, at 4:43 PM, rgheck wrote:


James C. Sutherland wrote:
Does anyone know how to tell LyX to make a new paragraph after a  
list? For example, if I have new paragraphs indented, then one  
immediately following an enum or list will not be indented. How to  
I change that?



Have you tried to put the Separator environment in between?

rh



Is the Separator environment available in the article (Elsevier)  
document class?  It seems that it should be universally available in  
all document classes.  Is there a simple way of getting it into a class?


James


Re: Article (Koma): How to change fontsize for "Abstract"

2009-06-26 Thread rgheck

jezZiFeR wrote:

Hello,

I use Lyx 1.6.2 and want to have a smaller fontsize for the 
"abstract"-article. How could I achieve that?
I´ve tried, just for one instance, to enter ERT: "{\footnotesize\}". 
But this works just for one instance, and even then Lyx tells me the 
following:


 \end{abstract}
I've inserted something that you may have forgotten.
(See the  above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

In the compiled text there´s a "}" as the first sign of the text…

You want smaller than 10pt? If so, then I'd suggest you use some other 
class, because no hack like the one you describe is going to work reliably.


rh



Re: STY Layout and \maketitle Help

2009-06-26 Thread rgheck

Jean-Marc Lasgouttes wrote:

Le 24 juin 09 à 22:31, rgheck a écrit :
guess it's a tex2lyx importation bug, but I also doubt that any sane 
version of tex2lyx could ever catch this kind of thing reliably.


Could you make an executive summary for me?

The class wraps the title block in a command, \phmHeader, so you get 
something like:


\phmHeader{
\title{...}
\author{...}
\address{...}
\maketitle
}

When tex2lyx imported it, \phmHeader went into ERT, in a Standard 
environment, which then caused \maketitle to be output at the wrong 
time. Nor of course can \phmHeader go into the title environment, since 
then you get:

\title{\phmHeader{...
which is wrong.

I don't think LyX can easily output a structure like the one shown, no 
matter what tricks you use. But it seems to turn out that \maketitle can 
go outside the \phmHeader block with no damage.


I suppose one thing one could do is somehow use the trick I ended up 
suggesting in tex2lyx, namely, that we use a special InTitle environment 
instead of Standard until we get out of the title.


rh



Re: new paragraph after enum or list environment

2009-06-26 Thread rgheck

James C. Sutherland wrote:


On Mar 27, 2009, at 4:43 PM, rgheck wrote:


James C. Sutherland wrote:
Does anyone know how to tell LyX to make a new paragraph after a 
list? For example, if I have new paragraphs indented, then one 
immediately following an enum or list will not be indented. How to I 
change that?



Have you tried to put the Separator environment in between?

rh



Is the Separator environment available in the article (Elsevier) 
document class? It seems that it should be universally available in 
all document classes. Is there a simple way of getting it into a class?


Yes. Copy the elsarticle.layout file into your local layout directory. 
Open it and the stdlayouts.inc file in a text editor. Copy the Separator 
layout into elsarticle.layout.


Apparently, elsarticle does not import stdlayouts. Uwe might know why.

rh



AGU layout file

2009-06-26 Thread Michael Fienen

Hello-

I found a thread about making a layout file to work with the new  
agutex.cls class file but it seemed to stop in April.  Has anyone  
written a new layout file - I have been able to get LyX to find the  
cls file but without a layout it seems I can't actually make use of it.


Thanks!
m!ke

using LyX 1.6.2 on OSX10.5.7 with texlive


*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Michael Fienen, Ph. D
Hydrologist
United States Geological Survey
Wisconsin Water Science Center
8505 Research Way
Middleton, WI  53562-3581
phone:  608.821.3894
http://wi.water.usgs.gov/professional-pages/fienen.html



How to get citation like [1,2] rather than [2,1]?

2009-06-26 Thread Christian Ridderström

Hi,

I've google but couldn't find which package to use that automatically 
changes citations such that e.g,


[1,2]   ->   [1,2]
[2,1]   ->   [1,2]
[1,2,3] ->   [1-3]
[2,3,1] ->   [1-3]

Well, I think you get the idea...

What do I need to do in order to get LyX (with BibTeX) to do this?

/Christian

--
Christian Ridderström   Mobile: +46-8 768 39 44

Re: How to get citation like [1,2] rather than [2,1]?

2009-06-26 Thread rgheck

Christian Ridderström wrote:

Hi,

I've google but couldn't find which package to use that automatically 
changes citations such that e.g,


[1,2]->[1,2]
[2,1]->[1,2]
[1,2,3]->[1-3]
[2,3,1]->[1-3]

Well, I think you get the idea...

What do I need to do in order to get LyX (with BibTeX) to do this?


Use natbib numerical, with the option sort

rh