Re: Nice way to do inset text?

2010-12-28 Thread Daron Wilson
Tim,I'm not sure if it is what you want, but I've attached a LyX module that gives you a "ChangeMargin" inset in the dropdown menu with Chapter, Section, Quote, and other text environments.  You can modify the module file to give you the lengths and labels as needed. Info on installing modules can be found in the "Customizing LyX" help docs.The module is taken from the hanging paragraph module included with LyX. The LaTeX code is shamelessly borrowed fromhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=chngmargonfly. It gives you a list environment so you could have a number of examples in a row. I don't have enough LaTeX know-how to figure it out on my own, so there are probably many other ways to do it better.The module should at least get you a basic paragraph style that you can change the margins as you want in both LyX and your output.Regards,Daron

changemargin.module
Description: Binary data
On 28 Dec 2010, at 08:09, Tim Wescott wrote:I'm rewriting this article: http://www.wescottdesign.com/articles/Friction/friction.html. I want to put in examples in more or less the same way: i.e., leave all else as-is, but increase the margins so that the text is narrower.I assume that I can set the margins on the fly, then set them back later.But is there a more elegant way? Is there a quick way to define an "example" text class? Is there a way to make LyX recognize it?-- Tim WescottWescott Design ServicesVoice: 503-631-7815Cell: 503-349-8432http://www.wescottdesign.com

underscore and missing $ inserted

2010-12-28 Thread Anders Wallin
Hi All,

I'm using this in my preamble.sty to include doi-links:
\newcommand*{\doi}[1]{\href{http://dx.doi.org/#1}{doi:#1}}

this works less than great when the DOI happens to include an underscore _

I then get two Missing $ inserted warnings from lyx, and no pdf output.

I would need some magic in front of the \doi command which would make
lyx/latex ignore the underscore(s) and not complain about missing $.
Any ideas?

This is lyx 1.6.5 with latex 3.1415926-1.40.10 on Ubuntu 10.04LTS

thanks,
AW


Re: A path for the Bibliography files

2010-12-28 Thread ehud.kap...@gmail.com

This advice will mean nothing to Windows users.
EK

On 12/28/2010 1:08 AM, Vito 'ZeD' De Tullio wrote:

ehud.kap...@gmail.com wrote:


I was hoping to be able to use ONE bib file, to be accessed and updated
by any one of the collaborators.
Your solution will work if I were the only user.  We keep the bib files
in a shared folder on a Dropbox (cloud) folder,
but, as I said, the reference to it is different in Linux and in Windows.

Use symlinks



--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness /Professor
*Director*, Center of Excellence for /Computational  System neuroscience,/
The Friedman Brain Institute, MSSM
*Director*, The laboratory of /Visual  Computational Neuroscience/
Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


Re: Sectioned bibliography with biblatex?

2010-12-28 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 Thanks, Jürgen. But as I understood bibtexall is a workaround to process
 all of biblatex's auxiliary files. So in my understanding the final output
 from LyX should be correct. It seems to me that LyX is not calling
 bibtexall. Or I'm completely wrong and should I call the aux-file manually
 via the Mac OS?

Did you change the preferences accordignly, so that bibtexall is called 
instead of bibtex?

Jürgen


Re: A path for the Bibliography files

2010-12-28 Thread Jürgen Spitzmüller
ehud.kap...@gmail.com wrote:
 I was hoping to be able to use ONE bib file, to be accessed and updated 
 by any one of the collaborators.
 Your solution will work if I were the only user.  We keep the bib files 
 in a shared folder on a Dropbox (cloud) folder,
 but, as I said, the reference to it is different in Linux and in Windows.

As adviced, use symlinks on UNIX. On Windows, people can register the shared 
folder as a root directory in the MikTeX prefs.

Jürgen


Re: underscore and quot;missing $ insertedquot;

2010-12-28 Thread Paul A . Rubin
Try adding \usepackage{underscore} in the preamble (and, of course, installing
it if you don't already have it).

/Paul



Re: A path for the Bibliography files

2010-12-28 Thread kaplae01
 Thanks.  We have deserted MikTex in favor of TexLive, which runs on 
both Linux and Windows.  I looked, but it is not obvious how to register 
a shared folder as a root directory on Texlive.


EK


On 12/28/2010 10:16 AM, Jürgen Spitzmüller wrote:

ehud.kap...@gmail.com wrote:

I was hoping to be able to use ONE bib file, to be accessed and updated
by any one of the collaborators.
Your solution will work if I were the only user.  We keep the bib files
in a shared folder on a Dropbox (cloud) folder,
but, as I said, the reference to it is different in Linux and in Windows.

As adviced, use symlinks on UNIX. On Windows, people can register the shared
folder as a root directory in the MikTeX prefs.

Jürgen


Help with translations of user interface for LyX 2.0

2010-12-28 Thread Pavel Sanda
Dear past, current and possible future LyX translators,

our development tree is slowly moving towards the first stable release of LyX 
2.0.
Except bugfixing we are not adding new features or changing the code 
substantially,
so the database of translation strings shouldn't change considerably and is
prepared for your work.

The current status of translations for the supported languages is maintained 
here:
http://www.lyx.org/I18n-trunk
Note that the languages in the 'red region', i.e. having less then 50% of 
strings
translated, will be stripped from the final release.

The up-to-date translation files can be always obtained via SVN or downloaded 
here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/po

In case you are interested to help with the language which is unsupported or 
seems
to be abandoned (see the last revised date), write first to the maintainer and 
if
there is no response you can start by reading this short introduction:
http://www.lyx.org/trac/browser/lyx-devel/trunk/README.localization

Thanks,
Pavel

PS: All previous maintainers have been CC'ed. If you do not wish to obtain mails
about LyX again, just let me know.


Re: Help with translations of user interface for LyX 2.0

2010-12-28 Thread Jürgen Spitzmüller
Pavel Sanda wrote:
 The current status of translations for the supported languages is
 maintained here: http://www.lyx.org/I18n-trunk
 Note that the languages in the 'red region', i.e. having less then 50% of
 strings translated, will be stripped from the final release.

Note that you should regularly remerge all po files and update i18n_trunc.inc, 
else this site is not really informative.

Jürgen


Re: Nice way to do inset text?

2010-12-28 Thread Tim Wescott

On 12/27/2010 05:09 PM, Tim Wescott wrote:
I'm rewriting this article: 
http://www.wescottdesign.com/articles/Friction/friction.html.  I want 
to put in examples in more or less the same way: i.e., leave all else 
as-is, but increase the margins so that the text is narrower.


I assume that I can set the margins on the fly, then set them back later.

But is there a more elegant way?  Is there a quick way to define an 
example text class?  Is there a way to make LyX recognize it?


I figured out that I wanted to use the Theorem environment, now things 
are mostly OK except for float placement (which I'll be addressing with 
another question!).


--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Float Control

2010-12-28 Thread Tim Wescott
I'm putting examples into my text, using the Theorem environment to make 
a nicely set off section of text, with labels and all.  It works very 
nice, except that the floats that I define inside of the environment are 
getting placed outside, and the floats that I define outside of the 
environment are getting placed inside.


Is there a way to say floats defined in here only go in here, floats 
defined out of here only go out of here?


TIA.

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: Nice way to do inset text?

2010-12-28 Thread Daron Wilson
Tim,I'm not sure if it is what you want, but I've attached a LyX module that gives you a "ChangeMargin" inset in the dropdown menu with Chapter, Section, Quote, and other text environments.  You can modify the module file to give you the lengths and labels as needed. Info on installing modules can be found in the "Customizing LyX" help docs.The module is taken from the hanging paragraph module included with LyX. The LaTeX code is shamelessly borrowed fromhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=chngmargonfly. It gives you a list environment so you could have a number of examples in a row. I don't have enough LaTeX know-how to figure it out on my own, so there are probably many other ways to do it better.The module should at least get you a basic paragraph style that you can change the margins as you want in both LyX and your output.Regards,Daron

changemargin.module
Description: Binary data
On 28 Dec 2010, at 08:09, Tim Wescott wrote:I'm rewriting this article: http://www.wescottdesign.com/articles/Friction/friction.html. I want to put in examples in more or less the same way: i.e., leave all else as-is, but increase the margins so that the text is narrower.I assume that I can set the margins on the fly, then set them back later.But is there a more elegant way? Is there a quick way to define an "example" text class? Is there a way to make LyX recognize it?-- Tim WescottWescott Design ServicesVoice: 503-631-7815Cell: 503-349-8432http://www.wescottdesign.com

underscore and missing $ inserted

2010-12-28 Thread Anders Wallin
Hi All,

I'm using this in my preamble.sty to include doi-links:
\newcommand*{\doi}[1]{\href{http://dx.doi.org/#1}{doi:#1}}

this works less than great when the DOI happens to include an underscore _

I then get two Missing $ inserted warnings from lyx, and no pdf output.

I would need some magic in front of the \doi command which would make
lyx/latex ignore the underscore(s) and not complain about missing $.
Any ideas?

This is lyx 1.6.5 with latex 3.1415926-1.40.10 on Ubuntu 10.04LTS

thanks,
AW


Re: A path for the Bibliography files

2010-12-28 Thread ehud.kap...@gmail.com

This advice will mean nothing to Windows users.
EK

On 12/28/2010 1:08 AM, Vito 'ZeD' De Tullio wrote:

ehud.kap...@gmail.com wrote:


I was hoping to be able to use ONE bib file, to be accessed and updated
by any one of the collaborators.
Your solution will work if I were the only user.  We keep the bib files
in a shared folder on a Dropbox (cloud) folder,
but, as I said, the reference to it is different in Linux and in Windows.

Use symlinks



--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness /Professor
*Director*, Center of Excellence for /Computational  System neuroscience,/
The Friedman Brain Institute, MSSM
*Director*, The laboratory of /Visual  Computational Neuroscience/
Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


Re: Sectioned bibliography with biblatex?

2010-12-28 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 Thanks, Jürgen. But as I understood bibtexall is a workaround to process
 all of biblatex's auxiliary files. So in my understanding the final output
 from LyX should be correct. It seems to me that LyX is not calling
 bibtexall. Or I'm completely wrong and should I call the aux-file manually
 via the Mac OS?

Did you change the preferences accordignly, so that bibtexall is called 
instead of bibtex?

Jürgen


Re: A path for the Bibliography files

2010-12-28 Thread Jürgen Spitzmüller
ehud.kap...@gmail.com wrote:
 I was hoping to be able to use ONE bib file, to be accessed and updated 
 by any one of the collaborators.
 Your solution will work if I were the only user.  We keep the bib files 
 in a shared folder on a Dropbox (cloud) folder,
 but, as I said, the reference to it is different in Linux and in Windows.

As adviced, use symlinks on UNIX. On Windows, people can register the shared 
folder as a root directory in the MikTeX prefs.

Jürgen


Re: underscore and quot;missing $ insertedquot;

2010-12-28 Thread Paul A . Rubin
Try adding \usepackage{underscore} in the preamble (and, of course, installing
it if you don't already have it).

/Paul



Re: A path for the Bibliography files

2010-12-28 Thread kaplae01
 Thanks.  We have deserted MikTex in favor of TexLive, which runs on 
both Linux and Windows.  I looked, but it is not obvious how to register 
a shared folder as a root directory on Texlive.


EK


On 12/28/2010 10:16 AM, Jürgen Spitzmüller wrote:

ehud.kap...@gmail.com wrote:

I was hoping to be able to use ONE bib file, to be accessed and updated
by any one of the collaborators.
Your solution will work if I were the only user.  We keep the bib files
in a shared folder on a Dropbox (cloud) folder,
but, as I said, the reference to it is different in Linux and in Windows.

As adviced, use symlinks on UNIX. On Windows, people can register the shared
folder as a root directory in the MikTeX prefs.

Jürgen


Help with translations of user interface for LyX 2.0

2010-12-28 Thread Pavel Sanda
Dear past, current and possible future LyX translators,

our development tree is slowly moving towards the first stable release of LyX 
2.0.
Except bugfixing we are not adding new features or changing the code 
substantially,
so the database of translation strings shouldn't change considerably and is
prepared for your work.

The current status of translations for the supported languages is maintained 
here:
http://www.lyx.org/I18n-trunk
Note that the languages in the 'red region', i.e. having less then 50% of 
strings
translated, will be stripped from the final release.

The up-to-date translation files can be always obtained via SVN or downloaded 
here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/po

In case you are interested to help with the language which is unsupported or 
seems
to be abandoned (see the last revised date), write first to the maintainer and 
if
there is no response you can start by reading this short introduction:
http://www.lyx.org/trac/browser/lyx-devel/trunk/README.localization

Thanks,
Pavel

PS: All previous maintainers have been CC'ed. If you do not wish to obtain mails
about LyX again, just let me know.


Re: Help with translations of user interface for LyX 2.0

2010-12-28 Thread Jürgen Spitzmüller
Pavel Sanda wrote:
 The current status of translations for the supported languages is
 maintained here: http://www.lyx.org/I18n-trunk
 Note that the languages in the 'red region', i.e. having less then 50% of
 strings translated, will be stripped from the final release.

Note that you should regularly remerge all po files and update i18n_trunc.inc, 
else this site is not really informative.

Jürgen


Re: Nice way to do inset text?

2010-12-28 Thread Tim Wescott

On 12/27/2010 05:09 PM, Tim Wescott wrote:
I'm rewriting this article: 
http://www.wescottdesign.com/articles/Friction/friction.html.  I want 
to put in examples in more or less the same way: i.e., leave all else 
as-is, but increase the margins so that the text is narrower.


I assume that I can set the margins on the fly, then set them back later.

But is there a more elegant way?  Is there a quick way to define an 
example text class?  Is there a way to make LyX recognize it?


I figured out that I wanted to use the Theorem environment, now things 
are mostly OK except for float placement (which I'll be addressing with 
another question!).


--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Float Control

2010-12-28 Thread Tim Wescott
I'm putting examples into my text, using the Theorem environment to make 
a nicely set off section of text, with labels and all.  It works very 
nice, except that the floats that I define inside of the environment are 
getting placed outside, and the floats that I define outside of the 
environment are getting placed inside.


Is there a way to say floats defined in here only go in here, floats 
defined out of here only go out of here?


TIA.

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: Nice way to do inset text?

2010-12-28 Thread Daron Wilson
Tim,I'm not sure if it is what you want, but I've attached a LyX module that gives you a "ChangeMargin" inset in the dropdown menu with Chapter, Section, Quote, and other text environments.   You can modify the module file to give you the lengths and labels as needed.  Info on installing modules can be found in the "Customizing LyX" help docs.The module is taken from the hanging paragraph module included with LyX. The LaTeX code is shamelessly borrowed from http://www.tex.ac.uk/cgi-bin/texfaq2html?label=chngmargonfly.  It gives you a list environment so you could have a number of examples in a row.  I don't have enough LaTeX know-how to figure it out on my own, so there are probably many other ways to do it better.The module should at least get you a basic paragraph style that you can change the margins as you want in both LyX and your output.Regards,Daron

changemargin.module
Description: Binary data
On 28 Dec 2010, at 08:09, Tim Wescott wrote:I'm rewriting this article: http://www.wescottdesign.com/articles/Friction/friction.html.  I want to put in examples in more or less the same way: i.e., leave all else as-is, but increase the margins so that the text is narrower.I assume that I can set the margins on the fly, then set them back later.But is there a more elegant way?  Is there a quick way to define an "example" text class?  Is there a way to make LyX recognize it?-- Tim WescottWescott Design ServicesVoice: 503-631-7815Cell:  503-349-8432http://www.wescottdesign.com

underscore and "missing $ inserted"

2010-12-28 Thread Anders Wallin
Hi All,

I'm using this in my preamble.sty to include doi-links:
\newcommand*{\doi}[1]{\href{http://dx.doi.org/#1}{doi:#1}}

this works less than great when the DOI happens to include an underscore "_"

I then get two "Missing $ inserted" warnings from lyx, and no pdf output.

I would need some magic in front of the \doi command which would make
lyx/latex ignore the underscore(s) and not complain about missing "$".
Any ideas?

This is lyx 1.6.5 with latex 3.1415926-1.40.10 on Ubuntu 10.04LTS

thanks,
AW


Re: A path for the Bibliography files

2010-12-28 Thread ehud.kap...@gmail.com

This advice will mean nothing to Windows users.
EK

On 12/28/2010 1:08 AM, Vito 'ZeD' De Tullio wrote:

ehud.kap...@gmail.com wrote:


I was hoping to be able to use ONE bib file, to be accessed and updated
by any one of the collaborators.
Your solution will work if I were the only user.  We keep the bib files
in a shared folder on a Dropbox (cloud) folder,
but, as I said, the reference to it is different in Linux and in Windows.

Use symlinks



--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness /Professor
*Director*, Center of Excellence for /Computational & System neuroscience,/
The Friedman Brain Institute, MSSM
*Director*, The laboratory of /Visual & Computational Neuroscience/
Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


Re: Sectioned bibliography with biblatex?

2010-12-28 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
> Thanks, Jürgen. But as I understood bibtexall is a workaround to process
> all of biblatex's auxiliary files. So in my understanding the final output
> from LyX should be correct. It seems to me that LyX is not calling
> bibtexall. Or I'm completely wrong and should I call the aux-file manually
> via the Mac OS?

Did you change the preferences accordignly, so that bibtexall is called 
instead of bibtex?

Jürgen


Re: A path for the Bibliography files

2010-12-28 Thread Jürgen Spitzmüller
ehud.kap...@gmail.com wrote:
> I was hoping to be able to use ONE bib file, to be accessed and updated 
> by any one of the collaborators.
> Your solution will work if I were the only user.  We keep the bib files 
> in a shared folder on a Dropbox (cloud) folder,
> but, as I said, the reference to it is different in Linux and in Windows.

As adviced, use symlinks on UNIX. On Windows, people can register the shared 
folder as a "root directory" in the MikTeX prefs.

Jürgen


Re: underscore and missing $ inserted

2010-12-28 Thread Paul A . Rubin
Try adding \usepackage{underscore} in the preamble (and, of course, installing
it if you don't already have it).

/Paul



Re: A path for the Bibliography files

2010-12-28 Thread kaplae01
 Thanks.  We have deserted MikTex in favor of TexLive, which runs on 
both Linux and Windows.  I looked, but it is not obvious how to register 
a shared folder as a root directory on Texlive.


EK


On 12/28/2010 10:16 AM, Jürgen Spitzmüller wrote:

ehud.kap...@gmail.com wrote:

I was hoping to be able to use ONE bib file, to be accessed and updated
by any one of the collaborators.
Your solution will work if I were the only user.  We keep the bib files
in a shared folder on a Dropbox (cloud) folder,
but, as I said, the reference to it is different in Linux and in Windows.

As adviced, use symlinks on UNIX. On Windows, people can register the shared
folder as a "root directory" in the MikTeX prefs.

Jürgen


Help with translations of user interface for LyX 2.0

2010-12-28 Thread Pavel Sanda
Dear past, current and possible future LyX translators,

our development tree is slowly moving towards the first stable release of LyX 
2.0.
Except bugfixing we are not adding new features or changing the code 
substantially,
so the database of translation strings shouldn't change considerably and is
prepared for your work.

The current status of translations for the supported languages is maintained 
here:
http://www.lyx.org/I18n-trunk
Note that the languages in the 'red region', i.e. having less then 50% of 
strings
translated, will be stripped from the final release.

The up-to-date translation files can be always obtained via SVN or downloaded 
here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/po

In case you are interested to help with the language which is unsupported or 
seems
to be abandoned (see the last revised date), write first to the maintainer and 
if
there is no response you can start by reading this short introduction:
http://www.lyx.org/trac/browser/lyx-devel/trunk/README.localization

Thanks,
Pavel

PS: All previous maintainers have been CC'ed. If you do not wish to obtain mails
about LyX again, just let me know.


Re: Help with translations of user interface for LyX 2.0

2010-12-28 Thread Jürgen Spitzmüller
Pavel Sanda wrote:
> The current status of translations for the supported languages is
> maintained here: http://www.lyx.org/I18n-trunk
> Note that the languages in the 'red region', i.e. having less then 50% of
> strings translated, will be stripped from the final release.

Note that you should regularly remerge all po files and update i18n_trunc.inc, 
else this site is not really informative.

Jürgen


Re: Nice way to do inset text?

2010-12-28 Thread Tim Wescott

On 12/27/2010 05:09 PM, Tim Wescott wrote:
I'm rewriting this article: 
http://www.wescottdesign.com/articles/Friction/friction.html.  I want 
to put in examples in more or less the same way: i.e., leave all else 
as-is, but increase the margins so that the text is narrower.


I assume that I can set the margins on the fly, then set them back later.

But is there a more elegant way?  Is there a quick way to define an 
"example" text class?  Is there a way to make LyX recognize it?


I figured out that I wanted to use the Theorem environment, now things 
are mostly OK except for float placement (which I'll be addressing with 
another question!).


--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Float Control

2010-12-28 Thread Tim Wescott
I'm putting examples into my text, using the Theorem environment to make 
a nicely set off section of text, with labels and all.  It works very 
nice, except that the floats that I define inside of the environment are 
getting placed outside, and the floats that I define outside of the 
environment are getting placed inside.


Is there a way to say "floats defined in here only go in here, floats 
defined out of here only go out of here"?


TIA.

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com