Re: Where to change the PDF viewer lyx version 1.6.3.......

2009-07-12 Thread Ignacio García
M-L wrote, Sat, 11 Jul 2009
 Everything KDE is taking ages to load at the moment, so I need to
 change my PDF viewer from KPDF to XPDF, but I don't know how that might
 be done.

Tools  Preferences  File Handling  File Formats

and then, in Format there is a list where you can choose the wanted file format.
There are several PDF (...) entries. Below the list you can change the Viewer.
If you Apply the change is temporary, e.g. for testing,
if you Save the change is permanent.

Ignacio García


Re: Where to change the PDF viewer lyx version 1.6.3....... solved....

2009-07-12 Thread M-L
On Sun, 12 Jul 2009 09:22:42 +0200 Ignacio García
ignacio.gmora...@gmail.com shared this with is all on the Lyx users
list:

M-L wrote, Sat, 11 Jul 2009
 Everything KDE is taking ages to load at the moment, so I need to
 change my PDF viewer from KPDF to XPDF, but I don't know how that
 might be done.

Tools  Preferences  File Handling  File Formats

and then, in Format there is a list where you can choose the wanted
file format. There are several PDF (...) entries. Below the list you
can change the Viewer. If you Apply the change is temporary, e.g.
for testing, if you Save the change is permanent.

Ignacio García
 

Thanks Ignacio,

I looked there, but there was only one file format in evidence being:
BibTex and no other. So I created one for PDF, and used XPDF as the
viewer. It still loaded KPDF.

But it's solved anyway. A reboot of the system and the KDE stuff loaded
as normal. I'm just not accustomed to doing the windows reboot stuff to
get things working in Linux.

Thanks for taking the time to suggest a fix, it's appreciated

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
Read the best books first, or you may not have a chance to read them at
all. ...Henry David Thoreau

***
Debian, just the best way to create magic
___


Re: Where to change the PDF viewer lyx version 1.6.3....... solved....

2009-07-12 Thread Ignacio García
M-L wrote, 12 Jul 2009

 I looked there, but there was only one file format in evidence being:
 BibTex and no other. So I created one for PDF, and used XPDF as the
 viewer. It still loaded KPDF.

The Format list is a pull-down (long) one, clic you the button to see it.
You can get more info in the section C.7.2 of the User Guide manual and
3.1 of the Customization manual (Help Menu)

 But it's solved anyway. A reboot of the system and the KDE stuff loaded
 as normal. I'm just not accustomed to doing the windows reboot stuff to
 get things working in Linux.

There is no need reboot the system. For some configuration changes LyX
may need a Tools  Reconfigure and restart LyX.

Regards
Ignacio García


Re: Where to change the PDF viewer lyx version 1.6.3....... solved....

2009-07-12 Thread M-L
On Sun, 12 Jul 2009 10:19:54 +0200 Ignacio García
ignacio.gmora...@gmail.com shared this with is all on the Lyx users
list:

 I looked there, but there was only one file format in evidence being:
 BibTex and no other. So I created one for PDF, and used XPDF as the
 viewer. It still loaded KPDF.  

The Format list is a pull-down (long) one, clic you the button to see
it. You can get more info in the section C.7.2 of the User Guide
manual and 3.1 of the Customization manual (Help Menu) 

Thank you Ignatio.

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
If a man constantly aspires is he not
elevated? ...Henry David Thoreau

***
Debian, just the best way to create magic
___


Document Include mechanism

2009-07-12 Thread James Mansion
I may be doing the wrong thing - but I stared trying to write a book 
with each Part in a separate document so I can edit (and version 
control) them in more manageable chunks.


This seems to be working though I find the inability to nest inclusions 
a bit disturbing.


What is more worrying is that I don't seem to be able to set the 
document class and LaTeX preamble on the master and have it inherited to 
new components --- I have to set the class of each one.


I'm a bit concerned that if I change the document class (its currently 
Koma book, but I might want to change this) it will be quite messy and 
some inconsistencies might sneak in.


I guess I could give in and just have one big document but as a 
developer that just feels all wrong somehow.


The help files (at least on 1.6.2) don't seem to deal with sturcturing 
large projects at all - are there other hints and tips I can use?


James



Re: Where to change the PDF viewer lyx version 1.6.3.......

2009-07-12 Thread Richard Heck

On 07/12/2009 02:39 AM, M-L wrote:

Hello Everyone,

Am using Debian Squeeze LyX version 1.6.3.

Everything KDE is taking ages to load at the moment, so I need to
change my PDF viewer from KPDF to XPDF, but I don't know how that might
be done.

   
ToolsPreferencesFile HandlingFile Formats. Choose one of the PDF 
formats (whichever one you use) and put the viewer you want in there.


rh



Re: Label and againframe [Beamer]

2009-07-12 Thread Paul A. Rubin
I'm afraid what you wrote does not make sense.  You start your 
presentation with title and authors.  Then you have your content, with 
the first slide of content started with a BeginFrame environment (the 
equivalent of the \begin{frame}[label=firstframe] LaTeX command you 
wrote below.


Or are you saying you want to repeat the title slide at the end??

/Paul

Christian Bustamante wrote:

Hi Paul,
I understand the procedure to repeat a simple slide. My problem is
whit the first one, because you don't use the BeginFrame environment
at all. At the start of file, you simple put the title and authors,
but not more how can I do it for the first slide??
Bests



On Sun, Jul 12, 2009 at 9:47 AM, Paul A. Rubinru...@msu.edu wrote:

Christian Bustamante wrote:

Hi all,

I'm using the beamer class and I need to repeat the first slide at the
end of presentation. In plain LaTeX one can do the following

\documentclass{beamer}
\title[Short title]{The title}
\author[Authors]{Author 1 \and Author 2}
\date{\today}
\begin{document}
\begin{frame}[label=firstframe]
\titlepage
\end{frame}
...
\againframe{firstframe}
\end{document}

Which uses the againframe command. The thing is, how can I label the
first slide for then use the againframe in LyX?


Put the cursor in the BeginFrame environment for the slide to be repeated,
directly to the left of the first letter of the title, and insert
'[label=firstframe]' (including the brackets) in an ERT inset. At the point
where you want to repeat the slide, use an AgainFrame environment and just
type 'firstframe' as if it were a title.

/Paul










Re: Label and againframe [Beamer]

2009-07-12 Thread Christian Bustamante
Exactly. I want to repeat the 'title slide'... It's possible?

On Sun, Jul 12, 2009 at 10:49 AM, Paul A. Rubinru...@msu.edu wrote:
 I'm afraid what you wrote does not make sense.  You start your presentation
 with title and authors.  Then you have your content, with the first slide of
 content started with a BeginFrame environment (the equivalent of the
 \begin{frame}[label=firstframe] LaTeX command you wrote below.

 Or are you saying you want to repeat the title slide at the end??

 /Paul

 Christian Bustamante wrote:

 Hi Paul,
 I understand the procedure to repeat a simple slide. My problem is
 whit the first one, because you don't use the BeginFrame environment
 at all. At the start of file, you simple put the title and authors,
 but not more how can I do it for the first slide??
 Bests



 On Sun, Jul 12, 2009 at 9:47 AM, Paul A. Rubinru...@msu.edu wrote:

 Christian Bustamante wrote:

 Hi all,

 I'm using the beamer class and I need to repeat the first slide at the
 end of presentation. In plain LaTeX one can do the following

 \documentclass{beamer}
 \title[Short title]{The title}
 \author[Authors]{Author 1 \and Author 2}
 \date{\today}
 \begin{document}
 \begin{frame}[label=firstframe]
 \titlepage
 \end{frame}
 ...
 \againframe{firstframe}
 \end{document}

 Which uses the againframe command. The thing is, how can I label the
 first slide for then use the againframe in LyX?

 Put the cursor in the BeginFrame environment for the slide to be
 repeated,
 directly to the left of the first letter of the title, and insert
 '[label=firstframe]' (including the brackets) in an ERT inset. At the
 point
 where you want to repeat the slide, use an AgainFrame environment and
 just
 type 'firstframe' as if it were a title.

 /Paul










-- 
CdeB


Re: Document Include mechanism

2009-07-12 Thread James Mansion

Richard Heck wrote:

On 07/12/2009 07:46 AM, James Mansion wrote:
I may be doing the wrong thing - but I stared trying to write a book 
with each Part in a separate document so I can edit (and version 
control) them in more manageable chunks.


This seems to be working though I find the inability to nest 
inclusions a bit disturbing.



What do you mean by this? You can have children of children of children.

No I can't.  When I got Ctrl-D I get a dialog that says:

LaTeX Error: \include cannot be nested.

and the Description is:

\include{0C__src_books_arch_test}

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.





What is more worrying is that I don't seem to be able to set the 
document class and LaTeX preamble on the master and have it inherited 
to new components --- I have to set the class of each one.


To some extent, this is a known issue, and there is a sense in which 
it can't be solved. If you treat the file as a file unto itself, then 
it needs its own document class, preamble, etc. And sometimes a file 
can be both a child of another document and a file unto itself. And 
for the same reason you do always have to set the document class.
I think that's a weak answer.  I don't *need* the children to be valid 
as self-contained documents, What I would like is to be able to set a 
docu class (optionally) but to have it ignored and defer to the parent 
in the case where its a child.



The only annoyance here is that you will get an error message when you 
compile, saying that the document classes are different. Then you can 
fix it.

Not if the problem is that I didn't copy across a preamble element.


James



Re: caption for long table in list of tables

2009-07-12 Thread Uwe Stöhr

 the problem is that I am getting an entry for each page in the list of
 tables Is there a way to get only one entry?

This bug has now been fixed for the next LyX version.

regards Uwe


Program listings with beamer probelm

2009-07-12 Thread Micha Feigin
Hello,

I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert-program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are in the wrong order, some line breaks are missing ...).
Inserting a listing from file (insert-file-child document-program listing)
works, but is very annoying for short ones

Any way to solve this?

thanks


Re: Program listings with beamer probelm

2009-07-12 Thread Micha Feigin

Micha Feigin wrote:

Hello,

I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert-program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are in the wrong order, some line breaks are missing ...).
Inserting a listing from file (insert-file-child document-program listing)
works, but is very annoying for short ones

Any way to solve this?

thanks


Seems from a thread I found that I need to somehow add fragile to the frame but I can't 
figure out how to do it without ert. Seems like the \lyxframe macro is rather messed up. I 
tried using insert short title which adds an opt entry but that gives an error that the 
pdf file can't be found


import bib refs to show in pdf?

2009-07-12 Thread Sebastian Stolzenberg

Dear All,

I installed the latest Lyx version 1.6.3 on my Mac 10.4.11

Everything behaves normal, in particular, I can export pdfs and easily 
import a *.bib into my Bibliography section and LyX recognizes all the 
references in it.


However, trying to export this document with references into pdf, the 
references do not appear and all my citation show question tags.


Any help is much appreciated,
Sebastian


Re: Document Include mechanism

2009-07-12 Thread rgheck

On 07/12/2009 12:57 PM, James Mansion wrote:

Richard Heck wrote:

On 07/12/2009 07:46 AM, James Mansion wrote:
I may be doing the wrong thing - but I stared trying to write a book 
with each Part in a separate document so I can edit (and version 
control) them in more manageable chunks.


This seems to be working though I find the inability to nest 
inclusions a bit disturbing.



What do you mean by this? You can have children of children of children.

No I can't.  When I got Ctrl-D I get a dialog that says:

LaTeX Error: \include cannot be nested.

and the Description is:

\include{0C__src_books_arch_test}

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.


Use Input rather than Include. That should probably be the default.

What is more worrying is that I don't seem to be able to set the 
document class and LaTeX preamble on the master and have it 
inherited to new components --- I have to set the class of each one.


To some extent, this is a known issue, and there is a sense in which 
it can't be solved. If you treat the file as a file unto itself, then 
it needs its own document class, preamble, etc. And sometimes a file 
can be both a child of another document and a file unto itself. And 
for the same reason you do always have to set the document class.


I think that's a weak answer.  I don't *need* the children to be valid 
as self-contained documents. What I would like is to be able to set a 
docu class (optionally) but to have it ignored and defer to the parent 
in the case where its a child.


I understand what you want. What I was explaining is why LyX can't just 
work the way you want. We have had lengthy discussions about this both 
on this list and on the devel list, and there are a lot of people who 
need the facility I described. So we provide that, and people who don't 
need that facility---like you and me--- have to make do.


That said, there probably is a bug here, especially now that we have 
this default master setting. A child should probably inherit the 
document class of its master, and its modules and such, too. I'm not 
sure how well we do with that.


Richard



Re: import bib refs to show in pdf?

2009-07-12 Thread Sebastian Stolzenberg

Hi rh, Hi All,

Thanks for the reply; attached, please find my test files, that do not 
work now on my ubuntu machine with LyX 1.6.0.


I found the command bibtex in test.lyx, so I manually ran bibtex on 
test.bib, with the error message that test.bib.aux is not found. I am 
not even close to the actual problem, am I? ;-)


Thank you
Sebastian

Sebastian Stolzenberg wrote:

Dear All,

I installed the latest Lyx version 1.6.3 on my Mac 10.4.11

Everything behaves normal, in particular, I can export pdfs and easily 
import a *.bib into my Bibliography section and LyX recognizes all the 
references in it.


However, trying to export this document with references into pdf, the 
references do not appear and all my citation show question tags.


Any help is much appreciated,
Sebastian
% This file was created with JabRef 2.3.1.
% Encoding: UTF-8

@ARTICLE{Brooks1983,
  author = {Brooks, Bernard R. and Bruccoleri, Robert E. and Olafson, Barry D.
	and States, David J. and Swaminathan, S. and Karplus, Martin},
  title = {CHARMM: A program for macromolecular energy, minimization, and dynamics
	calculations},
  journal = {Journal of Computational Chemistry},
  year = {1983},
  volume = {4},
  pages = {187--217},
  number = {2},
  abstract = {CHARMM (Chemistry at HARvard Macromolecular Mechanics) is a highly
	flexible computer program which uses empirical energy functions to
	model macromolecular systems. The program can read or model build
	structures, energy minimize them by first- or second-derivative techniques,
	perform a normal mode or molecular dynamics simulation, and analyze
	the structural, equilibrium, and dynamic properties determined in
	these calculations. The operations that CHARMM can perform are described,
	and some implementation details are given. A set of parameters for
	the empirical energy function and a sample run are included.},
  file = {Brooks1983_CHARMM- A program for macromolecular energy, minimization,
	and dynamics calculations.pdf:pdf-refs/Brooks1983_CHARMM- A program
	for macromolecular energy, minimization, and dynamics calculations.pdf:PDF},
  owner = {sebastian},
  timestamp = {2009.05.24},
  url = {http://dx.doi.org/10.1002/jcc.540040211}
}

@comment{jabref-meta: selector_publisher:}

@comment{jabref-meta: selector_author:}

@comment{jabref-meta: selector_journal:}

@comment{jabref-meta: selector_keywords:}

@comment{jabref-meta: groupsversion:3;}

@comment{jabref-meta: groupstree:
0 AllEntriesGroup:;
1 ExplicitGroup:GluT\;2\;;
2 ExplicitGroup:Scaffolding proteins\;2\;Waxman2007\;;
3 ExplicitGroup:C-terminals\;2\;Gonzalez2003\;Gonzalez2004a\;Jackson20
01\;Kalandadze2002\;Lin2001\;;
3 ExplicitGroup:N-terminals\;2\;Marie2002\;;
3 ExplicitGroup:general\;2\;Gonzalez2004\;Torres2007\;;
2 ExplicitGroup:Cluster Formation\;2\;Nakagawa2008\;Peacey2009\;Zhou20
04\;;
2 ExplicitGroup:Recycling\;2\;Voglmaier2006\;;
2 ExplicitGroup:Hotspot Residues\;2\;Zhang1999\;;
2 ExplicitGroup:Reviews\;2\;Torres2007\;Tzingounis2007\;Vandenberg2008
\;;
2 ExplicitGroup:experimental hints\;2\;Seal2001\;Shachnai2005\;Tao2007
\;Zerangue1996\;Zhang1998\;;
3 ExplicitGroup:near HP2b tip\;2\;Kavanaugh1997\;Tao2007\;;
3 ExplicitGroup:NA3binding site\;2\;Rosental2006\;Tao2006\;;
3 ExplicitGroup:Proton transport\;2\;Fairman1998\;;
3 ExplicitGroup:Chloride conductance\;2\;Fairman1995\;;
3 ExplicitGroup:Substrate Transport\;2\;Ryan2009\;;
2 ExplicitGroup:other MD sims\;2\;Gu2009\;Huang2008\;Huang2009\;Shriva
stava2008\;;
2 ExplicitGroup:Sodium binding\;2\;Gouaux2005\;Noskov2007\;;
2 ExplicitGroup:Boudker and Structure\;2\;Boudker2007\;Gendreau2004\;G
roeneveld2007\;Yernool2003\;Yernool2004\;;
2 ExplicitGroup:useful parameters for MD\;2\;Fuchs2006\;;
1 ExplicitGroup:NMA\;2\;Bahar2005\;Niv2008\;Riccardi2009\;Schulz2009\;
Sherwood2008\;Suhre2004\;Tozzini2005\;;
2 ExplicitGroup:unread\;2\;Bahar2005\;Chu2007\;Franklin2007\;Schroeder
2007\;Schulz2009\;Sherwood2008\;Yang2007\;Zheng2007a\;Zheng2007b\;;
2 ExplicitGroup:reviews\;2\;Tozzini2005\;;
2 ExplicitGroup:clap-motions\;2\;Zheng2007\;;
2 ExplicitGroup:Structure-refinements\;2\;Schroeder2007\;;
2 ExplicitGroup:perturbed NMA\;2\;Ming2006\;Ming2008\;Schuyler2009\;Te
hver2008\;Zheng2009\;;
2 ExplicitGroup:Willy R. Wriggers\;2\;Jeong2006\;;
2 ExplicitGroup:Spencer Erickson\;2\;Sanejouand2004\;Tama2001\;;
2 ExplicitGroup:multiple-basin-interpolation\;2\;Best2005\;Clementi200
0\;Maragakis2005\;Nakamura2004\;Okazaki2006\;Pan2008\;Ueda1978\;Yang20
09\;;
2 ExplicitGroup:NMA-MD\;2\;Sweet2008\;;
2 ExplicitGroup:general\;2\;Ma2005\;Monod1965\;Rzehak2002\;;
1 ExplicitGroup:MD\;2\;Kandt2007\;Maragakis2008\;Shaw2005\;;
2 ExplicitGroup:unread\;2\;Maragakis2008\;Sankararamakrishnan2000\;;
2 ExplicitGroup:Trajectories\;2\;Raveh2009\;;
2 ExplicitGroup:Nose\;2\;Evans1985\;Nose1984\;;
2 ExplicitGroup:PMF\;2\;Allen2006\;;
2 ExplicitGroup:General\;2\;Harvey1998\;Mackerell2004\;;
2 ExplicitGroup:Lipids (i think i got this from anshu)\;2\;;
2 ExplicitGroup:Protein Folding\;2\;Scheraga2007\;;
1 

Re: Where to change the PDF viewer lyx version 1.6.3.......

2009-07-12 Thread Ignacio García
M-L wrote, Sat, 11 Jul 2009
 Everything KDE is taking ages to load at the moment, so I need to
 change my PDF viewer from KPDF to XPDF, but I don't know how that might
 be done.

Tools  Preferences  File Handling  File Formats

and then, in Format there is a list where you can choose the wanted file format.
There are several PDF (...) entries. Below the list you can change the Viewer.
If you Apply the change is temporary, e.g. for testing,
if you Save the change is permanent.

Ignacio García


Re: Where to change the PDF viewer lyx version 1.6.3....... solved....

2009-07-12 Thread M-L
On Sun, 12 Jul 2009 09:22:42 +0200 Ignacio García
ignacio.gmora...@gmail.com shared this with is all on the Lyx users
list:

M-L wrote, Sat, 11 Jul 2009
 Everything KDE is taking ages to load at the moment, so I need to
 change my PDF viewer from KPDF to XPDF, but I don't know how that
 might be done.

Tools  Preferences  File Handling  File Formats

and then, in Format there is a list where you can choose the wanted
file format. There are several PDF (...) entries. Below the list you
can change the Viewer. If you Apply the change is temporary, e.g.
for testing, if you Save the change is permanent.

Ignacio García
 

Thanks Ignacio,

I looked there, but there was only one file format in evidence being:
BibTex and no other. So I created one for PDF, and used XPDF as the
viewer. It still loaded KPDF.

But it's solved anyway. A reboot of the system and the KDE stuff loaded
as normal. I'm just not accustomed to doing the windows reboot stuff to
get things working in Linux.

Thanks for taking the time to suggest a fix, it's appreciated

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
Read the best books first, or you may not have a chance to read them at
all. ...Henry David Thoreau

***
Debian, just the best way to create magic
___


Re: Where to change the PDF viewer lyx version 1.6.3....... solved....

2009-07-12 Thread Ignacio García
M-L wrote, 12 Jul 2009

 I looked there, but there was only one file format in evidence being:
 BibTex and no other. So I created one for PDF, and used XPDF as the
 viewer. It still loaded KPDF.

The Format list is a pull-down (long) one, clic you the button to see it.
You can get more info in the section C.7.2 of the User Guide manual and
3.1 of the Customization manual (Help Menu)

 But it's solved anyway. A reboot of the system and the KDE stuff loaded
 as normal. I'm just not accustomed to doing the windows reboot stuff to
 get things working in Linux.

There is no need reboot the system. For some configuration changes LyX
may need a Tools  Reconfigure and restart LyX.

Regards
Ignacio García


Re: Where to change the PDF viewer lyx version 1.6.3....... solved....

2009-07-12 Thread M-L
On Sun, 12 Jul 2009 10:19:54 +0200 Ignacio García
ignacio.gmora...@gmail.com shared this with is all on the Lyx users
list:

 I looked there, but there was only one file format in evidence being:
 BibTex and no other. So I created one for PDF, and used XPDF as the
 viewer. It still loaded KPDF.  

The Format list is a pull-down (long) one, clic you the button to see
it. You can get more info in the section C.7.2 of the User Guide
manual and 3.1 of the Customization manual (Help Menu) 

Thank you Ignatio.

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
If a man constantly aspires is he not
elevated? ...Henry David Thoreau

***
Debian, just the best way to create magic
___


Document Include mechanism

2009-07-12 Thread James Mansion
I may be doing the wrong thing - but I stared trying to write a book 
with each Part in a separate document so I can edit (and version 
control) them in more manageable chunks.


This seems to be working though I find the inability to nest inclusions 
a bit disturbing.


What is more worrying is that I don't seem to be able to set the 
document class and LaTeX preamble on the master and have it inherited to 
new components --- I have to set the class of each one.


I'm a bit concerned that if I change the document class (its currently 
Koma book, but I might want to change this) it will be quite messy and 
some inconsistencies might sneak in.


I guess I could give in and just have one big document but as a 
developer that just feels all wrong somehow.


The help files (at least on 1.6.2) don't seem to deal with sturcturing 
large projects at all - are there other hints and tips I can use?


James



Re: Where to change the PDF viewer lyx version 1.6.3.......

2009-07-12 Thread Richard Heck

On 07/12/2009 02:39 AM, M-L wrote:

Hello Everyone,

Am using Debian Squeeze LyX version 1.6.3.

Everything KDE is taking ages to load at the moment, so I need to
change my PDF viewer from KPDF to XPDF, but I don't know how that might
be done.

   
ToolsPreferencesFile HandlingFile Formats. Choose one of the PDF 
formats (whichever one you use) and put the viewer you want in there.


rh



Re: Label and againframe [Beamer]

2009-07-12 Thread Paul A. Rubin
I'm afraid what you wrote does not make sense.  You start your 
presentation with title and authors.  Then you have your content, with 
the first slide of content started with a BeginFrame environment (the 
equivalent of the \begin{frame}[label=firstframe] LaTeX command you 
wrote below.


Or are you saying you want to repeat the title slide at the end??

/Paul

Christian Bustamante wrote:

Hi Paul,
I understand the procedure to repeat a simple slide. My problem is
whit the first one, because you don't use the BeginFrame environment
at all. At the start of file, you simple put the title and authors,
but not more how can I do it for the first slide??
Bests



On Sun, Jul 12, 2009 at 9:47 AM, Paul A. Rubinru...@msu.edu wrote:

Christian Bustamante wrote:

Hi all,

I'm using the beamer class and I need to repeat the first slide at the
end of presentation. In plain LaTeX one can do the following

\documentclass{beamer}
\title[Short title]{The title}
\author[Authors]{Author 1 \and Author 2}
\date{\today}
\begin{document}
\begin{frame}[label=firstframe]
\titlepage
\end{frame}
...
\againframe{firstframe}
\end{document}

Which uses the againframe command. The thing is, how can I label the
first slide for then use the againframe in LyX?


Put the cursor in the BeginFrame environment for the slide to be repeated,
directly to the left of the first letter of the title, and insert
'[label=firstframe]' (including the brackets) in an ERT inset. At the point
where you want to repeat the slide, use an AgainFrame environment and just
type 'firstframe' as if it were a title.

/Paul










Re: Label and againframe [Beamer]

2009-07-12 Thread Christian Bustamante
Exactly. I want to repeat the 'title slide'... It's possible?

On Sun, Jul 12, 2009 at 10:49 AM, Paul A. Rubinru...@msu.edu wrote:
 I'm afraid what you wrote does not make sense.  You start your presentation
 with title and authors.  Then you have your content, with the first slide of
 content started with a BeginFrame environment (the equivalent of the
 \begin{frame}[label=firstframe] LaTeX command you wrote below.

 Or are you saying you want to repeat the title slide at the end??

 /Paul

 Christian Bustamante wrote:

 Hi Paul,
 I understand the procedure to repeat a simple slide. My problem is
 whit the first one, because you don't use the BeginFrame environment
 at all. At the start of file, you simple put the title and authors,
 but not more how can I do it for the first slide??
 Bests



 On Sun, Jul 12, 2009 at 9:47 AM, Paul A. Rubinru...@msu.edu wrote:

 Christian Bustamante wrote:

 Hi all,

 I'm using the beamer class and I need to repeat the first slide at the
 end of presentation. In plain LaTeX one can do the following

 \documentclass{beamer}
 \title[Short title]{The title}
 \author[Authors]{Author 1 \and Author 2}
 \date{\today}
 \begin{document}
 \begin{frame}[label=firstframe]
 \titlepage
 \end{frame}
 ...
 \againframe{firstframe}
 \end{document}

 Which uses the againframe command. The thing is, how can I label the
 first slide for then use the againframe in LyX?

 Put the cursor in the BeginFrame environment for the slide to be
 repeated,
 directly to the left of the first letter of the title, and insert
 '[label=firstframe]' (including the brackets) in an ERT inset. At the
 point
 where you want to repeat the slide, use an AgainFrame environment and
 just
 type 'firstframe' as if it were a title.

 /Paul










-- 
CdeB


Re: Document Include mechanism

2009-07-12 Thread James Mansion

Richard Heck wrote:

On 07/12/2009 07:46 AM, James Mansion wrote:
I may be doing the wrong thing - but I stared trying to write a book 
with each Part in a separate document so I can edit (and version 
control) them in more manageable chunks.


This seems to be working though I find the inability to nest 
inclusions a bit disturbing.



What do you mean by this? You can have children of children of children.

No I can't.  When I got Ctrl-D I get a dialog that says:

LaTeX Error: \include cannot be nested.

and the Description is:

\include{0C__src_books_arch_test}

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.





What is more worrying is that I don't seem to be able to set the 
document class and LaTeX preamble on the master and have it inherited 
to new components --- I have to set the class of each one.


To some extent, this is a known issue, and there is a sense in which 
it can't be solved. If you treat the file as a file unto itself, then 
it needs its own document class, preamble, etc. And sometimes a file 
can be both a child of another document and a file unto itself. And 
for the same reason you do always have to set the document class.
I think that's a weak answer.  I don't *need* the children to be valid 
as self-contained documents, What I would like is to be able to set a 
docu class (optionally) but to have it ignored and defer to the parent 
in the case where its a child.



The only annoyance here is that you will get an error message when you 
compile, saying that the document classes are different. Then you can 
fix it.

Not if the problem is that I didn't copy across a preamble element.


James



Re: caption for long table in list of tables

2009-07-12 Thread Uwe Stöhr

 the problem is that I am getting an entry for each page in the list of
 tables Is there a way to get only one entry?

This bug has now been fixed for the next LyX version.

regards Uwe


Program listings with beamer probelm

2009-07-12 Thread Micha Feigin
Hello,

I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert-program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are in the wrong order, some line breaks are missing ...).
Inserting a listing from file (insert-file-child document-program listing)
works, but is very annoying for short ones

Any way to solve this?

thanks


Re: Program listings with beamer probelm

2009-07-12 Thread Micha Feigin

Micha Feigin wrote:

Hello,

I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert-program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are in the wrong order, some line breaks are missing ...).
Inserting a listing from file (insert-file-child document-program listing)
works, but is very annoying for short ones

Any way to solve this?

thanks


Seems from a thread I found that I need to somehow add fragile to the frame but I can't 
figure out how to do it without ert. Seems like the \lyxframe macro is rather messed up. I 
tried using insert short title which adds an opt entry but that gives an error that the 
pdf file can't be found


import bib refs to show in pdf?

2009-07-12 Thread Sebastian Stolzenberg

Dear All,

I installed the latest Lyx version 1.6.3 on my Mac 10.4.11

Everything behaves normal, in particular, I can export pdfs and easily 
import a *.bib into my Bibliography section and LyX recognizes all the 
references in it.


However, trying to export this document with references into pdf, the 
references do not appear and all my citation show question tags.


Any help is much appreciated,
Sebastian


Re: Document Include mechanism

2009-07-12 Thread rgheck

On 07/12/2009 12:57 PM, James Mansion wrote:

Richard Heck wrote:

On 07/12/2009 07:46 AM, James Mansion wrote:
I may be doing the wrong thing - but I stared trying to write a book 
with each Part in a separate document so I can edit (and version 
control) them in more manageable chunks.


This seems to be working though I find the inability to nest 
inclusions a bit disturbing.



What do you mean by this? You can have children of children of children.

No I can't.  When I got Ctrl-D I get a dialog that says:

LaTeX Error: \include cannot be nested.

and the Description is:

\include{0C__src_books_arch_test}

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.


Use Input rather than Include. That should probably be the default.

What is more worrying is that I don't seem to be able to set the 
document class and LaTeX preamble on the master and have it 
inherited to new components --- I have to set the class of each one.


To some extent, this is a known issue, and there is a sense in which 
it can't be solved. If you treat the file as a file unto itself, then 
it needs its own document class, preamble, etc. And sometimes a file 
can be both a child of another document and a file unto itself. And 
for the same reason you do always have to set the document class.


I think that's a weak answer.  I don't *need* the children to be valid 
as self-contained documents. What I would like is to be able to set a 
docu class (optionally) but to have it ignored and defer to the parent 
in the case where its a child.


I understand what you want. What I was explaining is why LyX can't just 
work the way you want. We have had lengthy discussions about this both 
on this list and on the devel list, and there are a lot of people who 
need the facility I described. So we provide that, and people who don't 
need that facility---like you and me--- have to make do.


That said, there probably is a bug here, especially now that we have 
this default master setting. A child should probably inherit the 
document class of its master, and its modules and such, too. I'm not 
sure how well we do with that.


Richard



Re: import bib refs to show in pdf?

2009-07-12 Thread Sebastian Stolzenberg

Hi rh, Hi All,

Thanks for the reply; attached, please find my test files, that do not 
work now on my ubuntu machine with LyX 1.6.0.


I found the command bibtex in test.lyx, so I manually ran bibtex on 
test.bib, with the error message that test.bib.aux is not found. I am 
not even close to the actual problem, am I? ;-)


Thank you
Sebastian

Sebastian Stolzenberg wrote:

Dear All,

I installed the latest Lyx version 1.6.3 on my Mac 10.4.11

Everything behaves normal, in particular, I can export pdfs and easily 
import a *.bib into my Bibliography section and LyX recognizes all the 
references in it.


However, trying to export this document with references into pdf, the 
references do not appear and all my citation show question tags.


Any help is much appreciated,
Sebastian
% This file was created with JabRef 2.3.1.
% Encoding: UTF-8

@ARTICLE{Brooks1983,
  author = {Brooks, Bernard R. and Bruccoleri, Robert E. and Olafson, Barry D.
	and States, David J. and Swaminathan, S. and Karplus, Martin},
  title = {CHARMM: A program for macromolecular energy, minimization, and dynamics
	calculations},
  journal = {Journal of Computational Chemistry},
  year = {1983},
  volume = {4},
  pages = {187--217},
  number = {2},
  abstract = {CHARMM (Chemistry at HARvard Macromolecular Mechanics) is a highly
	flexible computer program which uses empirical energy functions to
	model macromolecular systems. The program can read or model build
	structures, energy minimize them by first- or second-derivative techniques,
	perform a normal mode or molecular dynamics simulation, and analyze
	the structural, equilibrium, and dynamic properties determined in
	these calculations. The operations that CHARMM can perform are described,
	and some implementation details are given. A set of parameters for
	the empirical energy function and a sample run are included.},
  file = {Brooks1983_CHARMM- A program for macromolecular energy, minimization,
	and dynamics calculations.pdf:pdf-refs/Brooks1983_CHARMM- A program
	for macromolecular energy, minimization, and dynamics calculations.pdf:PDF},
  owner = {sebastian},
  timestamp = {2009.05.24},
  url = {http://dx.doi.org/10.1002/jcc.540040211}
}

@comment{jabref-meta: selector_publisher:}

@comment{jabref-meta: selector_author:}

@comment{jabref-meta: selector_journal:}

@comment{jabref-meta: selector_keywords:}

@comment{jabref-meta: groupsversion:3;}

@comment{jabref-meta: groupstree:
0 AllEntriesGroup:;
1 ExplicitGroup:GluT\;2\;;
2 ExplicitGroup:Scaffolding proteins\;2\;Waxman2007\;;
3 ExplicitGroup:C-terminals\;2\;Gonzalez2003\;Gonzalez2004a\;Jackson20
01\;Kalandadze2002\;Lin2001\;;
3 ExplicitGroup:N-terminals\;2\;Marie2002\;;
3 ExplicitGroup:general\;2\;Gonzalez2004\;Torres2007\;;
2 ExplicitGroup:Cluster Formation\;2\;Nakagawa2008\;Peacey2009\;Zhou20
04\;;
2 ExplicitGroup:Recycling\;2\;Voglmaier2006\;;
2 ExplicitGroup:Hotspot Residues\;2\;Zhang1999\;;
2 ExplicitGroup:Reviews\;2\;Torres2007\;Tzingounis2007\;Vandenberg2008
\;;
2 ExplicitGroup:experimental hints\;2\;Seal2001\;Shachnai2005\;Tao2007
\;Zerangue1996\;Zhang1998\;;
3 ExplicitGroup:near HP2b tip\;2\;Kavanaugh1997\;Tao2007\;;
3 ExplicitGroup:NA3binding site\;2\;Rosental2006\;Tao2006\;;
3 ExplicitGroup:Proton transport\;2\;Fairman1998\;;
3 ExplicitGroup:Chloride conductance\;2\;Fairman1995\;;
3 ExplicitGroup:Substrate Transport\;2\;Ryan2009\;;
2 ExplicitGroup:other MD sims\;2\;Gu2009\;Huang2008\;Huang2009\;Shriva
stava2008\;;
2 ExplicitGroup:Sodium binding\;2\;Gouaux2005\;Noskov2007\;;
2 ExplicitGroup:Boudker and Structure\;2\;Boudker2007\;Gendreau2004\;G
roeneveld2007\;Yernool2003\;Yernool2004\;;
2 ExplicitGroup:useful parameters for MD\;2\;Fuchs2006\;;
1 ExplicitGroup:NMA\;2\;Bahar2005\;Niv2008\;Riccardi2009\;Schulz2009\;
Sherwood2008\;Suhre2004\;Tozzini2005\;;
2 ExplicitGroup:unread\;2\;Bahar2005\;Chu2007\;Franklin2007\;Schroeder
2007\;Schulz2009\;Sherwood2008\;Yang2007\;Zheng2007a\;Zheng2007b\;;
2 ExplicitGroup:reviews\;2\;Tozzini2005\;;
2 ExplicitGroup:clap-motions\;2\;Zheng2007\;;
2 ExplicitGroup:Structure-refinements\;2\;Schroeder2007\;;
2 ExplicitGroup:perturbed NMA\;2\;Ming2006\;Ming2008\;Schuyler2009\;Te
hver2008\;Zheng2009\;;
2 ExplicitGroup:Willy R. Wriggers\;2\;Jeong2006\;;
2 ExplicitGroup:Spencer Erickson\;2\;Sanejouand2004\;Tama2001\;;
2 ExplicitGroup:multiple-basin-interpolation\;2\;Best2005\;Clementi200
0\;Maragakis2005\;Nakamura2004\;Okazaki2006\;Pan2008\;Ueda1978\;Yang20
09\;;
2 ExplicitGroup:NMA-MD\;2\;Sweet2008\;;
2 ExplicitGroup:general\;2\;Ma2005\;Monod1965\;Rzehak2002\;;
1 ExplicitGroup:MD\;2\;Kandt2007\;Maragakis2008\;Shaw2005\;;
2 ExplicitGroup:unread\;2\;Maragakis2008\;Sankararamakrishnan2000\;;
2 ExplicitGroup:Trajectories\;2\;Raveh2009\;;
2 ExplicitGroup:Nose\;2\;Evans1985\;Nose1984\;;
2 ExplicitGroup:PMF\;2\;Allen2006\;;
2 ExplicitGroup:General\;2\;Harvey1998\;Mackerell2004\;;
2 ExplicitGroup:Lipids (i think i got this from anshu)\;2\;;
2 ExplicitGroup:Protein Folding\;2\;Scheraga2007\;;
1 

Re: Where to change the PDF viewer lyx version 1.6.3.......

2009-07-12 Thread Ignacio García
M-L wrote, Sat, 11 Jul 2009
> Everything KDE is taking ages to load at the moment, so I need to
> change my PDF viewer from KPDF to XPDF, but I don't know how that might
> be done.

Tools > Preferences > File Handling > File Formats

and then, in Format there is a list where you can choose the wanted file format.
There are several PDF (...) entries. Below the list you can change the Viewer.
If you "Apply" the change is temporary, e.g. for testing,
if you "Save" the change is permanent.

Ignacio García


Re: Where to change the PDF viewer lyx version 1.6.3....... solved....

2009-07-12 Thread M-L
On Sun, 12 Jul 2009 09:22:42 +0200 Ignacio García
 shared this with is all on the Lyx users
list:

>M-L wrote, Sat, 11 Jul 2009
>> Everything KDE is taking ages to load at the moment, so I need to
>> change my PDF viewer from KPDF to XPDF, but I don't know how that
>> might be done.
>
>Tools > Preferences > File Handling > File Formats
>
>and then, in Format there is a list where you can choose the wanted
>file format. There are several PDF (...) entries. Below the list you
>can change the Viewer. If you "Apply" the change is temporary, e.g.
>for testing, if you "Save" the change is permanent.
>
>Ignacio García
 

Thanks Ignacio,

I looked there, but there was only one file format in evidence being:
BibTex and no other. So I created one for PDF, and used XPDF as the
viewer. It still loaded KPDF.

But it's solved anyway. A reboot of the system and the KDE stuff loaded
as normal. I'm just not accustomed to doing the windows reboot stuff to
get things working in Linux.

Thanks for taking the time to suggest a fix, it's appreciated

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
Read the best books first, or you may not have a chance to read them at
all. ...Henry David Thoreau

***
Debian, just the best way to create magic
___


Re: Where to change the PDF viewer lyx version 1.6.3....... solved....

2009-07-12 Thread Ignacio García
M-L wrote, 12 Jul 2009

> I looked there, but there was only one file format in evidence being:
> BibTex and no other. So I created one for PDF, and used XPDF as the
> viewer. It still loaded KPDF.

The Format list is a pull-down (long) one, clic you the button to see it.
You can get more info in the section C.7.2 of the User Guide manual and
3.1 of the Customization manual (Help Menu)

> But it's solved anyway. A reboot of the system and the KDE stuff loaded
> as normal. I'm just not accustomed to doing the windows reboot stuff to
> get things working in Linux.

There is no need reboot the system. For some configuration changes LyX
may need a Tools > Reconfigure and restart LyX.

Regards
Ignacio García


Re: Where to change the PDF viewer lyx version 1.6.3....... solved....

2009-07-12 Thread M-L
On Sun, 12 Jul 2009 10:19:54 +0200 Ignacio García
 shared this with is all on the Lyx users
list:

>> I looked there, but there was only one file format in evidence being:
>> BibTex and no other. So I created one for PDF, and used XPDF as the
>> viewer. It still loaded KPDF.  
>
>The Format list is a pull-down (long) one, clic you the button to see
>it. You can get more info in the section C.7.2 of the User Guide
>manual and 3.1 of the Customization manual (Help Menu) 

Thank you Ignatio.

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
If a man constantly aspires is he not
elevated? ...Henry David Thoreau

***
Debian, just the best way to create magic
___


Document Include mechanism

2009-07-12 Thread James Mansion
I may be doing the wrong thing - but I stared trying to write a book 
with each Part in a separate document so I can edit (and version 
control) them in more manageable chunks.


This seems to be working though I find the inability to nest inclusions 
a bit disturbing.


What is more worrying is that I don't seem to be able to set the 
document class and LaTeX preamble on the master and have it inherited to 
new components --- I have to set the class of each one.


I'm a bit concerned that if I change the document class (its currently 
Koma book, but I might want to change this) it will be quite messy and 
some inconsistencies might sneak in.


I guess I could give in and just have one big document but as a 
developer that just feels all wrong somehow.


The help files (at least on 1.6.2) don't seem to deal with sturcturing 
large projects at all - are there other hints and tips I can use?


James



Re: Where to change the PDF viewer lyx version 1.6.3.......

2009-07-12 Thread Richard Heck

On 07/12/2009 02:39 AM, M-L wrote:

Hello Everyone,

Am using Debian Squeeze LyX version 1.6.3.

Everything KDE is taking ages to load at the moment, so I need to
change my PDF viewer from KPDF to XPDF, but I don't know how that might
be done.

   
Tools>Preferences>File Handling>File Formats. Choose one of the PDF 
formats (whichever one you use) and put the viewer you want in there.


rh



Re: Label and againframe [Beamer]

2009-07-12 Thread Paul A. Rubin
I'm afraid what you wrote does not make sense.  You start your 
presentation with title and authors.  Then you have your content, with 
the first slide of content started with a BeginFrame environment (the 
equivalent of the \begin{frame}[label=firstframe] LaTeX command you 
wrote below.


Or are you saying you want to repeat the title slide at the end??

/Paul

Christian Bustamante wrote:

Hi Paul,
I understand the procedure to repeat a simple slide. My problem is
whit the first one, because you don't use the BeginFrame environment
at all. At the start of file, you simple put the title and authors,
but not more how can I do it for the first slide??
Bests



On Sun, Jul 12, 2009 at 9:47 AM, Paul A. Rubin wrote:

Christian Bustamante wrote:

Hi all,

I'm using the beamer class and I need to repeat the first slide at the
end of presentation. In plain LaTeX one can do the following

\documentclass{beamer}
\title[Short title]{The title}
\author[Authors]{Author 1 \and Author 2}
\date{\today}
\begin{document}
\begin{frame}[label=firstframe]
\titlepage
\end{frame}
...
\againframe{firstframe}
\end{document}

Which uses the againframe command. The thing is, how can I label the
first slide for then use the againframe in LyX?


Put the cursor in the BeginFrame environment for the slide to be repeated,
directly to the left of the first letter of the title, and insert
'[label=firstframe]' (including the brackets) in an ERT inset. At the point
where you want to repeat the slide, use an AgainFrame environment and just
type 'firstframe' as if it were a title.

/Paul










Re: Label and againframe [Beamer]

2009-07-12 Thread Christian Bustamante
Exactly. I want to repeat the 'title slide'... It's possible?

On Sun, Jul 12, 2009 at 10:49 AM, Paul A. Rubin wrote:
> I'm afraid what you wrote does not make sense.  You start your presentation
> with title and authors.  Then you have your content, with the first slide of
> content started with a BeginFrame environment (the equivalent of the
> \begin{frame}[label=firstframe] LaTeX command you wrote below.
>
> Or are you saying you want to repeat the title slide at the end??
>
> /Paul
>
> Christian Bustamante wrote:
>>
>> Hi Paul,
>> I understand the procedure to repeat a simple slide. My problem is
>> whit the first one, because you don't use the BeginFrame environment
>> at all. At the start of file, you simple put the title and authors,
>> but not more how can I do it for the first slide??
>> Bests
>>
>>
>>
>> On Sun, Jul 12, 2009 at 9:47 AM, Paul A. Rubin wrote:
>>>
>>> Christian Bustamante wrote:

 Hi all,

 I'm using the beamer class and I need to repeat the first slide at the
 end of presentation. In plain LaTeX one can do the following

 \documentclass{beamer}
 \title[Short title]{The title}
 \author[Authors]{Author 1 \and Author 2}
 \date{\today}
 \begin{document}
 \begin{frame}[label=firstframe]
 \titlepage
 \end{frame}
 ...
 \againframe{firstframe}
 \end{document}

 Which uses the againframe command. The thing is, how can I label the
 first slide for then use the againframe in LyX?

>>> Put the cursor in the BeginFrame environment for the slide to be
>>> repeated,
>>> directly to the left of the first letter of the title, and insert
>>> '[label=firstframe]' (including the brackets) in an ERT inset. At the
>>> point
>>> where you want to repeat the slide, use an AgainFrame environment and
>>> just
>>> type 'firstframe' as if it were a title.
>>>
>>> /Paul
>>>
>>>
>>
>>
>>
>
>



-- 
CdeB


Re: Document Include mechanism

2009-07-12 Thread James Mansion

Richard Heck wrote:

On 07/12/2009 07:46 AM, James Mansion wrote:
I may be doing the wrong thing - but I stared trying to write a book 
with each Part in a separate document so I can edit (and version 
control) them in more manageable chunks.


This seems to be working though I find the inability to nest 
inclusions a bit disturbing.



What do you mean by this? You can have children of children of children.

No I can't.  When I got Ctrl-D I get a dialog that says:

LaTeX Error: \include cannot be nested.

and the Description is:

\include{0C__src_books_arch_test}

Your command was ignored.

Type I   to replace it with another command,

or  to continue without it.





What is more worrying is that I don't seem to be able to set the 
document class and LaTeX preamble on the master and have it inherited 
to new components --- I have to set the class of each one.


To some extent, this is a known issue, and there is a sense in which 
it can't be solved. If you treat the file as a file unto itself, then 
it needs its own document class, preamble, etc. And sometimes a file 
can be both a child of another document and a file unto itself. And 
for the same reason you do always have to set the document class.
I think that's a weak answer.  I don't *need* the children to be valid 
as self-contained documents, What I would like is to be able to set a 
docu class (optionally) but to have it ignored and defer to the parent 
in the case where its a child.



The only annoyance here is that you will get an error message when you 
compile, saying that the document classes are different. Then you can 
fix it.

Not if the problem is that I didn't copy across a preamble element.


James



Re: caption for long table in list of tables

2009-07-12 Thread Uwe Stöhr

> the problem is that I am getting an entry for each page in the list of
> tables Is there a way to get only one entry?

This bug has now been fixed for the next LyX version.

regards Uwe


Program listings with beamer probelm

2009-07-12 Thread Micha Feigin
Hello,

I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert->program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are in the wrong order, some line breaks are missing ...).
Inserting a listing from file (insert->file->child document->program listing)
works, but is very annoying for short ones

Any way to solve this?

thanks


Re: Program listings with beamer probelm

2009-07-12 Thread Micha Feigin

Micha Feigin wrote:

Hello,

I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert->program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are in the wrong order, some line breaks are missing ...).
Inserting a listing from file (insert->file->child document->program listing)
works, but is very annoying for short ones

Any way to solve this?

thanks


Seems from a thread I found that I need to somehow add fragile to the frame but I can't 
figure out how to do it without ert. Seems like the \lyxframe macro is rather messed up. I 
tried using insert short title which adds an opt entry but that gives an error that the 
pdf file can't be found


import bib refs to show in pdf?

2009-07-12 Thread Sebastian Stolzenberg

Dear All,

I installed the latest Lyx version 1.6.3 on my Mac 10.4.11

Everything behaves normal, in particular, I can export pdfs and easily 
import a *.bib into my Bibliography section and LyX recognizes all the 
references in it.


However, trying to export this document with references into pdf, the 
references do not appear and all my citation show question tags.


Any help is much appreciated,
Sebastian


Re: Document Include mechanism

2009-07-12 Thread rgheck

On 07/12/2009 12:57 PM, James Mansion wrote:

Richard Heck wrote:

On 07/12/2009 07:46 AM, James Mansion wrote:
I may be doing the wrong thing - but I stared trying to write a book 
with each Part in a separate document so I can edit (and version 
control) them in more manageable chunks.


This seems to be working though I find the inability to nest 
inclusions a bit disturbing.



What do you mean by this? You can have children of children of children.

No I can't.  When I got Ctrl-D I get a dialog that says:

LaTeX Error: \include cannot be nested.

and the Description is:

\include{0C__src_books_arch_test}

Your command was ignored.

Type I   to replace it with another command,

or  to continue without it.


Use Input rather than Include. That should probably be the default.

What is more worrying is that I don't seem to be able to set the 
document class and LaTeX preamble on the master and have it 
inherited to new components --- I have to set the class of each one.


To some extent, this is a known issue, and there is a sense in which 
it can't be solved. If you treat the file as a file unto itself, then 
it needs its own document class, preamble, etc. And sometimes a file 
can be both a child of another document and a file unto itself. And 
for the same reason you do always have to set the document class.


I think that's a weak answer.  I don't *need* the children to be valid 
as self-contained documents. What I would like is to be able to set a 
docu class (optionally) but to have it ignored and defer to the parent 
in the case where its a child.


I understand what you want. What I was explaining is why LyX can't just 
work the way you want. We have had lengthy discussions about this both 
on this list and on the devel list, and there are a lot of people who 
need the facility I described. So we provide that, and people who don't 
need that facility---like you and me--- have to make do.


That said, there probably is a bug here, especially now that we have 
this "default master" setting. A child should probably inherit the 
document class of its master, and its modules and such, too. I'm not 
sure how well we do with that.


Richard



Re: import bib refs to show in pdf?

2009-07-12 Thread Sebastian Stolzenberg

Hi rh, Hi All,

Thanks for the reply; attached, please find my test files, that do not 
work now on my ubuntu machine with LyX 1.6.0.


I found the command "bibtex" in test.lyx, so I manually ran bibtex on 
test.bib, with the error message that "test.bib.aux" is not found. I am 
not even close to the actual problem, am I? ;-)


Thank you
Sebastian

Sebastian Stolzenberg wrote:

Dear All,

I installed the latest Lyx version 1.6.3 on my Mac 10.4.11

Everything behaves normal, in particular, I can export pdfs and easily 
import a *.bib into my Bibliography section and LyX recognizes all the 
references in it.


However, trying to export this document with references into pdf, the 
references do not appear and all my citation show question tags.


Any help is much appreciated,
Sebastian
% This file was created with JabRef 2.3.1.
% Encoding: UTF-8

@ARTICLE{Brooks1983,
  author = {Brooks, Bernard R. and Bruccoleri, Robert E. and Olafson, Barry D.
	and States, David J. and Swaminathan, S. and Karplus, Martin},
  title = {CHARMM: A program for macromolecular energy, minimization, and dynamics
	calculations},
  journal = {Journal of Computational Chemistry},
  year = {1983},
  volume = {4},
  pages = {187--217},
  number = {2},
  abstract = {CHARMM (Chemistry at HARvard Macromolecular Mechanics) is a highly
	flexible computer program which uses empirical energy functions to
	model macromolecular systems. The program can read or model build
	structures, energy minimize them by first- or second-derivative techniques,
	perform a normal mode or molecular dynamics simulation, and analyze
	the structural, equilibrium, and dynamic properties determined in
	these calculations. The operations that CHARMM can perform are described,
	and some implementation details are given. A set of parameters for
	the empirical energy function and a sample run are included.},
  file = {Brooks1983_CHARMM- A program for macromolecular energy, minimization,
	and dynamics calculations.pdf:pdf-refs/Brooks1983_CHARMM- A program
	for macromolecular energy, minimization, and dynamics calculations.pdf:PDF},
  owner = {sebastian},
  timestamp = {2009.05.24},
  url = {http://dx.doi.org/10.1002/jcc.540040211}
}

@comment{jabref-meta: selector_publisher:}

@comment{jabref-meta: selector_author:}

@comment{jabref-meta: selector_journal:}

@comment{jabref-meta: selector_keywords:}

@comment{jabref-meta: groupsversion:3;}

@comment{jabref-meta: groupstree:
0 AllEntriesGroup:;
1 ExplicitGroup:GluT\;2\;;
2 ExplicitGroup:Scaffolding proteins\;2\;Waxman2007\;;
3 ExplicitGroup:C-terminals\;2\;Gonzalez2003\;Gonzalez2004a\;Jackson20
01\;Kalandadze2002\;Lin2001\;;
3 ExplicitGroup:N-terminals\;2\;Marie2002\;;
3 ExplicitGroup:general\;2\;Gonzalez2004\;Torres2007\;;
2 ExplicitGroup:Cluster Formation\;2\;Nakagawa2008\;Peacey2009\;Zhou20
04\;;
2 ExplicitGroup:Recycling\;2\;Voglmaier2006\;;
2 ExplicitGroup:Hotspot Residues\;2\;Zhang1999\;;
2 ExplicitGroup:Reviews\;2\;Torres2007\;Tzingounis2007\;Vandenberg2008
\;;
2 ExplicitGroup:experimental hints\;2\;Seal2001\;Shachnai2005\;Tao2007
\;Zerangue1996\;Zhang1998\;;
3 ExplicitGroup:near HP2b tip\;2\;Kavanaugh1997\;Tao2007\;;
3 ExplicitGroup:NA3binding site\;2\;Rosental2006\;Tao2006\;;
3 ExplicitGroup:Proton transport\;2\;Fairman1998\;;
3 ExplicitGroup:Chloride conductance\;2\;Fairman1995\;;
3 ExplicitGroup:Substrate Transport\;2\;Ryan2009\;;
2 ExplicitGroup:other MD sims\;2\;Gu2009\;Huang2008\;Huang2009\;Shriva
stava2008\;;
2 ExplicitGroup:Sodium binding\;2\;Gouaux2005\;Noskov2007\;;
2 ExplicitGroup:Boudker and Structure\;2\;Boudker2007\;Gendreau2004\;G
roeneveld2007\;Yernool2003\;Yernool2004\;;
2 ExplicitGroup:useful parameters for MD\;2\;Fuchs2006\;;
1 ExplicitGroup:NMA\;2\;Bahar2005\;Niv2008\;Riccardi2009\;Schulz2009\;
Sherwood2008\;Suhre2004\;Tozzini2005\;;
2 ExplicitGroup:unread\;2\;Bahar2005\;Chu2007\;Franklin2007\;Schroeder
2007\;Schulz2009\;Sherwood2008\;Yang2007\;Zheng2007a\;Zheng2007b\;;
2 ExplicitGroup:reviews\;2\;Tozzini2005\;;
2 ExplicitGroup:clap-motions\;2\;Zheng2007\;;
2 ExplicitGroup:Structure-refinements\;2\;Schroeder2007\;;
2 ExplicitGroup:perturbed NMA\;2\;Ming2006\;Ming2008\;Schuyler2009\;Te
hver2008\;Zheng2009\;;
2 ExplicitGroup:Willy R. Wriggers\;2\;Jeong2006\;;
2 ExplicitGroup:Spencer Erickson\;2\;Sanejouand2004\;Tama2001\;;
2 ExplicitGroup:multiple-basin-interpolation\;2\;Best2005\;Clementi200
0\;Maragakis2005\;Nakamura2004\;Okazaki2006\;Pan2008\;Ueda1978\;Yang20
09\;;
2 ExplicitGroup:NMA-MD\;2\;Sweet2008\;;
2 ExplicitGroup:general\;2\;Ma2005\;Monod1965\;Rzehak2002\;;
1 ExplicitGroup:MD\;2\;Kandt2007\;Maragakis2008\;Shaw2005\;;
2 ExplicitGroup:unread\;2\;Maragakis2008\;Sankararamakrishnan2000\;;
2 ExplicitGroup:Trajectories\;2\;Raveh2009\;;
2 ExplicitGroup:Nose\;2\;Evans1985\;Nose1984\;;
2 ExplicitGroup:PMF\;2\;Allen2006\;;
2 ExplicitGroup:General\;2\;Harvey1998\;Mackerell2004\;;
2 ExplicitGroup:Lipids (i think i got this from anshu)\;2\;;
2 ExplicitGroup:Protein Folding\;2\;Scheraga2007\;;
1