Lea Rennert | 1 Jul 2009 01:34
Picon

Re: Problem with Bibliography author-year style in document class "book (KOMA-script)

thank you very much for your reply!
what style did you choose for the bibliography itself? (when you right
click on "BibTeX Generated Bibliography" -> Settings... to choose the
bib-file and the citation style from the list)

I ask because, unfortunately, the preamble produced two error messages
for me (see below). but maybe it depends on what corresponding style
you choose? (I did choose natbib in Document -> Settings ->
Bibliography...)

The error messages:

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

LaTeX Error: Missing \begin{document}.
 \bibpunct{(
                }{)}{,}{a}{,}{,}
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

2009/6/26 李猛 <albertleemon@...>:
> The solution works for me.
>
(Continue reading)

李猛 | 1 Jul 2009 02:54
Picon

Re: Problem with Bibliography author-year style in document class "book (KOMA-script)

I chose the elsarticle-harv and changed  every citation using formatting
->citation style in document.
can you please provide a _small_ LyX example file to be able to reproduce
the problem?

2009/7/1 Lea Rennert <lea.rennert@...>

> thank you very much for your reply!
> what style did you choose for the bibliography itself? (when you right
> click on "BibTeX Generated Bibliography" -> Settings... to choose the
> bib-file and the citation style from the list)
>
> I ask because, unfortunately, the preamble produced two error messages
> for me (see below). but maybe it depends on what corresponding style
> you choose? (I did choose natbib in Document -> Settings ->
> Bibliography...)
>
> The error messages:
>
> Undefined control sequence.
>  \bibpunct
>              {(}{)}{,}{a}{,}{,}
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
>
> LaTeX Error: Missing \begin{document}.
>  \bibpunct{(
(Continue reading)

Vincent van Ravesteijn | 1 Jul 2009 03:38
Picon
Picon

Re: copying figures - absolute vs. relative paths

James C. Sutherland schreef:
> I have observed a somewhat annoying feature of LyX: when I cut/paste a 
> figure (moving it around within a document, for example), the relative 
> path of the figure changes to an absolute path.
>
> I can see the merits of this when copying between documents so that 
> the figure doesn't get "lost" due to relative paths, but it is 
> somewhat inconvenient otherwise.  The biggest problem is that if I 
> move the document to another directory then everything can break.
>
> Is there a way to force LyX to keep relative paths when copying figures?
>
It is a bug.. you are probably using a Mac ?

see: http://www.lyx.org/trac/ticket/4105
> James

Vincent

Lea Rennert | 1 Jul 2009 04:31
Picon

Re: Problem with Bibliography author-year style in document class "book (KOMA-script)

thank you!
In the meantime, I fixed some of my problems and I'm pretty happy with
the results.
- part of my problem apparently was a bad bib-file, which I fixed now.
- I found a good solution for deleting the short titles from my
reference list: \renewcommand\ <at> biblabel[1]{} in the LateX preamble did
the trick. I found the suggestion here:
http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=bibtex/bibtex#nolabel
- I did manage to change the square brackets around the citations in
the text to round ones with:
\renewcommand{\ <at> cite}[2]{({#1\if <at> tempswa , #2\fi})} in the preamble

I am still looking for a way to get rid of the brackets around the
year in my citations. Right now, they look like this: (Talos(2008)),
and I want them to look like (Talos 2008).
so, if anybody has suggestions, that would be great!

apart from that though, I'm very happy with the results for now.

2009/7/1 李猛 <albertleemon@...>:
> I chose the elsarticle-harv and changed  every citation using formatting
> ->citation style in document.
> can you please provide a _small_ LyX example file to be able to reproduce
> the problem?
>
>
> 2009/7/1 Lea Rennert <lea.rennert@...>
>>
>> thank you very much for your reply!
>> what style did you choose for the bibliography itself? (when you right
(Continue reading)

Avoiding page numbers on the starting page of every chapter...

Please could you tell me how to attain this:
Avoid page numbers on the starting page of every chapter.
And also stops after Part I, Part II and Part III.
FN
--

-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
M +91-9822122436 P +91-832-2409490
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org
"Nothing helps scenery like ham and eggs." - Mark Twain

Rainer M Krug | 1 Jul 2009 11:15
Picon

Using article(beamer) and presentation(beamer) at the same time

Hi

I am using article(beamer) and presentation(beamer) and I have two questions:

1) When I export the lyx file, it obviously overwrites the one with
the other. I therefore have to export the article(beamer), rename it,
change the document class to presentation(beamer), export it again and
preferably rename it as well to make sure that I don't overwrite it
again after I changed the document class to presentation(beamer). Is
there a way of automatically adding _article when the article is
selected and _presentation when presentation is selected?

2) following that, is there a way of creating both at the same time?
Effectively exporting, renaming, changing, exporting, renaming as a
script which is executed when I export?

Thanks,

Rainer

--

-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa

Nikos Alexandris | 1 Jul 2009 11:22
Picon

Re: Using article(beamer) and presentation(beamer) at the same time


Rainer:
> 1) When I export the lyx file, it obviously overwrites the one with
> the other. I therefore have to export the article(beamer), rename it,
> change the document class to presentation(beamer), export it again and
> preferably rename it as well to make sure that I don't overwrite it
> again after I changed the document class to presentation(beamer). Is
> there a way of automatically adding _article when the article is
> selected and _presentation when presentation is selected?

> 2) following that, is there a way of creating both at the same time?
> Effectively exporting, renaming, changing, exporting, renaming as a
> script which is executed when I export?

Hi Rainer!

Ehm... I am curious: do you use the "same" document to export once as an
article and once as a presentation? If so, how does it work?

If not, then what's the big deal of giving different names (as one
should do) to your documents (article != presentation).

Kind regards, Nikos

Micha Feigin | 1 Jul 2009 11:38
Picon
Picon

Re: Using article(beamer) and presentation(beamer) at the same time

On Wed, 01 Jul 2009 11:22:20 +0200
Nikos Alexandris <nikos.alexandris@...> wrote:

> 
> Rainer:
> > 1) When I export the lyx file, it obviously overwrites the one with
> > the other. I therefore have to export the article(beamer), rename it,
> > change the document class to presentation(beamer), export it again and
> > preferably rename it as well to make sure that I don't overwrite it
> > again after I changed the document class to presentation(beamer). Is
> > there a way of automatically adding _article when the article is
> > selected and _presentation when presentation is selected?
> 
> > 2) following that, is there a way of creating both at the same time?
> > Effectively exporting, renaming, changing, exporting, renaming as a
> > script which is executed when I export?
> 
> Hi Rainer!
> 
> Ehm... I am curious: do you use the "same" document to export once as an
> article and once as a presentation? If so, how does it work?
> 
> If not, then what's the big deal of giving different names (as one
> should do) to your documents (article != presentation).
> 

The whole idea behind article and presentation mode beamer is that you can have
both versions in the same file. I find it more useful for printed slides vs.
presented slides though then article and presentation in the same file.

(Continue reading)

Rainer M Krug | 1 Jul 2009 11:41
Picon

Re: Using article(beamer) and presentation(beamer) at the same time

On Wed, Jul 1, 2009 at 11:35 AM, Nikos
Alexandris<nikos.alexandris@...> wrote:
>
> Rainer:
>> >> 1) When I export the lyx file, it obviously overwrites the one with
>> >> the other. I therefore have to export the article(beamer), rename it,
>> >> change the document class to presentation(beamer), export it again and
>> >> preferably rename it as well to make sure that I don't overwrite it
>> >> again after I changed the document class to presentation(beamer). Is
>> >> there a way of automatically adding _article when the article is
>> >> selected and _presentation when presentation is selected?
>
>> >> 2) following that, is there a way of creating both at the same time?
>> >> Effectively exporting, renaming, changing, exporting, renaming as a
>> >> script which is executed when I export?
>
> Nikos:
>> > Hi Rainer!
>> >
>> > Ehm... I am curious: do you use the "same" document to export once as an
>> > article and once as a presentation? If so, how does it work?
>
> Rainer:
>> Yes. I have two document classes /layouts ( presentation(beamer) and
>> article(beamer) ) and this is the only difference in the two files.
>> When I export it with the article(beamer) class, it is printed as an
>> article, with all ArticleMode insets. When I change it to
>> presentation(beamer) I get a presentation with everything.
>> This is extremely convenient, as I can keep the presentation and the
>> handout in one document / lyx file (which is one of the advantages of
(Continue reading)

Nikos Alexandris | 1 Jul 2009 11:44
Picon

Re: Using article(beamer) and presentation(beamer) at the same time

Micha F:
...

> The whole idea behind article and presentation mode beamer is that you can have
> both versions in the same file. I find it more useful for printed slides vs.
> presented slides though then article and presentation in the same file.
> 
> The OP's question though I don't know how to answer, I have the same problem
> when using branches to have an exercise and solutions in the same file and
> print it once with the solution and once without.

I was not well-informed on that. Thanks for the additional info.

Nikos


Gmane