Beamer: Error with section

2009-05-17 Thread Hellmut Weber

Hi list,
i'm trying to create my first beamer presentation.

I have looked at the two examples on the lyx wiki and also into Till 
Tantau's beamerlyxexample1.lyx.


Having a document with:
- Documentclass persentation(beamer)
- Preamble: \usetheme{Warsaw}
- a title
- a section

i get a latex error:

Undefined control sequence
\lyxframeend
 {}\section{Abschnitt}


What am i doing wrong?
What is missing?

I'm totally confused ,-(

Any help appreciated (best would be obviously a simple working template ;-)


TIA

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Beamer: Error on section, addition

2009-05-17 Thread Hellmut Weber

Sorry, i forgot:

LyX-1.6.1
gentoo linux
lenovo T61

Cheers

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Beamer: Error with section

2009-05-17 Thread Kosta Welke
On Sun, 17 May 2009 09:53:31 +0200
Hellmut Weber m...@hellmutweber.de wrote:

 i'm trying to create my first beamer presentation.
 What am i doing wrong?
 What is missing?

Could you post the source of a lyx document that contains the error to
a service like pastebin.com? That way, someone can reproduce it and
tell you what's going wrong.

Unfortunately, the Latex-Beamer stuff simply throws completely
incomprehensible error messages for the average user :(

Could it be that you define a section inside a frame? If so, try
defining it before that frame.

Cheers,

Kosta


Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Erez Yerushalmi
Maybe this will help.

A bib file is just a certain type of format, which can be saved in notepad.
Jabref opens it up an shows it to you in an easiser way.  So,

1. In Jabref, you create bib file called mylib.bib. You can save it
anywhere. So lets say you created a folder where your current lyx project is
located. Save this bib file there.

2.Go to the place in your lyx document where you want the references to be
presented (presumably, the end). Click Insert/ Lists  TOC/ BibT E X
Bibliography. Point the LyX document to that specific file, by browsing for
the mylib.bib file.

3. Click Lyx's Layout/Document setting, choose Bibliography. Here you
specify the style of citations you want.
4. Now, suppose you are writing a document and you want to cite something.
Click LyX insert/ Citation button. A menu should open and you should
see the list of reference ,

I use also zotero to collect the citations, and export it as bibtex file.

Erez

On Sun, May 17, 2009 at 2:31 AM, castelol...@aim.com wrote:

 I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot
 push refs from Jab into Lyx in windows xp.

 Here's the strange thing (coming from a beginner's perspective), I can
 create a bibliography because there are .bib files already in the
 appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with its
 database. I can also manually put my JabRef .bib into that same subdirectory
 (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it appears in the
 dialogue box along with the others (examples that installed with Lyx).

 But, insertcitation does not show any references in my .bib, though the
 others do appear and can be inserted as citations and appear in the
 references at the end of the doc.

 There must be, at the very least,  a way to put the .bib files in the right
 directory manually?

 thnx,
 Casper de Tello




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage:
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Paul A. Rubin

castelol...@aim.com wrote:

I just started using LyX 1.6 and JabRef 2.4 and I read here that you
cannot push refs from Jab into Lyx in windows xp.


Correct.


Here's the strange thing (coming from a beginner's perspective), I
can create a bibliography because there are .bib files already in the
appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with
its database. I can also manually put my JabRef .bib into that same
subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it
appears in the dialogue box along with the others (examples that
installed with Lyx).


pick nitTechnically, they installed with MiKTeX; LyX is not 
responsible for them./pick nit


But, insertcitation does not show any references in my .bib, though
the others do appear and can be inserted as citations and appear in
the references at the end of the doc.


Confirmed.  To fix this, you have to run the MiKTeX Settings 
application, click the Refresh FNDB button (FNDB = file name 
database), then restart LyX.  In general, dropping a file somewhere in 
MiKTeX's directory does not make MiKTeX aware of it; you have to refresh 
the file name database to let MiKTeX know it's there.  (The same is true 
for all LaTeX distributions, by the way.)  The curious thing here is 
that LyX apparently relies on MiKTeX to find the .bib file when looking 
for its contents, but not when listing it in the bibliography insertion 
dialog.  Quoting Emerson: A foolish consistency is the hobgoblin of 
little minds ...


In any event, this is not the preferred way to access your own BibTeX 
files (see below).


There must be, at the very least,  a way to put the .bib files in the
right directory manually?


The right directory is wherever your .bib files would normally live 
(typically but not necessarily somewhere in the vast morass of My 
Documents).  In the bibliography insertion dialog, click Add...  
Browse..., drill down to your .bib file (which can be anywhere), then 
click Add.


/Paul



Fwd: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread castelolxlx

 


 pick nitTechnically, they installed with MiKTeX; LyX is not 
responsible for them./pick nit







 My bad.





To fix this, you have to run the MiKTeX Settings 
application, click the Refresh FNDB button (FNDB = file name 
database), then restart LyX.





Cool beans. It works. 





I am greatly relieved to see that with minor tweaking JabRef and LyX do 
co-mingle perfectly in windows. From looking at past posts, I started to think 
I had to migrate my dissertation to linux (not really an option at my 
department) for them to work together fully. 





Thanks!











 





-Original Message-


From: 
Paul A. Rubin ru...@msu.edu

To: castelol...@aim.com


Cc: lyx-users@lists.lyx.org


Sent: Sun, 17 May 2009 07:02:28 -0700


Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7




castelol...@aim.com wrote:





??? I just started using LyX 1.6 and JabRef 2.4 and I read here that you


??? cannot push refs from Jab into Lyx in windows xp.








Correct.








??? Here's the strange thing (coming from a beginner's perspective), I


??? can create a bibliography because there are .bib files already in the


??? appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with


??? its database. I can also manually put my JabRef .bib into that same


??? subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it


??? appears in the dialogue box along with the others (examples that


??? installed with Lyx).








pick nitTechnically, they installed with MiKTeX; LyX is not responsible for 
them./pick nit








??? But, insertcitation does not show any references in my .bib, though


??? the others do appear and can be inserted as citations and appear in


??? the references at the end of the doc.








Confirmed. To fix this, you have to run the MiKTeX Settings application, click 
the Refresh FNDB button (FNDB = file name database), then restart LyX. In 
general, dropping a file somewhere in MiKTeX's directory does not make MiKTeX 
aware of it; you have to refresh the file name database to let MiKTeX know it's 
there. (The same is true for all LaTeX distributions, by the way.) The curious 
thing here is that LyX apparently relies on MiKTeX to find the .bib file when 
looking for its contents, but not when listing it in the bibliography insertion 
dialog. Quoting Emerson: A foolish consistency is the hobgoblin of little 
minds ...








In any event, this is not the preferred way to access your own BibTeX files 
(see below).








??? There must be, at the very least,? a way to put the .bib files in the


??? right directory manually?








The right directory is wherever your .bib files would normally live 
(typically but not necessarily somewhere in the vast morass of My Documents). 
In the bibliography insertion dialog, click Add...  Browse..., drill down to 
your .bib file (which can be anywhere), then click Add.








/Paul












 

We found the real 'Hotel California' and the 'Seinfeld' diner. What will you 
find? Explore WhereItsAt.com. 



 



Re: Fwd: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Paul A. Rubin

castelol...@aim.com wrote:




To fix this, you have to run the MiKTeX Settings application, click
the Refresh FNDB button (FNDB = file name database), then restart
LyX.

Cool beans. It works.



Just to be clear(er), though, I really do advocate keeping your .bib 
files with your documents, research, etc. and not migrating them to 
MiKTeX directories.  There's no advantage to copying them over to the 
MiKTeX directories, and one disadvantage:  if you update your MiKTeX 
distribution (there will probably be a 2.8 one of these days, and 
presumably a 3.0 at some point), you're liable to lose those copies, and 
your docs will be broken until you recopy the .bib files.


Cheers,
Paul



Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Uwe Stöhr

castelol...@aim.com schrieb:


I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot 
push refs from Jab into Lyx in windows xp.


Yes and there's also no need to.


Here's the strange thing (coming from a beginner's perspective), I can create a 
bibliography

 because there are .bib files already in the appropriate MiKTeX 2.7
 folder that appears to be supplying Lyx with its database.
LyX just takes this folder as default folder to look for BibTeX files, but you can store your BibTeX 
file wherever you want.


 I can also manually put my JabRef .bib into that same subdirectory
 (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic)

I recommend not to do this, to keep your MiKTeX installation unchanged and to 
avoid possible problems.


But, insertcitation does not show any references in my .bib, though the others 
do appear and can be inserted as citations and appear in the references at the end 
of the doc.

There must be, at the very least,  a way to put the .bib files in the right 
directory manually?


I guess you haven't loaded your BibTeX file in your LyX document. How this is done is explained in 
LyX's User's Guide that you find in LyX's Help menu. If you still have problems, look for example at 
the file achemso.lyx that you find in LyX's examples folder to see how there the BibTeX file 
biblioExample.bib is loaded.


regards Uwe


Re: Beamer: Error with section

2009-05-17 Thread Hellmut Weber

Hi Kosta,
here it is ;-)


Could you post the source of a lyx document that contains the error to
a service like pastebin.com? That way, someone can reproduce it and
tell you what's going wrong.

Unfortunately, the Latex-Beamer stuff simply throws completely
incomprehensible error messages for the average user :(

Could it be that you define a section inside a frame? If so, try
defining it before that frame.

As you can see I'm doing nearly nothing

Thanks for your answer

Cheers

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq
#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article-beamer
\begin_preamble
\usetheme{Warsaw}
\end_preamble
\use_default_options true
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Title
My first beamer presentation
\end_layout

\begin_layout Section
Abschnitt
\end_layout

\end_body
\end_document


Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread castelolxlx

 Thx to you and Erez, for your comments.

Great to know there's support for newbies when needed : )



 /Cas




-Original Message-
From: Uwe Stöhr uwesto...@web.de
To: castelol...@aim.com
Cc: lyx-users@lists.lyx.org
Sent: Sun, 17 May 2009 5:32 pm
Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7









castelol...@aim.com schrieb: 
 

 I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot 
 push refs from Jab into Lyx in windows xp. 
 

Yes and there's also no need to. 
 

 Here's the strange thing (coming from a beginner's perspective), I can create 
 a bibliography 

  because there are .bib files already in the appropriate MiKTeX 2.7 

  folder that appears to be supplying Lyx with its database. 

LyX just takes this folder as default folder to look for BibTeX files, but you 
can store your BibTeX
file wherever you want. 
 

  I can also manually put my JabRef .bib into that same subdirectory 

  (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) 
 

I recommend not to do this, to keep your MiKTeX installation unchanged and to 
avoid possible problems. 
 

 But, insertcitation does not show any references in my .bib, though the 
 others do appear and can be inserted as citations and appear in the 
 references at the end of the doc. 


 There must be, at the very least,  a way to put the .bib files in the right 
 directory
 manually? 
 

I guess you haven't loaded your BibTeX file in your LyX document. How this is 
done is explained in
LyX's User's Guide that you find in LyX's Help menu. If you still have 
problems, look for example at
the file achemso.lyx that you find in LyX's examples folder to see how there 
the BibTeX file
biblioExample.bib is loaded. 
 

regards Uwe 







Re: Beamer: Error with section

2009-05-17 Thread Kosta Welke
On Sun, 17 May 2009 18:43:56 +0200
Hellmut Weber m...@hellmutweber.de wrote:

 As you can see I'm doing nearly nothing

Here is a version that works:

http://pastebin.com/m1f60d2ea
(there's a 'download' link)

I did two things:

a) Add an empty slide (so that the error goes away)

b) Changed the document class from article(beamer) to
presentation(beamer) so that it looks like a presentation

HTH,

Kosta


Trouble starting LyX under MS XP/cygwin

2009-05-17 Thread Eben Oldmixon
I use cygwin on a machine running MS XP.  I have updated my cygwin installation 
to include lyx and X-windows dependencies.  I've found the Cygwin-X label under 
the 'START' Menu and clicked the XWin Server button.  Nothing obvious happens, 
and lyx does not want to start; that is:

%which lyx
/usr/bin/lyx
%lyx
lyx: cannot connect to X server

What should I do?  Thanks in advance for help and insight.



Re: Using counters

2009-05-17 Thread obregonmateo
On Friday 15 May 2009, obregonma...@gmail.com wrote:
 We're getting close!
 
 On Friday 15 May 2009, Guenter Milde wrote:
  On 2009-05-15, obregonma...@gmail.com wrote:
   On Friday 15 May 2009, Helge Hafting wrote:
   obregonma...@gmail.com wrote:
  
I want to have a counter (experiment) that uses roman numerals and
is sequential throughout the chapters. I figure that a module is the
right way about this, so I have a module with the following counter:
 
3.2label expt:reading-ability Experiment I: Effect of reading 
ability
 
   Counter experimentCounter
 LabelString  \Roman{experimentCounter}
 Within
   End
  
  This sets up the Counter for LyX only, you need to set up a LaTex
  counter as well.
 
 Ah! That explains a lot. 
 

So, I need to code this for TWO systems: (1) LyX (shown on the screen, with all 
its handy tools); and (2) LaTeX (printed out correctly)!

I have not been able to get the two to happen at the same time. I can get the 
correct solution with the following:

## LyX counter, in correct format:
Counter experimentCounter
LabelString  \Roman{experimentCounter}
Within
End

## LaTeX counter, in correct format:
AddToPreamble
\newcounter{experiment}
\setcounter{experiment}{0}

\renewcommand{\theexperiment}{\textit{\Roman{experiment}}}
EndPreamble

## An LyX style, that just allows me to set a named label for the following 
Experiment heading:
Style ExperimentLabel
CategorySection
LatexType   Command
LatexName   exptLabel
KeepEmpty   1
LabelType   Counter
LeftMargin  XLabel_for_experiment_XXX:XX
LabelString Label for experiment \theexperimentCounter: 
LabelCounterexperimentCounter
OptionalArgs1
TopSep  1.4
Font
Shape   Italic
Color   red
SizeLarge
EndFont
Preamble
\newcommand{\exptLabel}[1]{%
\refstepcounter{experiment} #1}
EndPreamble
End

## A new section style, for the correct printing of the experiment title that 
also looks nice on the screen:
Style Experiment
CopyStyle Section
LatexName experimentSection
LabelType Counter
LabelString   \thesection  Experiment \theexperimentCounter.
LabelCounter  section
OptionalArgs  1
Font
Shape   Italic
SizeLarge
EndFont
Preamble
  \newcommand{\experimentSection}[1]{%
\section{\textit{Experiment \theexperiment. #1}}}
EndPreamble
End


===

It took me a long time to find the \refstepcounter{} latex command. It's the 
only way that I've managed to change the label reference environment so that 
the \label{exp:expt-name} takes the experiment counter value and not the 
section counter value.

I don't mind that LyX doesn't show the experiment counter value on the screen, 
but I do need to be able to use labels referring to the experiment counter. I 
tried writing this latex command, but it doesn't work. Anyone know how to write 
this function correctly?

  \newcommand{\experimentSection}[1]{%
\section{\textit{Experiment \theexperiment. 
{\refstepcounter{experiment} #1

Thanks.

Mateo.



Re: Beamer: Error with section

2009-05-17 Thread Hellmut Weber

Hi Kosta,
thank you very much.

Your sample works for me ;-))

Cheers

Hellmut

Kosta Welke schrieb:

On Sun, 17 May 2009 18:43:56 +0200
Hellmut Weber m...@hellmutweber.de wrote:


As you can see I'm doing nearly nothing


Here is a version that works:

http://pastebin.com/m1f60d2ea
(there's a 'download' link)

I did two things:

a) Add an empty slide (so that the error goes away)

b) Changed the document class from article(beamer) to
presentation(beamer) so that it looks like a presentation

HTH,

Kosta



--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Bibliography please help

2009-05-17 Thread Alaa
Hi,
I´m writing an article in Lyx and my supervisor want the bibliography like: 
author, journal, year, volume, pages. I use jabref 2.4 and bibtex.

please help.

Re: Trouble starting LyX under MS XP/cygwin

2009-05-17 Thread Enrico Forestieri
Eben Oldmixon writes:
 
 %which lyx
 /usr/bin/lyx
 %lyx
 lyx: cannot connect to X server

The X server is probably not running or you forgot to set the DISPLAY
environment variable.

 What should I do?  Thanks in advance for help and insight.

Try whether setting DISPLAY helps.
% DISPLAY=localhost:0  = if you use the bash shell
% setenv DISPLAY localhost:0   = if you use the tcsh shell
and then launch lyx again.

However, it seems that you are using the official cygwin lyx package,
which is quite old (version 1.4.5). You could try the latest version here:
ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/lyx-1.6.2-cygwin.tar.gz
This version doesn't need a X server. Un-tar the archive (using the
cygwin tar) and then follows the instructions for installing it.

-- 
Enrico





Re: Trouble starting LyX under MS XP/cygwin

2009-05-17 Thread Eben Oldmixon
Enrico Forestieri for...@... writes:
 Try whether setting DISPLAY helps.
 % DISPLAY=localhost:0  = if you use the bash shell
 and then launch lyx again.
 ... try the latest version here:
 ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/lyx-1.6.2-cygwin.tar.gz

Thanks.  (Having trouble figuring out how the site wants
 me to reply to your message.
Hope this is OK.)  Setting DISPLAY didn't help; yes, bash.
  I'll try the newer version, 
but it may take me a day or so to get back to you.







Re: Bibliography please help

2009-05-17 Thread I Wayan Warmada


--- On Mon, 5/18/09, Alaa abbasa...@hotmail.com wrote:

 Hi,
 I´m writing an article in Lyx and my supervisor want the
 bibliography like: author, journal, year, volume, pages. I
 use jabref 2.4 and bibtex.

It is not clear what do you mean. I guest it is related to bibliographic style 
(*.bst). Some years ago I have seen bibliographic style like you have writen 
above, i.e., without title. Try to find Nature or American Journal of Science 
related bst. Or you can make a clone of natbib using merlin.mbs.

Regards,
Wayan





Error Explanation Help Needed

2009-05-17 Thread Rich Shepard

  I wanted to make some corrections and changes to my beamer presentation
while I was away from the office. However, I get an error regarding the logo
graphic which is different from what came up before, and I am having a lot
of difficulty identifying the source.

  The file is exported from lyx-1.6.2 using the LaTeX (pdflatex) option.
When I run pdflatex on the .tex file the error occurs. The error is on line
869 of the attached log file. It's interesting that I'm running the same
versions of Slackware, LyX, and pgf on both machines, yet cannot
successfullly view or compile the presentation on the portable.

  It tells me that there is an undefined control sequence, .75pgfex,
associated with the \includegraphics command for aesi-logo.pdf. However, the
command does not have any such string in it.

  Where do I look for the source of this error?

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=pdflatex 
2007.6.27)  17 MAY 2009 16:35
entering extended mode
**visuals.tex
(./visuals.tex
LaTeX2e 2003/12/01
Babel v3.8d and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/beamer/beamer.cls
(/usr/share/texmf/tex/latex/beamer/beamerbasercs.sty
Package: beamerbasercs 2004/10/07 (rcs-revision 1.3)
)
Document Class: beamer 2004/10/11 cvs version 3.01 A class for typesetting pres
entations (rcs-revision 1.55)
(/usr/share/texmf/tex/latex/beamer/beamerbasemodes.sty
Package: beamerbasemodes 2004/10/07 (rcs-revision 1.20)
\bea...@tempbox=\box26
\bea...@tempcount=\count79
\...@beamerpauses=\count80

(/usr/share/texmf/tex/latex/beamer/beamerbasedecode.sty
Package: beamerbasedecode 2004/10/07 (rcs-revision 1.16)
\bea...@slideinframe=\count81
\bea...@minimum=\count82
)
\bea...@commentbox=\box27
\bea...@modecount=\count83
)
\headheight=\dimen102
\headdp=\dimen103
\footheight=\dimen104
\sidebarheight=\dimen105
\bea...@tempdim=\dimen106
\bea...@finalheight=\dimen107
\bea...@animht=\dimen108
\bea...@animdp=\dimen109
\bea...@animwd=\dimen110
\bea...@leftmargin=\dimen111
\bea...@rightmargin=\dimen112
\bea...@leftsidebar=\dimen113
\bea...@rightsidebar=\dimen114
\bea...@boxsize=\dimen115
\bea...@vboxoffset=\dimen116
\bea...@descdefault=\dimen117
\bea...@descriptionwidth=\dimen118
\bea...@lastskip=\skip41
\bea...@areabox=\box28
\bea...@animcurrent=\box29
\bea...@animshowbox=\box30
\bea...@sectionbox=\box31
\bea...@logobox=\box32
\bea...@linebox=\box33
\bea...@sectioncount=\count84
\bea...@subsectionmax=\count85
\bea...@sectionmax=\count86
\bea...@totalheads=\count87
\bea...@headcounter=\count88
\bea...@partstartpage=\count89
\bea...@sectionstartpage=\count90
\bea...@subsectionstartpage=\count91
\bea...@animationtempa=\count92
\bea...@animationtempb=\count93
\bea...@xpos=\count94
\bea...@ypos=\count95
\bea...@showpartnumber=\count96
\bea...@currentsubsection=\count97
\bea...@coveringdepth=\count98
\bea...@sectionadjust=\count99
\bea...@tocsectionnumber=\count100

(/usr/share/texmf/tex/latex/beamer/beamerbaseoptions.sty
Package: beamerbaseoptions 2004/10/07 (rcs-revision 1.6)

(/usr/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\...@toks@=\toks14
))
(/usr/share/texmf/tex/latex/pgf-2.00/latex/pgf/basiclayer/pgf.sty
(/usr/share/texmf/tex/latex/pgf-2.00/latex/pgf/utilities/pgfrcs.sty
(/usr/share/texmf/tex/latex/pgf-2.00/generic/pgf/utilities/pgfutil-common.tex
\pgfu...@everybye=\toks15
)
(/usr/share/texmf/tex/latex/pgf-2.00/generic/pgf/utilities/pgfutil-latex.def)
(/usr/share/texmf/tex/latex/pgf-2.00/generic/pgf/utilities/pgfrcs.code.tex
Package: pgfrcs 2008/02/20 v2.00 (rcs-revision 1.21)
))
Package: pgf 2008/01/15 v2.00 (rcs-revision 1.12)

(/usr/share/texmf/tex/latex/pgf-2.00/latex/pgf/basiclayer/pgfcore.sty
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texmf/tex/latex/graphics/graphics.cfg
File: graphics.cfg 2005/02/03 v1.3 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 80.

(/usr/share/texmf/tex/latex/graphics/pdftex.def
File: pdftex.def 2002/06/19 v0.03k graphics/color for pdftex
\gr...@gobject=\count101
))
\...@req@height=\dimen119
\...@req@width=\dimen120
)

Error Explanation Help Needed -- SOLVED

2009-05-17 Thread Rich Shepard

  I wanted to make some corrections and changes to my beamer presentation
while I was away from the office. However, I get an error regarding the
logo graphic which is different from what came up before, and I am having
a lot of difficulty identifying the source.


  Sigh. As is too often the case, after sending the message it occurred to
me to see if I have the latest beamer version installed on the notebook. I
did not.

  Installing latex-beamer-3.07 fixed the problem.

My apologies for the static,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Bibliography please help

2009-05-17 Thread Uwe Stöhr

Alaa schrieb:

I´m writing an article in Lyx and my supervisor want the bibliography like: author, journal, year, volume, pages. 


What exactly does your supervisor wants? I guess he has either a norm or a certain journal in mind. 
Do you know this?


Knowing this is important, since the order can easily be changed but it only makes sense if also the 
format is correct, e.g. should the author names be bold or italic or normal, should there be a colon 
or a semi-colon behind the last author etc.


But as you are writing an article, this is for a journal, right? Then you are forced to follow the 
journal's guideline. Many journals provide a BibTeX style file, if not, they at least provide a 
template. What's your journal?


regards Uwe


Re: Bibliography please help

2009-05-17 Thread Marcelo Reis

Uwe Stöhr wrote:

Alaa schrieb:

I´m writing an article in Lyx and my supervisor want the bibliography 
like: author, journal, year, volume, pages. 


What exactly does your supervisor wants? I guess he has either a norm 
or a certain journal in mind. Do you know this?


Knowing this is important, since the order can easily be changed but 
it only makes sense if also the format is correct, e.g. should the 
author names be bold or italic or normal, should there be a colon or a 
semi-colon behind the last author etc.


But as you are writing an article, this is for a journal, right? Then 
you are forced to follow the journal's guideline. Many journals 
provide a BibTeX style file, if not, they at least provide a template. 
What's your journal?


regards Uwe


I'm Having the same need here, I found out about this application:
http://bib-it.sourceforge.net
Apparently it helps you building Bibliograpy Styles, the application is 
a little bit confuse for me,

Do you know another application that could help us to build the Styles?

For the database I'm using JABREF.

Thanks.
Marcelo


Beamer: Error with section

2009-05-17 Thread Hellmut Weber

Hi list,
i'm trying to create my first beamer presentation.

I have looked at the two examples on the lyx wiki and also into Till 
Tantau's beamerlyxexample1.lyx.


Having a document with:
- Documentclass persentation(beamer)
- Preamble: \usetheme{Warsaw}
- a title
- a section

i get a latex error:

Undefined control sequence
\lyxframeend
 {}\section{Abschnitt}


What am i doing wrong?
What is missing?

I'm totally confused ,-(

Any help appreciated (best would be obviously a simple working template ;-)


TIA

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Beamer: Error on section, addition

2009-05-17 Thread Hellmut Weber

Sorry, i forgot:

LyX-1.6.1
gentoo linux
lenovo T61

Cheers

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Beamer: Error with section

2009-05-17 Thread Kosta Welke
On Sun, 17 May 2009 09:53:31 +0200
Hellmut Weber m...@hellmutweber.de wrote:

 i'm trying to create my first beamer presentation.
 What am i doing wrong?
 What is missing?

Could you post the source of a lyx document that contains the error to
a service like pastebin.com? That way, someone can reproduce it and
tell you what's going wrong.

Unfortunately, the Latex-Beamer stuff simply throws completely
incomprehensible error messages for the average user :(

Could it be that you define a section inside a frame? If so, try
defining it before that frame.

Cheers,

Kosta


Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Erez Yerushalmi
Maybe this will help.

A bib file is just a certain type of format, which can be saved in notepad.
Jabref opens it up an shows it to you in an easiser way.  So,

1. In Jabref, you create bib file called mylib.bib. You can save it
anywhere. So lets say you created a folder where your current lyx project is
located. Save this bib file there.

2.Go to the place in your lyx document where you want the references to be
presented (presumably, the end). Click Insert/ Lists  TOC/ BibT E X
Bibliography. Point the LyX document to that specific file, by browsing for
the mylib.bib file.

3. Click Lyx's Layout/Document setting, choose Bibliography. Here you
specify the style of citations you want.
4. Now, suppose you are writing a document and you want to cite something.
Click LyX insert/ Citation button. A menu should open and you should
see the list of reference ,

I use also zotero to collect the citations, and export it as bibtex file.

Erez

On Sun, May 17, 2009 at 2:31 AM, castelol...@aim.com wrote:

 I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot
 push refs from Jab into Lyx in windows xp.

 Here's the strange thing (coming from a beginner's perspective), I can
 create a bibliography because there are .bib files already in the
 appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with its
 database. I can also manually put my JabRef .bib into that same subdirectory
 (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it appears in the
 dialogue box along with the others (examples that installed with Lyx).

 But, insertcitation does not show any references in my .bib, though the
 others do appear and can be inserted as citations and appear in the
 references at the end of the doc.

 There must be, at the very least,  a way to put the .bib files in the right
 directory manually?

 thnx,
 Casper de Tello




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage:
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Paul A. Rubin

castelol...@aim.com wrote:

I just started using LyX 1.6 and JabRef 2.4 and I read here that you
cannot push refs from Jab into Lyx in windows xp.


Correct.


Here's the strange thing (coming from a beginner's perspective), I
can create a bibliography because there are .bib files already in the
appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with
its database. I can also manually put my JabRef .bib into that same
subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it
appears in the dialogue box along with the others (examples that
installed with Lyx).


pick nitTechnically, they installed with MiKTeX; LyX is not 
responsible for them./pick nit


But, insertcitation does not show any references in my .bib, though
the others do appear and can be inserted as citations and appear in
the references at the end of the doc.


Confirmed.  To fix this, you have to run the MiKTeX Settings 
application, click the Refresh FNDB button (FNDB = file name 
database), then restart LyX.  In general, dropping a file somewhere in 
MiKTeX's directory does not make MiKTeX aware of it; you have to refresh 
the file name database to let MiKTeX know it's there.  (The same is true 
for all LaTeX distributions, by the way.)  The curious thing here is 
that LyX apparently relies on MiKTeX to find the .bib file when looking 
for its contents, but not when listing it in the bibliography insertion 
dialog.  Quoting Emerson: A foolish consistency is the hobgoblin of 
little minds ...


In any event, this is not the preferred way to access your own BibTeX 
files (see below).


There must be, at the very least,  a way to put the .bib files in the
right directory manually?


The right directory is wherever your .bib files would normally live 
(typically but not necessarily somewhere in the vast morass of My 
Documents).  In the bibliography insertion dialog, click Add...  
Browse..., drill down to your .bib file (which can be anywhere), then 
click Add.


/Paul



Fwd: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread castelolxlx

 


 pick nitTechnically, they installed with MiKTeX; LyX is not 
responsible for them./pick nit







 My bad.





To fix this, you have to run the MiKTeX Settings 
application, click the Refresh FNDB button (FNDB = file name 
database), then restart LyX.





Cool beans. It works. 





I am greatly relieved to see that with minor tweaking JabRef and LyX do 
co-mingle perfectly in windows. From looking at past posts, I started to think 
I had to migrate my dissertation to linux (not really an option at my 
department) for them to work together fully. 





Thanks!











 





-Original Message-


From: 
Paul A. Rubin ru...@msu.edu

To: castelol...@aim.com


Cc: lyx-users@lists.lyx.org


Sent: Sun, 17 May 2009 07:02:28 -0700


Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7




castelol...@aim.com wrote:





??? I just started using LyX 1.6 and JabRef 2.4 and I read here that you


??? cannot push refs from Jab into Lyx in windows xp.








Correct.








??? Here's the strange thing (coming from a beginner's perspective), I


??? can create a bibliography because there are .bib files already in the


??? appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with


??? its database. I can also manually put my JabRef .bib into that same


??? subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it


??? appears in the dialogue box along with the others (examples that


??? installed with Lyx).








pick nitTechnically, they installed with MiKTeX; LyX is not responsible for 
them./pick nit








??? But, insertcitation does not show any references in my .bib, though


??? the others do appear and can be inserted as citations and appear in


??? the references at the end of the doc.








Confirmed. To fix this, you have to run the MiKTeX Settings application, click 
the Refresh FNDB button (FNDB = file name database), then restart LyX. In 
general, dropping a file somewhere in MiKTeX's directory does not make MiKTeX 
aware of it; you have to refresh the file name database to let MiKTeX know it's 
there. (The same is true for all LaTeX distributions, by the way.) The curious 
thing here is that LyX apparently relies on MiKTeX to find the .bib file when 
looking for its contents, but not when listing it in the bibliography insertion 
dialog. Quoting Emerson: A foolish consistency is the hobgoblin of little 
minds ...








In any event, this is not the preferred way to access your own BibTeX files 
(see below).








??? There must be, at the very least,? a way to put the .bib files in the


??? right directory manually?








The right directory is wherever your .bib files would normally live 
(typically but not necessarily somewhere in the vast morass of My Documents). 
In the bibliography insertion dialog, click Add...  Browse..., drill down to 
your .bib file (which can be anywhere), then click Add.








/Paul












 

We found the real 'Hotel California' and the 'Seinfeld' diner. What will you 
find? Explore WhereItsAt.com. 



 



Re: Fwd: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Paul A. Rubin

castelol...@aim.com wrote:




To fix this, you have to run the MiKTeX Settings application, click
the Refresh FNDB button (FNDB = file name database), then restart
LyX.

Cool beans. It works.



Just to be clear(er), though, I really do advocate keeping your .bib 
files with your documents, research, etc. and not migrating them to 
MiKTeX directories.  There's no advantage to copying them over to the 
MiKTeX directories, and one disadvantage:  if you update your MiKTeX 
distribution (there will probably be a 2.8 one of these days, and 
presumably a 3.0 at some point), you're liable to lose those copies, and 
your docs will be broken until you recopy the .bib files.


Cheers,
Paul



Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Uwe Stöhr

castelol...@aim.com schrieb:


I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot 
push refs from Jab into Lyx in windows xp.


Yes and there's also no need to.


Here's the strange thing (coming from a beginner's perspective), I can create a 
bibliography

 because there are .bib files already in the appropriate MiKTeX 2.7
 folder that appears to be supplying Lyx with its database.
LyX just takes this folder as default folder to look for BibTeX files, but you can store your BibTeX 
file wherever you want.


 I can also manually put my JabRef .bib into that same subdirectory
 (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic)

I recommend not to do this, to keep your MiKTeX installation unchanged and to 
avoid possible problems.


But, insertcitation does not show any references in my .bib, though the others 
do appear and can be inserted as citations and appear in the references at the end 
of the doc.

There must be, at the very least,  a way to put the .bib files in the right 
directory manually?


I guess you haven't loaded your BibTeX file in your LyX document. How this is done is explained in 
LyX's User's Guide that you find in LyX's Help menu. If you still have problems, look for example at 
the file achemso.lyx that you find in LyX's examples folder to see how there the BibTeX file 
biblioExample.bib is loaded.


regards Uwe


Re: Beamer: Error with section

2009-05-17 Thread Hellmut Weber

Hi Kosta,
here it is ;-)


Could you post the source of a lyx document that contains the error to
a service like pastebin.com? That way, someone can reproduce it and
tell you what's going wrong.

Unfortunately, the Latex-Beamer stuff simply throws completely
incomprehensible error messages for the average user :(

Could it be that you define a section inside a frame? If so, try
defining it before that frame.

As you can see I'm doing nearly nothing

Thanks for your answer

Cheers

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq
#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article-beamer
\begin_preamble
\usetheme{Warsaw}
\end_preamble
\use_default_options true
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Title
My first beamer presentation
\end_layout

\begin_layout Section
Abschnitt
\end_layout

\end_body
\end_document


Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread castelolxlx

 Thx to you and Erez, for your comments.

Great to know there's support for newbies when needed : )



 /Cas




-Original Message-
From: Uwe Stöhr uwesto...@web.de
To: castelol...@aim.com
Cc: lyx-users@lists.lyx.org
Sent: Sun, 17 May 2009 5:32 pm
Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7









castelol...@aim.com schrieb: 
 

 I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot 
 push refs from Jab into Lyx in windows xp. 
 

Yes and there's also no need to. 
 

 Here's the strange thing (coming from a beginner's perspective), I can create 
 a bibliography 

  because there are .bib files already in the appropriate MiKTeX 2.7 

  folder that appears to be supplying Lyx with its database. 

LyX just takes this folder as default folder to look for BibTeX files, but you 
can store your BibTeX
file wherever you want. 
 

  I can also manually put my JabRef .bib into that same subdirectory 

  (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) 
 

I recommend not to do this, to keep your MiKTeX installation unchanged and to 
avoid possible problems. 
 

 But, insertcitation does not show any references in my .bib, though the 
 others do appear and can be inserted as citations and appear in the 
 references at the end of the doc. 


 There must be, at the very least,  a way to put the .bib files in the right 
 directory
 manually? 
 

I guess you haven't loaded your BibTeX file in your LyX document. How this is 
done is explained in
LyX's User's Guide that you find in LyX's Help menu. If you still have 
problems, look for example at
the file achemso.lyx that you find in LyX's examples folder to see how there 
the BibTeX file
biblioExample.bib is loaded. 
 

regards Uwe 







Re: Beamer: Error with section

2009-05-17 Thread Kosta Welke
On Sun, 17 May 2009 18:43:56 +0200
Hellmut Weber m...@hellmutweber.de wrote:

 As you can see I'm doing nearly nothing

Here is a version that works:

http://pastebin.com/m1f60d2ea
(there's a 'download' link)

I did two things:

a) Add an empty slide (so that the error goes away)

b) Changed the document class from article(beamer) to
presentation(beamer) so that it looks like a presentation

HTH,

Kosta


Trouble starting LyX under MS XP/cygwin

2009-05-17 Thread Eben Oldmixon
I use cygwin on a machine running MS XP.  I have updated my cygwin installation 
to include lyx and X-windows dependencies.  I've found the Cygwin-X label under 
the 'START' Menu and clicked the XWin Server button.  Nothing obvious happens, 
and lyx does not want to start; that is:

%which lyx
/usr/bin/lyx
%lyx
lyx: cannot connect to X server

What should I do?  Thanks in advance for help and insight.



Re: Using counters

2009-05-17 Thread obregonmateo
On Friday 15 May 2009, obregonma...@gmail.com wrote:
 We're getting close!
 
 On Friday 15 May 2009, Guenter Milde wrote:
  On 2009-05-15, obregonma...@gmail.com wrote:
   On Friday 15 May 2009, Helge Hafting wrote:
   obregonma...@gmail.com wrote:
  
I want to have a counter (experiment) that uses roman numerals and
is sequential throughout the chapters. I figure that a module is the
right way about this, so I have a module with the following counter:
 
3.2label expt:reading-ability Experiment I: Effect of reading 
ability
 
   Counter experimentCounter
 LabelString  \Roman{experimentCounter}
 Within
   End
  
  This sets up the Counter for LyX only, you need to set up a LaTex
  counter as well.
 
 Ah! That explains a lot. 
 

So, I need to code this for TWO systems: (1) LyX (shown on the screen, with all 
its handy tools); and (2) LaTeX (printed out correctly)!

I have not been able to get the two to happen at the same time. I can get the 
correct solution with the following:

## LyX counter, in correct format:
Counter experimentCounter
LabelString  \Roman{experimentCounter}
Within
End

## LaTeX counter, in correct format:
AddToPreamble
\newcounter{experiment}
\setcounter{experiment}{0}

\renewcommand{\theexperiment}{\textit{\Roman{experiment}}}
EndPreamble

## An LyX style, that just allows me to set a named label for the following 
Experiment heading:
Style ExperimentLabel
CategorySection
LatexType   Command
LatexName   exptLabel
KeepEmpty   1
LabelType   Counter
LeftMargin  XLabel_for_experiment_XXX:XX
LabelString Label for experiment \theexperimentCounter: 
LabelCounterexperimentCounter
OptionalArgs1
TopSep  1.4
Font
Shape   Italic
Color   red
SizeLarge
EndFont
Preamble
\newcommand{\exptLabel}[1]{%
\refstepcounter{experiment} #1}
EndPreamble
End

## A new section style, for the correct printing of the experiment title that 
also looks nice on the screen:
Style Experiment
CopyStyle Section
LatexName experimentSection
LabelType Counter
LabelString   \thesection  Experiment \theexperimentCounter.
LabelCounter  section
OptionalArgs  1
Font
Shape   Italic
SizeLarge
EndFont
Preamble
  \newcommand{\experimentSection}[1]{%
\section{\textit{Experiment \theexperiment. #1}}}
EndPreamble
End


===

It took me a long time to find the \refstepcounter{} latex command. It's the 
only way that I've managed to change the label reference environment so that 
the \label{exp:expt-name} takes the experiment counter value and not the 
section counter value.

I don't mind that LyX doesn't show the experiment counter value on the screen, 
but I do need to be able to use labels referring to the experiment counter. I 
tried writing this latex command, but it doesn't work. Anyone know how to write 
this function correctly?

  \newcommand{\experimentSection}[1]{%
\section{\textit{Experiment \theexperiment. 
{\refstepcounter{experiment} #1

Thanks.

Mateo.



Re: Beamer: Error with section

2009-05-17 Thread Hellmut Weber

Hi Kosta,
thank you very much.

Your sample works for me ;-))

Cheers

Hellmut

Kosta Welke schrieb:

On Sun, 17 May 2009 18:43:56 +0200
Hellmut Weber m...@hellmutweber.de wrote:


As you can see I'm doing nearly nothing


Here is a version that works:

http://pastebin.com/m1f60d2ea
(there's a 'download' link)

I did two things:

a) Add an empty slide (so that the error goes away)

b) Changed the document class from article(beamer) to
presentation(beamer) so that it looks like a presentation

HTH,

Kosta



--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Bibliography please help

2009-05-17 Thread Alaa
Hi,
I´m writing an article in Lyx and my supervisor want the bibliography like: 
author, journal, year, volume, pages. I use jabref 2.4 and bibtex.

please help.

Re: Trouble starting LyX under MS XP/cygwin

2009-05-17 Thread Enrico Forestieri
Eben Oldmixon writes:
 
 %which lyx
 /usr/bin/lyx
 %lyx
 lyx: cannot connect to X server

The X server is probably not running or you forgot to set the DISPLAY
environment variable.

 What should I do?  Thanks in advance for help and insight.

Try whether setting DISPLAY helps.
% DISPLAY=localhost:0  = if you use the bash shell
% setenv DISPLAY localhost:0   = if you use the tcsh shell
and then launch lyx again.

However, it seems that you are using the official cygwin lyx package,
which is quite old (version 1.4.5). You could try the latest version here:
ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/lyx-1.6.2-cygwin.tar.gz
This version doesn't need a X server. Un-tar the archive (using the
cygwin tar) and then follows the instructions for installing it.

-- 
Enrico





Re: Trouble starting LyX under MS XP/cygwin

2009-05-17 Thread Eben Oldmixon
Enrico Forestieri for...@... writes:
 Try whether setting DISPLAY helps.
 % DISPLAY=localhost:0  = if you use the bash shell
 and then launch lyx again.
 ... try the latest version here:
 ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/lyx-1.6.2-cygwin.tar.gz

Thanks.  (Having trouble figuring out how the site wants
 me to reply to your message.
Hope this is OK.)  Setting DISPLAY didn't help; yes, bash.
  I'll try the newer version, 
but it may take me a day or so to get back to you.







Re: Bibliography please help

2009-05-17 Thread I Wayan Warmada


--- On Mon, 5/18/09, Alaa abbasa...@hotmail.com wrote:

 Hi,
 I´m writing an article in Lyx and my supervisor want the
 bibliography like: author, journal, year, volume, pages. I
 use jabref 2.4 and bibtex.

It is not clear what do you mean. I guest it is related to bibliographic style 
(*.bst). Some years ago I have seen bibliographic style like you have writen 
above, i.e., without title. Try to find Nature or American Journal of Science 
related bst. Or you can make a clone of natbib using merlin.mbs.

Regards,
Wayan





Error Explanation Help Needed

2009-05-17 Thread Rich Shepard

  I wanted to make some corrections and changes to my beamer presentation
while I was away from the office. However, I get an error regarding the logo
graphic which is different from what came up before, and I am having a lot
of difficulty identifying the source.

  The file is exported from lyx-1.6.2 using the LaTeX (pdflatex) option.
When I run pdflatex on the .tex file the error occurs. The error is on line
869 of the attached log file. It's interesting that I'm running the same
versions of Slackware, LyX, and pgf on both machines, yet cannot
successfullly view or compile the presentation on the portable.

  It tells me that there is an undefined control sequence, .75pgfex,
associated with the \includegraphics command for aesi-logo.pdf. However, the
command does not have any such string in it.

  Where do I look for the source of this error?

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=pdflatex 
2007.6.27)  17 MAY 2009 16:35
entering extended mode
**visuals.tex
(./visuals.tex
LaTeX2e 2003/12/01
Babel v3.8d and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/beamer/beamer.cls
(/usr/share/texmf/tex/latex/beamer/beamerbasercs.sty
Package: beamerbasercs 2004/10/07 (rcs-revision 1.3)
)
Document Class: beamer 2004/10/11 cvs version 3.01 A class for typesetting pres
entations (rcs-revision 1.55)
(/usr/share/texmf/tex/latex/beamer/beamerbasemodes.sty
Package: beamerbasemodes 2004/10/07 (rcs-revision 1.20)
\bea...@tempbox=\box26
\bea...@tempcount=\count79
\...@beamerpauses=\count80

(/usr/share/texmf/tex/latex/beamer/beamerbasedecode.sty
Package: beamerbasedecode 2004/10/07 (rcs-revision 1.16)
\bea...@slideinframe=\count81
\bea...@minimum=\count82
)
\bea...@commentbox=\box27
\bea...@modecount=\count83
)
\headheight=\dimen102
\headdp=\dimen103
\footheight=\dimen104
\sidebarheight=\dimen105
\bea...@tempdim=\dimen106
\bea...@finalheight=\dimen107
\bea...@animht=\dimen108
\bea...@animdp=\dimen109
\bea...@animwd=\dimen110
\bea...@leftmargin=\dimen111
\bea...@rightmargin=\dimen112
\bea...@leftsidebar=\dimen113
\bea...@rightsidebar=\dimen114
\bea...@boxsize=\dimen115
\bea...@vboxoffset=\dimen116
\bea...@descdefault=\dimen117
\bea...@descriptionwidth=\dimen118
\bea...@lastskip=\skip41
\bea...@areabox=\box28
\bea...@animcurrent=\box29
\bea...@animshowbox=\box30
\bea...@sectionbox=\box31
\bea...@logobox=\box32
\bea...@linebox=\box33
\bea...@sectioncount=\count84
\bea...@subsectionmax=\count85
\bea...@sectionmax=\count86
\bea...@totalheads=\count87
\bea...@headcounter=\count88
\bea...@partstartpage=\count89
\bea...@sectionstartpage=\count90
\bea...@subsectionstartpage=\count91
\bea...@animationtempa=\count92
\bea...@animationtempb=\count93
\bea...@xpos=\count94
\bea...@ypos=\count95
\bea...@showpartnumber=\count96
\bea...@currentsubsection=\count97
\bea...@coveringdepth=\count98
\bea...@sectionadjust=\count99
\bea...@tocsectionnumber=\count100

(/usr/share/texmf/tex/latex/beamer/beamerbaseoptions.sty
Package: beamerbaseoptions 2004/10/07 (rcs-revision 1.6)

(/usr/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\...@toks@=\toks14
))
(/usr/share/texmf/tex/latex/pgf-2.00/latex/pgf/basiclayer/pgf.sty
(/usr/share/texmf/tex/latex/pgf-2.00/latex/pgf/utilities/pgfrcs.sty
(/usr/share/texmf/tex/latex/pgf-2.00/generic/pgf/utilities/pgfutil-common.tex
\pgfu...@everybye=\toks15
)
(/usr/share/texmf/tex/latex/pgf-2.00/generic/pgf/utilities/pgfutil-latex.def)
(/usr/share/texmf/tex/latex/pgf-2.00/generic/pgf/utilities/pgfrcs.code.tex
Package: pgfrcs 2008/02/20 v2.00 (rcs-revision 1.21)
))
Package: pgf 2008/01/15 v2.00 (rcs-revision 1.12)

(/usr/share/texmf/tex/latex/pgf-2.00/latex/pgf/basiclayer/pgfcore.sty
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texmf/tex/latex/graphics/graphics.cfg
File: graphics.cfg 2005/02/03 v1.3 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 80.

(/usr/share/texmf/tex/latex/graphics/pdftex.def
File: pdftex.def 2002/06/19 v0.03k graphics/color for pdftex
\gr...@gobject=\count101
))
\...@req@height=\dimen119
\...@req@width=\dimen120
)

Error Explanation Help Needed -- SOLVED

2009-05-17 Thread Rich Shepard

  I wanted to make some corrections and changes to my beamer presentation
while I was away from the office. However, I get an error regarding the
logo graphic which is different from what came up before, and I am having
a lot of difficulty identifying the source.


  Sigh. As is too often the case, after sending the message it occurred to
me to see if I have the latest beamer version installed on the notebook. I
did not.

  Installing latex-beamer-3.07 fixed the problem.

My apologies for the static,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Bibliography please help

2009-05-17 Thread Uwe Stöhr

Alaa schrieb:

I´m writing an article in Lyx and my supervisor want the bibliography like: author, journal, year, volume, pages. 


What exactly does your supervisor wants? I guess he has either a norm or a certain journal in mind. 
Do you know this?


Knowing this is important, since the order can easily be changed but it only makes sense if also the 
format is correct, e.g. should the author names be bold or italic or normal, should there be a colon 
or a semi-colon behind the last author etc.


But as you are writing an article, this is for a journal, right? Then you are forced to follow the 
journal's guideline. Many journals provide a BibTeX style file, if not, they at least provide a 
template. What's your journal?


regards Uwe


Re: Bibliography please help

2009-05-17 Thread Marcelo Reis

Uwe Stöhr wrote:

Alaa schrieb:

I´m writing an article in Lyx and my supervisor want the bibliography 
like: author, journal, year, volume, pages. 


What exactly does your supervisor wants? I guess he has either a norm 
or a certain journal in mind. Do you know this?


Knowing this is important, since the order can easily be changed but 
it only makes sense if also the format is correct, e.g. should the 
author names be bold or italic or normal, should there be a colon or a 
semi-colon behind the last author etc.


But as you are writing an article, this is for a journal, right? Then 
you are forced to follow the journal's guideline. Many journals 
provide a BibTeX style file, if not, they at least provide a template. 
What's your journal?


regards Uwe


I'm Having the same need here, I found out about this application:
http://bib-it.sourceforge.net
Apparently it helps you building Bibliograpy Styles, the application is 
a little bit confuse for me,

Do you know another application that could help us to build the Styles?

For the database I'm using JABREF.

Thanks.
Marcelo


Beamer: Error with section

2009-05-17 Thread Hellmut Weber

Hi list,
i'm trying to create my first beamer presentation.

I have looked at the two examples on the lyx wiki and also into Till 
Tantau's beamerlyxexample1.lyx.


Having a document with:
- Documentclass persentation(beamer)
- Preamble: \usetheme{Warsaw}
- a title
- a section

i get a latex error:

Undefined control sequence
\lyxframeend
 {}\section{Abschnitt}


What am i doing wrong?
What is missing?

I'm totally confused ,-(

Any help appreciated (best would be obviously a simple working template ;-)


TIA

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Beamer: Error on section, addition

2009-05-17 Thread Hellmut Weber

Sorry, i forgot:

LyX-1.6.1
gentoo linux
lenovo T61

Cheers

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Beamer: Error with section

2009-05-17 Thread Kosta Welke
On Sun, 17 May 2009 09:53:31 +0200
Hellmut Weber  wrote:

> i'm trying to create my first beamer presentation.
> What am i doing wrong?
> What is missing?

Could you post the source of a lyx document that contains the error to
a service like pastebin.com? That way, someone can reproduce it and
tell you what's going wrong.

Unfortunately, the Latex-Beamer stuff simply throws completely
incomprehensible error messages for the average user :(

Could it be that you define a section inside a "frame"? If so, try
defining it before that frame.

Cheers,

Kosta


Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Erez Yerushalmi
Maybe this will help.

A bib file is just a certain type of format, which can be saved in notepad.
Jabref opens it up an shows it to you in an easiser way.  So,

1. In Jabref, you create bib file called mylib.bib. You can save it
anywhere. So lets say you created a folder where your current lyx project is
located. Save this bib file there.

2.Go to the place in your lyx document where you want the references to be
presented (presumably, the end). Click Insert/ Lists & TOC/ BibT E X
Bibliography. Point the LyX document to that specific file, by browsing for
the mylib.bib file.

3. Click Lyx's Layout/Document setting, choose Bibliography. Here you
specify the style of citations you want.
4. Now, suppose you are writing a document and you want to cite something.
Click LyX insert/ Citation button. A menu should open and you should
see the list of reference ,

I use also zotero to collect the citations, and export it as bibtex file.

Erez

On Sun, May 17, 2009 at 2:31 AM,  wrote:

> I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot
> push refs from Jab into Lyx in windows xp.
>
> Here's the strange thing (coming from a beginner's perspective), I can
> create a bibliography because there are .bib files already in the
> appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with its
> database. I can also manually put my JabRef .bib into that same subdirectory
> (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it appears in the
> dialogue box along with the others (examples that installed with Lyx).
>
> But, insert>citation does not show any references in my .bib, though the
> others do appear and can be inserted as citations and appear in the
> references at the end of the doc.
>
> There must be, at the very least,  a way to put the .bib files in the right
> directory manually?
>
> thnx,
> Casper de Tello
>
>


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage:
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Paul A. Rubin

castelol...@aim.com wrote:

I just started using LyX 1.6 and JabRef 2.4 and I read here that you
cannot push refs from Jab into Lyx in windows xp.


Correct.


Here's the strange thing (coming from a beginner's perspective), I
can create a bibliography because there are .bib files already in the
appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with
its database. I can also manually put my JabRef .bib into that same
subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it
appears in the dialogue box along with the others (examples that
installed with Lyx).


Technically, they installed with MiKTeX; LyX is not 
responsible for them.


But, insert>citation does not show any references in my .bib, though
the others do appear and can be inserted as citations and appear in
the references at the end of the doc.


Confirmed.  To fix this, you have to run the MiKTeX Settings 
application, click the "Refresh FNDB" button (FNDB = file name 
database), then restart LyX.  In general, dropping a file somewhere in 
MiKTeX's directory does not make MiKTeX aware of it; you have to refresh 
the file name database to let MiKTeX know it's there.  (The same is true 
for all LaTeX distributions, by the way.)  The curious thing here is 
that LyX apparently relies on MiKTeX to find the .bib file when looking 
for its contents, but not when listing it in the bibliography insertion 
dialog.  Quoting Emerson: "A foolish consistency is the hobgoblin of 
little minds ..."


In any event, this is not the preferred way to access your own BibTeX 
files (see below).


There must be, at the very least,  a way to put the .bib files in the
right directory manually?


The "right directory" is wherever your .bib files would normally live 
(typically but not necessarily somewhere in the vast morass of My 
Documents).  In the bibliography insertion dialog, click Add... > 
Browse..., drill down to your .bib file (which can be anywhere), then 
click Add.


/Paul



Fwd: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread castelolxlx

 


 "Technically, they installed with MiKTeX; LyX is not 
responsible for them."







 My bad.





"To fix this, you have to run the MiKTeX Settings 
application, click the "Refresh FNDB" button (FNDB = file name 
database), then restart LyX."





Cool beans. It works. 





I am greatly relieved to see that with minor tweaking JabRef and LyX do 
co-mingle perfectly in windows. From looking at past posts, I started to think 
I had to migrate my dissertation to linux (not really an option at my 
department) for them to work together fully. 





Thanks!











 





-Original Message-


From: 
Paul A. Rubin 

To: castelol...@aim.com


Cc: lyx-users@lists.lyx.org


Sent: Sun, 17 May 2009 07:02:28 -0700


Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7




castelol...@aim.com wrote:





??? I just started using LyX 1.6 and JabRef 2.4 and I read here that you


??? cannot push refs from Jab into Lyx in windows xp.








Correct.








??? Here's the strange thing (coming from a beginner's perspective), I


??? can create a bibliography because there are .bib files already in the


??? appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with


??? its database. I can also manually put my JabRef .bib into that same


??? subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it


??? appears in the dialogue box along with the others (examples that


??? installed with Lyx).








Technically, they installed with MiKTeX; LyX is not responsible for 
them.








??? But, insert>citation does not show any references in my .bib, though


??? the others do appear and can be inserted as citations and appear in


??? the references at the end of the doc.








Confirmed. To fix this, you have to run the MiKTeX Settings application, click 
the "Refresh FNDB" button (FNDB = file name database), then restart LyX. In 
general, dropping a file somewhere in MiKTeX's directory does not make MiKTeX 
aware of it; you have to refresh the file name database to let MiKTeX know it's 
there. (The same is true for all LaTeX distributions, by the way.) The curious 
thing here is that LyX apparently relies on MiKTeX to find the .bib file when 
looking for its contents, but not when listing it in the bibliography insertion 
dialog. Quoting Emerson: "A foolish consistency is the hobgoblin of little 
minds ..."








In any event, this is not the preferred way to access your own BibTeX files 
(see below).








??? There must be, at the very least,? a way to put the .bib files in the


??? right directory manually?








The "right directory" is wherever your .bib files would normally live 
(typically but not necessarily somewhere in the vast morass of My Documents). 
In the bibliography insertion dialog, click Add... > Browse..., drill down to 
your .bib file (which can be anywhere), then click Add.








/Paul












 

We found the real 'Hotel California' and the 'Seinfeld' diner. What will you 
find? Explore WhereItsAt.com. 



 



Re: Fwd: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Paul A. Rubin

castelol...@aim.com wrote:




"To fix this, you have to run the MiKTeX Settings application, click
the "Refresh FNDB" button (FNDB = file name database), then restart
LyX."

Cool beans. It works.



Just to be clear(er), though, I really do advocate keeping your .bib 
files with your documents, research, etc. and not migrating them to 
MiKTeX directories.  There's no advantage to copying them over to the 
MiKTeX directories, and one disadvantage:  if you update your MiKTeX 
distribution (there will probably be a 2.8 one of these days, and 
presumably a 3.0 at some point), you're liable to lose those copies, and 
your docs will be broken until you recopy the .bib files.


Cheers,
Paul



Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread Uwe Stöhr

castelol...@aim.com schrieb:


I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot 
push refs from Jab into Lyx in windows xp.


Yes and there's also no need to.


Here's the strange thing (coming from a beginner's perspective), I can create a 
bibliography

> because there are .bib files already in the appropriate MiKTeX 2.7
> folder that appears to be supplying Lyx with its database.
LyX just takes this folder as default folder to look for BibTeX files, but you can store your BibTeX 
file wherever you want.


> I can also manually put my JabRef .bib into that same subdirectory
> (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic)

I recommend not to do this, to keep your MiKTeX installation unchanged and to 
avoid possible problems.


But, insert>citation does not show any references in my .bib, though the others 
do appear and can be inserted as citations and appear in the references at the end 
of the doc.

There must be, at the very least,  a way to put the .bib files in the right 
directory manually?


I guess you haven't loaded your BibTeX file in your LyX document. How this is done is explained in 
LyX's User's Guide that you find in LyX's Help menu. If you still have problems, look for example at 
the file "achemso.lyx" that you find in LyX's examples folder to see how there the BibTeX file 
"biblioExample.bib" is loaded.


regards Uwe


Re: Beamer: Error with section

2009-05-17 Thread Hellmut Weber

Hi Kosta,
here it is ;-)


Could you post the source of a lyx document that contains the error to
a service like pastebin.com? That way, someone can reproduce it and
tell you what's going wrong.

Unfortunately, the Latex-Beamer stuff simply throws completely
incomprehensible error messages for the average user :(

Could it be that you define a section inside a "frame"? If so, try
defining it before that frame.

As you can see I'm doing nearly nothing

Thanks for your answer

Cheers

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq
#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article-beamer
\begin_preamble
\usetheme{Warsaw}
\end_preamble
\use_default_options true
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Title
My first beamer presentation
\end_layout

\begin_layout Section
Abschnitt
\end_layout

\end_body
\end_document


Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7

2009-05-17 Thread castelolxlx

 Thx to you and Erez, for your comments.

Great to know there's support for newbies when needed : )



 /Cas




-Original Message-
From: Uwe Stöhr 
To: castelol...@aim.com
Cc: lyx-users@lists.lyx.org
Sent: Sun, 17 May 2009 5:32 pm
Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7









castelol...@aim.com schrieb: 
 

> I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot 
> push refs from Jab into Lyx in windows xp. 
 

Yes and there's also no need to. 
 

> Here's the strange thing (coming from a beginner's perspective), I can create 
> a bibliography 

 > because there are .bib files already in the appropriate MiKTeX 2.7 

 > folder that appears to be supplying Lyx with its database. 

LyX just takes this folder as default folder to look for BibTeX files, but you 
can store your BibTeX
file wherever you want. 
 

 > I can also manually put my JabRef .bib into that same subdirectory 

 > (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) 
 

I recommend not to do this, to keep your MiKTeX installation unchanged and to 
avoid possible problems. 
 

> But, insert>citation does not show any references in my .bib, though the 
> others do appear and can be inserted as citations and appear in the 
> references at the end of the doc. 

>
> There must be, at the very least,  a way to put the .bib files in the right 
> directory
 manually? 
 

I guess you haven't loaded your BibTeX file in your LyX document. How this is 
done is explained in
LyX's User's Guide that you find in LyX's Help menu. If you still have 
problems, look for example at
the file "achemso.lyx" that you find in LyX's examples folder to see how there 
the BibTeX file
"biblioExample.bib" is loaded. 
 

regards Uwe 







Re: Beamer: Error with section

2009-05-17 Thread Kosta Welke
On Sun, 17 May 2009 18:43:56 +0200
Hellmut Weber  wrote:

> As you can see I'm doing nearly nothing

Here is a version that works:

http://pastebin.com/m1f60d2ea
(there's a 'download' link)

I did two things:

a) Add an empty slide (so that the error goes away)

b) Changed the document class from article(beamer) to
presentation(beamer) so that it looks like a presentation

HTH,

Kosta


Trouble starting LyX under MS XP/cygwin

2009-05-17 Thread Eben Oldmixon
I use cygwin on a machine running MS XP.  I have updated my cygwin installation 
to include lyx and X-windows dependencies.  I've found the Cygwin-X label under 
the 'START' Menu and clicked the XWin Server button.  Nothing obvious happens, 
and lyx does not want to start; that is:

%which lyx
/usr/bin/lyx
%lyx
lyx: cannot connect to X server

What should I do?  Thanks in advance for help and insight.



Re: Using counters

2009-05-17 Thread obregonmateo
On Friday 15 May 2009, obregonma...@gmail.com wrote:
> We're getting close!
> 
> On Friday 15 May 2009, Guenter Milde wrote:
> > On 2009-05-15, obregonma...@gmail.com wrote:
> > > On Friday 15 May 2009, Helge Hafting wrote:
> > >> obregonma...@gmail.com wrote:
> > 
> > >> > I want to have a counter (experiment) that uses roman numerals and
> > >> > is sequential throughout the chapters. I figure that a module is the
> > >> > right way about this, so I have a module with the following counter:
> 
> > >> > 3.2 Experiment I: Effect of reading 
> > >> > ability
> 
> > > Counter experimentCounter
> > >   LabelString  "\Roman{experimentCounter}"
> > >   Within   "" 
> > > End
> > 
> > This sets up the Counter for LyX only, you need to set up a LaTex
> > counter as well.
> 
> Ah! That explains a lot. 
> 

So, I need to code this for TWO systems: (1) LyX (shown on the screen, with all 
its handy tools); and (2) LaTeX (printed out correctly)!

I have not been able to get the two to happen at the same time. I can get the 
correct solution with the following:

## LyX counter, in correct format:
Counter experimentCounter
LabelString  "\Roman{experimentCounter}"
Within   "" 
End

## LaTeX counter, in correct format:
AddToPreamble
\newcounter{experiment}
\setcounter{experiment}{0}

\renewcommand{\theexperiment}{\textit{\Roman{experiment}}}
EndPreamble

## An LyX style, that just allows me to set a named label for the following 
Experiment heading:
Style ExperimentLabel
CategorySection
LatexType   Command
LatexName   exptLabel
KeepEmpty   1
LabelType   Counter
LeftMargin  XLabel_for_experiment_XXX:XX
LabelString "Label for experiment \theexperimentCounter: "
LabelCounterexperimentCounter
OptionalArgs1
TopSep  1.4
Font
Shape   Italic
Color   red
SizeLarge
EndFont
Preamble
\newcommand{\exptLabel}[1]{%
\refstepcounter{experiment} #1}
EndPreamble
End

## A new section style, for the correct printing of the experiment title that 
also looks nice on the screen:
Style Experiment
CopyStyle Section
LatexName experimentSection
LabelType Counter
LabelString   "\thesection  Experiment \theexperimentCounter."
LabelCounter  section
OptionalArgs  1
Font
Shape   Italic
SizeLarge
EndFont
Preamble
  \newcommand{\experimentSection}[1]{%
\section{\textit{Experiment \theexperiment. #1}}}
EndPreamble
End


===

It took me a long time to find the \refstepcounter{} latex command. It's the 
only way that I've managed to change the label reference environment so that 
the \label{exp:expt-name} takes the experiment counter value and not the 
section counter value.

I don't mind that LyX doesn't show the experiment counter value on the screen, 
but I do need to be able to use labels referring to the experiment counter. I 
tried writing this latex command, but it doesn't work. Anyone know how to write 
this function correctly?

  \newcommand{\experimentSection}[1]{%
\section{\textit{Experiment \theexperiment. 
{\refstepcounter{experiment} #1

Thanks.

Mateo.



Re: Beamer: Error with section

2009-05-17 Thread Hellmut Weber

Hi Kosta,
thank you very much.

Your sample works for me ;-))

Cheers

Hellmut

Kosta Welke schrieb:

On Sun, 17 May 2009 18:43:56 +0200
Hellmut Weber  wrote:


As you can see I'm doing nearly nothing


Here is a version that works:

http://pastebin.com/m1f60d2ea
(there's a 'download' link)

I did two things:

a) Add an empty slide (so that the error goes away)

b) Changed the document class from article(beamer) to
presentation(beamer) so that it looks like a presentation

HTH,

Kosta



--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Bibliography please help

2009-05-17 Thread Alaa
Hi,
I´m writing an article in Lyx and my supervisor want the bibliography like: 
author, journal, year, volume, pages. I use jabref 2.4 and bibtex.

please help.

Re: Trouble starting LyX under MS XP/cygwin

2009-05-17 Thread Enrico Forestieri
Eben Oldmixon writes:
> 
> %which lyx
> /usr/bin/lyx
> %lyx
> lyx: cannot connect to X server

The X server is probably not running or you forgot to set the DISPLAY
environment variable.

> What should I do?  Thanks in advance for help and insight.

Try whether setting DISPLAY helps.
% DISPLAY=localhost:0  <= if you use the bash shell
% setenv DISPLAY localhost:0   <= if you use the tcsh shell
and then launch lyx again.

However, it seems that you are using the official cygwin lyx package,
which is quite old (version 1.4.5). You could try the latest version here:
ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/lyx-1.6.2-cygwin.tar.gz
This version doesn't need a X server. Un-tar the archive (using the
cygwin tar) and then follows the instructions for installing it.

-- 
Enrico





Re: Trouble starting LyX under MS XP/cygwin

2009-05-17 Thread Eben Oldmixon
Enrico Forestieri  writes:
> Try whether setting DISPLAY helps.
> % DISPLAY=localhost:0  <= if you use the bash shell
> and then launch lyx again.
> ... try the latest version here:
> ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/lyx-1.6.2-cygwin.tar.gz

Thanks.  (Having trouble figuring out how the site wants
 me to reply to your message.
Hope this is OK.)  Setting DISPLAY didn't help; yes, bash.
  I'll try the newer version, 
but it may take me a day or so to get back to you.







Re: Bibliography please help

2009-05-17 Thread I Wayan Warmada


--- On Mon, 5/18/09, Alaa  wrote:

> Hi,
> I´m writing an article in Lyx and my supervisor want the
> bibliography like: author, journal, year, volume, pages. I
> use jabref 2.4 and bibtex.

It is not clear what do you mean. I guest it is related to bibliographic style 
(*.bst). Some years ago I have seen bibliographic style like you have writen 
above, i.e., without title. Try to find Nature or American Journal of Science 
related bst. Or you can make a clone of natbib using merlin.mbs.

Regards,
Wayan





Error Explanation Help Needed

2009-05-17 Thread Rich Shepard

  I wanted to make some corrections and changes to my beamer presentation
while I was away from the office. However, I get an error regarding the logo
graphic which is different from what came up before, and I am having a lot
of difficulty identifying the source.

  The file is exported from lyx-1.6.2 using the LaTeX (pdflatex) option.
When I run pdflatex on the .tex file the error occurs. The error is on line
869 of the attached log file. It's interesting that I'm running the same
versions of Slackware, LyX, and pgf on both machines, yet cannot
successfullly view or compile the presentation on the portable.

  It tells me that there is an undefined control sequence, .75pgfex,
associated with the \includegraphics command for aesi-logo.pdf. However, the
command does not have any such string in it.

  Where do I look for the source of this error?

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=pdflatex 
2007.6.27)  17 MAY 2009 16:35
entering extended mode
**visuals.tex
(./visuals.tex
LaTeX2e <2003/12/01>
Babel  and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/beamer/beamer.cls
(/usr/share/texmf/tex/latex/beamer/beamerbasercs.sty
Package: beamerbasercs 2004/10/07 (rcs-revision 1.3)
)
Document Class: beamer 2004/10/11 cvs version 3.01 A class for typesetting pres
entations (rcs-revision 1.55)
(/usr/share/texmf/tex/latex/beamer/beamerbasemodes.sty
Package: beamerbasemodes 2004/10/07 (rcs-revision 1.20)
\bea...@tempbox=\box26
\bea...@tempcount=\count79
\...@beamerpauses=\count80

(/usr/share/texmf/tex/latex/beamer/beamerbasedecode.sty
Package: beamerbasedecode 2004/10/07 (rcs-revision 1.16)
\bea...@slideinframe=\count81
\bea...@minimum=\count82
)
\bea...@commentbox=\box27
\bea...@modecount=\count83
)
\headheight=\dimen102
\headdp=\dimen103
\footheight=\dimen104
\sidebarheight=\dimen105
\bea...@tempdim=\dimen106
\bea...@finalheight=\dimen107
\bea...@animht=\dimen108
\bea...@animdp=\dimen109
\bea...@animwd=\dimen110
\bea...@leftmargin=\dimen111
\bea...@rightmargin=\dimen112
\bea...@leftsidebar=\dimen113
\bea...@rightsidebar=\dimen114
\bea...@boxsize=\dimen115
\bea...@vboxoffset=\dimen116
\bea...@descdefault=\dimen117
\bea...@descriptionwidth=\dimen118
\bea...@lastskip=\skip41
\bea...@areabox=\box28
\bea...@animcurrent=\box29
\bea...@animshowbox=\box30
\bea...@sectionbox=\box31
\bea...@logobox=\box32
\bea...@linebox=\box33
\bea...@sectioncount=\count84
\bea...@subsectionmax=\count85
\bea...@sectionmax=\count86
\bea...@totalheads=\count87
\bea...@headcounter=\count88
\bea...@partstartpage=\count89
\bea...@sectionstartpage=\count90
\bea...@subsectionstartpage=\count91
\bea...@animationtempa=\count92
\bea...@animationtempb=\count93
\bea...@xpos=\count94
\bea...@ypos=\count95
\bea...@showpartnumber=\count96
\bea...@currentsubsection=\count97
\bea...@coveringdepth=\count98
\bea...@sectionadjust=\count99
\bea...@tocsectionnumber=\count100

(/usr/share/texmf/tex/latex/beamer/beamerbaseoptions.sty
Package: beamerbaseoptions 2004/10/07 (rcs-revision 1.6)

(/usr/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\...@toks@=\toks14
))
(/usr/share/texmf/tex/latex/pgf-2.00/latex/pgf/basiclayer/pgf.sty
(/usr/share/texmf/tex/latex/pgf-2.00/latex/pgf/utilities/pgfrcs.sty
(/usr/share/texmf/tex/latex/pgf-2.00/generic/pgf/utilities/pgfutil-common.tex
\pgfu...@everybye=\toks15
)
(/usr/share/texmf/tex/latex/pgf-2.00/generic/pgf/utilities/pgfutil-latex.def)
(/usr/share/texmf/tex/latex/pgf-2.00/generic/pgf/utilities/pgfrcs.code.tex
Package: pgfrcs 2008/02/20 v2.00 (rcs-revision 1.21)
))
Package: pgf 2008/01/15 v2.00 (rcs-revision 1.12)

(/usr/share/texmf/tex/latex/pgf-2.00/latex/pgf/basiclayer/pgfcore.sty
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texmf/tex/latex/graphics/graphics.cfg
File: graphics.cfg 2005/02/03 v1.3 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 80.

(/usr/share/texmf/tex/latex/graphics/pdftex.def
File: pdftex.def 2002/06/19 v0.03k graphics/color for pdftex
\gr...@gobject=\count101
))
\...@req@height=\dimen119
\...@req@width=\dimen120
)

Error Explanation Help Needed -- SOLVED

2009-05-17 Thread Rich Shepard

  I wanted to make some corrections and changes to my beamer presentation
while I was away from the office. However, I get an error regarding the
logo graphic which is different from what came up before, and I am having
a lot of difficulty identifying the source.


  Sigh. As is too often the case, after sending the message it occurred to
me to see if I have the latest beamer version installed on the notebook. I
did not.

  Installing latex-beamer-3.07 fixed the problem.

My apologies for the static,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Bibliography please help

2009-05-17 Thread Uwe Stöhr

Alaa schrieb:

I´m writing an article in Lyx and my supervisor want the bibliography like: author, journal, year, volume, pages. 


What exactly does your supervisor wants? I guess he has either a norm or a certain journal in mind. 
Do you know this?


Knowing this is important, since the order can easily be changed but it only makes sense if also the 
format is correct, e.g. should the author names be bold or italic or normal, should there be a colon 
or a semi-colon behind the last author etc.


But as you are writing an article, this is for a journal, right? Then you are forced to follow the 
journal's guideline. Many journals provide a BibTeX style file, if not, they at least provide a 
template. What's your journal?


regards Uwe


Re: Bibliography please help

2009-05-17 Thread Marcelo Reis

Uwe Stöhr wrote:

Alaa schrieb:

I´m writing an article in Lyx and my supervisor want the bibliography 
like: author, journal, year, volume, pages. 


What exactly does your supervisor wants? I guess he has either a norm 
or a certain journal in mind. Do you know this?


Knowing this is important, since the order can easily be changed but 
it only makes sense if also the format is correct, e.g. should the 
author names be bold or italic or normal, should there be a colon or a 
semi-colon behind the last author etc.


But as you are writing an article, this is for a journal, right? Then 
you are forced to follow the journal's guideline. Many journals 
provide a BibTeX style file, if not, they at least provide a template. 
What's your journal?


regards Uwe


I'm Having the same need here, I found out about this application:
http://bib-it.sourceforge.net
Apparently it helps you building Bibliograpy Styles, the application is 
a little bit confuse for me,

Do you know another application that could help us to build the Styles?

For the database I'm using JABREF.

Thanks.
Marcelo