Re: Urgent:No indentation for footnote Authors

2004-09-14 Thread Jan Smid
Am Montag, 13. September 2004 18:59 schrieb Rajil Saraswat:
Hi,

I am stuck with this tex problem on the last day of my paper submission.
 The footnote for the author is coming out to be indented which i dont
In preamble:
---

\makeatletter
\newlength{\myFootnoteWidth}
\newlength{\myFootnoteLabel}
\setlength{\myFootnoteLabel}{1.2em}%  -- can be changed to any valid value
[EMAIL PROTECTED]
  \setlength{\myFootnoteWidth}{\columnwidth}%
  \addtolength{\myFootnoteWidth}{-\myFootnoteLabel}%
  [EMAIL PROTECTED] }%
  \parbox[t]{\myFootnoteWidth}{#1}%
}
\makeatother

---
-j

of course this is from http://www.texnik.de/footnotes.phtml.



Re: using xsltproc to create a lyx document

2004-09-14 Thread Dominique Dumont
Jeremy C. Reed [EMAIL PROTECTED] writes:

 Or how to write some xsltproc .xsl code for adding a space after
 every newline in a paragraph container?

From the little experience I got with generating perl with xslt, it's
easier (but more verbose) to get fine control of the output by using
xsl:textxsl:text/.

For instance, you can do:

xsl:if test=help 
  help = {
  xsl:apply-templates select=help/
  },
/xsl:if

But then you get a lot of possibly spurious \n. Or you can do:

xsl:if test=help 
  xsl:texthelp = {xsl:text/
  xsl:apply-templates select=help/
  xsl:text},xsl:text/
/xsl:if
 
Although I don't remember how to embed \n in xsl:text without
breaking the indentation of your xml code.

You'll ask to ask this to mailing list (or newsgroup) dedicated to
XML.

HTH

-- 
Dominique Dumont 
Delivering successful solutions requires giving people what they
need, not what they want. Kurt Bittner


LyX/Mac modifier keys -- any hope for a better solution?

2004-09-14 Thread Jason Woodard
Hi,
There have been several posts, as recently as last week, about the fact 
that the modifier keys are hardcoded by Qt/Mac--in particular, the 
command key is mapped to the control key.  I'm comforted to know I'm 
not the only person this drives nuts.  Unfortunately, like others I 
also use an Aqua port of Emacs, and am already using uControl to 
convert my caps lock to a control key, so that workaround (suggested by 
several respondents) is not viable for me either.

I realize this may not technically be a LyX problem, but it does seem 
to be a problem for more LyX users than users of other Qt/Mac 
applications; I can't find anything about it on the Qt mailing lists.  
Can anyone explain exactly what would need to be fixed in Qt/Mac to 
resolve it?  Any idea whether the Qt developers are aware/receptive?

I'd be happy to make some noise about this in Troll-land, but at the 
moment I'm not sure where to start.  In the meantime, many thanks for a 
fantastic application, and an otherwise wonderful OS X port.

regards,
-j
Jason Woodard
[EMAIL PROTECTED]


Re: LyX/Mac modifier keys -- any hope for a better solution?

2004-09-14 Thread Jean-Marc Lasgouttes
 Jason == Jason Woodard [EMAIL PROTECTED] writes:

Jason I realize this may not technically be a LyX problem, but it
Jason does seem to be a problem for more LyX users than users of
Jason other Qt/Mac applications; I can't find anything about it on
Jason the Qt mailing lists. Can anyone explain exactly what would
Jason need to be fixed in Qt/Mac to resolve it? Any idea whether the
Jason Qt developers are aware/receptive?

In src/kernel/qapplication_mac.cpp (Qt 3.3.3), there is the following 
array definition:
static key_sym modifier_syms[] = {
{ shiftKey, MAP_KEY(Qt::ShiftButton) },
{ rightShiftKeyBit, MAP_KEY(Qt::ShiftButton) },
{ controlKey, MAP_KEY(Qt::MetaButton) },
{ rightControlKey, MAP_KEY(Qt::MetaButton) },
{ cmdKey, MAP_KEY(Qt::ControlButton) },
{ optionKey, MAP_KEY(Qt::AltButton) },
{ rightOptionKey, MAP_KEY(Qt::AltButton) },
{ kEventKeyModifierNumLockMask, MAP_KEY(Qt::Keypad) },

As you can see, it hardcodes the relation between OSX keys and Qt
equivalents. In particular, the 5th entry maps Command to Control.

This is used unconditionally in the code just below.

So fixing this would mean adding a way to provide a different
translation table.

Actually, there would be a way to work around this: add OSX-specific
code that hooks into the event loop to rewrite the keyboard event with
different modifiers. For example, if the modifier cmdKey is used,
change it to controlKey, so that Qt translates it later to
Qt::MetaButton. This will lead unfortunately to bad shortcuts
displayed in the menus (and it is an ugly hack).

Note also that LyX only uses the Meta, Control and Shift modifiers. We
should maybe investigate whether we want to use the Alt modifier too. 

If you want to complain to trolltech, you should detail what are the
drawbacks of their implementation. AFAIK, one big problem is that the
accented characters accessible usually through the option key cannot
be accessed anymore. 

Other people have complained that the current bindings are not nice
for people using emacs bindings. Is that your case?

Hope this helps.

JMarc


Re: Fixing paragraph beginning and make a lower symbol

2004-09-14 Thread Uwe Stöhr
Hannan Sadar wrote:
What i meant in previews my e-mail was how could i create the symbol,
which \glqq create in a math mode, not in a math mode?
\glqq works in math mode, mathematical text and in ERT.
(see also chap. 22.14 of my documentation (a new version is available 
under http://wiki.lyx.org/pmwiki.php/LyX/LyXMathebefehle) )

But the easiest way to get lower quotes in text, is to choose them in 
the menu Layout - Document - Language.

regards Uwe


Re: help !

2004-09-14 Thread Helge Hafting
Subir Singh Lamba wrote:
Is it possible to scale the figure included in lyx using external inset as 
one can do in figure float.

 

Yes. For Lyx 1.3.4 it is done this way.
Open the dialog for that external inset, by clicking on it.
It is of type XFIG, and the help text there tell you how to do it.
I repeat it here:
In the parameter field, type in
-m 0.7
to get a 0.7x scaling factor.  If you want a different factor,
use that instead.
Note that the parameter really is passed to a program
called fig2dev, use
man fig2dev
on the command line to see what other options you can use.
Helge Hafting


Re: Sorting entries in a table

2004-09-14 Thread Helge Hafting
Jan Smid wrote:
Hi,
how can I sort the entries within a table?
ASCII on
b|bla|blubb
a|blubb|bla
I want it to be sorted like:
a|blubb|bla
b|bla|blubb
I figured out that makeindex is probably the right choice, but I am not 
experienced enough to use it. . .
 

No, makeindex is for making a index (the kind of index
found in books.)
Is there a way to do that?
 

I know of no way of sorting a lyx table, sorry.
Helge Hafting


Re: Fixing paragraph beginning and make a lower symbol

2004-09-14 Thread Hannan Sadar
Hi Uwe,

thanks for your help one more time. What you said was correct, but not
when i typed in Hebrew. At a document at the english language there
was no problem.

Hannan


On Tue, 14 Sep 2004 11:44:36 +0200, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Hannan Sadar wrote:
 
  What i meant in previews my e-mail was how could i create the symbol,
  which \glqq create in a math mode, not in a math mode?
 
 \glqq works in math mode, mathematical text and in ERT.
 (see also chap. 22.14 of my documentation (a new version is available
 under http://wiki.lyx.org/pmwiki.php/LyX/LyXMathebefehle) )
 
 But the easiest way to get lower quotes in text, is to choose them in
 the menu Layout - Document - Language.
 
 regards Uwe



Re: LyX/Mac modifier keys -- any hope for a better solution?

2004-09-14 Thread Jason Woodard
On Sep 14, 2004, at 5:42 PM, Jean-Marc Lasgouttes wrote:
In src/kernel/qapplication_mac.cpp (Qt 3.3.3), there is the following
array definition:
static key_sym modifier_syms[] = {
{ shiftKey, MAP_KEY(Qt::ShiftButton) },
{ rightShiftKeyBit, MAP_KEY(Qt::ShiftButton) },
{ controlKey, MAP_KEY(Qt::MetaButton) },
{ rightControlKey, MAP_KEY(Qt::MetaButton) },
{ cmdKey, MAP_KEY(Qt::ControlButton) },
{ optionKey, MAP_KEY(Qt::AltButton) },
{ rightOptionKey, MAP_KEY(Qt::AltButton) },
{ kEventKeyModifierNumLockMask, MAP_KEY(Qt::Keypad) },
Excellent--I've now grabbed a copy of the Qt source and will play 
around with it this weekend.  I'm hoping I can just swap the controlKey 
and cmdKey entries (i.e., hard-code it the right way), then recompile 
and relink with LyX.  If that works, I'll post a patch and mini-HOWTO 
for fellow Emacs addicts who want a quick fix and are willing to build 
from source.

I agree that a better solution would allow the translation table to be 
changed at runtime, ideally in a way that would be visible to LyX's key 
binding scheme.  Not sure what changes to the Qt APIs this would 
require (or whether it could be done in a platform-neutral way), but 
may throw the suggestion to trolltech if/when I get a hacked version 
working.

thanks for your quick and detailed reply!
-j


Lyx installed on windows: can not reconfigure

2004-09-14 Thread Jianwei Huang
Dear All:

I have just installed the windows version of Lyx on my
windows XP laptop. The installation files are
downloaded from
http://www.home.zonnet.nl/rareitsma/lyx/ (version
1.3.3). I also have MiKTex installed on my machine.

After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.

I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?

Thanks a lot!

Best,

Jianwei 

=



Jianwei HUANG

Ph.D. Student

Electrical  Computer Engineering

Northwestern University

Evanston, IL

U.S.A

www.ece.northwestern.edu/~jianweih

 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


Re: Sorting entries in a table

2004-09-14 Thread Johann Haarhoff
Hi,

how can I sort the entries within a table?

ASCII on

b|bla|blubb
a|blubb|bla

I want it to be sorted like:

a|blubb|bla
b|bla|blubb

I figured out that makeindex is probably the right choice, but I am
not 
experienced enough to use it. . .
  

Is there a way to do that?
  

I have a way that works for me, it is a bit of a workaround, but it
works. I make my tables with the sc spreadsheet under linux. sc can sort
tables, do math etc. as one would expect from a spreadsheet. sc also has
the ability to export tables to latex format. I then include the latex
files generated by sc into my lyx document.

The sc latex output is a bit stupid in the sense that it does not
preserve column alignments, and it does not add vertical and horizontal
lines. It does not take long to fix this with a text editor afterwards.

If I remember correctly, the gnumeric spreadsheet could also output
latex, It might be a bit smarter than sc.

Regards,
Johann



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Rob S
Have a look here:
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup
Midway down this page is a section which should answer your questions.
Plus there are many other things listed on this page which you might 
find of use.

Rob S
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?


		
__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
 




clipping postscript files

2004-09-14 Thread Raphael Clifford
I am produced a presentation using prosper/lyx. Quite often I have to 
include postscript pictures and they will often have bounding boxes 
smaller than the whole image. They view fine in gv and in the final 
document (if I choose Clip to Bounding Box in the Clipping tab in 
lyx).  However they are not clipped to their bounding box in the normal 
lyx document.  Is there any way to get round this? Is it a bug/feature?

System: lyx 1.3.4, fedora fc1
Cheers,
Raphael


Re: natbib and elsart-harv.bst citation formatting problem: solved!

2004-09-14 Thread ashleigh smythe
Ashleigh Smythe wrote:
 
 My problem:
 
 Under the above conditions, when I make a .dvi, I get:
 
 ... the relationships of 53 species Blaxter et al. [2]. 
 
 whereas I need:
 
 ... the relationships of 53 species (Blaxter et al., 1998)
 
 I have tried adding \citestyle{authoryear} to the preamble and I get:
 
 ... the relationships of 53 species Blaxter et al. (1998)
 
 I thought that the elsart-harv.bst should force the format which I am
 looking for - am I not actually using elsart-harv.bst then?  Should I
 use a different \citestyle{}, or does that override the elsart-harv.bst
 that I'm trying to use?
 

Thanks to Jan for pointing out that within the insert citations dialog
box there is a place that toggles the citation style and there I can
choose the style that I need.  I hadn't noticed that yet and was making
the problem much more complicated than necessary!  ;-)


Thanks again.

Ashleigh



Lyx on linux: create local latex folder and upgrade w/o root

2004-09-14 Thread Jianwei Huang
Hi,

My administrator has installed lyx (1.3.1) on my Linux
machine (Red Hat Enterprise 9.0). Since I do not have
the root privilege, I wonder if there are good ways
for me to:

(1) Creat a local texmf so that I can add some
additional latex packages for use with lyx (and
general latex use as well). I hope that I do not have
to change the texmf.cnf, since the computer is used by
multiple users.

(2) Not bother the administrator every time I want to
upgrade to a higher version of lyx. Can I just compile
a local version of lyx coexisting with the older
version installed by the root? If so, is there a step
by step instruction for that ? (I am pretty new to
Linux).

The lyx is installed under /usr/share/lyx and my local
user folder is at ~/.lyx/

Thanks a lot!

Best,

Jianwei 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


creating a class

2004-09-14 Thread Yanick Landry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I would like to know how to create a new document class (like article,
book, ...). I would like to make a document layout specific for my
organisation, specifying where apears the TOC, the margins, ...
I googled it a lot, and i don't seem to be using the right words,
because i didn't find anything
Thanks in advance,
- --
Yanick Landry
Secrétaire
CADEUL
Confédération des associations d'étudiants
et étudiantes de l'Université Laval
Téléavertisseur: (418) 621-7361
Courriel: [EMAIL PROTECTED]
Téléphone: (418) 656-7931
Télécopieur: (418) 656-3328
Pavillon Maurice-Pollack, Bureau 2265
Université Laval
Québec (Québec)
G1K 7P4
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBRyA5XJiROpOopQoRAjI4AJ0QQdisGT+4dB/zD/A9Km2BMhO6kQCfWcBo
edtionq0RQ5jf+xI0TAXqMk=
=UflV
-END PGP SIGNATURE-


Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Uwe Stöhr
Jianwei Huang wrote:
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
The path should be
D:\Program\MiKTex\miktex\bin
regards Uwe


Re: creating a class

2004-09-14 Thread Rich Shepard
On Tue, 14 Sep 2004, Yanick Landry wrote:
Thanks for the answer, but what is the syntax of this file and how do we
find a tutorial on this ?
  Google is your friend: +LaTeX +memoir -
http://www.tug.org/tex-archive/macros/latex/contrib/memoir/
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Changing Document language

2004-09-14 Thread Adrian Lester
I am sorry if this is a really stupid question; I have scoured the menus 
and cannot seem to succeed with this.

I mistakenly began a document set to English which I reckon translates 
as American a few days ago and have only just realised my mistake. 
Having changed the language to British which I think must be English 
anything I type is OK but all the rest has become blue-underlined, 
showing it to still be in the wrong language.

How do I retrospectively change the language for the document?
Many thanks in advance,
Adrian Lester.
**


Re: Sorting entries in a table

2004-09-14 Thread G. Milde
On 14.09.04, Johann Haarhoff wrote:
 
 how can I sort the entries within a table?
 
 b|bla|blubb
 a|blubb|bla
 
 I want it to be sorted like:
 
 a|blubb|bla
 b|bla|blubb
 
 I have a way that works for me, it is a bit of a workaround, but it
 works. I make my tables with the sc spreadsheet under linux. sc can sort
 tables, do math etc. as one would expect from a spreadsheet. sc also has
 the ability to export tables to latex format. I then include the latex
 files generated by sc into my lyx document.
 
 If I remember correctly, the gnumeric spreadsheet could also output
 latex, It might be a bit smarter than sc.

Another possibility would be to cut and paste the table content into a
spreadsheet (or test editor), sort it there and cut and paste back. 
(If the number of cells is right, you can use the mouse to copy table
contents from and to LyX.)

There is also a tool csv2lyx that can be used to insert comma (or tab)
delimited values into a LyX table. Its a perl script with lots of options
and extensive documentation.

Günter

-- 
G.Milde web.de


Re: Urgent:No indentation for footnote Authors

2004-09-14 Thread Jan Smid
Am Montag, 13. September 2004 18:59 schrieb Rajil Saraswat:
Hi,

I am stuck with this tex problem on the last day of my paper submission.
 The footnote for the author is coming out to be indented which i dont
In preamble:
---

\makeatletter
\newlength{\myFootnoteWidth}
\newlength{\myFootnoteLabel}
\setlength{\myFootnoteLabel}{1.2em}%  -- can be changed to any valid value
[EMAIL PROTECTED]
  \setlength{\myFootnoteWidth}{\columnwidth}%
  \addtolength{\myFootnoteWidth}{-\myFootnoteLabel}%
  [EMAIL PROTECTED] }%
  \parbox[t]{\myFootnoteWidth}{#1}%
}
\makeatother

---
-j

of course this is from http://www.texnik.de/footnotes.phtml.



Re: using xsltproc to create a lyx document

2004-09-14 Thread Dominique Dumont
Jeremy C. Reed [EMAIL PROTECTED] writes:

 Or how to write some xsltproc .xsl code for adding a space after
 every newline in a paragraph container?

From the little experience I got with generating perl with xslt, it's
easier (but more verbose) to get fine control of the output by using
xsl:textxsl:text/.

For instance, you can do:

xsl:if test=help 
  help = {
  xsl:apply-templates select=help/
  },
/xsl:if

But then you get a lot of possibly spurious \n. Or you can do:

xsl:if test=help 
  xsl:texthelp = {xsl:text/
  xsl:apply-templates select=help/
  xsl:text},xsl:text/
/xsl:if
 
Although I don't remember how to embed \n in xsl:text without
breaking the indentation of your xml code.

You'll ask to ask this to mailing list (or newsgroup) dedicated to
XML.

HTH

-- 
Dominique Dumont 
Delivering successful solutions requires giving people what they
need, not what they want. Kurt Bittner


LyX/Mac modifier keys -- any hope for a better solution?

2004-09-14 Thread Jason Woodard
Hi,
There have been several posts, as recently as last week, about the fact 
that the modifier keys are hardcoded by Qt/Mac--in particular, the 
command key is mapped to the control key.  I'm comforted to know I'm 
not the only person this drives nuts.  Unfortunately, like others I 
also use an Aqua port of Emacs, and am already using uControl to 
convert my caps lock to a control key, so that workaround (suggested by 
several respondents) is not viable for me either.

I realize this may not technically be a LyX problem, but it does seem 
to be a problem for more LyX users than users of other Qt/Mac 
applications; I can't find anything about it on the Qt mailing lists.  
Can anyone explain exactly what would need to be fixed in Qt/Mac to 
resolve it?  Any idea whether the Qt developers are aware/receptive?

I'd be happy to make some noise about this in Troll-land, but at the 
moment I'm not sure where to start.  In the meantime, many thanks for a 
fantastic application, and an otherwise wonderful OS X port.

regards,
-j
Jason Woodard
[EMAIL PROTECTED]


Re: LyX/Mac modifier keys -- any hope for a better solution?

2004-09-14 Thread Jean-Marc Lasgouttes
 Jason == Jason Woodard [EMAIL PROTECTED] writes:

Jason I realize this may not technically be a LyX problem, but it
Jason does seem to be a problem for more LyX users than users of
Jason other Qt/Mac applications; I can't find anything about it on
Jason the Qt mailing lists. Can anyone explain exactly what would
Jason need to be fixed in Qt/Mac to resolve it? Any idea whether the
Jason Qt developers are aware/receptive?

In src/kernel/qapplication_mac.cpp (Qt 3.3.3), there is the following 
array definition:
static key_sym modifier_syms[] = {
{ shiftKey, MAP_KEY(Qt::ShiftButton) },
{ rightShiftKeyBit, MAP_KEY(Qt::ShiftButton) },
{ controlKey, MAP_KEY(Qt::MetaButton) },
{ rightControlKey, MAP_KEY(Qt::MetaButton) },
{ cmdKey, MAP_KEY(Qt::ControlButton) },
{ optionKey, MAP_KEY(Qt::AltButton) },
{ rightOptionKey, MAP_KEY(Qt::AltButton) },
{ kEventKeyModifierNumLockMask, MAP_KEY(Qt::Keypad) },

As you can see, it hardcodes the relation between OSX keys and Qt
equivalents. In particular, the 5th entry maps Command to Control.

This is used unconditionally in the code just below.

So fixing this would mean adding a way to provide a different
translation table.

Actually, there would be a way to work around this: add OSX-specific
code that hooks into the event loop to rewrite the keyboard event with
different modifiers. For example, if the modifier cmdKey is used,
change it to controlKey, so that Qt translates it later to
Qt::MetaButton. This will lead unfortunately to bad shortcuts
displayed in the menus (and it is an ugly hack).

Note also that LyX only uses the Meta, Control and Shift modifiers. We
should maybe investigate whether we want to use the Alt modifier too. 

If you want to complain to trolltech, you should detail what are the
drawbacks of their implementation. AFAIK, one big problem is that the
accented characters accessible usually through the option key cannot
be accessed anymore. 

Other people have complained that the current bindings are not nice
for people using emacs bindings. Is that your case?

Hope this helps.

JMarc


Re: Fixing paragraph beginning and make a lower symbol

2004-09-14 Thread Uwe Stöhr
Hannan Sadar wrote:
What i meant in previews my e-mail was how could i create the symbol,
which \glqq create in a math mode, not in a math mode?
\glqq works in math mode, mathematical text and in ERT.
(see also chap. 22.14 of my documentation (a new version is available 
under http://wiki.lyx.org/pmwiki.php/LyX/LyXMathebefehle) )

But the easiest way to get lower quotes in text, is to choose them in 
the menu Layout - Document - Language.

regards Uwe


Re: help !

2004-09-14 Thread Helge Hafting
Subir Singh Lamba wrote:
Is it possible to scale the figure included in lyx using external inset as 
one can do in figure float.

 

Yes. For Lyx 1.3.4 it is done this way.
Open the dialog for that external inset, by clicking on it.
It is of type XFIG, and the help text there tell you how to do it.
I repeat it here:
In the parameter field, type in
-m 0.7
to get a 0.7x scaling factor.  If you want a different factor,
use that instead.
Note that the parameter really is passed to a program
called fig2dev, use
man fig2dev
on the command line to see what other options you can use.
Helge Hafting


Re: Sorting entries in a table

2004-09-14 Thread Helge Hafting
Jan Smid wrote:
Hi,
how can I sort the entries within a table?
ASCII on
b|bla|blubb
a|blubb|bla
I want it to be sorted like:
a|blubb|bla
b|bla|blubb
I figured out that makeindex is probably the right choice, but I am not 
experienced enough to use it. . .
 

No, makeindex is for making a index (the kind of index
found in books.)
Is there a way to do that?
 

I know of no way of sorting a lyx table, sorry.
Helge Hafting


Re: Fixing paragraph beginning and make a lower symbol

2004-09-14 Thread Hannan Sadar
Hi Uwe,

thanks for your help one more time. What you said was correct, but not
when i typed in Hebrew. At a document at the english language there
was no problem.

Hannan


On Tue, 14 Sep 2004 11:44:36 +0200, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Hannan Sadar wrote:
 
  What i meant in previews my e-mail was how could i create the symbol,
  which \glqq create in a math mode, not in a math mode?
 
 \glqq works in math mode, mathematical text and in ERT.
 (see also chap. 22.14 of my documentation (a new version is available
 under http://wiki.lyx.org/pmwiki.php/LyX/LyXMathebefehle) )
 
 But the easiest way to get lower quotes in text, is to choose them in
 the menu Layout - Document - Language.
 
 regards Uwe



Re: LyX/Mac modifier keys -- any hope for a better solution?

2004-09-14 Thread Jason Woodard
On Sep 14, 2004, at 5:42 PM, Jean-Marc Lasgouttes wrote:
In src/kernel/qapplication_mac.cpp (Qt 3.3.3), there is the following
array definition:
static key_sym modifier_syms[] = {
{ shiftKey, MAP_KEY(Qt::ShiftButton) },
{ rightShiftKeyBit, MAP_KEY(Qt::ShiftButton) },
{ controlKey, MAP_KEY(Qt::MetaButton) },
{ rightControlKey, MAP_KEY(Qt::MetaButton) },
{ cmdKey, MAP_KEY(Qt::ControlButton) },
{ optionKey, MAP_KEY(Qt::AltButton) },
{ rightOptionKey, MAP_KEY(Qt::AltButton) },
{ kEventKeyModifierNumLockMask, MAP_KEY(Qt::Keypad) },
Excellent--I've now grabbed a copy of the Qt source and will play 
around with it this weekend.  I'm hoping I can just swap the controlKey 
and cmdKey entries (i.e., hard-code it the right way), then recompile 
and relink with LyX.  If that works, I'll post a patch and mini-HOWTO 
for fellow Emacs addicts who want a quick fix and are willing to build 
from source.

I agree that a better solution would allow the translation table to be 
changed at runtime, ideally in a way that would be visible to LyX's key 
binding scheme.  Not sure what changes to the Qt APIs this would 
require (or whether it could be done in a platform-neutral way), but 
may throw the suggestion to trolltech if/when I get a hacked version 
working.

thanks for your quick and detailed reply!
-j


Lyx installed on windows: can not reconfigure

2004-09-14 Thread Jianwei Huang
Dear All:

I have just installed the windows version of Lyx on my
windows XP laptop. The installation files are
downloaded from
http://www.home.zonnet.nl/rareitsma/lyx/ (version
1.3.3). I also have MiKTex installed on my machine.

After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.

I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?

Thanks a lot!

Best,

Jianwei 

=



Jianwei HUANG

Ph.D. Student

Electrical  Computer Engineering

Northwestern University

Evanston, IL

U.S.A

www.ece.northwestern.edu/~jianweih

 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


Re: Sorting entries in a table

2004-09-14 Thread Johann Haarhoff
Hi,

how can I sort the entries within a table?

ASCII on

b|bla|blubb
a|blubb|bla

I want it to be sorted like:

a|blubb|bla
b|bla|blubb

I figured out that makeindex is probably the right choice, but I am
not 
experienced enough to use it. . .
  

Is there a way to do that?
  

I have a way that works for me, it is a bit of a workaround, but it
works. I make my tables with the sc spreadsheet under linux. sc can sort
tables, do math etc. as one would expect from a spreadsheet. sc also has
the ability to export tables to latex format. I then include the latex
files generated by sc into my lyx document.

The sc latex output is a bit stupid in the sense that it does not
preserve column alignments, and it does not add vertical and horizontal
lines. It does not take long to fix this with a text editor afterwards.

If I remember correctly, the gnumeric spreadsheet could also output
latex, It might be a bit smarter than sc.

Regards,
Johann



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Rob S
Have a look here:
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup
Midway down this page is a section which should answer your questions.
Plus there are many other things listed on this page which you might 
find of use.

Rob S
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?


		
__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
 




clipping postscript files

2004-09-14 Thread Raphael Clifford
I am produced a presentation using prosper/lyx. Quite often I have to 
include postscript pictures and they will often have bounding boxes 
smaller than the whole image. They view fine in gv and in the final 
document (if I choose Clip to Bounding Box in the Clipping tab in 
lyx).  However they are not clipped to their bounding box in the normal 
lyx document.  Is there any way to get round this? Is it a bug/feature?

System: lyx 1.3.4, fedora fc1
Cheers,
Raphael


Re: natbib and elsart-harv.bst citation formatting problem: solved!

2004-09-14 Thread ashleigh smythe
Ashleigh Smythe wrote:
 
 My problem:
 
 Under the above conditions, when I make a .dvi, I get:
 
 ... the relationships of 53 species Blaxter et al. [2]. 
 
 whereas I need:
 
 ... the relationships of 53 species (Blaxter et al., 1998)
 
 I have tried adding \citestyle{authoryear} to the preamble and I get:
 
 ... the relationships of 53 species Blaxter et al. (1998)
 
 I thought that the elsart-harv.bst should force the format which I am
 looking for - am I not actually using elsart-harv.bst then?  Should I
 use a different \citestyle{}, or does that override the elsart-harv.bst
 that I'm trying to use?
 

Thanks to Jan for pointing out that within the insert citations dialog
box there is a place that toggles the citation style and there I can
choose the style that I need.  I hadn't noticed that yet and was making
the problem much more complicated than necessary!  ;-)


Thanks again.

Ashleigh



Lyx on linux: create local latex folder and upgrade w/o root

2004-09-14 Thread Jianwei Huang
Hi,

My administrator has installed lyx (1.3.1) on my Linux
machine (Red Hat Enterprise 9.0). Since I do not have
the root privilege, I wonder if there are good ways
for me to:

(1) Creat a local texmf so that I can add some
additional latex packages for use with lyx (and
general latex use as well). I hope that I do not have
to change the texmf.cnf, since the computer is used by
multiple users.

(2) Not bother the administrator every time I want to
upgrade to a higher version of lyx. Can I just compile
a local version of lyx coexisting with the older
version installed by the root? If so, is there a step
by step instruction for that ? (I am pretty new to
Linux).

The lyx is installed under /usr/share/lyx and my local
user folder is at ~/.lyx/

Thanks a lot!

Best,

Jianwei 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


creating a class

2004-09-14 Thread Yanick Landry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I would like to know how to create a new document class (like article,
book, ...). I would like to make a document layout specific for my
organisation, specifying where apears the TOC, the margins, ...
I googled it a lot, and i don't seem to be using the right words,
because i didn't find anything
Thanks in advance,
- --
Yanick Landry
Secrétaire
CADEUL
Confédération des associations d'étudiants
et étudiantes de l'Université Laval
Téléavertisseur: (418) 621-7361
Courriel: [EMAIL PROTECTED]
Téléphone: (418) 656-7931
Télécopieur: (418) 656-3328
Pavillon Maurice-Pollack, Bureau 2265
Université Laval
Québec (Québec)
G1K 7P4
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBRyA5XJiROpOopQoRAjI4AJ0QQdisGT+4dB/zD/A9Km2BMhO6kQCfWcBo
edtionq0RQ5jf+xI0TAXqMk=
=UflV
-END PGP SIGNATURE-


Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Uwe Stöhr
Jianwei Huang wrote:
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
The path should be
D:\Program\MiKTex\miktex\bin
regards Uwe


Re: creating a class

2004-09-14 Thread Rich Shepard
On Tue, 14 Sep 2004, Yanick Landry wrote:
Thanks for the answer, but what is the syntax of this file and how do we
find a tutorial on this ?
  Google is your friend: +LaTeX +memoir -
http://www.tug.org/tex-archive/macros/latex/contrib/memoir/
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Changing Document language

2004-09-14 Thread Adrian Lester
I am sorry if this is a really stupid question; I have scoured the menus 
and cannot seem to succeed with this.

I mistakenly began a document set to English which I reckon translates 
as American a few days ago and have only just realised my mistake. 
Having changed the language to British which I think must be English 
anything I type is OK but all the rest has become blue-underlined, 
showing it to still be in the wrong language.

How do I retrospectively change the language for the document?
Many thanks in advance,
Adrian Lester.
**


Re: Sorting entries in a table

2004-09-14 Thread G. Milde
On 14.09.04, Johann Haarhoff wrote:
 
 how can I sort the entries within a table?
 
 b|bla|blubb
 a|blubb|bla
 
 I want it to be sorted like:
 
 a|blubb|bla
 b|bla|blubb
 
 I have a way that works for me, it is a bit of a workaround, but it
 works. I make my tables with the sc spreadsheet under linux. sc can sort
 tables, do math etc. as one would expect from a spreadsheet. sc also has
 the ability to export tables to latex format. I then include the latex
 files generated by sc into my lyx document.
 
 If I remember correctly, the gnumeric spreadsheet could also output
 latex, It might be a bit smarter than sc.

Another possibility would be to cut and paste the table content into a
spreadsheet (or test editor), sort it there and cut and paste back. 
(If the number of cells is right, you can use the mouse to copy table
contents from and to LyX.)

There is also a tool csv2lyx that can be used to insert comma (or tab)
delimited values into a LyX table. Its a perl script with lots of options
and extensive documentation.

Günter

-- 
G.Milde web.de


Re: Urgent:No indentation for footnote Authors

2004-09-14 Thread Jan Smid
Am Montag, 13. September 2004 18:59 schrieb Rajil Saraswat:
Hi,

>I am stuck with this tex problem on the last day of my paper submission.
> The footnote for the author is coming out to be indented which i dont
In preamble:
---

\makeatletter
\newlength{\myFootnoteWidth}
\newlength{\myFootnoteLabel}
\setlength{\myFootnoteLabel}{1.2em}%  <-- can be changed to any valid value
[EMAIL PROTECTED]
  \setlength{\myFootnoteWidth}{\columnwidth}%
  \addtolength{\myFootnoteWidth}{-\myFootnoteLabel}%
  [EMAIL PROTECTED] }%
  \parbox[t]{\myFootnoteWidth}{#1}%
}
\makeatother

---
-j

of course this is from http://www.texnik.de/footnotes.phtml.



Re: using xsltproc to create a lyx document

2004-09-14 Thread Dominique Dumont
"Jeremy C. Reed" <[EMAIL PROTECTED]> writes:

> Or how to write some xsltproc .xsl code for adding a space after
> every newline in a paragraph container?

>From the little experience I got with generating perl with xslt, it's
easier (but more verbose) to get fine control of the output by using
.

For instance, you can do:

 
  help => {
  
  },


But then you get a lot of possibly spurious \n. Or you can do:

 
  help => {
  
  },

 
Although I don't remember how to embed "\n" in  without
breaking the indentation of your xml code.

You'll ask to ask this to mailing list (or newsgroup) dedicated to
XML.

HTH

-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner


LyX/Mac modifier keys -- any hope for a better solution?

2004-09-14 Thread Jason Woodard
Hi,
There have been several posts, as recently as last week, about the fact 
that the modifier keys are "hardcoded" by Qt/Mac--in particular, the 
command key is mapped to the control key.  I'm comforted to know I'm 
not the only person this drives nuts.  Unfortunately, like others I 
also use an Aqua port of Emacs, and am already using uControl to 
convert my caps lock to a control key, so that workaround (suggested by 
several respondents) is not viable for me either.

I realize this may not technically be a LyX problem, but it does seem 
to be a problem for more LyX users than users of other Qt/Mac 
applications; I can't find anything about it on the Qt mailing lists.  
Can anyone explain exactly what would need to be fixed in Qt/Mac to 
resolve it?  Any idea whether the Qt developers are aware/receptive?

I'd be happy to make some noise about this in Troll-land, but at the 
moment I'm not sure where to start.  In the meantime, many thanks for a 
fantastic application, and an otherwise wonderful OS X port.

regards,
-j
Jason Woodard
[EMAIL PROTECTED]


Re: LyX/Mac modifier keys -- any hope for a better solution?

2004-09-14 Thread Jean-Marc Lasgouttes
> "Jason" == Jason Woodard <[EMAIL PROTECTED]> writes:

Jason> I realize this may not technically be a LyX problem, but it
Jason> does seem to be a problem for more LyX users than users of
Jason> other Qt/Mac applications; I can't find anything about it on
Jason> the Qt mailing lists. Can anyone explain exactly what would
Jason> need to be fixed in Qt/Mac to resolve it? Any idea whether the
Jason> Qt developers are aware/receptive?

In src/kernel/qapplication_mac.cpp (Qt 3.3.3), there is the following 
array definition:
static key_sym modifier_syms[] = {
{ shiftKey, MAP_KEY(Qt::ShiftButton) },
{ rightShiftKeyBit, MAP_KEY(Qt::ShiftButton) },
{ controlKey, MAP_KEY(Qt::MetaButton) },
{ rightControlKey, MAP_KEY(Qt::MetaButton) },
{ cmdKey, MAP_KEY(Qt::ControlButton) },
{ optionKey, MAP_KEY(Qt::AltButton) },
{ rightOptionKey, MAP_KEY(Qt::AltButton) },
{ kEventKeyModifierNumLockMask, MAP_KEY(Qt::Keypad) },

As you can see, it hardcodes the relation between OSX keys and Qt
equivalents. In particular, the 5th entry maps Command to Control.

This is used unconditionally in the code just below.

So fixing this would mean adding a way to provide a different
translation table.

Actually, there would be a way to work around this: add OSX-specific
code that hooks into the event loop to rewrite the keyboard event with
different modifiers. For example, if the modifier cmdKey is used,
change it to controlKey, so that Qt translates it later to
Qt::MetaButton. This will lead unfortunately to bad shortcuts
displayed in the menus (and it is an ugly hack).

Note also that LyX only uses the Meta, Control and Shift modifiers. We
should maybe investigate whether we want to use the Alt modifier too. 

If you want to complain to trolltech, you should detail what are the
drawbacks of their implementation. AFAIK, one big problem is that the
accented characters accessible usually through the option key cannot
be accessed anymore. 

Other people have complained that the current bindings are not nice
for people using emacs bindings. Is that your case?

Hope this helps.

JMarc


Re: Fixing paragraph beginning and make a lower " symbol

2004-09-14 Thread Uwe Stöhr
Hannan Sadar wrote:
What i meant in previews my e-mail was how could i create the symbol,
which \glqq create in a math mode, not in a math mode?
\glqq works in math mode, mathematical text and in ERT.
(see also chap. 22.14 of my documentation (a new version is available 
under http://wiki.lyx.org/pmwiki.php/LyX/LyXMathebefehle) )

But the easiest way to get lower quotes in text, is to choose them in 
the menu Layout -> Document -> Language.

regards Uwe


Re: help !

2004-09-14 Thread Helge Hafting
Subir Singh Lamba wrote:
Is it possible to scale the figure included in lyx using external inset as 
one can do in figure float.

 

Yes. For Lyx 1.3.4 it is done this way.
Open the dialog for that external inset, by clicking on it.
It is of type XFIG, and the help text there tell you how to do it.
I repeat it here:
In the parameter field, type in
-m 0.7
to get a 0.7x scaling factor.  If you want a different factor,
use that instead.
Note that the parameter really is passed to a program
called fig2dev, use
man fig2dev
on the command line to see what other options you can use.
Helge Hafting


Re: Sorting entries in a table

2004-09-14 Thread Helge Hafting
Jan Smid wrote:
Hi,
how can I sort the entries within a table?
ASCII on
b|bla|blubb
a|blubb|bla
I want it to be sorted like:
a|blubb|bla
b|bla|blubb
I figured out that makeindex is probably the right choice, but I am not 
experienced enough to use it. . .
 

No, makeindex is for making a index (the kind of index
found in books.)
Is there a way to do that?
 

I know of no way of sorting a lyx table, sorry.
Helge Hafting


Re: Fixing paragraph beginning and make a lower " symbol

2004-09-14 Thread Hannan Sadar
Hi Uwe,

thanks for your help one more time. What you said was correct, but not
when i typed in Hebrew. At a document at the english language there
was no problem.

Hannan


On Tue, 14 Sep 2004 11:44:36 +0200, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Hannan Sadar wrote:
> 
> > What i meant in previews my e-mail was how could i create the symbol,
> > which \glqq create in a math mode, not in a math mode?
> 
> \glqq works in math mode, mathematical text and in ERT.
> (see also chap. 22.14 of my documentation (a new version is available
> under http://wiki.lyx.org/pmwiki.php/LyX/LyXMathebefehle) )
> 
> But the easiest way to get lower quotes in text, is to choose them in
> the menu Layout -> Document -> Language.
> 
> regards Uwe
>


Re: LyX/Mac modifier keys -- any hope for a better solution?

2004-09-14 Thread Jason Woodard
On Sep 14, 2004, at 5:42 PM, Jean-Marc Lasgouttes wrote:
In src/kernel/qapplication_mac.cpp (Qt 3.3.3), there is the following
array definition:
static key_sym modifier_syms[] = {
{ shiftKey, MAP_KEY(Qt::ShiftButton) },
{ rightShiftKeyBit, MAP_KEY(Qt::ShiftButton) },
{ controlKey, MAP_KEY(Qt::MetaButton) },
{ rightControlKey, MAP_KEY(Qt::MetaButton) },
{ cmdKey, MAP_KEY(Qt::ControlButton) },
{ optionKey, MAP_KEY(Qt::AltButton) },
{ rightOptionKey, MAP_KEY(Qt::AltButton) },
{ kEventKeyModifierNumLockMask, MAP_KEY(Qt::Keypad) },
Excellent--I've now grabbed a copy of the Qt source and will play 
around with it this weekend.  I'm hoping I can just swap the controlKey 
and cmdKey entries (i.e., hard-code it the "right" way), then recompile 
and relink with LyX.  If that works, I'll post a patch and mini-HOWTO 
for fellow Emacs addicts who want a quick fix and are willing to build 
from source.

I agree that a better solution would allow the translation table to be 
changed at runtime, ideally in a way that would be visible to LyX's key 
binding scheme.  Not sure what changes to the Qt APIs this would 
require (or whether it could be done in a platform-neutral way), but 
may throw the suggestion to trolltech if/when I get a hacked version 
working.

thanks for your quick and detailed reply!
-j


Lyx installed on windows: can not reconfigure

2004-09-14 Thread Jianwei Huang
Dear All:

I have just installed the windows version of Lyx on my
windows XP laptop. The installation files are
downloaded from
http://www.home.zonnet.nl/rareitsma/lyx/ (version
1.3.3). I also have MiKTex installed on my machine.

After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit->Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs "The system cannot find the path specified". I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.

I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?

Thanks a lot!

Best,

Jianwei 

=



Jianwei HUANG

Ph.D. Student

Electrical & Computer Engineering

Northwestern University

Evanston, IL

U.S.A

www.ece.northwestern.edu/~jianweih

 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


Re: Sorting entries in a table

2004-09-14 Thread Johann Haarhoff
>Hi,
>
>how can I sort the entries within a table?
>
>ASCII on
>
>b|bla|blubb
>a|blubb|bla
>
>I want it to be sorted like:
>
>a|blubb|bla
>b|bla|blubb
>
>I figured out that makeindex is probably the right choice, but I am
not 
>experienced enough to use it. . .
>  
>
>Is there a way to do that?
>  
>
I have a way that works for me, it is a bit of a workaround, but it
works. I make my tables with the sc spreadsheet under linux. sc can sort
tables, do math etc. as one would expect from a spreadsheet. sc also has
the ability to export tables to latex format. I then include the latex
files generated by sc into my lyx document.

The sc latex output is a bit stupid in the sense that it does not
preserve column alignments, and it does not add vertical and horizontal
lines. It does not take long to fix this with a text editor afterwards.

If I remember correctly, the gnumeric spreadsheet could also output
latex, It might be a bit smarter than sc.

Regards,
Johann



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Rob S
Have a look here:
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup
Midway down this page is a section which should answer your questions.
Plus there are many other things listed on this page which you might 
find of use.

Rob S
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit->Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs "The system cannot find the path specified". I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?


		
__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
 




clipping postscript files

2004-09-14 Thread Raphael Clifford
I am produced a presentation using prosper/lyx. Quite often I have to 
include postscript pictures and they will often have bounding boxes 
smaller than the whole image. They view fine in gv and in the final 
document (if I choose "Clip to Bounding Box" in the Clipping tab in 
lyx).  However they are not clipped to their bounding box in the normal 
lyx document.  Is there any way to get round this? Is it a bug/feature?

System: lyx 1.3.4, fedora fc1
Cheers,
Raphael


Re: natbib and elsart-harv.bst citation formatting problem: solved!

2004-09-14 Thread ashleigh smythe
Ashleigh Smythe wrote:
> 
> My problem:
> 
> Under the above conditions, when I make a .dvi, I get:
> 
> ... the relationships of 53 species Blaxter et al. [2]. 
> 
> whereas I need:
> 
> ... the relationships of 53 species (Blaxter et al., 1998)
> 
> I have tried adding \citestyle{authoryear} to the preamble and I get:
> 
> ... the relationships of 53 species Blaxter et al. (1998)
> 
> I thought that the elsart-harv.bst should force the format which I am
> looking for - am I not actually using elsart-harv.bst then?  Should I
> use a different \citestyle{}, or does that override the elsart-harv.bst
> that I'm trying to use?
> 

Thanks to Jan for pointing out that within the insert citations dialog
box there is a place that toggles the citation style and there I can
choose the style that I need.  I hadn't noticed that yet and was making
the problem much more complicated than necessary!  ;-)


Thanks again.

Ashleigh



Lyx on linux: create local latex folder and upgrade w/o root

2004-09-14 Thread Jianwei Huang
Hi,

My administrator has installed lyx (1.3.1) on my Linux
machine (Red Hat Enterprise 9.0). Since I do not have
the root privilege, I wonder if there are good ways
for me to:

(1) Creat a local texmf so that I can add some
additional latex packages for use with lyx (and
general latex use as well). I hope that I do not have
to change the texmf.cnf, since the computer is used by
multiple users.

(2) Not bother the administrator every time I want to
upgrade to a higher version of lyx. Can I just compile
a local version of lyx coexisting with the older
version installed by the root? If so, is there a step
by step instruction for that ? (I am pretty new to
Linux).

The lyx is installed under /usr/share/lyx and my local
user folder is at ~/.lyx/

Thanks a lot!

Best,

Jianwei 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


creating a class

2004-09-14 Thread Yanick Landry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I would like to know how to create a new document class (like article,
book, ...). I would like to make a document layout specific for my
organisation, specifying where apears the TOC, the margins, ...
I googled it a lot, and i don't seem to be using the right words,
because i didn't find anything
Thanks in advance,
- --
Yanick Landry
Secrétaire
CADEUL
Confédération des associations d'étudiants
et étudiantes de l'Université Laval
Téléavertisseur: (418) 621-7361
Courriel: [EMAIL PROTECTED]
Téléphone: (418) 656-7931
Télécopieur: (418) 656-3328
Pavillon Maurice-Pollack, Bureau 2265
Université Laval
Québec (Québec)
G1K 7P4
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBRyA5XJiROpOopQoRAjI4AJ0QQdisGT+4dB/zD/A9Km2BMhO6kQCfWcBo
edtionq0RQ5jf+xI0TAXqMk=
=UflV
-END PGP SIGNATURE-


Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Uwe Stöhr
Jianwei Huang wrote:
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit->Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs "The system cannot find the path specified". I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
The path should be
D:\Program\MiKTex\miktex\bin
regards Uwe


Re: creating a class

2004-09-14 Thread Rich Shepard
On Tue, 14 Sep 2004, Yanick Landry wrote:
Thanks for the answer, but what is the syntax of this file and how do we
find a tutorial on this ?
  Google is your friend: "+LaTeX +memoir" ->

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Changing Document language

2004-09-14 Thread Adrian Lester
I am sorry if this is a really stupid question; I have scoured the menus 
and cannot seem to succeed with this.

I mistakenly began a document set to "English" which I reckon translates 
as "American" a few days ago and have only just realised my mistake. 
Having changed the language to "British" which I think must be English 
anything I type is OK but all the rest has become blue-underlined, 
showing it to still be in the wrong language.

How do I retrospectively change the language for the document?
Many thanks in advance,
Adrian Lester.
**


Re: Sorting entries in a table

2004-09-14 Thread G. Milde
On 14.09.04, Johann Haarhoff wrote:
> >
> >how can I sort the entries within a table?
> >
> >b|bla|blubb
> >a|blubb|bla
> >
> >I want it to be sorted like:
> >
> >a|blubb|bla
> >b|bla|blubb
> >
> I have a way that works for me, it is a bit of a workaround, but it
> works. I make my tables with the sc spreadsheet under linux. sc can sort
> tables, do math etc. as one would expect from a spreadsheet. sc also has
> the ability to export tables to latex format. I then include the latex
> files generated by sc into my lyx document.
> 
> If I remember correctly, the gnumeric spreadsheet could also output
> latex, It might be a bit smarter than sc.

Another possibility would be to cut and paste the table content into a
spreadsheet (or test editor), sort it there and cut and paste back. 
(If the number of cells is right, you can use the mouse to copy table
contents from and to LyX.)

There is also a tool csv2lyx that can be used to insert comma (or tab)
delimited values into a LyX table. Its a perl script with lots of options
and extensive documentation.

Günter

-- 
G.Milde web.de