Re: Layout: vertical space before and after section

2010-01-27 Thread rgheck

On 01/27/2010 12:42 PM, Daniel Klein wrote:

Hi,

The package I am working with adds adds large spaces before and after a
section header. At the moment I add \vspace{-.5cm} before and after the
section header to equal that out. Is there a way to include the two
vspace in the definition for section in the layout file? Thanks in advance

\vspace*{-.5}
\section{Section}
\vspace*{-.5}

   
Sort of. You basically need to redefine the \section command to do what 
you want, then put that redefinition into a Preamble block in your 
layout file. Note that this is not as trivial as it may seem, however. 
The usual sort of trick:

\let\oldsec=\section
\renewcommand\section[1]{...\oldsec...}
fails, because of details of how \section works. (In particular, because 
of how \section* is handled).


Another possibility is to use the titlesec package, which helps you 
customize things like this.


All of that said, if you don't like how your class file does section 
headings, why are you using it? This is very much part of what the class 
file is.


rh



Re: Layout: vertical space before and after section

2010-01-27 Thread rgheck

On 01/27/2010 12:42 PM, Daniel Klein wrote:

Hi,

The package I am working with adds adds large spaces before and after a
section header. At the moment I add \vspace{-.5cm} before and after the
section header to equal that out. Is there a way to include the two
vspace in the definition for section in the layout file? Thanks in advance

\vspace*{-.5}
\section{Section}
\vspace*{-.5}

   
Sort of. You basically need to redefine the \section command to do what 
you want, then put that redefinition into a Preamble block in your 
layout file. Note that this is not as trivial as it may seem, however. 
The usual sort of trick:

\let\oldsec=\section
\renewcommand\section[1]{...\oldsec...}
fails, because of details of how \section works. (In particular, because 
of how \section* is handled).


Another possibility is to use the titlesec package, which helps you 
customize things like this.


All of that said, if you don't like how your class file does section 
headings, why are you using it? This is very much part of what the class 
file is.


rh



Re: Layout: vertical space before and after section

2010-01-27 Thread rgheck

On 01/27/2010 12:42 PM, Daniel Klein wrote:

Hi,

The package I am working with adds adds large spaces before and after a
section header. At the moment I add \vspace{-.5cm} before and after the
section header to equal that out. Is there a way to include the two
vspace in the definition for section in the layout file? Thanks in advance

\vspace*{-.5}
\section{Section}
\vspace*{-.5}

   
Sort of. You basically need to redefine the \section command to do what 
you want, then put that redefinition into a Preamble block in your 
layout file. Note that this is not as trivial as it may seem, however. 
The usual sort of trick:

\let\oldsec=\section
\renewcommand\section[1]{...\oldsec...}
fails, because of details of how \section works. (In particular, because 
of how \section* is handled).


Another possibility is to use the titlesec package, which helps you 
customize things like this.


All of that said, if you don't like how your class file does section 
headings, why are you using it? This is very much part of what the class 
file is.


rh



Re: How to determine where I am on a page.

2010-01-25 Thread rgheck

On 01/25/2010 04:52 AM, Jürgen Spitzmüller wrote:


% Conditional pagebreak
\def\condbreak#1{%
\vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax}

   

As a related question: What does \relax do, and when does one need it?

rh



Re: Change tracking

2010-01-25 Thread rgheck

On 01/23/2010 04:59 AM, E. Kaplan wrote:
It seems that inserting notes into a Lyx file while tracking changes 
modifies the color of some parts of the text in the pdf output to 
blue, misleading the reader to believe that the blue text is new 
insertions, while it is not.  This is true of both 1.6.4 (on Kubuntu 
9.10, 64 bit) and 1.6.5 (Windows XP).

Is this a bug?  It certainly is not a helpful feature!


Can you post an example file? What are you seeing in the LaTeX output?

rh



Re: How to determine where I am on a page.

2010-01-25 Thread rgheck

On 01/25/2010 07:59 AM, Jürgen Spitzmüller wrote:

rgheck wrote:
   

As a related question: What does \relax do, and when does one need it?
 

http://en.wikibooks.org/wiki/TeX/relax

   

Thanks. I thought it must be something like that.

rh



Re: Don't understand LaTeX Error

2010-01-25 Thread rgheck

On 01/25/2010 10:37 AM, Matthias Schmidt wrote:

Hello,

I'm working with Lyx 1.6.5 and JabRef 2.5

When I want to view the following LaTeX Source as PDF (pdflatex), I
get at the end of the first LaTeX run 4 LaTeX errors:

   
I think the problem is that you have put a footnote inside a 
subsubsection heading. This is a bad idea. Are you generating a table of 
contents? If so, then the problem is that LaTeX is trying to put the 
footnote inside the table of contents. Surely you do not want this.


rh


LaTeX Source:
\subsubsection{Die Familien Busch vor der Hardt und 
Flender\label{sub:Die-Familien-Busch}%
\footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2
im Band 2 von Matthias Schmidt überarbeitet.%
}}

1. Error:
Undefined control sequence.
Description:
  }}

The control sequence at the end of the top line of your error message
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I'
and the correct spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

2. Error:
Undefined control sequence.
Description:
  }}

The control sequence at the end of the top line of your error message
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I'
and the correct spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

3. Error:
Argument of \...@sect has an extra }.
Description:
  }}

I've run across a `}' that doesn't seem to match anything. For
example, `\def\a#1{...}' and `\a}' would produce this error. If you
simply proceed now, the `\par' that I've just inserted will cause me
to report a runaway argument that might be the root of the problem.
But if your `}' was spurious, just type `2' and it will go away.

4. Error:
Paragraph ended before \...@sect was complete.
Desription:
  }}

I suspect you've forgotten a `}', causing me to apply this control
sequence to too much text. How can we recover? My plan is to forget
the whole thing and hope for the best.


The cause of the problem seems to be the Citation Style: When I change
it
from \citet{GieslerG1990}
to \cite{GieslerG1990}
the LaTeX errors do not come! I don't understand this. What do I have
to change, that the first citation style (\citet{GieslerG1990}) will
be accepted?

   




Re: Index of descriptions

2010-01-25 Thread rgheck

On 01/25/2010 11:56 AM, Manolo Martí­nez wrote:

Dear list,

I was wondering if any of you has had to do this before, and has maybe 
programmed a script or something to automate it: I need to look for 
all descriptions in a file and insert an index entry with the 
described item as text.



Sounds to me like you want what nomenclature/glossary does.

rh



Re: Index of descriptions

2010-01-25 Thread rgheck

On 01/25/2010 02:37 PM, Manolo Martí­nez wrote:
But that does not save me from going description by description adding 
the glossary entry manually, does it?


You could redefine the description environment in such a way that it 
handled this for you, I think.


rh


Manolo

rgheck escribió:

On 01/25/2010 11:56 AM, Manolo Martí­nez wrote:

Dear list,

I was wondering if any of you has had to do this before, and has 
maybe programmed a script or something to automate it: I need to 
look for all descriptions in a file and insert an index entry with 
the described item as text.



Sounds to me like you want what nomenclature/glossary does.

rh






Re: How to determine where I am on a page.

2010-01-25 Thread rgheck

On 01/25/2010 04:52 AM, Jürgen Spitzmüller wrote:


% Conditional pagebreak
\def\condbreak#1{%
\vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax}

   

As a related question: What does \relax do, and when does one need it?

rh



Re: Change tracking

2010-01-25 Thread rgheck

On 01/23/2010 04:59 AM, E. Kaplan wrote:
It seems that inserting notes into a Lyx file while tracking changes 
modifies the color of some parts of the text in the pdf output to 
blue, misleading the reader to believe that the blue text is new 
insertions, while it is not.  This is true of both 1.6.4 (on Kubuntu 
9.10, 64 bit) and 1.6.5 (Windows XP).

Is this a bug?  It certainly is not a helpful feature!


Can you post an example file? What are you seeing in the LaTeX output?

rh



Re: How to determine where I am on a page.

2010-01-25 Thread rgheck

On 01/25/2010 07:59 AM, Jürgen Spitzmüller wrote:

rgheck wrote:
   

As a related question: What does \relax do, and when does one need it?
 

http://en.wikibooks.org/wiki/TeX/relax

   

Thanks. I thought it must be something like that.

rh



Re: Don't understand LaTeX Error

2010-01-25 Thread rgheck

On 01/25/2010 10:37 AM, Matthias Schmidt wrote:

Hello,

I'm working with Lyx 1.6.5 and JabRef 2.5

When I want to view the following LaTeX Source as PDF (pdflatex), I
get at the end of the first LaTeX run 4 LaTeX errors:

   
I think the problem is that you have put a footnote inside a 
subsubsection heading. This is a bad idea. Are you generating a table of 
contents? If so, then the problem is that LaTeX is trying to put the 
footnote inside the table of contents. Surely you do not want this.


rh


LaTeX Source:
\subsubsection{Die Familien Busch vor der Hardt und 
Flender\label{sub:Die-Familien-Busch}%
\footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2
im Band 2 von Matthias Schmidt überarbeitet.%
}}

1. Error:
Undefined control sequence.
Description:
  }}

The control sequence at the end of the top line of your error message
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I'
and the correct spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

2. Error:
Undefined control sequence.
Description:
  }}

The control sequence at the end of the top line of your error message
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I'
and the correct spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

3. Error:
Argument of \...@sect has an extra }.
Description:
  }}

I've run across a `}' that doesn't seem to match anything. For
example, `\def\a#1{...}' and `\a}' would produce this error. If you
simply proceed now, the `\par' that I've just inserted will cause me
to report a runaway argument that might be the root of the problem.
But if your `}' was spurious, just type `2' and it will go away.

4. Error:
Paragraph ended before \...@sect was complete.
Desription:
  }}

I suspect you've forgotten a `}', causing me to apply this control
sequence to too much text. How can we recover? My plan is to forget
the whole thing and hope for the best.


The cause of the problem seems to be the Citation Style: When I change
it
from \citet{GieslerG1990}
to \cite{GieslerG1990}
the LaTeX errors do not come! I don't understand this. What do I have
to change, that the first citation style (\citet{GieslerG1990}) will
be accepted?

   




Re: Index of descriptions

2010-01-25 Thread rgheck

On 01/25/2010 11:56 AM, Manolo Martí­nez wrote:

Dear list,

I was wondering if any of you has had to do this before, and has maybe 
programmed a script or something to automate it: I need to look for 
all descriptions in a file and insert an index entry with the 
described item as text.



Sounds to me like you want what nomenclature/glossary does.

rh



Re: Index of descriptions

2010-01-25 Thread rgheck

On 01/25/2010 02:37 PM, Manolo Martí­nez wrote:
But that does not save me from going description by description adding 
the glossary entry manually, does it?


You could redefine the description environment in such a way that it 
handled this for you, I think.


rh


Manolo

rgheck escribió:

On 01/25/2010 11:56 AM, Manolo Martí­nez wrote:

Dear list,

I was wondering if any of you has had to do this before, and has 
maybe programmed a script or something to automate it: I need to 
look for all descriptions in a file and insert an index entry with 
the described item as text.



Sounds to me like you want what nomenclature/glossary does.

rh






Re: How to determine where I am on a page.

2010-01-25 Thread rgheck

On 01/25/2010 04:52 AM, Jürgen Spitzmüller wrote:


% Conditional pagebreak
\def\condbreak#1{%
\vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax}

   

As a related question: What does \relax do, and when does one need it?

rh



Re: Change tracking

2010-01-25 Thread rgheck

On 01/23/2010 04:59 AM, E. Kaplan wrote:
It seems that inserting notes into a Lyx file while tracking changes 
modifies the color of some parts of the text in the pdf output to 
blue, misleading the reader to believe that the blue text is new 
insertions, while it is not.  This is true of both 1.6.4 (on Kubuntu 
9.10, 64 bit) and 1.6.5 (Windows XP).

Is this a bug?  It certainly is not a helpful feature!


Can you post an example file? What are you seeing in the LaTeX output?

rh



Re: How to determine where I am on a page.

2010-01-25 Thread rgheck

On 01/25/2010 07:59 AM, Jürgen Spitzmüller wrote:

rgheck wrote:
   

As a related question: What does \relax do, and when does one need it?
 

http://en.wikibooks.org/wiki/TeX/relax

   

Thanks. I thought it must be something like that.

rh



Re: Don't understand LaTeX Error

2010-01-25 Thread rgheck

On 01/25/2010 10:37 AM, Matthias Schmidt wrote:

Hello,

I'm working with Lyx 1.6.5 and JabRef 2.5

When I want to view the following LaTeX Source as PDF (pdflatex), I
get at the end of the first LaTeX run 4 LaTeX errors:

   
I think the problem is that you have put a footnote inside a 
subsubsection heading. This is a bad idea. Are you generating a table of 
contents? If so, then the problem is that LaTeX is trying to put the 
footnote inside the table of contents. Surely you do not want this.


rh


LaTeX Source:
\subsubsection{Die Familien Busch vor der Hardt und 
Flender\label{sub:Die-Familien-Busch}%
\footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2
im Band 2 von Matthias Schmidt überarbeitet.%
}}

1. Error:
Undefined control sequence.
Description:
  }}

The control sequence at the end of the top line of your error message
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I'
and the correct spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

2. Error:
Undefined control sequence.
Description:
  }}

The control sequence at the end of the top line of your error message
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I'
and the correct spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

3. Error:
Argument of \...@sect has an extra }.
Description:
  }}

I've run across a `}' that doesn't seem to match anything. For
example, `\def\a#1{...}' and `\a}' would produce this error. If you
simply proceed now, the `\par' that I've just inserted will cause me
to report a runaway argument that might be the root of the problem.
But if your `}' was spurious, just type `2' and it will go away.

4. Error:
Paragraph ended before \...@sect was complete.
Desription:
  }}

I suspect you've forgotten a `}', causing me to apply this control
sequence to too much text. How can we recover? My plan is to forget
the whole thing and hope for the best.


The cause of the problem seems to be the Citation Style: When I change
it
from \citet{GieslerG1990}
to \cite{GieslerG1990}
the LaTeX errors do not come! I don't understand this. What do I have
to change, that the first citation style (\citet{GieslerG1990}) will
be accepted?

   




Re: Index of descriptions

2010-01-25 Thread rgheck

On 01/25/2010 11:56 AM, Manolo Martí­nez wrote:

Dear list,

I was wondering if any of you has had to do this before, and has maybe 
programmed a script or something to automate it: I need to look for 
all descriptions in a file and insert an index entry with the 
described item as text.



Sounds to me like you want what nomenclature/glossary does.

rh



Re: Index of descriptions

2010-01-25 Thread rgheck

On 01/25/2010 02:37 PM, Manolo Martí­nez wrote:
But that does not save me from going description by description adding 
the glossary entry manually, does it?


You could redefine the description environment in such a way that it 
handled this for you, I think.


rh


Manolo

rgheck escribió:

On 01/25/2010 11:56 AM, Manolo Martí­nez wrote:

Dear list,

I was wondering if any of you has had to do this before, and has 
maybe programmed a script or something to automate it: I need to 
look for all descriptions in a file and insert an index entry with 
the described item as text.



Sounds to me like you want what nomenclature/glossary does.

rh






Re: apologies: Re: elyxer requests

2010-01-21 Thread rgheck

On 01/21/2010 12:48 PM, Steve Litt wrote:

On Thursday 21 January 2010 09:14:50 Sam Liddicott wrote:
   

Sorry guys... wrong list again

Sam

 

I've been out of the loop. Where does one ask user type questions for elyxer,
and how does one sign up?

   

http://lists.nongnu.org/mailman/listinfo/elyxer-users

rh



Re: apologies: Re: elyxer requests

2010-01-21 Thread rgheck

On 01/21/2010 12:48 PM, Steve Litt wrote:

On Thursday 21 January 2010 09:14:50 Sam Liddicott wrote:
   

Sorry guys... wrong list again

Sam

 

I've been out of the loop. Where does one ask user type questions for elyxer,
and how does one sign up?

   

http://lists.nongnu.org/mailman/listinfo/elyxer-users

rh



Re: apologies: Re: elyxer requests

2010-01-21 Thread rgheck

On 01/21/2010 12:48 PM, Steve Litt wrote:

On Thursday 21 January 2010 09:14:50 Sam Liddicott wrote:
   

Sorry guys... wrong list "again"

Sam

 

I've been out of the loop. Where does one ask user type questions for elyxer,
and how does one sign up?

   

http://lists.nongnu.org/mailman/listinfo/elyxer-users

rh



Re: Outline, Navigate, Master / Child document weirdness

2010-01-20 Thread rgheck

On 01/20/2010 05:21 AM, Maarten Rutgers wrote:

Hello,

I am having strange and irreproducible results
with Master and Child documents. I wanted to
check here first before submitting it as a bug.

I work mostly on large document in the form
of a single master document with many
included files containing chapters. With the
master document open, the outline windows
(in table of contents (TOC) view) nicely shows
all the chapters in the entire document.

For some of my projects, the entire TOC shows
up even if I only open up a child document,
and I can call up the master document from
the Navigate menu.

For other projects (perhaps more recent ones)
the TOC will only show up for the current chapter,
and the Navigate menu has no link to for the master.

In all my real document and a few test cases
I do define the master document in the document
settings for the child.

   
Are there specific documents where this happens? Are you sure the master 
is defined correctly? E.g., if you define it and then move the file, LyX 
might not be able to find the master document.


rh



Re: Fwd: Outline, Navigate, Master / Child document weirdness

2010-01-20 Thread rgheck

On 01/20/2010 10:54 AM, maarten rutgers wrote:

I set up a very simple test document with three chapters, each included in one 
master, each referring back to the master.  All four documents (1 master, and 3 
children) are all in the same directory.  Question is, is opening only one 
child even supposed to show the whole table of contents for all the documents?  
I have no idea what I did to my older document which has this nice behavior.

   
Yes. The master and its other children should be opened in the 
background, and you should see them all under View. You should also see 
the outline for the whole document.


Are all the children actually included in the master? If not, you will 
not see them, because the master doesn't know about them.


rh



Re: Outline, Navigate, Master / Child document weirdness

2010-01-20 Thread rgheck

On 01/20/2010 02:03 PM, maarten rutgers wrote:

Ok, I finally ran a reconfigure on my LyX and the problem went away.  Now 
having just one child document open without the master being open will again 
bring up all the relevant child documents.  I have not reconfigured for  along 
time.  I am surprised though that the problem manifested itself on two 
computers at the same time.

So, not much of a solution since I have no idea how to reproduce this problem 
again.  Just keep in mind that when your outline starts doing funny things, 
reconfigure your LyX

Mac: Lyx  Reconfigure
PC: Tools  Reconfigure

   

That is very strange.

rh



Re: How to create lyx layout with style file

2010-01-20 Thread rgheck

On 01/20/2010 07:58 PM, Hoikwang Kim wrote:

I am trying to create a lyx layout using pf.sty.

Basically, the pf.sty is defining a new command and I want Lyx recognizes it
and shows it in the command window.

   

Can you post the pf.sty file? What does it do?

rh



Re: Outline, Navigate, Master / Child document weirdness

2010-01-20 Thread rgheck

On 01/20/2010 05:21 AM, Maarten Rutgers wrote:

Hello,

I am having strange and irreproducible results
with Master and Child documents. I wanted to
check here first before submitting it as a bug.

I work mostly on large document in the form
of a single master document with many
included files containing chapters. With the
master document open, the outline windows
(in table of contents (TOC) view) nicely shows
all the chapters in the entire document.

For some of my projects, the entire TOC shows
up even if I only open up a child document,
and I can call up the master document from
the Navigate menu.

For other projects (perhaps more recent ones)
the TOC will only show up for the current chapter,
and the Navigate menu has no link to for the master.

In all my real document and a few test cases
I do define the master document in the document
settings for the child.

   
Are there specific documents where this happens? Are you sure the master 
is defined correctly? E.g., if you define it and then move the file, LyX 
might not be able to find the master document.


rh



Re: Fwd: Outline, Navigate, Master / Child document weirdness

2010-01-20 Thread rgheck

On 01/20/2010 10:54 AM, maarten rutgers wrote:

I set up a very simple test document with three chapters, each included in one 
master, each referring back to the master.  All four documents (1 master, and 3 
children) are all in the same directory.  Question is, is opening only one 
child even supposed to show the whole table of contents for all the documents?  
I have no idea what I did to my older document which has this nice behavior.

   
Yes. The master and its other children should be opened in the 
background, and you should see them all under View. You should also see 
the outline for the whole document.


Are all the children actually included in the master? If not, you will 
not see them, because the master doesn't know about them.


rh



Re: Outline, Navigate, Master / Child document weirdness

2010-01-20 Thread rgheck

On 01/20/2010 02:03 PM, maarten rutgers wrote:

Ok, I finally ran a reconfigure on my LyX and the problem went away.  Now 
having just one child document open without the master being open will again 
bring up all the relevant child documents.  I have not reconfigured for  along 
time.  I am surprised though that the problem manifested itself on two 
computers at the same time.

So, not much of a solution since I have no idea how to reproduce this problem 
again.  Just keep in mind that when your outline starts doing funny things, 
reconfigure your LyX

Mac: Lyx  Reconfigure
PC: Tools  Reconfigure

   

That is very strange.

rh



Re: How to create lyx layout with style file

2010-01-20 Thread rgheck

On 01/20/2010 07:58 PM, Hoikwang Kim wrote:

I am trying to create a lyx layout using pf.sty.

Basically, the pf.sty is defining a new command and I want Lyx recognizes it
and shows it in the command window.

   

Can you post the pf.sty file? What does it do?

rh



Re: Outline, Navigate, Master / Child document weirdness

2010-01-20 Thread rgheck

On 01/20/2010 05:21 AM, Maarten Rutgers wrote:

Hello,

I am having strange and irreproducible results
with Master and Child documents. I wanted to
check here first before submitting it as a bug.

I work mostly on large document in the form
of a single master document with many
included files containing chapters. With the
master document open, the outline windows
(in table of contents (TOC) view) nicely shows
all the chapters in the entire document.

For some of my projects, the entire TOC shows
up even if I only open up a child document,
and I can call up the master document from
the Navigate menu.

For other projects (perhaps more recent ones)
the TOC will only show up for the current chapter,
and the Navigate menu has no link to for the master.

In all my real document and a few test cases
I do define the master document in the document
settings for the child.

   
Are there specific documents where this happens? Are you sure the master 
is defined correctly? E.g., if you define it and then move the file, LyX 
might not be able to find the master document.


rh



Re: Fwd: Outline, Navigate, Master / Child document weirdness

2010-01-20 Thread rgheck

On 01/20/2010 10:54 AM, maarten rutgers wrote:

I set up a very simple test document with three chapters, each included in one 
master, each referring back to the master.  All four documents (1 master, and 3 
children) are all in the same directory.  Question is, is opening only one 
child even supposed to show the whole table of contents for all the documents?  
I have no idea what I did to my older document which has this nice behavior.

   
Yes. The master and its other children should be opened in the 
background, and you should see them all under View. You should also see 
the outline for the whole document.


Are all the children actually included in the master? If not, you will 
not see them, because the master doesn't know about them.


rh



Re: Outline, Navigate, Master / Child document weirdness

2010-01-20 Thread rgheck

On 01/20/2010 02:03 PM, maarten rutgers wrote:

Ok, I finally ran a reconfigure on my LyX and the problem went away.  Now 
having just one child document open without the master being open will again 
bring up all the relevant child documents.  I have not reconfigured for  along 
time.  I am surprised though that the problem manifested itself on two 
computers at the same time.

So, not much of a solution since I have no idea how to reproduce this problem 
again.  Just keep in mind that when your outline starts doing funny things, 
reconfigure your LyX

Mac: Lyx>  Reconfigure
PC: Tools>  Reconfigure

   

That is very strange.

rh



Re: How to create lyx layout with style file

2010-01-20 Thread rgheck

On 01/20/2010 07:58 PM, Hoikwang Kim wrote:

I am trying to create a lyx layout using pf.sty.

Basically, the pf.sty is defining a new command and I want Lyx recognizes it
and shows it in the command window.

   

Can you post the pf.sty file? What does it do?

rh



Re: Freeze followed by St9bad_alloc

2010-01-18 Thread rgheck

On 01/18/2010 02:10 PM, Les Denham wrote:

I have been having problems with a report I'm working on currently.

When I'm editing one of the files in the report, LyX freezes, and after
several minutes it crashes with a cryptic error message St9bad_alloc.

This occurs most frequently when I'm doing something with a figure float.  The
most recent occurrence appeared to originate when I cut a figure float from
one child document and pasted it into another. The problem appears to
originate most commonly when I change the paragraph settings from the default
left alignment to center.  It also happens much more commonly when I'm using
US Letter page size than when using A4.  On the current document it happened
from the first time when I changed page size from A4 to Letter.

I've found I can usually fix the problem once I identify which float is
causing the error by simply opening the float and making a change in the
settings.  Apparently any change works.

   
This suggests to me an infinite loop somewhere that keeps consuming 
memory until there's none left, which is when you get a memory 
allocation error. I think this is really just std::bad_alloc in disguise.


That doesn't really tell us what the problem is, though, unfortunately. 
If you could run under a debugger, we might get more info.


rh



Re: Freeze followed by St9bad_alloc

2010-01-18 Thread rgheck

On 01/18/2010 02:10 PM, Les Denham wrote:

I have been having problems with a report I'm working on currently.

When I'm editing one of the files in the report, LyX freezes, and after
several minutes it crashes with a cryptic error message St9bad_alloc.

This occurs most frequently when I'm doing something with a figure float.  The
most recent occurrence appeared to originate when I cut a figure float from
one child document and pasted it into another. The problem appears to
originate most commonly when I change the paragraph settings from the default
left alignment to center.  It also happens much more commonly when I'm using
US Letter page size than when using A4.  On the current document it happened
from the first time when I changed page size from A4 to Letter.

I've found I can usually fix the problem once I identify which float is
causing the error by simply opening the float and making a change in the
settings.  Apparently any change works.

   
This suggests to me an infinite loop somewhere that keeps consuming 
memory until there's none left, which is when you get a memory 
allocation error. I think this is really just std::bad_alloc in disguise.


That doesn't really tell us what the problem is, though, unfortunately. 
If you could run under a debugger, we might get more info.


rh



Re: Freeze followed by St9bad_alloc

2010-01-18 Thread rgheck

On 01/18/2010 02:10 PM, Les Denham wrote:

I have been having problems with a report I'm working on currently.

When I'm editing one of the files in the report, LyX freezes, and after
several minutes it crashes with a cryptic error message "St9bad_alloc".

This occurs most frequently when I'm doing something with a figure float.  The
most recent occurrence appeared to originate when I cut a figure float from
one child document and pasted it into another. The problem appears to
originate most commonly when I change the paragraph settings from the default
left alignment to center.  It also happens much more commonly when I'm using
US Letter page size than when using A4.  On the current document it happened
from the first time when I changed page size from A4 to Letter.

I've found I can usually fix the problem once I identify which float is
causing the error by simply opening the float and making a change in the
settings.  Apparently any change works.

   
This suggests to me an infinite loop somewhere that keeps consuming 
memory until there's none left, which is when you get a memory 
allocation error. I think this is really just std::bad_alloc in disguise.


That doesn't really tell us what the problem is, though, unfortunately. 
If you could run under a debugger, we might get more info.


rh



Re: LyX version control with git

2010-01-17 Thread rgheck

On 01/16/2010 05:32 PM, Vincent van Ravesteijn wrote:

Christoph Pospiech schreef:

Hi,

as of version 1.6.4, LyX has a pull down menu File - Version 
control, which

apparently supports CVS and SVN. Any plans to support git as well ?

Thanks !

Christoph Pospiech

Not really I think, but you can define your own commands by using the 
vc-command lfuns in the stdmenus file.


Or we could say: Pavel doesn't seem to be planning to do it, but if 
anyone did want to do it it likely wouldn't be that hard. It's only a 
handful of routines that have to be written, and you can mimic the ones 
for svn, etc.


Richard



Re: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 11:37 AM, Peter Bradley wrote:

Rob Oakes wrote:

Hi Peter,

It's important to make sure that you are using the numbered styles 
for your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note 
the asterisk) they will appear in your document map but not in your 
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes


Yes.  Thanks Rob, and others.  That's the fix.

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the 
Sections number sequentially regardless of their location within 
Parts.  So I get:


Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside 
each Part?



This is a LaTeX thing. IN the preamble:

\makeatletter

\...@addtoreset{section}{part}

\makeatother
Or you can use the chngcntr package, which is available from CTAN, if 
you don't have it.



Note that this will not change the display in LyX. To do that, you need 
to redefine the section counter in LyX, probably using a module. See 
Chapter 5 of the Customization manual. This is a two-liner.


rh



Re: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 12:03 PM, stephen's mailinglist account wrote:

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the Sections
number sequentially regardless of their location within Parts.  So I get:

Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each
Part?

RTFM is a suitable answer if it comes with a reference to the appropriate
part of the manual :)

Thanks again

Cheers


Peter


 

I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?

   

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh




Re: Problem with the dash in the listings

2010-01-17 Thread rgheck

On 01/17/2010 01:03 PM, Piotrek wrote:

Hi. I'm trying to use some listing with character - inside.
[snip]

   
It's just a guess, but you could try changing the typewriter font under 
DocumentSettingsFont.


rh



Re: Lyx 1.6.5

2010-01-17 Thread rgheck

On 01/17/2010 08:06 PM, E. Kaplan wrote:

What am I doing wrong?

I tried to install Lyx 1.6.5.1 for Kubuntu 64 bits using the deb 
package from Debian.
I uninstalled 1.6.4, and installed the two deb packages: lyx 1.6.5.1 
and lyx-common 1.6.5.1.
I kept getting an error message: Dependency is not satisfiable: 
libqtcore4
I reinstalled libqtcore4, but it did not help.  I had to re-install 
lyx 1.6.4  ;-(


You should report this kind of issue to the debian lists. Though I think 
the debian maintainers read this list, they manage the packages, not us.


rh



Re: LyX version control with git

2010-01-17 Thread rgheck

On 01/16/2010 05:32 PM, Vincent van Ravesteijn wrote:

Christoph Pospiech schreef:

Hi,

as of version 1.6.4, LyX has a pull down menu File - Version 
control, which

apparently supports CVS and SVN. Any plans to support git as well ?

Thanks !

Christoph Pospiech

Not really I think, but you can define your own commands by using the 
vc-command lfuns in the stdmenus file.


Or we could say: Pavel doesn't seem to be planning to do it, but if 
anyone did want to do it it likely wouldn't be that hard. It's only a 
handful of routines that have to be written, and you can mimic the ones 
for svn, etc.


Richard



Re: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 11:37 AM, Peter Bradley wrote:

Rob Oakes wrote:

Hi Peter,

It's important to make sure that you are using the numbered styles 
for your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note 
the asterisk) they will appear in your document map but not in your 
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes


Yes.  Thanks Rob, and others.  That's the fix.

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the 
Sections number sequentially regardless of their location within 
Parts.  So I get:


Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside 
each Part?



This is a LaTeX thing. IN the preamble:

\makeatletter

\...@addtoreset{section}{part}

\makeatother
Or you can use the chngcntr package, which is available from CTAN, if 
you don't have it.



Note that this will not change the display in LyX. To do that, you need 
to redefine the section counter in LyX, probably using a module. See 
Chapter 5 of the Customization manual. This is a two-liner.


rh



Re: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 12:03 PM, stephen's mailinglist account wrote:

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the Sections
number sequentially regardless of their location within Parts.  So I get:

Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each
Part?

RTFM is a suitable answer if it comes with a reference to the appropriate
part of the manual :)

Thanks again

Cheers


Peter


 

I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?

   

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh




Re: Problem with the dash in the listings

2010-01-17 Thread rgheck

On 01/17/2010 01:03 PM, Piotrek wrote:

Hi. I'm trying to use some listing with character - inside.
[snip]

   
It's just a guess, but you could try changing the typewriter font under 
DocumentSettingsFont.


rh



Re: Lyx 1.6.5

2010-01-17 Thread rgheck

On 01/17/2010 08:06 PM, E. Kaplan wrote:

What am I doing wrong?

I tried to install Lyx 1.6.5.1 for Kubuntu 64 bits using the deb 
package from Debian.
I uninstalled 1.6.4, and installed the two deb packages: lyx 1.6.5.1 
and lyx-common 1.6.5.1.
I kept getting an error message: Dependency is not satisfiable: 
libqtcore4
I reinstalled libqtcore4, but it did not help.  I had to re-install 
lyx 1.6.4  ;-(


You should report this kind of issue to the debian lists. Though I think 
the debian maintainers read this list, they manage the packages, not us.


rh



Re: LyX version control with git

2010-01-17 Thread rgheck

On 01/16/2010 05:32 PM, Vincent van Ravesteijn wrote:

Christoph Pospiech schreef:

Hi,

as of version 1.6.4, LyX has a pull down menu "File -> Version 
control", which

apparently supports CVS and SVN. Any plans to support git as well ?

Thanks !

Christoph Pospiech

Not really I think, but you can define your own commands by using the 
vc-command lfuns in the stdmenus file.


Or we could say: Pavel doesn't seem to be planning to do it, but if 
anyone did want to do it it likely wouldn't be that hard. It's only a 
handful of routines that have to be written, and you can mimic the ones 
for svn, etc.


Richard



Re: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 11:37 AM, Peter Bradley wrote:

Rob Oakes wrote:

Hi Peter,

It's important to make sure that you are using the numbered styles 
for your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note 
the asterisk) they will appear in your document map but not in your 
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes


Yes.  Thanks Rob, and others.  That's the fix.

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the 
Sections number sequentially regardless of their location within 
Parts.  So I get:


Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside 
each Part?



This is a LaTeX thing. IN the preamble:

\makeatletter

\...@addtoreset{section}{part}

\makeatother
Or you can use the chngcntr package, which is available from CTAN, if 
you don't have it.



Note that this will not change the display in LyX. To do that, you need 
to redefine the section counter in LyX, probably using a module. See 
Chapter 5 of the Customization manual. This is a two-liner.


rh



Re: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 12:03 PM, stephen's mailinglist account wrote:

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the Sections
number sequentially regardless of their location within Parts.  So I get:

Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each
Part?

RTFM is a suitable answer if it comes with a reference to the appropriate
part of the manual :)

Thanks again

Cheers


Peter


 

I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?

   

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh




Re: Problem with the dash in the listings

2010-01-17 Thread rgheck

On 01/17/2010 01:03 PM, Piotrek wrote:

Hi. I'm trying to use some listing with character "-" inside.
[snip]

   
It's just a guess, but you could try changing the typewriter font under 
Document>Settings>Font.


rh



Re: > Lyx 1.6.5

2010-01-17 Thread rgheck

On 01/17/2010 08:06 PM, E. Kaplan wrote:

What am I doing wrong?

I tried to install Lyx 1.6.5.1 for Kubuntu 64 bits using the deb 
package from Debian.
I uninstalled 1.6.4, and installed the two deb packages: lyx 1.6.5.1 
and lyx-common 1.6.5.1.
I kept getting an error message: Dependency is not satisfiable: 
libqtcore4
I reinstalled libqtcore4, but it did not help.  I had to re-install 
lyx 1.6.4  ;-(


You should report this kind of issue to the debian lists. Though I think 
the debian maintainers read this list, they manage the packages, not us.


rh



Re: LyX and the Humanities

2010-01-16 Thread rgheck

On 01/16/2010 06:37 AM, Guido Milanese wrote:

Dear all, I am writing a book on LaTeX and LyX in the field of the
Humanities. I read the document about LyX and linguistics and also the
HumanitiesLyX section in the wiki pages; can someone kindly point out
any other good article about LyX in the Humanities?

   
I don't know of any, but there are plenty of humanists around the list 
if you need to ask questions. E.g., I'm a philosopher, and I know of two 
others who regularly contribute to the list.


rh



Re: LyX and the Humanities

2010-01-16 Thread rgheck

On 01/16/2010 06:37 AM, Guido Milanese wrote:

Dear all, I am writing a book on LaTeX and LyX in the field of the
Humanities. I read the document about LyX and linguistics and also the
HumanitiesLyX section in the wiki pages; can someone kindly point out
any other good article about LyX in the Humanities?

   
I don't know of any, but there are plenty of humanists around the list 
if you need to ask questions. E.g., I'm a philosopher, and I know of two 
others who regularly contribute to the list.


rh



Re: LyX and the Humanities

2010-01-16 Thread rgheck

On 01/16/2010 06:37 AM, Guido Milanese wrote:

Dear all, I am writing a book on LaTeX and LyX in the field of the
Humanities. I read the document about LyX and linguistics and also the
"HumanitiesLyX" section in the wiki pages; can someone kindly point out
any other good article about LyX in the Humanities?

   
I don't know of any, but there are plenty of humanists around the list 
if you need to ask questions. E.g., I'm a philosopher, and I know of two 
others who regularly contribute to the list.


rh



Re: Macro with comma in argument

2010-01-15 Thread rgheck

On 01/15/2010 05:02 AM, Pascal Boehm wrote:

Dear Lyx-Users!

I use the following macro:

\newcommand{\ket}[1]{|#1\rangle}

This should produce stuff like |F,mF  with the argument being 'F,mF'

My problem is: entering the comma, Lyx leaves the argument-focus of \ket
This means, Lyx produces |F,mF (when I compile with pdfLatex)

Does andybody know what I can do?

   

I don't see this. See the attached.

rh

#LyX 1.6.4svn created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass paper
\begin_preamble
\usepackage{heck}
\end_preamble
\use_default_options false
\language english
\inputencoding auto
\font_roman times
\font_sans helvet
\font_typewriter courier
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 11
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry false
\use_amsmath 1
\use_esint 0
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Standard
\begin_inset FormulaMacro
\renewcommand{\ket}[1]{|#1\rangle}
\end_inset


\end_layout

\begin_layout Standard
\begin_inset Formula $\ket{a,b}$
\end_inset


\end_layout

\end_body
\end_document


Re: Macro with comma in argument

2010-01-15 Thread rgheck

On 01/15/2010 05:02 AM, Pascal Boehm wrote:

Dear Lyx-Users!

I use the following macro:

\newcommand{\ket}[1]{|#1\rangle}

This should produce stuff like |F,mF  with the argument being 'F,mF'

My problem is: entering the comma, Lyx leaves the argument-focus of \ket
This means, Lyx produces |F,mF (when I compile with pdfLatex)

Does andybody know what I can do?

   

I don't see this. See the attached.

rh

#LyX 1.6.4svn created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass paper
\begin_preamble
\usepackage{heck}
\end_preamble
\use_default_options false
\language english
\inputencoding auto
\font_roman times
\font_sans helvet
\font_typewriter courier
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 11
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry false
\use_amsmath 1
\use_esint 0
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Standard
\begin_inset FormulaMacro
\renewcommand{\ket}[1]{|#1\rangle}
\end_inset


\end_layout

\begin_layout Standard
\begin_inset Formula $\ket{a,b}$
\end_inset


\end_layout

\end_body
\end_document


Re: Macro with comma in argument

2010-01-15 Thread rgheck

On 01/15/2010 05:02 AM, Pascal Boehm wrote:

Dear Lyx-Users!

I use the following macro:

\newcommand{\ket}[1]{|#1\rangle}

This should produce stuff like |F,mF>  with the argument being 'F,mF'

My problem is: entering the comma, Lyx leaves the argument-focus of \ket
This means, Lyx produces |F>,mF (when I compile with pdfLatex)

Does andybody know what I can do?

   

I don't see this. See the attached.

rh

#LyX 1.6.4svn created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass paper
\begin_preamble
\usepackage{heck}
\end_preamble
\use_default_options false
\language english
\inputencoding auto
\font_roman times
\font_sans helvet
\font_typewriter courier
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 11
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry false
\use_amsmath 1
\use_esint 0
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Standard
\begin_inset FormulaMacro
\renewcommand{\ket}[1]{|#1\rangle}
\end_inset


\end_layout

\begin_layout Standard
\begin_inset Formula $\ket{a,b}$
\end_inset


\end_layout

\end_body
\end_document


Re: Layout file for ASME conference paper

2010-01-13 Thread rgheck

On 01/12/2010 08:59 PM, Zack Norwood wrote:

Hello Lyx users.  I'd like to format a paper I wrote in Lyx for an ASME
conference publication.  The ASME provides a latex template, so I'm trying
to use that template file in Lyx using Mac OSX 10.5 and Lyx version 1.6.5
with TexLive2009.  So far I have copied the provided asme2e.bib, asme2e.cls,
and asme2e.bst files to Library/texmf/tex/latex/asme in my local users home
directory.  I then ran a texhash from the admin account to include the latex
file.  So, my question is, it appears Lyx now requires a layout file.

   
Yes. There must be a layout file for any class file you want to use. 
Otherwise, LyX knows nothing about it.



Unfortunately, I have no experience writing these, and the asme2e.cls file
doesn't appear to have a base class, which makes this process difficult from
what I can tell reading part 5 of the Lyx Customization manual.

   

More difficult, yes.


So, does anyone have an existing asme2e.layout file or can you point me to 
someone
that does...or am I misunderstanding the apparent difficulty of writing
a layout file from scratch?  The relevant files for the template can be
found here: http://iel.ucdavis.edu/code/ASME/conf-1.7b.html

   
I had a quick look at this, and it seems to me that this is more or less 
a version of article.cls. So you might start by pretending that it does 
extend article.cls---copy article.layout, etc---and work from there. 
There will likely be some environments or commands you will want to add, 
but perhaps not many. The attempt to import with the new layout will 
tell you: You'll get unrecognized commands.


rh



Re: Layout file for ASME conference paper

2010-01-13 Thread rgheck

On 01/12/2010 08:59 PM, Zack Norwood wrote:

Hello Lyx users.  I'd like to format a paper I wrote in Lyx for an ASME
conference publication.  The ASME provides a latex template, so I'm trying
to use that template file in Lyx using Mac OSX 10.5 and Lyx version 1.6.5
with TexLive2009.  So far I have copied the provided asme2e.bib, asme2e.cls,
and asme2e.bst files to Library/texmf/tex/latex/asme in my local users home
directory.  I then ran a texhash from the admin account to include the latex
file.  So, my question is, it appears Lyx now requires a layout file.

   
Yes. There must be a layout file for any class file you want to use. 
Otherwise, LyX knows nothing about it.



Unfortunately, I have no experience writing these, and the asme2e.cls file
doesn't appear to have a base class, which makes this process difficult from
what I can tell reading part 5 of the Lyx Customization manual.

   

More difficult, yes.


So, does anyone have an existing asme2e.layout file or can you point me to 
someone
that does...or am I misunderstanding the apparent difficulty of writing
a layout file from scratch?  The relevant files for the template can be
found here: http://iel.ucdavis.edu/code/ASME/conf-1.7b.html

   
I had a quick look at this, and it seems to me that this is more or less 
a version of article.cls. So you might start by pretending that it does 
extend article.cls---copy article.layout, etc---and work from there. 
There will likely be some environments or commands you will want to add, 
but perhaps not many. The attempt to import with the new layout will 
tell you: You'll get unrecognized commands.


rh



Re: Layout file for ASME conference paper

2010-01-13 Thread rgheck

On 01/12/2010 08:59 PM, Zack Norwood wrote:

Hello Lyx users.  I'd like to format a paper I wrote in Lyx for an ASME
conference publication.  The ASME provides a latex template, so I'm trying
to use that template file in Lyx using Mac OSX 10.5 and Lyx version 1.6.5
with TexLive2009.  So far I have copied the provided asme2e.bib, asme2e.cls,
and asme2e.bst files to Library/texmf/tex/latex/asme in my local users home
directory.  I then ran a texhash from the admin account to include the latex
file.  So, my question is, it appears Lyx now requires a layout file.

   
Yes. There must be a layout file for any class file you want to use. 
Otherwise, LyX knows nothing about it.



Unfortunately, I have no experience writing these, and the asme2e.cls file
doesn't appear to have a base class, which makes this process difficult from
what I can tell reading part 5 of the Lyx Customization manual.

   

More difficult, yes.


So, does anyone have an existing asme2e.layout file or can you point me to 
someone
that does...or am I misunderstanding the apparent difficulty of writing
a layout file from scratch?  The relevant files for the template can be
found here: http://iel.ucdavis.edu/code/ASME/conf-1.7b.html

   
I had a quick look at this, and it seems to me that this is more or less 
a version of article.cls. So you might start by pretending that it does 
extend article.cls---copy article.layout, etc---and work from there. 
There will likely be some environments or commands you will want to add, 
but perhaps not many. The attempt to import with the new layout will 
tell you: You'll get unrecognized commands.


rh



Re: Using a custom style in Lyx1.6.5

2010-01-12 Thread rgheck

On 01/12/2010 09:56 AM, Guenter Milde wrote:

On 2010-01-12, Nick Gaens wrote:
   

I'm currently trying to tex2lyx the file instructions.tex, which can
be found here: http://www.acm.org/publications/latex_style/, but I'm
having a hard time adding the files acmtrans2m.cls and acmtrans.bst
to my Lyx installation folder.
 

You can keep the LaTeX documentclass files in the TEXPATH but for this to
work you need a LyX layout file. This (and how to write one) is explained
in the Customization manual (HelpCustomization).

   
And, unfortunately, this class does not seem to be based on any other 
class. Still, the basic environments provided look a lot like 
article.cls, so you could try copying article.layout to your local 
layout directory, renaming it to acmtrans2m.layout, and then changing 
the configuration line to read: \DeclareLaTeXClass{acmtrans2m}. That 
might get you 95% of the way.


rh



Re: Using a custom style in Lyx1.6.5

2010-01-12 Thread rgheck

On 01/12/2010 09:56 AM, Guenter Milde wrote:

On 2010-01-12, Nick Gaens wrote:
   

I'm currently trying to tex2lyx the file instructions.tex, which can
be found here: http://www.acm.org/publications/latex_style/, but I'm
having a hard time adding the files acmtrans2m.cls and acmtrans.bst
to my Lyx installation folder.
 

You can keep the LaTeX documentclass files in the TEXPATH but for this to
work you need a LyX layout file. This (and how to write one) is explained
in the Customization manual (HelpCustomization).

   
And, unfortunately, this class does not seem to be based on any other 
class. Still, the basic environments provided look a lot like 
article.cls, so you could try copying article.layout to your local 
layout directory, renaming it to acmtrans2m.layout, and then changing 
the configuration line to read: \DeclareLaTeXClass{acmtrans2m}. That 
might get you 95% of the way.


rh



Re: Using a custom style in Lyx1.6.5

2010-01-12 Thread rgheck

On 01/12/2010 09:56 AM, Guenter Milde wrote:

On 2010-01-12, Nick Gaens wrote:
   

I'm currently trying to "tex2lyx" the file instructions.tex, which can
be found here: http://www.acm.org/publications/latex_style/, but I'm
having a hard time adding the files "acmtrans2m.cls" and "acmtrans.bst"
to my Lyx installation folder.
 

You can keep the LaTeX documentclass files in the TEXPATH but for this to
work you need a LyX layout file. This (and how to write one) is explained
in the Customization manual (Help>Customization).

   
And, unfortunately, this class does not seem to be based on any other 
class. Still, the basic environments provided look a lot like 
article.cls, so you could try copying article.layout to your local 
layout directory, renaming it to acmtrans2m.layout, and then changing 
the configuration line to read: \DeclareLaTeXClass{acmtrans2m}. That 
might get you 95% of the way.


rh



Re: Bibliography problem and [?] questionmarks

2010-01-07 Thread rgheck

On 01/07/2010 09:23 AM, weremoose wrote:

Hello,

I am a mac user (currently on 10.6.2) and I decided to use LyX to write my
thesis as it looked very promising. So I have LyX 1.6.5 installed and
started testing it, it's very convenient and gets me nice looking text even
with my drafts. Everything good so far. I found that I can use Zotero for my
references, installed it along with lyz, everything works fine now and my
citations are pushed to LyX.

The thing is, there must be some kind of bug and no matter how much I tried
I can't get it to work. I've been trying for more than a week and I feel
quite stupid... I am inserting my BibTex generated bibliography at the end
of my document, I select my database file, I add citations, fine, but the
citations just don't want to show up in my pdf file. I tried changing the
document style, nothing (I am using book-komma-script) I tried the
bibliography preferences with all the citation options, I tried latex
export, I tried dvi preview, I tried pdf preview, all I get is instead of my
references a questionmark [?] or ? depending on the citation preferences and
no bibliography in the end. I tried to use different citation styles as
well, it is still not working.

   
One common reason for this is that the BibTeX file has the wrong sort of 
encoding, in particular, that you are somewhere using Unicode characters 
that are confusing the BibTeX processor. This is especially likely if 
you have tried exporting to LaTeX and running everything manually. 
Indeed, that is the best way to debug this kind of problem: Export to 
LaTeX; run the LaTeX sequence manually from a terminal (latex myfile; 
then bibtex myfile; then latex myfile; then latex myfile again, if 
necessary) and watch for error messages. You will see undefined 
citations the first latex run; this is normal and is why you need to run 
bibtex. It's on the bibtex run that you'll see what's causing the 
problem. As I said, quite possibly encoding issues.


If things DO work properly when you run things manually, then the 
problem is elsewhere. It could be that LyX isn't finding your 
bibliography file; it could be that lyz (which is very know) is doing 
something wrong.


Richard



Re: Lyx in Fedora 12

2010-01-07 Thread rgheck

On 01/07/2010 04:55 PM, Dr. Gyorgy Pota wrote:

Dear Manoj,

Unfortunately, I had no time  to contact Fedora packagers. I thought 
it was more important to write to the Lyx users first.


No, this is entirely a Fedora issue. It should be sufficient to post to 
fedora-l...@redhat.com, which, if you're a Fedora user, you should 
probably subscribe to, anyway.


rh



Re: Lyx in Fedora 12

2010-01-07 Thread rgheck

On 01/07/2010 05:18 PM, José Matos wrote:

On Thursday 07 January 2010 21:55:40 Dr. Gyorgy Pota wrote:
   

Dear Manoj,

Unfortunately, I had no time  to contact Fedora packagers. I thought it
was more important to write to the Lyx users first.
 

I read this list. :-)

I suspect (remember?) that this issue has been discussed before.

The fix to your problem would be for the lyx package to require ImageMagick
(from where convert comes from).

The point made last time this was discussed, if my memory serves me well, was
that at this point rpm does not have week dependencies (something like
Suggests and Enhances that the debian package format has).

To put this into perspective this tools is just one of the several that lyx
can use if present. Other examples are ht2html, elyxer (when we package this
in fedora), inkscape, tgif, xfig, grace and a lot of other converters that can
be used to convert from one format to the other when they are present.

   
But ImageMagick, if I'm not mistaken, is the default converter that we 
use not just for output but also for converting images to formats we can 
display in LyX. It's the converter of last resort. For that reason, it 
seems to me to make good sense actually to require it.


rh



Re: Bibliography problem and [?] questionmarks

2010-01-07 Thread rgheck

On 01/07/2010 09:23 AM, weremoose wrote:

Hello,

I am a mac user (currently on 10.6.2) and I decided to use LyX to write my
thesis as it looked very promising. So I have LyX 1.6.5 installed and
started testing it, it's very convenient and gets me nice looking text even
with my drafts. Everything good so far. I found that I can use Zotero for my
references, installed it along with lyz, everything works fine now and my
citations are pushed to LyX.

The thing is, there must be some kind of bug and no matter how much I tried
I can't get it to work. I've been trying for more than a week and I feel
quite stupid... I am inserting my BibTex generated bibliography at the end
of my document, I select my database file, I add citations, fine, but the
citations just don't want to show up in my pdf file. I tried changing the
document style, nothing (I am using book-komma-script) I tried the
bibliography preferences with all the citation options, I tried latex
export, I tried dvi preview, I tried pdf preview, all I get is instead of my
references a questionmark [?] or ? depending on the citation preferences and
no bibliography in the end. I tried to use different citation styles as
well, it is still not working.

   
One common reason for this is that the BibTeX file has the wrong sort of 
encoding, in particular, that you are somewhere using Unicode characters 
that are confusing the BibTeX processor. This is especially likely if 
you have tried exporting to LaTeX and running everything manually. 
Indeed, that is the best way to debug this kind of problem: Export to 
LaTeX; run the LaTeX sequence manually from a terminal (latex myfile; 
then bibtex myfile; then latex myfile; then latex myfile again, if 
necessary) and watch for error messages. You will see undefined 
citations the first latex run; this is normal and is why you need to run 
bibtex. It's on the bibtex run that you'll see what's causing the 
problem. As I said, quite possibly encoding issues.


If things DO work properly when you run things manually, then the 
problem is elsewhere. It could be that LyX isn't finding your 
bibliography file; it could be that lyz (which is very know) is doing 
something wrong.


Richard



Re: Lyx in Fedora 12

2010-01-07 Thread rgheck

On 01/07/2010 04:55 PM, Dr. Gyorgy Pota wrote:

Dear Manoj,

Unfortunately, I had no time  to contact Fedora packagers. I thought 
it was more important to write to the Lyx users first.


No, this is entirely a Fedora issue. It should be sufficient to post to 
fedora-l...@redhat.com, which, if you're a Fedora user, you should 
probably subscribe to, anyway.


rh



Re: Lyx in Fedora 12

2010-01-07 Thread rgheck

On 01/07/2010 05:18 PM, José Matos wrote:

On Thursday 07 January 2010 21:55:40 Dr. Gyorgy Pota wrote:
   

Dear Manoj,

Unfortunately, I had no time  to contact Fedora packagers. I thought it
was more important to write to the Lyx users first.
 

I read this list. :-)

I suspect (remember?) that this issue has been discussed before.

The fix to your problem would be for the lyx package to require ImageMagick
(from where convert comes from).

The point made last time this was discussed, if my memory serves me well, was
that at this point rpm does not have week dependencies (something like
Suggests and Enhances that the debian package format has).

To put this into perspective this tools is just one of the several that lyx
can use if present. Other examples are ht2html, elyxer (when we package this
in fedora), inkscape, tgif, xfig, grace and a lot of other converters that can
be used to convert from one format to the other when they are present.

   
But ImageMagick, if I'm not mistaken, is the default converter that we 
use not just for output but also for converting images to formats we can 
display in LyX. It's the converter of last resort. For that reason, it 
seems to me to make good sense actually to require it.


rh



Re: Bibliography problem and [?] questionmarks

2010-01-07 Thread rgheck

On 01/07/2010 09:23 AM, weremoose wrote:

Hello,

I am a mac user (currently on 10.6.2) and I decided to use LyX to write my
thesis as it looked very promising. So I have LyX 1.6.5 installed and
started testing it, it's very convenient and gets me nice looking text even
with my drafts. Everything good so far. I found that I can use Zotero for my
references, installed it along with lyz, everything works fine now and my
citations are pushed to LyX.

The thing is, there must be some kind of bug and no matter how much I tried
I can't get it to work. I've been trying for more than a week and I feel
quite stupid... I am inserting my BibTex generated bibliography at the end
of my document, I select my database file, I add citations, fine, but the
citations just don't want to show up in my pdf file. I tried changing the
document style, nothing (I am using book-komma-script) I tried the
bibliography preferences with all the citation options, I tried latex
export, I tried dvi preview, I tried pdf preview, all I get is instead of my
references a questionmark [?] or ? depending on the citation preferences and
no bibliography in the end. I tried to use different citation styles as
well, it is still not working.

   
One common reason for this is that the BibTeX file has the wrong sort of 
encoding, in particular, that you are somewhere using Unicode characters 
that are confusing the BibTeX processor. This is especially likely if 
you have tried exporting to LaTeX and running everything manually. 
Indeed, that is the best way to debug this kind of problem: Export to 
LaTeX; run the LaTeX sequence manually from a terminal ("latex myfile"; 
then "bibtex myfile"; then "latex myfile"; then "latex myfile" again, if 
necessary) and watch for error messages. You will see undefined 
citations the first latex run; this is normal and is why you need to run 
bibtex. It's on the bibtex run that you'll see what's causing the 
problem. As I said, quite possibly encoding issues.


If things DO work properly when you run things manually, then the 
problem is elsewhere. It could be that LyX isn't finding your 
bibliography file; it could be that lyz (which is very know) is doing 
something wrong.


Richard



Re: Lyx in Fedora 12

2010-01-07 Thread rgheck

On 01/07/2010 04:55 PM, Dr. Gyorgy Pota wrote:

Dear Manoj,

Unfortunately, I had no time  to contact Fedora packagers. I thought 
it was more important to write to the Lyx users first.


No, this is entirely a Fedora issue. It should be sufficient to post to 
fedora-l...@redhat.com, which, if you're a Fedora user, you should 
probably subscribe to, anyway.


rh



Re: Lyx in Fedora 12

2010-01-07 Thread rgheck

On 01/07/2010 05:18 PM, José Matos wrote:

On Thursday 07 January 2010 21:55:40 Dr. Gyorgy Pota wrote:
   

Dear Manoj,

Unfortunately, I had no time  to contact Fedora packagers. I thought it
was more important to write to the Lyx users first.
 

I read this list. :-)

I suspect (remember?) that this issue has been discussed before.

The fix to your problem would be for the lyx package to require ImageMagick
(from where convert comes from).

The point made last time this was discussed, if my memory serves me well, was
that at this point rpm does not have week dependencies (something like
Suggests and Enhances that the debian package format has).

To put this into perspective this tools is just one of the several that lyx
can use if present. Other examples are ht2html, elyxer (when we package this
in fedora), inkscape, tgif, xfig, grace and a lot of other converters that can
be used to convert from one format to the other when they are present.

   
But ImageMagick, if I'm not mistaken, is the "default converter" that we 
use not just for output but also for converting images to formats we can 
display in LyX. It's the "converter of last resort". For that reason, it 
seems to me to make good sense actually to require it.


rh



Re: 2 examples in series

2010-01-06 Thread rgheck

On 01/06/2010 08:37 PM, Uwe Stöhr wrote:

Am 07.01.2010 02:22, schrieb iustifico:


But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for 
Example 2.


At the end of Example 1 press RETURN, then choose --Separator-- in 
the drop-down box where you specify the environments (section, address 
and the like).


The separator environment was specially designed for cases like yours.

Yes, the problem is that LyX wants to allow you to have multiple 
paragraphs in the example environment. But then it isn't so easy to have 
multiple consecutive environments. The --Separator-- allows this.


rh



Re: 2 examples in series

2010-01-06 Thread rgheck

On 01/06/2010 08:37 PM, Uwe Stöhr wrote:

Am 07.01.2010 02:22, schrieb iustifico:


But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for 
Example 2.


At the end of Example 1 press RETURN, then choose --Separator-- in 
the drop-down box where you specify the environments (section, address 
and the like).


The separator environment was specially designed for cases like yours.

Yes, the problem is that LyX wants to allow you to have multiple 
paragraphs in the example environment. But then it isn't so easy to have 
multiple consecutive environments. The --Separator-- allows this.


rh



Re: 2 examples in series

2010-01-06 Thread rgheck

On 01/06/2010 08:37 PM, Uwe Stöhr wrote:

Am 07.01.2010 02:22, schrieb iustifico:


But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for 
Example 2.


At the end of Example 1 press RETURN, then choose "--Separator--" in 
the drop-down box where you specify the environments (section, address 
and the like).


The separator environment was specially designed for cases like yours.

Yes, the problem is that LyX wants to allow you to have multiple 
paragraphs in the example environment. But then it isn't so easy to have 
multiple consecutive environments. The --Separator-- allows this.


rh



Re: Snippets Functionality

2010-01-05 Thread rgheck

On 12/31/2009 05:15 PM, Karl Winterling wrote:

Hi,

Does anyone know of a way to use Textmate-style snippets in LyX? It
would speed up entering complex math formulas.

   
I guess the answer is no, since no-one has posted anything. BUT: If 
you're really entering a lot of complex math formulas in such a way that 
these snippets would be helpful, then you should probably be defining a 
math macro, anyway. If that doesn't work in a particular case, then make 
a special LyX file that just holds the bits you want. Then copy and 
paste out of that.


rh



Re: Snippets Functionality

2010-01-05 Thread rgheck

On 12/31/2009 05:15 PM, Karl Winterling wrote:

Hi,

Does anyone know of a way to use Textmate-style snippets in LyX? It
would speed up entering complex math formulas.

   
I guess the answer is no, since no-one has posted anything. BUT: If 
you're really entering a lot of complex math formulas in such a way that 
these snippets would be helpful, then you should probably be defining a 
math macro, anyway. If that doesn't work in a particular case, then make 
a special LyX file that just holds the bits you want. Then copy and 
paste out of that.


rh



Re: Snippets Functionality

2010-01-05 Thread rgheck

On 12/31/2009 05:15 PM, Karl Winterling wrote:

Hi,

Does anyone know of a way to use Textmate-style snippets in LyX? It
would speed up entering complex math formulas.

   
I guess the answer is "no", since no-one has posted anything. BUT: If 
you're really entering a lot of complex math formulas in such a way that 
these snippets would be helpful, then you should probably be defining a 
math macro, anyway. If that doesn't work in a particular case, then make 
a special LyX file that just holds the bits you want. Then copy and 
paste out of that.


rh



Re: enumeration spacing

2010-01-03 Thread rgheck

On 01/03/2010 05:58 PM, Tommy wrote:

Hi,
I have Ubuntu 9.1 running Lyx 1.64.
I have a long document, almost everything is enumerated and I need to 
eliminate the line space between enumerations.



http://latex.computersci.org/Reference/ListEnvironments

You can control the list parameters by redefining the enumeration 
environment.


rh



Re: enumeration spacing

2010-01-03 Thread rgheck

On 01/03/2010 05:58 PM, Tommy wrote:

Hi,
I have Ubuntu 9.1 running Lyx 1.64.
I have a long document, almost everything is enumerated and I need to 
eliminate the line space between enumerations.



http://latex.computersci.org/Reference/ListEnvironments

You can control the list parameters by redefining the enumeration 
environment.


rh



Re: enumeration spacing

2010-01-03 Thread rgheck

On 01/03/2010 05:58 PM, Tommy wrote:

Hi,
I have Ubuntu 9.1 running Lyx 1.64.
I have a long document, almost everything is enumerated and I need to 
eliminate the line space between enumerations.



http://latex.computersci.org/Reference/ListEnvironments

You can control the list parameters by redefining the enumeration 
environment.


rh



Re: parenthetical citation

2010-01-02 Thread rgheck

On 01/02/2010 05:40 PM, David Wang wrote:

Dear Lyxers,

It's my first time to use bibtex bibliography in lyx. Everything looks
perfectly nice except that parenthetical citations use square brackets
instead of round parentheses in the text. Namely, the pdf output renders
Jones et al. [2000], rather than Jones et al. (2000). I use natbib (Document
-  Settings -  Bibliography -  Natbib (Author-year), and the sytle is
plannat), and thought the default behaviour is round parenthetical citations
which are what I want. I then added \usepackage[round]{natbib} in the
preamble, but lyx isn't happy about that and complains an option clash.

   
Add round to the class options, under DocumentSettings, rather than 
to the preamble. (LyX loads natbib for you, so you can't load it again.)


rh



Re: parenthetical citation

2010-01-02 Thread rgheck

On 01/02/2010 05:40 PM, David Wang wrote:

Dear Lyxers,

It's my first time to use bibtex bibliography in lyx. Everything looks
perfectly nice except that parenthetical citations use square brackets
instead of round parentheses in the text. Namely, the pdf output renders
Jones et al. [2000], rather than Jones et al. (2000). I use natbib (Document
-  Settings -  Bibliography -  Natbib (Author-year), and the sytle is
plannat), and thought the default behaviour is round parenthetical citations
which are what I want. I then added \usepackage[round]{natbib} in the
preamble, but lyx isn't happy about that and complains an option clash.

   
Add round to the class options, under DocumentSettings, rather than 
to the preamble. (LyX loads natbib for you, so you can't load it again.)


rh



Re: parenthetical citation

2010-01-02 Thread rgheck

On 01/02/2010 05:40 PM, David Wang wrote:

Dear Lyxers,

It's my first time to use bibtex bibliography in lyx. Everything looks
perfectly nice except that parenthetical citations use square brackets
instead of round parentheses in the text. Namely, the pdf output renders
Jones et al. [2000], rather than Jones et al. (2000). I use natbib (Document
->  Settings ->  Bibliography ->  Natbib (Author-year), and the sytle is
plannat), and thought the default behaviour is round parenthetical citations
which are what I want. I then added \usepackage[round]{natbib} in the
preamble, but lyx isn't happy about that and complains an option clash.

   
Add "round" to the class options, under Document>Settings, rather than 
to the preamble. (LyX loads natbib for you, so you can't load it again.)


rh



Re: Creating Modules

2009-12-29 Thread rgheck

On 12/28/2009 10:15 PM, Jason Waskiewicz wrote:
I am interested in creating 1, possibly 2 modules to use with the 
Memoir class to do some things that I've been doing with ERT. 
Unfortunately, I can't seem to find much on the LyX wiki about 
modules. Can anyone direct me to better information?



Chapter 5 of the Customization manual. And look at the existing modules.

rh



Re: Creating Modules

2009-12-29 Thread rgheck

On 12/28/2009 10:15 PM, Jason Waskiewicz wrote:
I am interested in creating 1, possibly 2 modules to use with the 
Memoir class to do some things that I've been doing with ERT. 
Unfortunately, I can't seem to find much on the LyX wiki about 
modules. Can anyone direct me to better information?



Chapter 5 of the Customization manual. And look at the existing modules.

rh



Re: Creating Modules

2009-12-29 Thread rgheck

On 12/28/2009 10:15 PM, Jason Waskiewicz wrote:
I am interested in creating 1, possibly 2 modules to use with the 
Memoir class to do some things that I've been doing with ERT. 
Unfortunately, I can't seem to find much on the LyX wiki about 
modules. Can anyone direct me to better information?



Chapter 5 of the Customization manual. And look at the existing modules.

rh



Re: LyZ: LyX plugin for Zotero

2009-12-28 Thread rgheck

On 12/28/2009 11:45 AM, John Kane wrote:


I don't work with bibliographies but as I understand it they are reference 
lists plus.  A reference list only contains the references cited in the text.  
Bibliographies, I believe, do this and may add other relevant reading materials 
not directly discussed in the article/book but which may be useful or 
interesting to the reader

   
The term bibliography can mean a few different things. One thing it 
can mean is just a reference list, and that's what it means in LyX and 
LaTeX, though you can add non-cited sources to the bibliography if you 
wish. It can also mean something like a collection of sources on some 
topic, such as when I tell a student, Compile a bibliography on 
Descartes's version of the ontological argument.


rh



Re: How to add tips/warnings/notes to a document

2009-12-28 Thread rgheck

On 12/28/2009 11:02 AM, Steve Litt wrote:

On Monday 28 December 2009 06:18:25 Pieter Claassen wrote:
   

I am trying to build a custom style/minipage environment for
comments/warnings/tips. However, many other collaborators in the
documentation project are not Lyx/Latex boffins so I cannot really ask them
to install custom extensions to Lyx/Latex.

Currently I use a Box with a minipage environment, but this has to be
customised based on whether it is a tip/warning or note that I am
  producing.

What is the easiest way to achieve this?

Thanks,
Pieter
 

Hi Pieter,

I've done it numerous ways. The best way I did it was to create a basic LaTeX
command called callouttitleL converted to LyX command CalloutTitle and LaTeX
environment callouttextL converted to LyX environment CalloutText. Using
these, you can have a text with an arbitrary title. Three such arbitrary
titles are Note, Tip and Warning. I created custom LaTeX and LyX
environments for those special cases.

Here's the code:

   
You can put the preamble code into the layout, and then you only have to 
deal with one file: the module.


rh



=
Preamble
%   CALLOUTS, WARNINGS, TIPS, ETC #
% ### Callout title latex
\newcommand{\callouttitleL}[1]{\def\callouttitleT{#1}}
\newenvironment{callouttextL}
   {%
   ~\\[-0.25in]%
   \setlength\fboxsep{4pt}%
   \definecolor{shadecolor}{rgb}{1.00,0.90,0.90}%
   \begin{shaded}%
   \addtolength{\hsize}{-0.20\columnwidth}%
   {\centering\Large\callouttitleT\\[0.2cm]}%
   \raggedright%
   \setlength\parindent{16pt}%
   }%
   {%
   \end{shaded}%
   \par
   }%

\newenvironment{warningL}{\callouttitleL{Warning}\begin{callouttextL}}
{\end{callouttextL}}
\newenvironment{tipL}{\callouttitleL{Tip}\begin{callouttextL}}
{\end{callouttextL}}
\newenvironment{noteL}{\callouttitleL{Note}\begin{callouttextL}}
{\end{callouttextL}}
endPreamble

### CALLOUT LYX STYLES
Style CalloutTitle
Font
Series  Bold
Size Larger
EndFont
LatexName   callouttitleL
LatexType   Command
   Align Center
End

Style CalloutText
   LatexType Environment
   LatexName callouttextL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End

Style Warning
   LatexType Environment
   LatexName warningL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   Warning

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End


Style Tip
   LatexType Environment
   LatexName tipL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   Tip

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End


Style Note
   LatexType Environment
   LatexName noteL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   Note

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End
=

SteveT

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




Re: How to add tips/warnings/notes to a document

2009-12-28 Thread rgheck

On 12/28/2009 02:38 PM, Steve Litt wrote:

On Monday 28 December 2009 13:50:39 rgheck wrote:
   

On 12/28/2009 11:02 AM, Steve Litt wrote:
 

On Monday 28 December 2009 06:18:25 Pieter Claassen wrote:
   

I am trying to build a custom style/minipage environment for
comments/warnings/tips. However, many other collaborators in the
documentation project are not Lyx/Latex boffins so I cannot really ask
them to install custom extensions to Lyx/Latex.

Currently I use a Box with a minipage environment, but this has to be
customised based on whether it is a tip/warning or note that I am
   producing.

What is the easiest way to achieve this?

Thanks,
Pieter
 

Hi Pieter,

I've done it numerous ways. The best way I did it was to create a basic
LaTeX command called callouttitleL converted to LyX command
CalloutTitle and LaTeX environment callouttextL converted to LyX
environment CalloutText. Using these, you can have a text with an
arbitrary title. Three such arbitrary titles are Note, Tip and
Warning. I created custom LaTeX and LyX environments for those special
cases.

Here's the code:
   

You can put the preamble code into the layout, and then you only have to
deal with one file: the module.
 

Hi Richard,

I'm not sure what you mean. The only file I deal with is my layout file.

   

You have to paste the LaTeX separately into the LyX file.


If you mean putting a Preamble/EndPreamble pair inside a LyX environment, I
never do that because it can fail at the worst possible time. I documented
that a year or two ago on the lyx-users list. I always keep my LaTeX defs and
my LyX defs completely separate, with only the LatexName from the LyX def
linking them.

   
I'd be interested to know how this fails, when it does. The only issue 
we tend to see like this concerns conflicts between user-defined stuff 
and LyX-inserted stuff. The preamble stuff itself just gets output 
verbatim whenever the relevant style is used, so I think it is fairly 
foolproof. Indeed, the only difference between putting it into the 
document preamble and putting into the layout is exactly when it gets 
output---and the fact that preamble material associated with a given 
style is output only if that style is used. There are some tricks here 
regarding styles that depend on other styles. See the attached.



I have to learn how to use modules before my next book. Layouts have been
working well for me, but I understand modules are even better.

   
I'm attaching a module based on what you posted. As you will see, 
there's nothing to it. It's just a layout file, except for the header 
information. Put it in ~/.lyx/layouts/, reconfigure, and then look under 
DocumentSettingsModules. Select it and there you go.


Richard

#\DeclareLyXModule{Callout}
#DescriptionBegin
#Adds styles for various sorts of minipages, for titles, warnings, etc.
#DescriptionEnd

#Author: Steve Litt

Format 11

Style CalloutTitle
Font
Series  Bold
Size Larger
EndFont
LatexName   callouttitleL
LatexType   Command
  Align Center
Preamble
\newcommand{\callouttitleL}[1]{\def\callouttitleT{#1}}
EndPreamble
End

Style CalloutText
LatexType Environment
LatexName callouttextL
LeftMarginMM
RightMargin   MM
ParIndent MMM
TopSep1.4
ItemSep   0.7
ParSep0.7
BottomSep 0.7
Align Block
AlignPossible Block

Font 
Series   Medium
Size Normal
ShapeItalic
EndFont
DependsOn CalloutTitle
Preamble
\newenvironment{callouttextL}
{%
~\\[-0.25in]%
\setlength\fboxsep{4pt}%
\definecolor{shadecolor}{rgb}{1.00,0.90,0.90}%
\begin{shaded}%
\addtolength{\hsize}{-0.20\columnwidth}%
{\centering\Large\callouttitleT\\[0.2cm]}%
\raggedright%
\setlength\parindent{16pt}%
}%
{%
\end{shaded}%
\par
}%
EndPreamble
End

Style Warning
LatexType Environment
LatexName warningL
LeftMarginMM
RightMargin   MM
ParIndent MMM
TopSep1.4
ItemSep   0.7
ParSep0.7
BottomSep 0.7
Align Block
AlignPossible Block
LabelType Centered_Top_Environment

Re: LyZ: LyX plugin for Zotero

2009-12-28 Thread rgheck

On 12/28/2009 11:45 AM, John Kane wrote:


I don't work with bibliographies but as I understand it they are reference 
lists plus.  A reference list only contains the references cited in the text.  
Bibliographies, I believe, do this and may add other relevant reading materials 
not directly discussed in the article/book but which may be useful or 
interesting to the reader

   
The term bibliography can mean a few different things. One thing it 
can mean is just a reference list, and that's what it means in LyX and 
LaTeX, though you can add non-cited sources to the bibliography if you 
wish. It can also mean something like a collection of sources on some 
topic, such as when I tell a student, Compile a bibliography on 
Descartes's version of the ontological argument.


rh



Re: How to add tips/warnings/notes to a document

2009-12-28 Thread rgheck

On 12/28/2009 11:02 AM, Steve Litt wrote:

On Monday 28 December 2009 06:18:25 Pieter Claassen wrote:
   

I am trying to build a custom style/minipage environment for
comments/warnings/tips. However, many other collaborators in the
documentation project are not Lyx/Latex boffins so I cannot really ask them
to install custom extensions to Lyx/Latex.

Currently I use a Box with a minipage environment, but this has to be
customised based on whether it is a tip/warning or note that I am
  producing.

What is the easiest way to achieve this?

Thanks,
Pieter
 

Hi Pieter,

I've done it numerous ways. The best way I did it was to create a basic LaTeX
command called callouttitleL converted to LyX command CalloutTitle and LaTeX
environment callouttextL converted to LyX environment CalloutText. Using
these, you can have a text with an arbitrary title. Three such arbitrary
titles are Note, Tip and Warning. I created custom LaTeX and LyX
environments for those special cases.

Here's the code:

   
You can put the preamble code into the layout, and then you only have to 
deal with one file: the module.


rh



=
Preamble
%   CALLOUTS, WARNINGS, TIPS, ETC #
% ### Callout title latex
\newcommand{\callouttitleL}[1]{\def\callouttitleT{#1}}
\newenvironment{callouttextL}
   {%
   ~\\[-0.25in]%
   \setlength\fboxsep{4pt}%
   \definecolor{shadecolor}{rgb}{1.00,0.90,0.90}%
   \begin{shaded}%
   \addtolength{\hsize}{-0.20\columnwidth}%
   {\centering\Large\callouttitleT\\[0.2cm]}%
   \raggedright%
   \setlength\parindent{16pt}%
   }%
   {%
   \end{shaded}%
   \par
   }%

\newenvironment{warningL}{\callouttitleL{Warning}\begin{callouttextL}}
{\end{callouttextL}}
\newenvironment{tipL}{\callouttitleL{Tip}\begin{callouttextL}}
{\end{callouttextL}}
\newenvironment{noteL}{\callouttitleL{Note}\begin{callouttextL}}
{\end{callouttextL}}
endPreamble

### CALLOUT LYX STYLES
Style CalloutTitle
Font
Series  Bold
Size Larger
EndFont
LatexName   callouttitleL
LatexType   Command
   Align Center
End

Style CalloutText
   LatexType Environment
   LatexName callouttextL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End

Style Warning
   LatexType Environment
   LatexName warningL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   Warning

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End


Style Tip
   LatexType Environment
   LatexName tipL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   Tip

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End


Style Note
   LatexType Environment
   LatexName noteL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   Note

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End
=

SteveT

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




Re: How to add tips/warnings/notes to a document

2009-12-28 Thread rgheck

On 12/28/2009 02:38 PM, Steve Litt wrote:

On Monday 28 December 2009 13:50:39 rgheck wrote:
   

On 12/28/2009 11:02 AM, Steve Litt wrote:
 

On Monday 28 December 2009 06:18:25 Pieter Claassen wrote:
   

I am trying to build a custom style/minipage environment for
comments/warnings/tips. However, many other collaborators in the
documentation project are not Lyx/Latex boffins so I cannot really ask
them to install custom extensions to Lyx/Latex.

Currently I use a Box with a minipage environment, but this has to be
customised based on whether it is a tip/warning or note that I am
   producing.

What is the easiest way to achieve this?

Thanks,
Pieter
 

Hi Pieter,

I've done it numerous ways. The best way I did it was to create a basic
LaTeX command called callouttitleL converted to LyX command
CalloutTitle and LaTeX environment callouttextL converted to LyX
environment CalloutText. Using these, you can have a text with an
arbitrary title. Three such arbitrary titles are Note, Tip and
Warning. I created custom LaTeX and LyX environments for those special
cases.

Here's the code:
   

You can put the preamble code into the layout, and then you only have to
deal with one file: the module.
 

Hi Richard,

I'm not sure what you mean. The only file I deal with is my layout file.

   

You have to paste the LaTeX separately into the LyX file.


If you mean putting a Preamble/EndPreamble pair inside a LyX environment, I
never do that because it can fail at the worst possible time. I documented
that a year or two ago on the lyx-users list. I always keep my LaTeX defs and
my LyX defs completely separate, with only the LatexName from the LyX def
linking them.

   
I'd be interested to know how this fails, when it does. The only issue 
we tend to see like this concerns conflicts between user-defined stuff 
and LyX-inserted stuff. The preamble stuff itself just gets output 
verbatim whenever the relevant style is used, so I think it is fairly 
foolproof. Indeed, the only difference between putting it into the 
document preamble and putting into the layout is exactly when it gets 
output---and the fact that preamble material associated with a given 
style is output only if that style is used. There are some tricks here 
regarding styles that depend on other styles. See the attached.



I have to learn how to use modules before my next book. Layouts have been
working well for me, but I understand modules are even better.

   
I'm attaching a module based on what you posted. As you will see, 
there's nothing to it. It's just a layout file, except for the header 
information. Put it in ~/.lyx/layouts/, reconfigure, and then look under 
DocumentSettingsModules. Select it and there you go.


Richard

#\DeclareLyXModule{Callout}
#DescriptionBegin
#Adds styles for various sorts of minipages, for titles, warnings, etc.
#DescriptionEnd

#Author: Steve Litt

Format 11

Style CalloutTitle
Font
Series  Bold
Size Larger
EndFont
LatexName   callouttitleL
LatexType   Command
  Align Center
Preamble
\newcommand{\callouttitleL}[1]{\def\callouttitleT{#1}}
EndPreamble
End

Style CalloutText
LatexType Environment
LatexName callouttextL
LeftMarginMM
RightMargin   MM
ParIndent MMM
TopSep1.4
ItemSep   0.7
ParSep0.7
BottomSep 0.7
Align Block
AlignPossible Block

Font 
Series   Medium
Size Normal
ShapeItalic
EndFont
DependsOn CalloutTitle
Preamble
\newenvironment{callouttextL}
{%
~\\[-0.25in]%
\setlength\fboxsep{4pt}%
\definecolor{shadecolor}{rgb}{1.00,0.90,0.90}%
\begin{shaded}%
\addtolength{\hsize}{-0.20\columnwidth}%
{\centering\Large\callouttitleT\\[0.2cm]}%
\raggedright%
\setlength\parindent{16pt}%
}%
{%
\end{shaded}%
\par
}%
EndPreamble
End

Style Warning
LatexType Environment
LatexName warningL
LeftMarginMM
RightMargin   MM
ParIndent MMM
TopSep1.4
ItemSep   0.7
ParSep0.7
BottomSep 0.7
Align Block
AlignPossible Block
LabelType Centered_Top_Environment

Re: LyZ: LyX plugin for Zotero

2009-12-28 Thread rgheck

On 12/28/2009 11:45 AM, John Kane wrote:


I don't work with bibliographies but as I understand it they are reference 
lists plus.  A reference list only contains the references cited in the text.  
Bibliographies, I believe, do this and may add other relevant reading materials 
not directly discussed in the article/book but which may be useful or 
interesting to the reader

   
The term "bibliography" can mean a few different things. One thing it 
can mean is just a reference list, and that's what it means in LyX and 
LaTeX, though you can add non-cited sources to the bibliography if you 
wish. It can also mean something like a collection of sources on some 
topic, such as when I tell a student, "Compile a bibliography on 
Descartes's version of the ontological argument".


rh



Re: How to add tips/warnings/notes to a document

2009-12-28 Thread rgheck

On 12/28/2009 11:02 AM, Steve Litt wrote:

On Monday 28 December 2009 06:18:25 Pieter Claassen wrote:
   

I am trying to build a custom style/minipage environment for
comments/warnings/tips. However, many other collaborators in the
documentation project are not Lyx/Latex boffins so I cannot really ask them
to install custom extensions to Lyx/Latex.

Currently I use a Box with a minipage environment, but this has to be
customised based on whether it is a tip/warning or note that I am
  producing.

What is the easiest way to achieve this?

Thanks,
Pieter
 

Hi Pieter,

I've done it numerous ways. The best way I did it was to create a basic LaTeX
command called "callouttitleL" converted to LyX command CalloutTitle and LaTeX
environment callouttextL converted to LyX environment CalloutText. Using
these, you can have a text with an arbitrary title. Three such arbitrary
titles are "Note", "Tip" and "Warning". I created custom LaTeX and LyX
environments for those special cases.

Here's the code:

   
You can put the preamble code into the layout, and then you only have to 
deal with one file: the module.


rh



=
Preamble
%   CALLOUTS, WARNINGS, TIPS, ETC #
% ### Callout title latex
\newcommand{\callouttitleL}[1]{\def\callouttitleT{#1}}
\newenvironment{callouttextL}
   {%
   ~\\[-0.25in]%
   \setlength\fboxsep{4pt}%
   \definecolor{shadecolor}{rgb}{1.00,0.90,0.90}%
   \begin{shaded}%
   \addtolength{\hsize}{-0.20\columnwidth}%
   {\centering\Large\callouttitleT\\[0.2cm]}%
   \raggedright%
   \setlength\parindent{16pt}%
   }%
   {%
   \end{shaded}%
   \par
   }%

\newenvironment{warningL}{\callouttitleL{Warning}\begin{callouttextL}}
{\end{callouttextL}}
\newenvironment{tipL}{\callouttitleL{Tip}\begin{callouttextL}}
{\end{callouttextL}}
\newenvironment{noteL}{\callouttitleL{Note}\begin{callouttextL}}
{\end{callouttextL}}
endPreamble

### CALLOUT LYX STYLES
Style CalloutTitle
Font
Series  Bold
Size Larger
EndFont
LatexName   callouttitleL
LatexType   Command
   Align Center
End

Style CalloutText
   LatexType Environment
   LatexName callouttextL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End

Style Warning
   LatexType Environment
   LatexName warningL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   "Warning"

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End


Style Tip
   LatexType Environment
   LatexName tipL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   "Tip"

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End


Style Note
   LatexType Environment
   LatexName noteL
   LeftMarginMM
   RightMargin   MM
   ParIndent MMM
   TopSep1.4
   ItemSep   0.7
   ParSep0.7
   BottomSep 0.7
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   "Note"

   Font
Series   Medium
Size Normal
ShapeItalic
   EndFont
End
=

SteveT

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




Re: How to add tips/warnings/notes to a document

2009-12-28 Thread rgheck

On 12/28/2009 02:38 PM, Steve Litt wrote:

On Monday 28 December 2009 13:50:39 rgheck wrote:
   

On 12/28/2009 11:02 AM, Steve Litt wrote:
 

On Monday 28 December 2009 06:18:25 Pieter Claassen wrote:
   

I am trying to build a custom style/minipage environment for
comments/warnings/tips. However, many other collaborators in the
documentation project are not Lyx/Latex boffins so I cannot really ask
them to install custom extensions to Lyx/Latex.

Currently I use a Box with a minipage environment, but this has to be
customised based on whether it is a tip/warning or note that I am
   producing.

What is the easiest way to achieve this?

Thanks,
Pieter
 

Hi Pieter,

I've done it numerous ways. The best way I did it was to create a basic
LaTeX command called "callouttitleL" converted to LyX command
CalloutTitle and LaTeX environment callouttextL converted to LyX
environment CalloutText. Using these, you can have a text with an
arbitrary title. Three such arbitrary titles are "Note", "Tip" and
"Warning". I created custom LaTeX and LyX environments for those special
cases.

Here's the code:
   

You can put the preamble code into the layout, and then you only have to
deal with one file: the module.
 

Hi Richard,

I'm not sure what you mean. The only file I deal with is my layout file.

   

You have to paste the LaTeX separately into the LyX file.


If you mean putting a Preamble/EndPreamble pair inside a LyX environment, I
never do that because it can fail at the worst possible time. I documented
that a year or two ago on the lyx-users list. I always keep my LaTeX defs and
my LyX defs completely separate, with only the LatexName from the LyX def
linking them.

   
I'd be interested to know how this fails, when it does. The only issue 
we tend to see like this concerns conflicts between user-defined stuff 
and LyX-inserted stuff. The preamble stuff itself just gets output 
verbatim whenever the relevant style is used, so I think it is fairly 
foolproof. Indeed, the only difference between putting it into the 
document preamble and putting into the layout is exactly when it gets 
output---and the fact that preamble material associated with a given 
style is output only if that style is used. There are some tricks here 
regarding styles that depend on other styles. See the attached.



I have to learn how to use modules before my next book. Layouts have been
working well for me, but I understand modules are even better.

   
I'm attaching a module based on what you posted. As you will see, 
there's nothing to it. It's just a layout file, except for the header 
information. Put it in ~/.lyx/layouts/, reconfigure, and then look under 
Document>Settings>Modules. Select it and there you go.


Richard

#\DeclareLyXModule{Callout}
#DescriptionBegin
#Adds styles for various sorts of minipages, for titles, warnings, etc.
#DescriptionEnd

#Author: Steve Litt

Format 11

Style CalloutTitle
Font
Series  Bold
Size Larger
EndFont
LatexName   callouttitleL
LatexType   Command
  Align Center
Preamble
\newcommand{\callouttitleL}[1]{\def\callouttitleT{#1}}
EndPreamble
End

Style CalloutText
LatexType Environment
LatexName callouttextL
LeftMarginMM
RightMargin   MM
ParIndent MMM
TopSep1.4
ItemSep   0.7
ParSep0.7
BottomSep 0.7
Align Block
AlignPossible Block

Font 
Series   Medium
Size Normal
ShapeItalic
EndFont
DependsOn CalloutTitle
Preamble
\newenvironment{callouttextL}
{%
~\\[-0.25in]%
\setlength\fboxsep{4pt}%
\definecolor{shadecolor}{rgb}{1.00,0.90,0.90}%
\begin{shaded}%
\addtolength{\hsize}{-0.20\columnwidth}%
{\centering\Large\callouttitleT\\[0.2cm]}%
\raggedright%
\setlength\parindent{16pt}%
}%
{%
\end{shaded}%
\par
}%
EndPreamble
End

Style Warning
LatexType Environment
LatexName warningL
LeftMarginMM
RightMargin   MM
ParIndent MMM
TopSep1.4
ItemSep   0.7
ParSep0.7
BottomSep 0.7
Align Block
   

Re: Zotero to Bibtex to Lyx: A Problem not a baseball play.

2009-12-27 Thread rgheck

On 12/27/2009 01:29 PM, John Kane wrote:

Sorry for the last part of the subject line but I am sure that there is some 
famous song (or something about a triple play. Perhaps I should have lunch.

I have been having great fun using Zotero to grab a lot of references lately 
and wanted to use the results in a LyX file.  I selected a subset of references 
that I wanted to use and exported them to Bibtex.

I do not seem to be able to get the exported Bibtex file to work.

I can load it, select a citation and insert it.  However when I compile, I get 
(?) if using Natbib and Author Year or [?] if using default and plainnat.  I've 
fooled around with a couple of other settings (forgotten now) with the same 
results.

   

Most likely problem is some encoding error. BibTeX does not handle Unicode.

rh



<    1   2   3   4   5   6   7   8   9   10   >