Importing/installing a new class

2006-09-07 Thread cesco
Hi,

I have to write a document according to the settings given in the latex
file IEEEtrans.cls but I don't know how to import it in LyX neither I
found a description of how this could be done. IEEEtrans is a type of
document I can select from the list of documents type in LyX, but when
I select it an error message tells me that the class IEEEtrans is
missing. I found the file on the web but I don't know where to copy it or
how to install/import it. I'm running the latest version of LyX on Win32, so I
don't know how to update the latex distro and how to issue, like you would do in
linux, the command texhash. Could anyone help?

Thanks and regards
Francesco



Re: French And ubuntu dapper

2006-09-07 Thread Georg Baum
Raymond Ouellette wrote:

 Finally, to launch LyX you type this command
 
 LANG=fr_CA;lyx
 if your locale is fr_CA or
 LANG=fr_FR;lyx
 if your locale is fr_FR

The setting of LANG should not be necessary. LyX requires the ISO-8859-1 to
be present, but it sets them itself. The LANG trick is only needed for
1.3.x.


Georg



jabref and lyx

2006-09-07 Thread Wolfgang Engelmann
sorry for a slightly off-topic question:
I am using jabref for entering references in my lyx file.
Some of the author entrances in the bib-file are embraced by {author} and 
listed separately from the non-embraced author entrances, which I do not 
want.  example:
author1 
author3 
author4
{author2}
{author5}
{author6}
what I want:
author1 
{author2}
author3 
author4
{author5}
{author6}

I would like to either have the embraced entrances treated equally to the 
unembraced ones or to remove in an easy way all the {} -signes. Can this be 
done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook of 
Wassenhoven. I tried to register at

http://www.openusability.org/account/register.php

but my EMail address is refused there respectively my password entered is not 
accepted. Has anyone an answer or was able to register successfully?

 Wolfgang


Re: jabref and lyx

2006-09-07 Thread Dominik Waßenhoven

Wolfgang Engelmann schrieb am 07.09.2006:


I am using jabref for entering references in my lyx file.
Some of the author entrances in the bib-file are embraced by {author} and 
listed separately from the non-embraced author entrances, which I do not 
want.  example:
author1 
author3 
author4

{author2}
{author5}
{author6}
what I want:
author1 
{author2}
author3 
author4

{author5}
{author6}


Do you mean in JabRef or in the bibliography of the output file 
(PDF/PS/DVI)?


I would like to either have the embraced entrances treated equally to the 
unembraced ones or to remove in an easy way all the {} -signes. Can this be 
done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook of 
Wassenhoven. 


Have you searched the forums on sourceforge.net/projects/jabref ?

Regards,
Dominik.-




Re: jabref and lyx

2006-09-07 Thread Wolfgang Engelmann
Am Donnerstag, 7. September 2006 14:38 schrieb Dominik Waßenhoven:
 Wolfgang Engelmann schrieb am 07.09.2006:
  I am using jabref for entering references in my lyx file.
  Some of the author entrances in the bib-file are embraced by {author} and
  listed separately from the non-embraced author entrances, which I do not
  want.  example:
  author1
  author3
  author4
  {author2}
  {author5}
  {author6}
  what I want:
  author1
  {author2}
  author3
  author4
  {author5}
  {author6}

 Do you mean in JabRef or in the bibliography of the output file
 (PDF/PS/DVI)?

In JabRef

  I would like to either have the embraced entrances treated equally to the
  unembraced ones or to remove in an easy way all the {} -signes. Can this
  be done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook
  of Wassenhoven.

 Have you searched the forums on sourceforge.net/projects/jabref ?

Thanks,  Dominik, will try,

Wolfgang


Re: jabref and lyx

2006-09-07 Thread Wolfgang Engelmann
.

  I would like to either have the embraced entrances treated equally to the
  unembraced ones or to remove in an easy way all the {} -signes. Can this
  be done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook
  of Wassenhoven.

 Have you searched the forums on sourceforge.net/projects/jabref ?

There was no question of this kind so far. I have to wait up to 24 h before I 
am allowed to join the forum (EMail return) and post my question.
Thanks so far

Wolfgang


Re: jabref and lyx

2006-09-07 Thread Dominik Waßenhoven

Hi Wolfgang,

Wolfgang Engelmann schrieb am 07.09.2006:


Am Donnerstag, 7. September 2006 14:38 schrieb Dominik Waßenhoven:

Wolfgang Engelmann schrieb am 07.09.2006:

I am using jabref for entering references in my lyx file.
Some of the author entrances in the bib-file are embraced by {author} and
listed separately from the non-embraced author entrances, which I do not
want.  example:
author1
author3
author4
{author2}
{author5}
{author6}
what I want:
author1
{author2}
author3
author4
{author5}
{author6}


Do you mean in JabRef or in the bibliography of the output file
(PDF/PS/DVI)?



In JabRef


I just looked into it again. If you don't need the double braces, JabRef 
offers an option to automatically remove them when you load a file. In 
German it's Optionen - Einstellungen - Beim Laden doppelte 
geschweifte Klammern um BibTeX-Felder entfernen. If you activate this 
option, load your .bib file, and save it, the double brackets should 
have gone.


HTH,
Dominik.-




Re: jabref and lyx

2006-09-07 Thread Richard Heck
Wolfgang Engelmann wrote:
 sorry for a slightly off-topic question:
 I am using jabref for entering references in my lyx file.
 Some of the author entrances in the bib-file are embraced by {author} and 
 listed separately from the non-embraced author entrances, which I do not 
 want.  example:
 author1 
 author3 
 author4
 {author2}
 {author5}
 {author6}
 what I want:
 author1 
 {author2}
 author3 
 author4
 {author5}
 {author6}

 I would like to either have the embraced entrances treated equally to the 
 unembraced ones or to remove in an easy way all the {} -signes. 
If you want to remove the {} signs from the authors, this is easy
enough to do. Open the BibTeX file itself in a good editor, in
particular, one that will allow you to search and replace using regular
expressions. (You could also of course do this with sed or perl or
whatever, but using an editor allows you to see what you're doing
better.) You'll have to look at the format of the author field to figure
out exactly what to do. But suppose it always looks more or less like this:
author = { {author name } }
Then you could search and replace with these:
Search: author\s*=\s*\{\s*\{([^}]+)\}\s*\}
Replace: author = { \1 }
Yeah, I know: The first one looks like line noise.

Richard


Re: jabref and lyx

2006-09-07 Thread Richard Heck
Dominik Waßenhoven wrote:
 I just looked into it again. If you don't need the double braces,
 JabRef offers an option to automatically remove them when you load a
 file. In German it's Optionen - Einstellungen - Beim Laden doppelte
 geschweifte Klammern um BibTeX-Felder entfernen. If you activate this
 option, load your .bib file, and save it, the double brackets should
 have gone.
That'll be a lot easier than the RegEx! And for what it's worth, in
English, it's: Options - Preferences, and then on the General tab:
Remove Double Braces

Richard



Re: Importing/installing a new class

2006-09-07 Thread Paul A. Rubin

cesco wrote:

Hi,

I have to write a document according to the settings given in the latex
file IEEEtrans.cls but I don't know how to import it in LyX neither I
found a description of how this could be done. IEEEtrans is a type of
document I can select from the list of documents type in LyX, but when
I select it an error message tells me that the class IEEEtrans is
missing. I found the file on the web but I don't know where to copy it or
how to install/import it. I'm running the latest version of LyX on Win32, so I
don't know how to update the latex distro and how to issue, like you would do in
linux, the command texhash. Could anyone help?

Thanks and regards
Francesco




What LaTeX distro are you running on the Windows box?  If it's MikTeX, 
just use the MikTeX package manager to install the 'ieeetran' package.


/Paul



[Re: adding hollywood TeX class]

2006-09-07 Thread dan
 Original Message 
Subject: Re: adding hollywood TeX class
From:[EMAIL PROTECTED]
Date:Thu, September 7, 2006 12:38 pm
To:  Matej Cepl [EMAIL PROTECTED]
--

Matej,

Thanks for your reply.  I am running linux with slackware-current (almost
11.0) and I have tetex-3.0-i486-4 and lyx-1.4.2-i486-1rsa installed.  Lyx
has the following files included:

/usr/share/lyx/tex/hollywood.cls
/usr/share/lyx/bind/hollywood.bind
/usr/share/lyx/layouts/hollywood.layout
/usr/share/lyx/templates/hollywood.lyx

so it seems the proper class file is there, but Lyx is not seeing it.

thanks for any help,

Dan


 [EMAIL PROTECTED] wrote:
 Where can I find the hollywood TeX class, and how do I install it so
 that
 Lyx will find it?

 It is usually part of the LyX package (lyx-common in Debian to be exact).
 What is your distribution/operating system?

 Best,

 Matěj

 --
 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259
 http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
 GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

 They that can give up essential liberty to obtain a little
 temporary safety deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review
of Pennsylvania, 1759.







Re: jabref and lyx

2006-09-07 Thread Wolfgang Engelmann

Quoting Dominik Waßenhoven [EMAIL PROTECTED]:



I just looked into it again. If you don't need the double braces,
JabRef offers an option to automatically remove them when you load a
file. In German it's Optionen - Einstellungen - Beim Laden doppelte
geschweifte Klammern um BibTeX-Felder entfernen. If you activate this
option, load your .bib file, and save it, the double brackets should
have gone.

HTH,
Dominik.-


Thanks, Dominik,

Thats it. I should have checked the options more carefully.

Wolfgang






[Re: adding hollywood TeX class]

2006-09-07 Thread dan

Matej,

Here is the output from texhash.

texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /usr/share/texmf-var/ls-R...
texhash: Done.

But Lyx is still not seeing the hollywood class.  I notice that texhash is
not looking in /usr/share/lyx for files.  Is there a way to force texhash
to add that path?

thanks,

Dan


 On Thu 7. September 2006 12:38, you wrote:
 so it seems the proper class file is there, but Lyx is not
 seeing it.

 su -c texhash

 Matìj

 --
 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259
 http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
 GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

 Courage is resistance of fear, mastery of fear, not absence of
 fear.





Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Matej Cepl
[EMAIL PROTECTED] wrote:
 /usr/share/lyx/tex/hollywood.cls
 /usr/share/lyx/bind/hollywood.bind
 /usr/share/lyx/layouts/hollywood.layout
 /usr/share/lyx/templates/hollywood.lyx

Sorry, you need also (before running texhash) make this symlink:

mkdir /usr/share/texmf-var/tex/latex/hollywood/
ln -sf /usr/share/lyx/tex/hollywood.cls 
/usr/share/texmf-var/tex/latex/hollywood/

Then run texhash.

Matěj

-- 
23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 
http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Thank you for sending me a copy of your book; I'll waste no time
reading it.
  -- Moses Hadas




disable removing empty lines when cursor is navigated away

2006-09-07 Thread Andrew Corrigan
Is there anyway to disable Lyx from removing empty lines when I navigate 
the cursor away from the line?   I couldn't find such an option in 
Tools-Preferences.


Sincerely,
Andrew Corrigan




Re: disable removing empty lines when cursor is navigated away

2006-09-07 Thread Sue Kientz

Change any blank lines to LyX-Code instead of Standard.

Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 12:42 PM, Andrew Corrigan wrote:

Is there anyway to disable Lyx from removing empty lines when I  
navigate the cursor away from the line?   I couldn't find such an  
option in Tools-Preferences.


Sincerely,
Andrew Corrigan






Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Bob Lounsbury
On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote:
 [EMAIL PROTECTED] wrote:
  /usr/share/lyx/tex/hollywood.cls
  /usr/share/lyx/bind/hollywood.bind
  /usr/share/lyx/layouts/hollywood.layout
  /usr/share/lyx/templates/hollywood.lyx
 
 Sorry, you need also (before running texhash) make this symlink:
 
 mkdir /usr/share/texmf-var/tex/latex/hollywood/
 ln -sf /usr/share/lyx/tex/hollywood.cls 
 /usr/share/texmf-var/tex/latex/hollywood/
 
 Then run texhash.
 
 Matěj
 

I did something similar but in a more low-end user way. 

1. I logged in as root
2. Copied the contents of /usr/share/lyx/tex
to /usr/share/texmf/tex/latex/base
3. Opened LyX and ran ToolsReconfigure

Voila, all of the .cls document files were available in LyX.

Bob Lounsbury



Re: disable removing empty lines when cursor is navigated away

2006-09-07 Thread Andrew Corrigan
Thank you for the suggestion Sue.  Although, unless I misunderstand, 
that solution isn't really sufficient for me.  The specific problem I 
have with this behavior is that I'll often make a new line, choose its 
type (Lemma, Proof, Theorem, etc...) and then realize I want to copy and 
paste something from some other line and navigate away from the line 
which immediately causes it to be deleted, slowing me down a lot since I 
need to make the line again and choose its type.


I was hoping to reconfigure the present behavior of Lyx rather than to 
work around it.


Sincerely,
Andrew Corrigan

Sue Kientz wrote:

Change any blank lines to LyX-Code instead of Standard.

Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 12:42 PM, Andrew Corrigan wrote:

Is there anyway to disable Lyx from removing empty lines when I 
navigate the cursor away from the line?   I couldn't find such an 
option in Tools-Preferences.


Sincerely,
Andrew Corrigan









Re: [Re: adding hollywood TeX class]

2006-09-07 Thread dan
Matej, Bob,

Thanks for the help.  Matej's suggested changes along with the Reconfigure
did the trick.  For whatever reason, texhash was not working with the
modifications.

thanks again,

Dan


 On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote:
 [EMAIL PROTECTED] wrote:
  /usr/share/lyx/tex/hollywood.cls
  /usr/share/lyx/bind/hollywood.bind
  /usr/share/lyx/layouts/hollywood.layout
  /usr/share/lyx/templates/hollywood.lyx

 Sorry, you need also (before running texhash) make this symlink:

 mkdir /usr/share/texmf-var/tex/latex/hollywood/
 ln -sf /usr/share/lyx/tex/hollywood.cls
 /usr/share/texmf-var/tex/latex/hollywood/

 Then run texhash.

 Matěj


 I did something similar but in a more low-end user way.

 1. I logged in as root
 2. Copied the contents of /usr/share/lyx/tex
 to /usr/share/texmf/tex/latex/base
 3. Opened LyX and ran ToolsReconfigure

 Voila, all of the .cls document files were available in LyX.

 Bob Lounsbury





Re: disable removing empty lines when cursor is navigated away

2006-09-07 Thread Sue Kientz
I don't think you can disable that, but another workaround for your  
particular situation is to just type a letter, go get your cut-and- 
paste, and then copy it over the placeholder letter.


Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 1:06 PM, Andrew Corrigan wrote:

Thank you for the suggestion Sue.  Although, unless I  
misunderstand, that solution isn't really sufficient for me.  The  
specific problem I have with this behavior is that I'll often make  
a new line, choose its type (Lemma, Proof, Theorem, etc...) and  
then realize I want to copy and paste something from some other  
line and navigate away from the line which immediately causes it to  
be deleted, slowing me down a lot since I need to make the line  
again and choose its type.


I was hoping to reconfigure the present behavior of Lyx rather than  
to work around it.


Sincerely,
Andrew Corrigan

Sue Kientz wrote:

Change any blank lines to LyX-Code instead of Standard.

Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 12:42 PM, Andrew Corrigan wrote:

Is there anyway to disable Lyx from removing empty lines when I  
navigate the cursor away from the line?   I couldn't find such an  
option in Tools-Preferences.


Sincerely,
Andrew Corrigan











Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Matej Cepl
[EMAIL PROTECTED] wrote:
 Thanks for the help.  Matej's suggested changes along with the Reconfigure
 did the trick.  For whatever reason, texhash was not working with the
 modifications.

BTW, you should really file a bug report to Slackware LyX maintainers -- not
making the proper symlink/copy is IMNHO bug and it should be fixed.
Actually, Debian just doesn't install *.cls files into /usr/share/lyx/ tree
but to its proper place in $TEXMF tree in the first place.

Best,

Matěj
-- 
23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 
http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
That distinction is reflected in the apocryphal remark made by a
French diplomat to his British counterpart: This is all very
well in practice, but will it work in theory?.




Importing/installing a new class

2006-09-07 Thread cesco
Hi,

I have to write a document according to the settings given in the latex
file IEEEtrans.cls but I don't know how to import it in LyX neither I
found a description of how this could be done. IEEEtrans is a type of
document I can select from the list of documents type in LyX, but when
I select it an error message tells me that the class IEEEtrans is
missing. I found the file on the web but I don't know where to copy it or
how to install/import it. I'm running the latest version of LyX on Win32, so I
don't know how to update the latex distro and how to issue, like you would do in
linux, the command texhash. Could anyone help?

Thanks and regards
Francesco



Re: French And ubuntu dapper

2006-09-07 Thread Georg Baum
Raymond Ouellette wrote:

 Finally, to launch LyX you type this command
 
 LANG=fr_CA;lyx
 if your locale is fr_CA or
 LANG=fr_FR;lyx
 if your locale is fr_FR

The setting of LANG should not be necessary. LyX requires the ISO-8859-1 to
be present, but it sets them itself. The LANG trick is only needed for
1.3.x.


Georg



jabref and lyx

2006-09-07 Thread Wolfgang Engelmann
sorry for a slightly off-topic question:
I am using jabref for entering references in my lyx file.
Some of the author entrances in the bib-file are embraced by {author} and 
listed separately from the non-embraced author entrances, which I do not 
want.  example:
author1 
author3 
author4
{author2}
{author5}
{author6}
what I want:
author1 
{author2}
author3 
author4
{author5}
{author6}

I would like to either have the embraced entrances treated equally to the 
unembraced ones or to remove in an easy way all the {} -signes. Can this be 
done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook of 
Wassenhoven. I tried to register at

http://www.openusability.org/account/register.php

but my EMail address is refused there respectively my password entered is not 
accepted. Has anyone an answer or was able to register successfully?

 Wolfgang


Re: jabref and lyx

2006-09-07 Thread Dominik Waßenhoven

Wolfgang Engelmann schrieb am 07.09.2006:


I am using jabref for entering references in my lyx file.
Some of the author entrances in the bib-file are embraced by {author} and 
listed separately from the non-embraced author entrances, which I do not 
want.  example:
author1 
author3 
author4

{author2}
{author5}
{author6}
what I want:
author1 
{author2}
author3 
author4

{author5}
{author6}


Do you mean in JabRef or in the bibliography of the output file 
(PDF/PS/DVI)?


I would like to either have the embraced entrances treated equally to the 
unembraced ones or to remove in an easy way all the {} -signes. Can this be 
done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook of 
Wassenhoven. 


Have you searched the forums on sourceforge.net/projects/jabref ?

Regards,
Dominik.-




Re: jabref and lyx

2006-09-07 Thread Wolfgang Engelmann
Am Donnerstag, 7. September 2006 14:38 schrieb Dominik Waßenhoven:
 Wolfgang Engelmann schrieb am 07.09.2006:
  I am using jabref for entering references in my lyx file.
  Some of the author entrances in the bib-file are embraced by {author} and
  listed separately from the non-embraced author entrances, which I do not
  want.  example:
  author1
  author3
  author4
  {author2}
  {author5}
  {author6}
  what I want:
  author1
  {author2}
  author3
  author4
  {author5}
  {author6}

 Do you mean in JabRef or in the bibliography of the output file
 (PDF/PS/DVI)?

In JabRef

  I would like to either have the embraced entrances treated equally to the
  unembraced ones or to remove in an easy way all the {} -signes. Can this
  be done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook
  of Wassenhoven.

 Have you searched the forums on sourceforge.net/projects/jabref ?

Thanks,  Dominik, will try,

Wolfgang


Re: jabref and lyx

2006-09-07 Thread Wolfgang Engelmann
.

  I would like to either have the embraced entrances treated equally to the
  unembraced ones or to remove in an easy way all the {} -signes. Can this
  be done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook
  of Wassenhoven.

 Have you searched the forums on sourceforge.net/projects/jabref ?

There was no question of this kind so far. I have to wait up to 24 h before I 
am allowed to join the forum (EMail return) and post my question.
Thanks so far

Wolfgang


Re: jabref and lyx

2006-09-07 Thread Dominik Waßenhoven

Hi Wolfgang,

Wolfgang Engelmann schrieb am 07.09.2006:


Am Donnerstag, 7. September 2006 14:38 schrieb Dominik Waßenhoven:

Wolfgang Engelmann schrieb am 07.09.2006:

I am using jabref for entering references in my lyx file.
Some of the author entrances in the bib-file are embraced by {author} and
listed separately from the non-embraced author entrances, which I do not
want.  example:
author1
author3
author4
{author2}
{author5}
{author6}
what I want:
author1
{author2}
author3
author4
{author5}
{author6}


Do you mean in JabRef or in the bibliography of the output file
(PDF/PS/DVI)?



In JabRef


I just looked into it again. If you don't need the double braces, JabRef 
offers an option to automatically remove them when you load a file. In 
German it's Optionen - Einstellungen - Beim Laden doppelte 
geschweifte Klammern um BibTeX-Felder entfernen. If you activate this 
option, load your .bib file, and save it, the double brackets should 
have gone.


HTH,
Dominik.-




Re: jabref and lyx

2006-09-07 Thread Richard Heck
Wolfgang Engelmann wrote:
 sorry for a slightly off-topic question:
 I am using jabref for entering references in my lyx file.
 Some of the author entrances in the bib-file are embraced by {author} and 
 listed separately from the non-embraced author entrances, which I do not 
 want.  example:
 author1 
 author3 
 author4
 {author2}
 {author5}
 {author6}
 what I want:
 author1 
 {author2}
 author3 
 author4
 {author5}
 {author6}

 I would like to either have the embraced entrances treated equally to the 
 unembraced ones or to remove in an easy way all the {} -signes. 
If you want to remove the {} signs from the authors, this is easy
enough to do. Open the BibTeX file itself in a good editor, in
particular, one that will allow you to search and replace using regular
expressions. (You could also of course do this with sed or perl or
whatever, but using an editor allows you to see what you're doing
better.) You'll have to look at the format of the author field to figure
out exactly what to do. But suppose it always looks more or less like this:
author = { {author name } }
Then you could search and replace with these:
Search: author\s*=\s*\{\s*\{([^}]+)\}\s*\}
Replace: author = { \1 }
Yeah, I know: The first one looks like line noise.

Richard


Re: jabref and lyx

2006-09-07 Thread Richard Heck
Dominik Waßenhoven wrote:
 I just looked into it again. If you don't need the double braces,
 JabRef offers an option to automatically remove them when you load a
 file. In German it's Optionen - Einstellungen - Beim Laden doppelte
 geschweifte Klammern um BibTeX-Felder entfernen. If you activate this
 option, load your .bib file, and save it, the double brackets should
 have gone.
That'll be a lot easier than the RegEx! And for what it's worth, in
English, it's: Options - Preferences, and then on the General tab:
Remove Double Braces

Richard



Re: Importing/installing a new class

2006-09-07 Thread Paul A. Rubin

cesco wrote:

Hi,

I have to write a document according to the settings given in the latex
file IEEEtrans.cls but I don't know how to import it in LyX neither I
found a description of how this could be done. IEEEtrans is a type of
document I can select from the list of documents type in LyX, but when
I select it an error message tells me that the class IEEEtrans is
missing. I found the file on the web but I don't know where to copy it or
how to install/import it. I'm running the latest version of LyX on Win32, so I
don't know how to update the latex distro and how to issue, like you would do in
linux, the command texhash. Could anyone help?

Thanks and regards
Francesco




What LaTeX distro are you running on the Windows box?  If it's MikTeX, 
just use the MikTeX package manager to install the 'ieeetran' package.


/Paul



[Re: adding hollywood TeX class]

2006-09-07 Thread dan
 Original Message 
Subject: Re: adding hollywood TeX class
From:[EMAIL PROTECTED]
Date:Thu, September 7, 2006 12:38 pm
To:  Matej Cepl [EMAIL PROTECTED]
--

Matej,

Thanks for your reply.  I am running linux with slackware-current (almost
11.0) and I have tetex-3.0-i486-4 and lyx-1.4.2-i486-1rsa installed.  Lyx
has the following files included:

/usr/share/lyx/tex/hollywood.cls
/usr/share/lyx/bind/hollywood.bind
/usr/share/lyx/layouts/hollywood.layout
/usr/share/lyx/templates/hollywood.lyx

so it seems the proper class file is there, but Lyx is not seeing it.

thanks for any help,

Dan


 [EMAIL PROTECTED] wrote:
 Where can I find the hollywood TeX class, and how do I install it so
 that
 Lyx will find it?

 It is usually part of the LyX package (lyx-common in Debian to be exact).
 What is your distribution/operating system?

 Best,

 Matěj

 --
 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259
 http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
 GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

 They that can give up essential liberty to obtain a little
 temporary safety deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review
of Pennsylvania, 1759.







Re: jabref and lyx

2006-09-07 Thread Wolfgang Engelmann

Quoting Dominik Waßenhoven [EMAIL PROTECTED]:



I just looked into it again. If you don't need the double braces,
JabRef offers an option to automatically remove them when you load a
file. In German it's Optionen - Einstellungen - Beim Laden doppelte
geschweifte Klammern um BibTeX-Felder entfernen. If you activate this
option, load your .bib file, and save it, the double brackets should
have gone.

HTH,
Dominik.-


Thanks, Dominik,

Thats it. I should have checked the options more carefully.

Wolfgang






[Re: adding hollywood TeX class]

2006-09-07 Thread dan

Matej,

Here is the output from texhash.

texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /usr/share/texmf-var/ls-R...
texhash: Done.

But Lyx is still not seeing the hollywood class.  I notice that texhash is
not looking in /usr/share/lyx for files.  Is there a way to force texhash
to add that path?

thanks,

Dan


 On Thu 7. September 2006 12:38, you wrote:
 so it seems the proper class file is there, but Lyx is not
 seeing it.

 su -c texhash

 Matìj

 --
 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259
 http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
 GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

 Courage is resistance of fear, mastery of fear, not absence of
 fear.





Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Matej Cepl
[EMAIL PROTECTED] wrote:
 /usr/share/lyx/tex/hollywood.cls
 /usr/share/lyx/bind/hollywood.bind
 /usr/share/lyx/layouts/hollywood.layout
 /usr/share/lyx/templates/hollywood.lyx

Sorry, you need also (before running texhash) make this symlink:

mkdir /usr/share/texmf-var/tex/latex/hollywood/
ln -sf /usr/share/lyx/tex/hollywood.cls 
/usr/share/texmf-var/tex/latex/hollywood/

Then run texhash.

Matěj

-- 
23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 
http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Thank you for sending me a copy of your book; I'll waste no time
reading it.
  -- Moses Hadas




disable removing empty lines when cursor is navigated away

2006-09-07 Thread Andrew Corrigan
Is there anyway to disable Lyx from removing empty lines when I navigate 
the cursor away from the line?   I couldn't find such an option in 
Tools-Preferences.


Sincerely,
Andrew Corrigan




Re: disable removing empty lines when cursor is navigated away

2006-09-07 Thread Sue Kientz

Change any blank lines to LyX-Code instead of Standard.

Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 12:42 PM, Andrew Corrigan wrote:

Is there anyway to disable Lyx from removing empty lines when I  
navigate the cursor away from the line?   I couldn't find such an  
option in Tools-Preferences.


Sincerely,
Andrew Corrigan






Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Bob Lounsbury
On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote:
 [EMAIL PROTECTED] wrote:
  /usr/share/lyx/tex/hollywood.cls
  /usr/share/lyx/bind/hollywood.bind
  /usr/share/lyx/layouts/hollywood.layout
  /usr/share/lyx/templates/hollywood.lyx
 
 Sorry, you need also (before running texhash) make this symlink:
 
 mkdir /usr/share/texmf-var/tex/latex/hollywood/
 ln -sf /usr/share/lyx/tex/hollywood.cls 
 /usr/share/texmf-var/tex/latex/hollywood/
 
 Then run texhash.
 
 Matěj
 

I did something similar but in a more low-end user way. 

1. I logged in as root
2. Copied the contents of /usr/share/lyx/tex
to /usr/share/texmf/tex/latex/base
3. Opened LyX and ran ToolsReconfigure

Voila, all of the .cls document files were available in LyX.

Bob Lounsbury



Re: disable removing empty lines when cursor is navigated away

2006-09-07 Thread Andrew Corrigan
Thank you for the suggestion Sue.  Although, unless I misunderstand, 
that solution isn't really sufficient for me.  The specific problem I 
have with this behavior is that I'll often make a new line, choose its 
type (Lemma, Proof, Theorem, etc...) and then realize I want to copy and 
paste something from some other line and navigate away from the line 
which immediately causes it to be deleted, slowing me down a lot since I 
need to make the line again and choose its type.


I was hoping to reconfigure the present behavior of Lyx rather than to 
work around it.


Sincerely,
Andrew Corrigan

Sue Kientz wrote:

Change any blank lines to LyX-Code instead of Standard.

Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 12:42 PM, Andrew Corrigan wrote:

Is there anyway to disable Lyx from removing empty lines when I 
navigate the cursor away from the line?   I couldn't find such an 
option in Tools-Preferences.


Sincerely,
Andrew Corrigan









Re: [Re: adding hollywood TeX class]

2006-09-07 Thread dan
Matej, Bob,

Thanks for the help.  Matej's suggested changes along with the Reconfigure
did the trick.  For whatever reason, texhash was not working with the
modifications.

thanks again,

Dan


 On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote:
 [EMAIL PROTECTED] wrote:
  /usr/share/lyx/tex/hollywood.cls
  /usr/share/lyx/bind/hollywood.bind
  /usr/share/lyx/layouts/hollywood.layout
  /usr/share/lyx/templates/hollywood.lyx

 Sorry, you need also (before running texhash) make this symlink:

 mkdir /usr/share/texmf-var/tex/latex/hollywood/
 ln -sf /usr/share/lyx/tex/hollywood.cls
 /usr/share/texmf-var/tex/latex/hollywood/

 Then run texhash.

 Matěj


 I did something similar but in a more low-end user way.

 1. I logged in as root
 2. Copied the contents of /usr/share/lyx/tex
 to /usr/share/texmf/tex/latex/base
 3. Opened LyX and ran ToolsReconfigure

 Voila, all of the .cls document files were available in LyX.

 Bob Lounsbury





Re: disable removing empty lines when cursor is navigated away

2006-09-07 Thread Sue Kientz
I don't think you can disable that, but another workaround for your  
particular situation is to just type a letter, go get your cut-and- 
paste, and then copy it over the placeholder letter.


Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 1:06 PM, Andrew Corrigan wrote:

Thank you for the suggestion Sue.  Although, unless I  
misunderstand, that solution isn't really sufficient for me.  The  
specific problem I have with this behavior is that I'll often make  
a new line, choose its type (Lemma, Proof, Theorem, etc...) and  
then realize I want to copy and paste something from some other  
line and navigate away from the line which immediately causes it to  
be deleted, slowing me down a lot since I need to make the line  
again and choose its type.


I was hoping to reconfigure the present behavior of Lyx rather than  
to work around it.


Sincerely,
Andrew Corrigan

Sue Kientz wrote:

Change any blank lines to LyX-Code instead of Standard.

Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 12:42 PM, Andrew Corrigan wrote:

Is there anyway to disable Lyx from removing empty lines when I  
navigate the cursor away from the line?   I couldn't find such an  
option in Tools-Preferences.


Sincerely,
Andrew Corrigan











Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Matej Cepl
[EMAIL PROTECTED] wrote:
 Thanks for the help.  Matej's suggested changes along with the Reconfigure
 did the trick.  For whatever reason, texhash was not working with the
 modifications.

BTW, you should really file a bug report to Slackware LyX maintainers -- not
making the proper symlink/copy is IMNHO bug and it should be fixed.
Actually, Debian just doesn't install *.cls files into /usr/share/lyx/ tree
but to its proper place in $TEXMF tree in the first place.

Best,

Matěj
-- 
23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 
http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
That distinction is reflected in the apocryphal remark made by a
French diplomat to his British counterpart: This is all very
well in practice, but will it work in theory?.




Importing/installing a new class

2006-09-07 Thread cesco
Hi,

I have to write a document according to the settings given in the latex
file IEEEtrans.cls but I don't know how to import it in LyX neither I
found a description of how this could be done. IEEEtrans is a type of
document I can select from the list of documents type in LyX, but when
I select it an error message tells me that the class IEEEtrans is
missing. I found the file on the web but I don't know where to copy it or
how to install/import it. I'm running the latest version of LyX on Win32, so I
don't know how to update the latex distro and how to issue, like you would do in
linux, the command "texhash". Could anyone help?

Thanks and regards
Francesco



Re: French And ubuntu dapper

2006-09-07 Thread Georg Baum
Raymond Ouellette wrote:

> Finally, to launch LyX you type this command
> 
> LANG=fr_CA;lyx
> if your locale is fr_CA or
> LANG=fr_FR;lyx
> if your locale is fr_FR

The setting of LANG should not be necessary. LyX requires the ISO-8859-1 to
be present, but it sets them itself. The LANG trick is only needed for
1.3.x.


Georg



jabref and lyx

2006-09-07 Thread Wolfgang Engelmann
sorry for a slightly off-topic question:
I am using jabref for entering references in my lyx file.
Some of the author entrances in the bib-file are embraced by {author} and 
listed separately from the non-embraced author entrances, which I do not 
want.  example:
author1 
author3 
author4
{author2}
{author5}
{author6}
what I want:
author1 
{author2}
author3 
author4
{author5}
{author6}

I would like to either have the embraced entrances treated equally to the 
unembraced ones or to remove in an easy way all the {} -signes. Can this be 
done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook of 
Wassenhoven. I tried to register at

http://www.openusability.org/account/register.php

but my EMail address is refused there respectively my password entered is not 
accepted. Has anyone an answer or was able to register successfully?

 Wolfgang


Re: jabref and lyx

2006-09-07 Thread Dominik Waßenhoven

Wolfgang Engelmann schrieb am 07.09.2006:


I am using jabref for entering references in my lyx file.
Some of the author entrances in the bib-file are embraced by {author} and 
listed separately from the non-embraced author entrances, which I do not 
want.  example:
author1 
author3 
author4

{author2}
{author5}
{author6}
what I want:
author1 
{author2}
author3 
author4

{author5}
{author6}


Do you mean in JabRef or in the bibliography of the output file 
(PDF/PS/DVI)?


I would like to either have the embraced entrances treated equally to the 
unembraced ones or to remove in an easy way all the {} -signes. Can this be 
done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook of 
Wassenhoven. 


Have you searched the forums on sourceforge.net/projects/jabref ?

Regards,
Dominik.-




Re: jabref and lyx

2006-09-07 Thread Wolfgang Engelmann
Am Donnerstag, 7. September 2006 14:38 schrieb Dominik Waßenhoven:
> Wolfgang Engelmann schrieb am 07.09.2006:
> > I am using jabref for entering references in my lyx file.
> > Some of the author entrances in the bib-file are embraced by {author} and
> > listed separately from the non-embraced author entrances, which I do not
> > want.  example:
> > author1
> > author3
> > author4
> > {author2}
> > {author5}
> > {author6}
> > what I want:
> > author1
> > {author2}
> > author3
> > author4
> > {author5}
> > {author6}
>
> Do you mean in JabRef or in the bibliography of the output file
> (PDF/PS/DVI)?

In JabRef
>
> > I would like to either have the embraced entrances treated equally to the
> > unembraced ones or to remove in an easy way all the {} -signes. Can this
> > be done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook
> > of Wassenhoven.
>
> Have you searched the forums on sourceforge.net/projects/jabref ?

Thanks,  Dominik, will try,

Wolfgang


Re: jabref and lyx

2006-09-07 Thread Wolfgang Engelmann
.
>
> > I would like to either have the embraced entrances treated equally to the
> > unembraced ones or to remove in an easy way all the {} -signes. Can this
> > be done in JabRef? I did not find an answer in the JabRef 1.8.1 Handbook
> > of Wassenhoven.
>
> Have you searched the forums on sourceforge.net/projects/jabref ?

There was no question of this kind so far. I have to wait up to 24 h before I 
am allowed to join the forum (EMail return) and post my question.
Thanks so far

Wolfgang


Re: jabref and lyx

2006-09-07 Thread Dominik Waßenhoven

Hi Wolfgang,

Wolfgang Engelmann schrieb am 07.09.2006:


Am Donnerstag, 7. September 2006 14:38 schrieb Dominik Waßenhoven:

Wolfgang Engelmann schrieb am 07.09.2006:

I am using jabref for entering references in my lyx file.
Some of the author entrances in the bib-file are embraced by {author} and
listed separately from the non-embraced author entrances, which I do not
want.  example:
author1
author3
author4
{author2}
{author5}
{author6}
what I want:
author1
{author2}
author3
author4
{author5}
{author6}


Do you mean in JabRef or in the bibliography of the output file
(PDF/PS/DVI)?



In JabRef


I just looked into it again. If you don't need the double braces, JabRef 
offers an option to automatically remove them when you load a file. In 
German it's "Optionen -> Einstellungen -> Beim Laden doppelte 
geschweifte Klammern um BibTeX-Felder entfernen". If you activate this 
option, load your .bib file, and save it, the double brackets should 
have gone.


HTH,
Dominik.-




Re: jabref and lyx

2006-09-07 Thread Richard Heck
Wolfgang Engelmann wrote:
> sorry for a slightly off-topic question:
> I am using jabref for entering references in my lyx file.
> Some of the author entrances in the bib-file are embraced by {author} and 
> listed separately from the non-embraced author entrances, which I do not 
> want.  example:
> author1 
> author3 
> author4
> {author2}
> {author5}
> {author6}
> what I want:
> author1 
> {author2}
> author3 
> author4
> {author5}
> {author6}
>
> I would like to either have the embraced entrances treated equally to the 
> unembraced ones or to remove in an easy way all the {} -signes. 
If you want to remove the "{}" signs from the authors, this is easy
enough to do. Open the BibTeX file itself in a good editor, in
particular, one that will allow you to search and replace using regular
expressions. (You could also of course do this with sed or perl or
whatever, but using an editor allows you to see what you're doing
better.) You'll have to look at the format of the author field to figure
out exactly what to do. But suppose it always looks more or less like this:
author = { {author name } }
Then you could search and replace with these:
Search: author\s*=\s*\{\s*\{([^}]+)\}\s*\}
Replace: author = { \1 }
Yeah, I know: The first one looks like line noise.

Richard


Re: jabref and lyx

2006-09-07 Thread Richard Heck
Dominik Waßenhoven wrote:
> I just looked into it again. If you don't need the double braces,
> JabRef offers an option to automatically remove them when you load a
> file. In German it's "Optionen -> Einstellungen -> Beim Laden doppelte
> geschweifte Klammern um BibTeX-Felder entfernen". If you activate this
> option, load your .bib file, and save it, the double brackets should
> have gone.
That'll be a lot easier than the RegEx! And for what it's worth, in
English, it's: Options -> Preferences, and then on the General tab:
Remove Double Braces

Richard



Re: Importing/installing a new class

2006-09-07 Thread Paul A. Rubin

cesco wrote:

Hi,

I have to write a document according to the settings given in the latex
file IEEEtrans.cls but I don't know how to import it in LyX neither I
found a description of how this could be done. IEEEtrans is a type of
document I can select from the list of documents type in LyX, but when
I select it an error message tells me that the class IEEEtrans is
missing. I found the file on the web but I don't know where to copy it or
how to install/import it. I'm running the latest version of LyX on Win32, so I
don't know how to update the latex distro and how to issue, like you would do in
linux, the command "texhash". Could anyone help?

Thanks and regards
Francesco




What LaTeX distro are you running on the Windows box?  If it's MikTeX, 
just use the MikTeX package manager to install the 'ieeetran' package.


/Paul



[Re: adding hollywood TeX class]

2006-09-07 Thread dan
 Original Message 
Subject: Re: adding hollywood TeX class
From:[EMAIL PROTECTED]
Date:Thu, September 7, 2006 12:38 pm
To:  "Matej Cepl" <[EMAIL PROTECTED]>
--

Matej,

Thanks for your reply.  I am running linux with slackware-current (almost
11.0) and I have tetex-3.0-i486-4 and lyx-1.4.2-i486-1rsa installed.  Lyx
has the following files included:

/usr/share/lyx/tex/hollywood.cls
/usr/share/lyx/bind/hollywood.bind
/usr/share/lyx/layouts/hollywood.layout
/usr/share/lyx/templates/hollywood.lyx

so it seems the proper class file is there, but Lyx is not seeing it.

thanks for any help,

Dan


> [EMAIL PROTECTED] wrote:
>> Where can I find the hollywood TeX class, and how do I install it so
>> that
>> Lyx will find it?
>
> It is usually part of the LyX package (lyx-common in Debian to be exact).
> What is your distribution/operating system?
>
> Best,
>
> Matěj
>
> --
> 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259
> http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
> GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
>
> They that can give up essential liberty to obtain a little
> temporary safety deserve neither liberty nor safety.
> -- Benjamin Franklin, Historical Review
>of Pennsylvania, 1759.
>
>
>




Re: jabref and lyx

2006-09-07 Thread Wolfgang Engelmann

Quoting Dominik Waßenhoven <[EMAIL PROTECTED]>:



I just looked into it again. If you don't need the double braces,
JabRef offers an option to automatically remove them when you load a
file. In German it's "Optionen -> Einstellungen -> Beim Laden doppelte
geschweifte Klammern um BibTeX-Felder entfernen". If you activate this
option, load your .bib file, and save it, the double brackets should
have gone.

HTH,
Dominik.-


Thanks, Dominik,

Thats it. I should have checked the options more carefully.

Wolfgang






[Re: adding hollywood TeX class]

2006-09-07 Thread dan

Matej,

Here is the output from texhash.

texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /usr/share/texmf-var/ls-R...
texhash: Done.

But Lyx is still not seeing the hollywood class.  I notice that texhash is
not looking in /usr/share/lyx for files.  Is there a way to force texhash
to add that path?

thanks,

Dan


> On Thu 7. September 2006 12:38, you wrote:
>> so it seems the proper class file is there, but Lyx is not
>> seeing it.
>
> su -c texhash
>
> Matìj
>
> --
> 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259
> http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
> GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
>
> Courage is resistance of fear, mastery of fear, not absence of
> fear.
>




Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Matej Cepl
[EMAIL PROTECTED] wrote:
> /usr/share/lyx/tex/hollywood.cls
> /usr/share/lyx/bind/hollywood.bind
> /usr/share/lyx/layouts/hollywood.layout
> /usr/share/lyx/templates/hollywood.lyx

Sorry, you need also (before running texhash) make this symlink:

mkdir /usr/share/texmf-var/tex/latex/hollywood/
ln -sf /usr/share/lyx/tex/hollywood.cls 
/usr/share/texmf-var/tex/latex/hollywood/

Then run texhash.

Matěj

-- 
23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 
http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Thank you for sending me a copy of your book; I'll waste no time
reading it.
  -- Moses Hadas




disable removing empty lines when cursor is navigated away

2006-09-07 Thread Andrew Corrigan
Is there anyway to disable Lyx from removing empty lines when I navigate 
the cursor away from the line?   I couldn't find such an option in 
Tools->Preferences.


Sincerely,
Andrew Corrigan




Re: disable removing empty lines when cursor is navigated away

2006-09-07 Thread Sue Kientz

Change any blank lines to LyX-Code instead of Standard.

Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 12:42 PM, Andrew Corrigan wrote:

Is there anyway to disable Lyx from removing empty lines when I  
navigate the cursor away from the line?   I couldn't find such an  
option in Tools->Preferences.


Sincerely,
Andrew Corrigan






Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Bob Lounsbury
On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote:
> [EMAIL PROTECTED] wrote:
> > /usr/share/lyx/tex/hollywood.cls
> > /usr/share/lyx/bind/hollywood.bind
> > /usr/share/lyx/layouts/hollywood.layout
> > /usr/share/lyx/templates/hollywood.lyx
> 
> Sorry, you need also (before running texhash) make this symlink:
> 
> mkdir /usr/share/texmf-var/tex/latex/hollywood/
> ln -sf /usr/share/lyx/tex/hollywood.cls 
> /usr/share/texmf-var/tex/latex/hollywood/
> 
> Then run texhash.
> 
> Matěj
> 

I did something similar but in a more low-end user way. 

1. I logged in as root
2. Copied the contents of /usr/share/lyx/tex
to /usr/share/texmf/tex/latex/base
3. Opened LyX and ran Tools>Reconfigure

Voila, all of the .cls document files were available in LyX.

Bob Lounsbury



Re: disable removing empty lines when cursor is navigated away

2006-09-07 Thread Andrew Corrigan
Thank you for the suggestion Sue.  Although, unless I misunderstand, 
that solution isn't really sufficient for me.  The specific problem I 
have with this behavior is that I'll often make a new line, choose its 
type (Lemma, Proof, Theorem, etc...) and then realize I want to copy and 
paste something from some other line and navigate away from the line 
which immediately causes it to be deleted, slowing me down a lot since I 
need to make the line again and choose its type.


I was hoping to reconfigure the present behavior of Lyx rather than to 
work around it.


Sincerely,
Andrew Corrigan

Sue Kientz wrote:

Change any blank lines to LyX-Code instead of Standard.

Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 12:42 PM, Andrew Corrigan wrote:

Is there anyway to disable Lyx from removing empty lines when I 
navigate the cursor away from the line?   I couldn't find such an 
option in Tools->Preferences.


Sincerely,
Andrew Corrigan









Re: [Re: adding hollywood TeX class]

2006-09-07 Thread dan
Matej, Bob,

Thanks for the help.  Matej's suggested changes along with the Reconfigure
did the trick.  For whatever reason, texhash was not working with the
modifications.

thanks again,

Dan


> On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote:
>> [EMAIL PROTECTED] wrote:
>> > /usr/share/lyx/tex/hollywood.cls
>> > /usr/share/lyx/bind/hollywood.bind
>> > /usr/share/lyx/layouts/hollywood.layout
>> > /usr/share/lyx/templates/hollywood.lyx
>>
>> Sorry, you need also (before running texhash) make this symlink:
>>
>> mkdir /usr/share/texmf-var/tex/latex/hollywood/
>> ln -sf /usr/share/lyx/tex/hollywood.cls
>> /usr/share/texmf-var/tex/latex/hollywood/
>>
>> Then run texhash.
>>
>> Matěj
>>
>
> I did something similar but in a more low-end user way.
>
> 1. I logged in as root
> 2. Copied the contents of /usr/share/lyx/tex
> to /usr/share/texmf/tex/latex/base
> 3. Opened LyX and ran Tools>Reconfigure
>
> Voila, all of the .cls document files were available in LyX.
>
> Bob Lounsbury
>
>



Re: disable removing empty lines when cursor is navigated away

2006-09-07 Thread Sue Kientz
I don't think you can disable that, but another workaround for your  
particular situation is to just type a letter, go get your cut-and- 
paste, and then copy it over the placeholder letter.


Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 1:06 PM, Andrew Corrigan wrote:

Thank you for the suggestion Sue.  Although, unless I  
misunderstand, that solution isn't really sufficient for me.  The  
specific problem I have with this behavior is that I'll often make  
a new line, choose its type (Lemma, Proof, Theorem, etc...) and  
then realize I want to copy and paste something from some other  
line and navigate away from the line which immediately causes it to  
be deleted, slowing me down a lot since I need to make the line  
again and choose its type.


I was hoping to reconfigure the present behavior of Lyx rather than  
to work around it.


Sincerely,
Andrew Corrigan

Sue Kientz wrote:

Change any blank lines to LyX-Code instead of Standard.

Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]
ofc: (626) 395-1694
cell: (626) 616-1955
skype: suekientz
   ~Metaphors Be With You~


On Sep 7, 2006, at 12:42 PM, Andrew Corrigan wrote:

Is there anyway to disable Lyx from removing empty lines when I  
navigate the cursor away from the line?   I couldn't find such an  
option in Tools->Preferences.


Sincerely,
Andrew Corrigan











Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Matej Cepl
[EMAIL PROTECTED] wrote:
> Thanks for the help.  Matej's suggested changes along with the Reconfigure
> did the trick.  For whatever reason, texhash was not working with the
> modifications.

BTW, you should really file a bug report to Slackware LyX maintainers -- not
making the proper symlink/copy is IMNHO bug and it should be fixed.
Actually, Debian just doesn't install *.cls files into /usr/share/lyx/ tree
but to its proper place in $TEXMF tree in the first place.

Best,

Matěj
-- 
23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 
http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
That distinction is reflected in the apocryphal remark made by a
French diplomat to his British counterpart: "This is all very
well in practice, but will it work in theory?".