Re: Placing a citation in an endnote.

2023-12-02 Thread Steve Litt
John Kane said on Fri, 1 Dec 2023 11:15:33 -0500


>Rmardown uses pandoc to convert from Rmarkdown to pdf.  I thought that
>this should fairly easy to do in LyX or LaTeX but it does not seem so.

Eeeew, Pandoc. I'm still trying to develop the Stylz write once,
deploy everywhere, fast and easy authoring markup language. This time
I'm looking into Flex and Bison for a solution.

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Placing a citation in an endnote.

2023-12-01 Thread John Kane
I was reading a post in a Rmarkdown forum where the writer said that he had
been using footnotes with a citation embedded to produce a pdf..  His
editor has requested a change from footnotes to endnotes and he cannot get
it to word.

Rmardown uses pandoc to convert from Rmarkdown to pdf.  I thought that this
should fairly easy to do in LyX or LaTeX but it does not seem so.

If I add
\usepackage{endnotes}
\let\footnote=\endnote
to the LaTeX preamble I lose the footnote and citation but still get the
endnote indicator.

I have attached a MWE and sample bib file.

Any suggestions would be very welcome.
-- 
John Kane
Kingston ON Canada
@article{mallapatyChinaBansCash2020,
title = {China bans cash rewards for publishing papers},
volume = {579},
rights = {2021 Nature},
url = {https://www.nature.com/articles/d41586-020-00574-8},
doi = {10.1038/d41586-020-00574-8},
abstract = {New policy tackles perverse incentives that drive ‘publish 
or perish’ culture and might be encouraging questionable research practices.},
pages = {18--18},
number = {7797},
journaltitle = {Nature},
author = {Mallapaty, Smriti},
urldate = {2021-12-20},
date = {2020-02-28},
langid = {english},
note = {Bandiera\_abtest: a
Cg\_type: News
Number: 7797
Publisher: Nature Publishing Group
Subject\_term: Policy, Publishing, Funding},
keywords = {Publishing, Funding, Policy},
file = {Full Text PDF:/home/john/Zotero/storage/XWISAMZY/Mallapaty - 
2020 - China bans cash rewards for publishing 
papers.pdf:application/pdf;Snapshot:/home/john/Zotero/storage/KTDC55B8/d41586-020-00574-8.html:text/html},
}

@report{caulfieldDoesDebunkingWork2020,
title = {Does Debunking Work? Correcting {COVID}-19 Misinformation on 
Social Media},
url = {https://osf.io/5uy2f},
shorttitle = {Does Debunking Work?},
abstract = {A defining characteristic of this pandemic has been the 
spread of misinformation. The World Health Organization ({WHO}) famously called 
the crisis not just a pandemic, but also an “infodemic.” Why and how 
misinformation spreads and has an impact on behaviours and beliefs is a complex 
and multidimensional phenomenon. There is an emerging rich academic literature 
on misinformation, particularly in the context of social media. In this 
chapter, I focus on two questions: Is debunking an effective strategy? If so, 
what kind of counter-messaging is most effective? While the data remain complex 
and, at times, contradictory, there is little doubt that efforts to correct 
misinformation are worthwhile. In fact, fighting the spread of misinformation 
should be viewed as an important health and science policy priority.},
institution = {Open Science Framework},
type = {preprint},
author = {Caulfield, Timothy},
urldate = {2022-08-23},
date = {2020-05-25},
langid = {english},
doi = {10.31219/osf.io/5uy2f},
keywords = {vaccination},
file = {Caulfield - 2020 - Does Debunking Work Correcting COVID-19 
Misinform.pdf:/home/john/Zotero/storage/6HPDDKVJ/Caulfield - 2020 - Does 
Debunking Work Correcting COVID-19 Misinform.pdf:application/pdf},
}
@article{liuJournalRetractionsUnique2018,
title = {Journal Retractions: Some Unique Features of Research 
Misconduct in China},
volume = {49},
issn = {1198-9742},
url = {https://utpjournals.press/doi/10.3138/jsp.49.3.02},
doi = {10.3138/jsp.49.3.02},
shorttitle = {Journal Retractions},
abstract = {This study used data from the Retraction Watch website and 
from published reports on retractions and paper mills to summarize key features 
of research misconduct in China. Compared with publicized cases of falsified or 
fabricated data by authors from other countries of the world, the number of 
Chinese academics exposed for research misconduct has increased dramatically in 
recent years. Chinese authors do not have to generate fake data or fake peer 
reviews for themselves because paper mills in China will do the work for them 
for a price. Major retractions of articles by authors from China were all 
announced by international publishers. In contrast, there are few reports of 
retractions announced by China's domestic publishers. China's publication 
requirements for physicians seeking promotions and its leniency toward research 
misconduct are two major factors promoting the boom of paper mills in China.},
pages = {305--319},
number = {3},
journaltitle = {Journal of Scholarly Publishing},
author = {Liu, Xiaomei and Chen, Xiaotian},
urldate = {2022-12-03},
date = {2018-04},
note = {Publisher: University of Toronto Press},
keywords = {research misconduct, China, journal retraction, paper mill},
}

@article{candal-pedreiraRetractedPapersOriginating2022,
title = {Retracted papers

Re: Bibliographic citations citation style formatting

2023-07-13 Thread Rich Shepard

On Thu, 13 Jul 2023, Herbert Voss wrote:


That is only a LyX problem; the output (pdf) should be ok!


Herbert,

Yes, the PDF output has et al. citations and all authors in the
bibliography.

Because the LyX display does not reflect that is distracting; I spent the
past couple of days trying to fix it when I need to focus on writing the
index and implementing a different chapter heading look (which will wait
until the index is done.)

Best regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Herbert Voss



Rich Shepard schrieb:
> On Thu, 13 Jul 2023, Herbert Voss wrote:
>
>> LyX itself uses the et.al. only for more than _three_ authors, which
>> looks
>> like a bug to me. It should recognize for biblatex the setting of the
>> above option field.
>
> HHerbert,
>
> I agree. (And all options in the Citation Style section does the trick.)
>
> Seeing, in the LyX document itself, both et al. and all three author names
> troubled me. Yesterday I read part of TLC3/II chapter 15 on bibliographic
> styles and could not identify which of the many options I needed; hadn't
> made it to chapte 16 on citation styles.

Rich,
That is only a LyX problem;  the output (pdf) should be ok!

Herbert


> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>




-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Rich Shepard

On Thu, 13 Jul 2023, Herbert Voss wrote:


Remove the module apa(natbib) from documents->preferences->modules


Since bibtex, natlib, and juralib have been deprecated would it be
reasonable to drop them from LyX? I've no idea how many LyX users run older
versions of TeXLive and supported these options.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Rich Shepard

On Thu, 13 Jul 2023, Herbert Voss wrote:


LyX itself uses the et.al. only for more than _three_ authors, which looks
like a bug to me. It should recognize for biblatex the setting of the
above option field.


HHerbert,

I agree. (And all options in the Citation Style section does the trick.)

Seeing, in the LyX document itself, both et al. and all three author names
troubled me. Yesterday I read part of TLC3/II chapter 15 on bibliographic
styles and could not identify which of the many options I needed; hadn't
made it to chapte 16 on citation styles.

Best regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Rich Shepard

On Thu, 13 Jul 2023, Herbert Voss wrote:


Remove the module apa(natbib) from documents->preferences->modules


Herbert,

I'm suitably embarassed by not checking all settings and seeing this. Mea
culpa!


and then insert into documents->preferences->bibliography the options
maxcitenames=1,maxbibnames=99,uniquename=false,uniquelist=false

However, inside LyX it doesn't look right for the citation, but the pdf is 
ok.


There are three sections in the Bibliography settings dialog box: Citation
Style (with an options box), Bibliography Style (without an options box),
and Bibliography Generation (with an options box). Are all the above options
entered in the Citation Style section?

Many thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Herbert Voss




Am 13.07.23 um 07:01 schrieb Herbert Voss:



and then insert into documents->preferences->bibliography the options

maxcitenames=1,maxbibnames=99,uniquename=false,uniquelist=false

However, inside LyX it doesn't look right for the citation, but the 
pdf is ok.



LyX itself uses the et.al. only for more than _three_ authors, which 
looks like
a bug to me. It should recognize for biblatex the setting of the above 
option field.


Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citations citation style formatting

2023-07-12 Thread Rich Shepard

On Wed, 12 Jul 2023, Rich Shepard wrote:


Here's a different one from a report written a couple of months ago. See
second attachment (citation-style.png). Notice that the citation is a pair
of question marks (and all variants of that are the only display options)
while the citation (Langless2000) is what should be displayed.


Fixed this one. While the Settings dialog box showed the authoryear, it was
not in the list of authors. Scrolling down that list I clicked on that name
and the proper entry was loaded. The LyX and PDF files are correct.

However, ... there are still bibliography errors that can be seen in the
mwe.lyx file (attached, along with a mwe.bib containing two entries).

Creating the new file (KOMA-Sctipt book class), the bibliography setting is
stuck at bibtex, not biblatex. I need to fix this for the MWE and future new
docs. It also presents only bibtex citation styles, not the biblatex ones.

I need help setting biblatex as the default for all book and report docs and
having all multi-author docs (3 or more authors) display citations and
bibliography entrries as the first author + et al.

Now to read TLC3/II on biblatex.

TIA,

Rich#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrbook
\begin_preamble
\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\makeatletter
\@addtoreset{figure}{subsection}% Reset figure numbering at every part
\makeatother
\end_preamble
\use_default_options true
\begin_modules
natbibapa
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding default
\fontencoding global
\font_roman "palatino" "default"
\font_sans "avant" "default"
\font_typewriter "courier" "default"
\font_math "auto" "auto"
\font_default_family rmdefault
\use_non_tex_fonts false
\font_sc true
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize custom
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 0
\use_package esint 0
\use_package mathdots 1
\use_package mathtools 0
\use_package mhchem 1
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine natbib
\cite_engine_type authoryear
\biblio_style authordate4
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 6in
\paperheight 9in
\leftmargin 0.75in
\topmargin 0.9in
\rightmargin 0.75in
\bottommargin 0.9in
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Enumerate
assessment of streams and rivers for determining whether designated beneficial
 uses have been attained, for measurements of biodiversity, or for quantifying
 ecosystem function (
\begin_inset CommandInset citation
LatexCommand cite
key "Doledec2000"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Resh2005"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Chessman2007"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Cuffney2007"
literal "false"

\end_inset

.) In addition to mixed taxonomic levels being given the same weight in a
 diversity or integrity index, these metrics do not accommodate the range
 of benthic macroinvertebrate life history strategies.
 These life history differences mean that taxa collected at any site depends
 on the collection date (
\begin_inset CommandInset citation
LatexCommand cite
key "Lenat1988"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Clarke2002"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Bruce2002"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Boyero2005"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Bogan2007"
literal "false"

\end_inset

.) For example, at one extreme are the terrestrial

Bibliographic citations citation style formatting

2023-07-12 Thread Rich Shepard

Running lyx-2.3.6.1 on Slackware64-14.2 linux.

When I push a multi-author bibliographic citation from JabRef-5.1 sometimes
it displays with all the author's names, sometimes with first author's name
and 'et al.' See attached image.

In both cases, looking at the Settings -> Citation Style -> formatting I'm
presented with variants of the displayed citation, and not both types.

I don't recall having this problem before. Looking at a couple of documents
with bibliographic citations, all multi-author citations are of the '... et
al.' type.

Here's a different one from a report written a couple of months ago. See
second attachment (citation-style.png). Notice that the citation is a pair
of question marks (and all variants of that are the only display options)
while the citation (Langless2000) is what should be displayed.

How can I clean up both of these documents so they properly display
citations?

Rich-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


SOLVED: How to change citation in Biblatex spbasic

2023-06-12 Thread Wolfgang Engelmann

Thanks, Herbert and Jürgen.

Good to know it is quite easy to get the desired change in the output.

Wolfgang

Am 11.06.23 um 10:14 schrieb Jürgen Spitzmüller:

Am Sonntag, dem 11.06.2023 um 09:02 +0200 schrieb Herbert Voss:

Only for authors with the same familyname the given names are used.


And this could be omitted by uniquename=false or maybe a less radical
uniquename value (in Document > Settings > Bibliography > Cite Style >
Options).

See biblatex manual, 4.11.4 Name Disambiguation.


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to change citation in Biblatex spbasic

2023-06-11 Thread Jürgen Spitzmüller
Am Sonntag, dem 11.06.2023 um 09:02 +0200 schrieb Herbert Voss:
> Only for authors with the same familyname the given names are used.

And this could be omitted by uniquename=false or maybe a less radical
uniquename value (in Document > Settings > Bibliography > Cite Style >
Options).

See biblatex manual, 4.11.4 Name Disambiguation.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to change citation in Biblatex spbasic

2023-06-11 Thread Herbert Voss



Am 10.06.23 um 09:58 schrieb Wolfgang Engelmann:
I use for my literature biblatex (author year) citation style spbasic, 
processor biber.


I would like to change the citation in the text slightly.
Example:

S Daan, DGM Beersma (1984)
should be

Daan, Beersma (1984)

or Daan and Beersma (1984)

Can I obtain this in the Style options and what should be entered there?



Wolfgang,

that is already the default of the style biblatex-spbasic. Only for 
authors with the

same familyname the given names are used.

Herbert
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


How to change citation in Biblatex spbasic

2023-06-10 Thread Wolfgang Engelmann
I use for my literature biblatex (author year) citation style spbasic, 
processor biber.


I would like to change the citation in the text slightly.
Example:

S Daan, DGM Beersma (1984)
should be

Daan, Beersma (1984)

or Daan and Beersma (1984)

Can I obtain this in the Style options and what should be entered there?

If not, how would I change it in the citation style spbasic which was 
modified for LyX by Herbert Voss?


Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citation not allowing formatting [FIXED]

2020-03-10 Thread Rich Shepard

On Tue, 10 Mar 2020, Rich Shepard wrote:


Prior lyx versions would show a selection of citation formats; e.g.,
(Author date), (Author, date), Author (date). They ain't available to me
now and I don't know what I did to lose them. Same thing when the biblio
style is authordate3 which worked as expected in a recent document with an
earlier lyx version.


Fixed. By re-setting all options to match those which worked properly on the
last document the citation styles are now working properly.

I've no idea which setting broke things but careful restoration of all fixed
the problem.

Thanks, Kornel,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citation not allowing formatting

2020-03-10 Thread Rich Shepard

On Tue, 10 Mar 2020, Kornel Benko wrote:


What about
Document->Settings...->Bibliography->Style format:
ATM you have selected 'Basic (BibTeX)', try for instance Biblatex.


Kornel,

That setting needed to be changed. It's now Citation Style Format Natbib
(Bibtex) Author-Year, Bibliography style plain, and Bibliography Generation
Processor Bibtex. These are the settings for another document I last worked
on a few weeks ago but I'm still not able to select the range of citation
presentation formats.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citation not allowing formatting

2020-03-10 Thread Rich Shepard

On Tue, 10 Mar 2020, Kornel Benko wrote:


What about
Document->Settings...->Bibliography->Style format:


Kornel,

Doesn't matter if that, and the bibliography setting, are both APA or
authordate3, the only formatting styles remain the three I included in my
message.


ATM you have selected 'Basic (BibTeX)', try for instance Biblatex.


I've stayed with bibtex for many years rather than learning biblatex.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliographic citation not allowing formatting

2020-03-10 Thread Kornel Benko
Am Tue, 10 Mar 2020 07:12:30 -0700 (PDT)
schrieb Rich Shepard :

> Running lyx-2.3.4.3-x86_64 on Slackware-14.2/x86_64.
> 
> I inserted the bibtex bibliography at the end of the document and a citation
> from JabRef-5.1.dev. The bibliography style is APA, but when I try to format
> the appearance of the citation in the text I am allowed only [#ID], Add to
> biblography only, and Key only.
> 
> Prior lyx versions would show a selection of citation formats; e.g., (Author
> date), (Author, date), Author (date). They ain't available to me now and I
> don't know what I did to lose them. Same thing when the biblio style is
> authordate3 which worked as expected in a recent document with an earlier
> lyx version.
> 
> I've attached a mwe.lyx but without my entire 1.8M bibliographic database.
> 
> A cluestick is needed.
> 
> Regards,
> 
> Rich

What about
Document->Settings...->Bibliography->Style format:
ATM you have selected 'Basic (BibTeX)', try for instance Biblatex.

Kornel


pgpMeh86j8Txb.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Bibliographic citation not allowing formatting

2020-03-10 Thread Rich Shepard

Running lyx-2.3.4.3-x86_64 on Slackware-14.2/x86_64.

I inserted the bibtex bibliography at the end of the document and a citation
from JabRef-5.1.dev. The bibliography style is APA, but when I try to format
the appearance of the citation in the text I am allowed only [#ID], Add to
biblography only, and Key only.

Prior lyx versions would show a selection of citation formats; e.g., (Author
date), (Author, date), Author (date). They ain't available to me now and I
don't know what I did to lose them. Same thing when the biblio style is
authordate3 which worked as expected in a recent document with an earlier
lyx version.

I've attached a mwe.lyx but without my entire 1.8M bibliographic database.

A cluestick is needed.

Regards,

Rich#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrartcl
\begin_preamble
\date{}
\usepackage{scrpage2,textcomp}
\usepackage{draftwatermark}
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "palatino" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 2cm
\topmargin 4cm
\bottommargin 2cm
\headsep 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
In urban areas methods such as the process described in the Natural Resource
 Conservation Service Technical Report (
\begin_inset CommandInset citation
LatexCommand keyonly
key "Cronshey1986"
literal "true"

\end_inset

) are sufficient for regulatory compliance in most cases.
\end_layout

\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
btprint "btPrintCited"
bibfiles "/home/rshepard/documents/jabrefdb"
options "bibtotoc,apa"

\end_inset


\end_layout

\end_body
\end_document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Customizing biblatex beyond Citation Style - Options field

2018-11-12 Thread Bert Lloyd
Jürgen,

Including this in Document Settings - LaTeX Preamble solved the problem.

Many thanks.

On Thu, Nov 8, 2018 at 4:27 PM Jürgen Spitzmüller  wrote:
>
>
>
> Am Do., 8. Nov. 2018, 17:13 hat Bert Lloyd  
> geschrieben:
>>
>> However, there are some further tweaks I would like to make that as
>> far as I know cannot be done this way. For example, in plain LaTex, I
>> would add
>>
>> \AtEveryBibitem{%
>>   \clearlist{language}
>> }
>>
>> after \usepackage[...]{biblatex
>
>
> Use
>
> \AtBeginDocument{%
> \AtEveryBibitem{%
>   \clearlist{language}
> }
> }
>
> Jürgen
>
>>
>> I attempted to implement this via Document Settings - Preamble.
>> However, the problem I am having is that it appears that, by default,
>> LyX places
>> \usepackage[...]{biblatex}
>> \addbibresource{are-495.bib}
>> at the very end of the latex preamble.
>>
>> As a result, options I add via Document Settings - Preamble appear
>> before \usepackage[...]{biblatex}, leading to an error message:
>>
>> Undefined control sequence
>> \AtEveryBibitem
>> {%
>> The control sequence at the end of the top line...
>>
>> I tried including the \AtEveryBibitem{%... material in the body of the
>> document using ERT, but this also lead to an error:
>> ! LaTeX Error: Can be used only in preamble.
>>
>> So, is there a way I can
>> A) Control where LyX puts \usepackage[...]{biblatex} in the latex preamble?
>> B) Add material to a specific part of the latex preamble (i.e., the
>> end, or at least after \usepackage[...]{biblatex})?
>> C) Pass options to biblatex a different way?
>> D) Other?
>>
>> Many thanks,
>>
>> BL


Re: Customizing biblatex beyond Citation Style - Options field

2018-11-08 Thread Jürgen Spitzmüller
Am Do., 8. Nov. 2018, 17:13 hat Bert Lloyd 
geschrieben:

> However, there are some further tweaks I would like to make that as
> far as I know cannot be done this way. For example, in plain LaTex, I
> would add
>
> \AtEveryBibitem{%
>   \clearlist{language}
> }
>
> after \usepackage[...]{biblatex
>

Use

\AtBeginDocument{%
\AtEveryBibitem{%
  \clearlist{language}
}
}

Jürgen


> I attempted to implement this via Document Settings - Preamble.
> However, the problem I am having is that it appears that, by default,
> LyX places
> \usepackage[...]{biblatex}
> \addbibresource{are-495.bib}
> at the very end of the latex preamble.
>
> As a result, options I add via Document Settings - Preamble appear
> before \usepackage[...]{biblatex}, leading to an error message:
>
> Undefined control sequence
> \AtEveryBibitem
> {%
> The control sequence at the end of the top line...
>
> I tried including the \AtEveryBibitem{%... material in the body of the
> document using ERT, but this also lead to an error:
> ! LaTeX Error: Can be used only in preamble.
>
> So, is there a way I can
> A) Control where LyX puts \usepackage[...]{biblatex} in the latex preamble?
> B) Add material to a specific part of the latex preamble (i.e., the
> end, or at least after \usepackage[...]{biblatex})?
> C) Pass options to biblatex a different way?
> D) Other?
>
> Many thanks,
>
> BL
>


Re: Customizing biblatex beyond Citation Style - Options field

2018-11-08 Thread Bert Lloyd
I suppose it would, but I would prefer to load biblatex through LyX in
the standard way if possible.
On Thu, Nov 8, 2018 at 12:04 PM Benedict Holland
 wrote:
>
> If you don't include biblatex in the UI (remove any bibliography settings in 
> Lyx), it shouldn't load anything. Of course, then it is on you to include 
> biblatex with all options and customizations you would like.
>
> Does that work?
>
> Thanks,
> ~Ben
>
> On Thu, Nov 8, 2018 at 11:13 AM Bert Lloyd  wrote:
>>
>> Dear LyX Users,
>>
>> I am using biblatex in LyX 2.3. I have added several options through
>> the standard approach (Document Settings - Bibliography - Citation
>> Style - Options; for example: hyperref=true), and this works fine.
>>
>> However, there are some further tweaks I would like to make that as
>> far as I know cannot be done this way. For example, in plain LaTex, I
>> would add
>>
>> \AtEveryBibitem{%
>>   \clearlist{language}
>> }
>>
>> after \usepackage[...]{biblatex}
>>
>> I attempted to implement this via Document Settings - Preamble.
>> However, the problem I am having is that it appears that, by default,
>> LyX places
>> \usepackage[...]{biblatex}
>> \addbibresource{are-495.bib}
>> at the very end of the latex preamble.
>>
>> As a result, options I add via Document Settings - Preamble appear
>> before \usepackage[...]{biblatex}, leading to an error message:
>>
>> Undefined control sequence
>> \AtEveryBibitem
>> {%
>> The control sequence at the end of the top line...
>>
>> I tried including the \AtEveryBibitem{%... material in the body of the
>> document using ERT, but this also lead to an error:
>> ! LaTeX Error: Can be used only in preamble.
>>
>> So, is there a way I can
>> A) Control where LyX puts \usepackage[...]{biblatex} in the latex preamble?
>> B) Add material to a specific part of the latex preamble (i.e., the
>> end, or at least after \usepackage[...]{biblatex})?
>> C) Pass options to biblatex a different way?
>> D) Other?
>>
>> Many thanks,
>>
>> BL


Re: Customizing biblatex beyond Citation Style - Options field

2018-11-08 Thread Benedict Holland
If you don't include biblatex in the UI (remove any bibliography settings
in Lyx), it shouldn't load anything. Of course, then it is on you to
include biblatex with all options and customizations you would like.

Does that work?

Thanks,
~Ben

On Thu, Nov 8, 2018 at 11:13 AM Bert Lloyd  wrote:

> Dear LyX Users,
>
> I am using biblatex in LyX 2.3. I have added several options through
> the standard approach (Document Settings - Bibliography - Citation
> Style - Options; for example: hyperref=true), and this works fine.
>
> However, there are some further tweaks I would like to make that as
> far as I know cannot be done this way. For example, in plain LaTex, I
> would add
>
> \AtEveryBibitem{%
>   \clearlist{language}
> }
>
> after \usepackage[...]{biblatex}
>
> I attempted to implement this via Document Settings - Preamble.
> However, the problem I am having is that it appears that, by default,
> LyX places
> \usepackage[...]{biblatex}
> \addbibresource{are-495.bib}
> at the very end of the latex preamble.
>
> As a result, options I add via Document Settings - Preamble appear
> before \usepackage[...]{biblatex}, leading to an error message:
>
> Undefined control sequence
> \AtEveryBibitem
> {%
> The control sequence at the end of the top line...
>
> I tried including the \AtEveryBibitem{%... material in the body of the
> document using ERT, but this also lead to an error:
> ! LaTeX Error: Can be used only in preamble.
>
> So, is there a way I can
> A) Control where LyX puts \usepackage[...]{biblatex} in the latex preamble?
> B) Add material to a specific part of the latex preamble (i.e., the
> end, or at least after \usepackage[...]{biblatex})?
> C) Pass options to biblatex a different way?
> D) Other?
>
> Many thanks,
>
> BL
>


Customizing biblatex beyond Citation Style - Options field

2018-11-08 Thread Bert Lloyd
Dear LyX Users,

I am using biblatex in LyX 2.3. I have added several options through
the standard approach (Document Settings - Bibliography - Citation
Style - Options; for example: hyperref=true), and this works fine.

However, there are some further tweaks I would like to make that as
far as I know cannot be done this way. For example, in plain LaTex, I
would add

\AtEveryBibitem{%
  \clearlist{language}
}

after \usepackage[...]{biblatex}

I attempted to implement this via Document Settings - Preamble.
However, the problem I am having is that it appears that, by default,
LyX places
\usepackage[...]{biblatex}
\addbibresource{are-495.bib}
at the very end of the latex preamble.

As a result, options I add via Document Settings - Preamble appear
before \usepackage[...]{biblatex}, leading to an error message:

Undefined control sequence
\AtEveryBibitem
{%
The control sequence at the end of the top line...

I tried including the \AtEveryBibitem{%... material in the body of the
document using ERT, but this also lead to an error:
! LaTeX Error: Can be used only in preamble.

So, is there a way I can
A) Control where LyX puts \usepackage[...]{biblatex} in the latex preamble?
B) Add material to a specific part of the latex preamble (i.e., the
end, or at least after \usepackage[...]{biblatex})?
C) Pass options to biblatex a different way?
D) Other?

Many thanks,

BL


Re: bibliography citation and -und

2018-06-05 Thread Jürgen Spitzmüller
2018-06-05 16:53 GMT+02:00:

> Thanks a lot, Jürgen.
>
> First: In your example is loaded \usepackage[natbibapa]{apacite} and it
> works here in a new minimal example well
> When I substitute it with \usepackage{apager} it doesn´t work any more.
> Maybe package apager is not found.
> That´s what I did:
> I put the whole content of downloaded apger_dgps for windows in
> C/user/admin/.texlive2018/texmf-var/apager
> I put the apager_bst file and the apager.sty-file as well in
> c:/texlive/2018/texmf-dist/bibtex/bst/apager (for .bst) and
> c:/texlive/2018/texmf-dist/tex/latex/apager (for .sty)
> and reconfigured lyx.
> What else shall I do?
>

What is the error message exactly?


>
> Second:
> I don´t know how to use ERT for citation commands; what do you mean with
> it?
>

TeX mode in LyX. It's not something you really want to do, so I recommend
using apacite rather than apager.


> Third:
> I transferred the settings of your example in my main document, using
> \usepackage[natbibapa]{apacite} and got this message when compiling in
> pdflatex:
> TeX capacity exceeded, sorry [input stack size=5000].
>

Hard to diagnose without seeing the file (you can send it to me via private
mail if it is confident).

Jürgen


>
>
> Best
> Andreas
>
>


AW: bibliography citation and -und

2018-06-05 Thread ah
Von: Jürgen Spitzmüller  
Gesendet: Dienstag, 5. Juni 2018 12:18

2018-06-05 11:18 GMT+02:00:
Please post a minimal example file.

Jürgen 

After solving the UTF8-ptroblems, you´ll find attached now the minimal example. 
This bibliography-problem still remains.

As written above, you need to load the apager package in the preamble:

\usepackage{apager}

Note, though, that apager builds on a rather old version of apacite (the 
English original), which does not work with natbib yet, so you need to use 
"BibTeX (plain)" and ERT for citation commands.

Recent versions of apacite support both natbib and German, the latter though 
only if the document main language is German. Your example file has English as 
document language. If you still want German bibliography strings, you can 
manually load the German language definition file of apacite:

% Use German for Bibliography even in non-German documents
\AtBeginDocument{\input{ngerman.apc}}

Furthermore, you need either in your layout file or in local layouts:

Provides natbib 1

Since apacite loads natbib internally.

See attached modified example.

HTH  Jürgen

Thanks a lot, Jürgen. 

First: In your example is loaded \usepackage[natbibapa]{apacite} and it works 
here in a new minimal example well 
When I substitute it with \usepackage{apager} it doesn´t work any more. Maybe 
package apager is not found. 
That´s what I did: 
I put the whole content of downloaded apger_dgps for windows in 
C/user/admin/.texlive2018/texmf-var/apager 
I put the apager_bst file and the apager.sty-file as well in 
c:/texlive/2018/texmf-dist/bibtex/bst/apager (for .bst) and 
c:/texlive/2018/texmf-dist/tex/latex/apager (for .sty)
and reconfigured lyx. 
What else shall I do?

Second: 
I don´t know how to use ERT for citation commands; what do you mean with it?

Third: 
I transferred the settings of your example in my main document, using 
\usepackage[natbibapa]{apacite} and got this message when compiling in 
pdflatex: 
TeX capacity exceeded, sorry [input stack size=5000].

 
Best 
Andreas 



BV_Test_180605.lyx
Description: application/lyx


Re: bibliography citation and -und

2018-06-05 Thread Jürgen Spitzmüller
2018-06-05 11:18 GMT+02:00:

> Please post a minimal example file.
>
> Jürgen
>
> After solving the UTF8-ptroblems, you´ll find attached now the minimal
> example. This bibliography-problem still remains.
>

As written above, you need to load the apager package in the preamble:

\usepackage{apager}

Note, though, that apager builds on a rather old version of apacite (the
English original), which does not work with natbib yet, so you need to use
"BibTeX (plain)" and ERT for citation commands.

Recent versions of apacite support both natbib and German, the latter
though only if the document main language is German. Your example file has
English as document language. If you still want German bibliography
strings, you can manually load the German language definition file of
apacite:

% Use German for Bibliography even in non-German documents

\AtBeginDocument{\input{ngerman.apc}}


Furthermore, you need either in your layout file or in local layouts:


Provides natbib 1


Since apacite loads natbib internally.


See attached modified example.

HTH
Jürgen



> Best
> Andreas
>


BV_Test_180604.lyx
Description: application/lyx


AW: bibliography citation and -und

2018-06-05 Thread ah
Von: Jürgen Spitzmüller  
Gesendet: Dienstag, 5. Juni 2018 08:50
An: a...@andreashegenbart.de
Cc: LyX Users List 
Betreff: Re: bibliography citation and -und

<mailto:a...@andreashegenbart.de> schrieb am Mo., 4. Juni 2018, 20:50:
 I put apager.bst and apager.sty in the local folder, tested with a new 
document, but the result is as attached. And a new problem with utf8 emerged, 
which I show in a separate mail.
Don´t know, if the two problems are connected.

Please post a minimal example file.

Jürgen 

After solving the UTF8-ptroblems, you´ll find attached now the minimal example. 
This bibliography-problem still remains.
Best 
Andreas 
<>


Re: bibliography citation and -und

2018-06-05 Thread Jürgen Spitzmüller
 schrieb am Mo., 4. Juni 2018, 20:50:

>  I put apager.bst and apager.sty in the local folder, tested with a new
> document, but the result is as attached. And a new problem with utf8
> emerged, which I show in a separate mail.
>
> Don´t know, if the two problems are connected.
>

Please post a minimal example file.

Jürgen


>
> Best
>
> Andreas
>


Re: bibliography citation and -und

2018-06-04 Thread Jürgen Spitzmüller
2018-06-04 13:12 GMT+02:00 :

>
>
> Thanks a lot, Jürgen, but there is no directory TEXMF:
>
> The terminal shows c:/user/admin/texmf (see attached texmf-path.jpg), but
> in the filemanager there is no txmf-file (see filemanager.jpg attached).
>
>
I don't mean a file, but the directory (apparently c:/user/admin/texmf in
your case, but maybe there is also one for non-admin user). Normally, you'd
create a subdirectory \tex\latex\gerapa and pu the sty file there, as well
as \bibtex\bst\gerapa for the bst file.

Alternatively, it will probably also wotk if you mode the apager_dpgs
folder into the texmf-local folder.

HTH
Jürgen


> More: there is no texlive 2018 to find; only texlive 2017; yesterday I
> deinstalled it and installed texlive 2018.
>
>
>
> But in filemanager C:/texlive/  I can find a file texmf-local; is that,
> what you´re  thinking about? (see attached: filemanager_c_texlive.jpg)
>
>
>
> Best
>
> Andreas
>
>
>
>
>
>
>
>


Re: bibliography citation and -und

2018-06-04 Thread Kornel Benko
Am Montag, 4. Juni 2018 13:12:17 CEST schrieb a...@andreashegenbart.de:
> 
> kpsewhich -var-value TEXMFHOME
> 
>  
> 
> HTH,
> 
> Jürgen
> 
>  
> 
>  
> 
> Thanks a lot, Jürgen, but there is no directory TEXMF:
> 
> The terminal shows c:/user/admin/texmf (see attached texmf-path.jpg), but in 
> the filemanager there is no txmf-file (see filemanager.jpg attached).
> 
> More: there is no texlive 2018 to find; only texlive 2017; yesterday I 
> deinstalled it and installed texlive 2018. 
> 
>  

The output of 'kpsewhich -var-value TEXMFHOME' gave you already
C:/Users/Admin/texmf
This is the directory you are looking for.

Kornel




signature.asc
Description: This is a digitally signed message part.


Re: bibliography citation and -und

2018-06-04 Thread Jürgen Spitzmüller
2018-06-04 11:57 GMT+02:00 :

> Hello
> I´m using windows 7 professional, 64bit (32bit), service-pack 1,  lyx 2.3
> and texlive 2018.
> Jürgen proposed to use the package apager_dgps; this I downloaded and
> tried to install it, but got the error-warning a) with the tlmgr and b) as
> well with the commandline (see attached).
> What is to do, to install this package correctly ?
>

You must save the files manually in your local TEXMF directory. Since this
is not a package contained in TeXLive, the TL Manager cannot deal with it.
To find out where your local TEXMF directory is, enter in the terminal:

kpsewhich -var-value TEXMFHOME

HTH,
Jürgen


> Best
> Andreas
>


Re: bibliography citation and -und

2018-06-01 Thread Jürgen Spitzmüller
Am Freitag, den 01.06.2018, 16:53 +0200 schrieb Wolfgang Engelmann:
> Thanks, Jürgen, for pointing to the apager style. The output looks
> like:
> 
> Dauenheimer, Stahlberg, Frey PetersenDauenheimer 2001(@)(@)Dauen-
> heimer.2001 Dauenheimer, D., Stahlberg, D., Frey, D. Petersen, L.-E.
> 2001. Die Theorie des Selbstwertschutzes und der Selbstwerterhöhung.
> In
> D. Frey M. Irle (), Theorien der Sozialpsychologie ( 3, 159–190).
> Bern:
> Huber.
> 
> How does one get rid of the superfluous
> Dauenheimer, Stahlberg, Frey PetersenDauenheimer 2001(@)(@)Dauen-
> heimer.2001
> in the apager.bst file?

I think you need to use the apager package, not just the style. See the
contained example file.

Jürgen

> Wolfgang

signature.asc
Description: This is a digitally signed message part


Re: bibliography citation and -und

2018-06-01 Thread Wolfgang Engelmann




Am 01.06.2018 um 10:36 schrieb Jürgen Spitzmüller:

Am Freitag, den 01.06.2018, 10:24 +0200 schrieb Wolfgang Engelmann:

See attached example,
and should be und, Editors should be Editoren, volume should be
Band,
pages should be Seiten..

This looks like APA, right?


Should one change to biblatex?

A an APA bibtex style adapted to German (and the DGPs convetions) is
www.openrepgrid.uni-bremen.de/data/apager_dgps.zip

For Biblatex, there is biblatex-apa, which is much mightier, but you
first need to get familiar with Biblatex.

Jürgen


Wolfgang

Thanks, Jürgen, for pointing to the apager style. The output looks like:

Dauenheimer, Stahlberg, Frey PetersenDauenheimer 2001(@)(@)Dauen-
heimer.2001 Dauenheimer, D., Stahlberg, D., Frey, D. Petersen, L.-E.
2001. Die Theorie des Selbstwertschutzes und der Selbstwerterhöhung. In
D. Frey M. Irle (), Theorien der Sozialpsychologie ( 3, 159–190). Bern:
Huber.

How does one get rid of the superfluous
Dauenheimer, Stahlberg, Frey PetersenDauenheimer 2001(@)(@)Dauen-
heimer.2001
in the apager.bst file?
Wolfgang


Re: bibliography citation and -und

2018-06-01 Thread Jürgen Spitzmüller
Am Freitag, den 01.06.2018, 10:24 +0200 schrieb Wolfgang Engelmann:
> See attached example,
> and should be und, Editors should be Editoren, volume should be
> Band, 
> pages should be Seiten..

This looks like APA, right?

> Should one change to biblatex?

A an APA bibtex style adapted to German (and the DGPs convetions) is
www.openrepgrid.uni-bremen.de/data/apager_dgps.zip

For Biblatex, there is biblatex-apa, which is much mightier, but you
first need to get familiar with Biblatex.

Jürgen

> Wolfgang
-- 
Univ.-Prof. Dr. Jürgen Spitzmüller
Universitätsprofessur für Angewandte Sprachwissenschaft
Universität Wien
Institut für Sprachwissenschaft
Sensengasse 3a
A-1090 Wien

Tel +43 (0)1 4277 417 24
Fax +43 (0)1 4277 9 417
http://linguistics.univie.ac.at
http://www.spitzmueller.org

VCard: http://www.spitzmueller.org/docs/jsp.vcf


signature.asc
Description: This is a digitally signed message part


Re: bibliography citation and -und

2018-06-01 Thread Wolfgang Engelmann




Am 01.06.2018 um 10:21 schrieb Jürgen Spitzmüller:

Am Freitag, den 01.06.2018, 09:24 +0200 schrieb Wolfgang Engelmann:

How can I get in German references und instead of and in the cited
references? I am using bibtex.

You need either a bst file adapted for German or edit a copy of the bst
file you use (if you cannot find a matching German one).

Which style do you need?

Jürgen


Wolfgang
ok, this clarifies it. Bibtex used, but if easier, could change to 
biblatex/biber.


Re: bibliography citation and -und

2018-06-01 Thread Wolfgang Engelmann



Am 01.06.2018 um 09:39 schrieb Michael Berger:

Sorry, not clear to me what you mean. Please, rephrase.

Michael


On 01.06.2018 09:24, Wolfgang Engelmann wrote:
How can I get in German references und instead of and in the cited 
references? I am using bibtex.


Wolfgang





See attached example,
and should be und, Editors should be Editoren, volume should be Band, 
pages should be Seiten..

Should one change to biblatex?
Wolfgang


Re: bibliography citation and -und

2018-06-01 Thread Jürgen Spitzmüller
Am Freitag, den 01.06.2018, 09:24 +0200 schrieb Wolfgang Engelmann:
> How can I get in German references und instead of and in the cited 
> references? I am using bibtex.

You need either a bst file adapted for German or edit a copy of the bst
file you use (if you cannot find a matching German one).

Which style do you need?

Jürgen

> 
> Wolfgang
> 

signature.asc
Description: This is a digitally signed message part


Re: bibliography citation and -und

2018-06-01 Thread Bernt Lie
I would guess that W has used "und" as author separator in his BibTeX files 
(instead of "and"), and wonders whether there is a way for LyX to understand 
this??

B

Get Outlook for Android<https://aka.ms/ghei36>



From: Michael Berger
Sent: Friday, June 1, 09:39
Subject: Re: bibliography citation and -und
To: Wolfgang Engelmann, lyx-users@lists.lyx.org


Sorry, not clear to me what you mean. Please, rephrase. Michael On 01.06.2018 
09:24, Wolfgang Engelmann wrote: > How can I get in German references und 
instead of and in the cited > references? I am using bibtex. > > Wolfgang > >



Re: bibliography citation and -und

2018-06-01 Thread Michael Berger

Sorry, not clear to me what you mean. Please, rephrase.

Michael


On 01.06.2018 09:24, Wolfgang Engelmann wrote:
How can I get in German references und instead of and in the cited 
references? I am using bibtex.


Wolfgang






bibliography citation and -und

2018-06-01 Thread Wolfgang Engelmann
How can I get in German references und instead of and in the cited 
references? I am using bibtex.


Wolfgang



Re: LyX 2.3 --- Citation at end of a quotation

2018-03-21 Thread Richard Kimberly Heck
On 03/21/2018 03:39 AM, F M Salter wrote:
>
>
>
> On 20/03/18 14:34, Richard Kimberly Heck
> <https://www.mail-archive.com/search?l=lyx-users@lists.lyx.org=from:%22Richard+Kimberly+Heck%22>
> wrote:
>> Hi.
>>
>> I think the reason for the problem Frank reported is that LaTeX discards
>> leading space in some cases. So, if you just put a horizontal fill, with
>> nothing ahead of it, LaTeX ignores it. The solution is to "protect" this 
>> space.
>> There's a checkbox for that in the dialog. Note that this will work if you 
>> just
>> use a linebreak instead of a new paragraph.
>>
> Thank you. This worked perfectly.
>
> However, there is an awkwardness in how this is shown in LyX.
> Doing what Riki said shows, to the left of the citation, a small glyph
> producing the horizontal fill.  The citation appears to be on the left
> but prints correctly to the right.  At other times a horizontal fill
> shows as a horizontal line and the text moves to the right.

Yes, I noticed that. I've filed a bug about it.

Riki



Re: LyX 2.3 --- Citation at end of a quotation

2018-03-21 Thread F M Salter


On 20/03/18 14:34, Richard Kimberly Heck
<https://www.mail-archive.com/search?l=lyx-users@lists.lyx.org=from:%22Richard+Kimberly+Heck%22>
wrote:
> Hi.
>
> I think the reason for the problem Frank reported is that LaTeX discards
> leading space in some cases. So, if you just put a horizontal fill, with
> nothing ahead of it, LaTeX ignores it. The solution is to "protect" this 
> space.
> There's a checkbox for that in the dialog. Note that this will work if you 
> just
> use a linebreak instead of a new paragraph.
>
Thank you. This worked perfectly.

However, there is an awkwardness in how this is shown in LyX.
Doing what Riki said shows, to the left of the citation, a small glyph
producing the horizontal fill.  The citation appears to be on the left
but prints correctly to the right.  At other times a horizontal fill
shows as a horizontal line and the text moves to the right.

Regards
Frank Salter


Re: LyX 2.3 --- Citation at end of a quotation

2018-03-20 Thread Richard Kimberly Heck
On 03/19/2018 01:11 PM, Rich Shepard wrote:
> On Mon, 19 Mar 2018, F M Salter wrote:
>
>>     I am trying to cite a quotation, so that the citation is placed
>> right
>> justified on the line following the last line of the quotation.
>
>>     Is there a correct way to achieve the desired output automatically?
>
> Frank,
>
>   I won't claim this to be the 'correct' way, but what I've done after a
> newline is type the citation then use Edit -> Paragraph settings ->
> Right.
> If vertical spacing is needed to keep the quotation and citation
> together a
> slight negative spacing usually does the trick. Otherwise, I adjust
> the text
> so the page break is where I want it to be.

I think the reason for the problem Frank reported is that LaTeX discards
leading space in some cases. So, if you just put a horizontal fill, with
nothing
ahead of it, LaTeX ignores it. The solution is to "protect" this space.
There's
a checkbox for that in the dialog. Note that this will work if you just
use a
linebreak instead of a new paragraph.

Riki



Re: LyX 2.3 --- Citation at end of a quotation

2018-03-19 Thread Rich Shepard

On Mon, 19 Mar 2018, F M Salter wrote:


    I am trying to cite a quotation, so that the citation is placed right
justified on the line following the last line of the quotation.



    Is there a correct way to achieve the desired output automatically?


Frank,

  I won't claim this to be the 'correct' way, but what I've done after a
newline is type the citation then use Edit -> Paragraph settings -> Right.
If vertical spacing is needed to keep the quotation and citation together a
slight negative spacing usually does the trick. Otherwise, I adjust the text
so the page break is where I want it to be.

Regards,

Rich



LyX 2.3 --- Citation at end of a quotation

2018-03-19 Thread F M Salter
Hi.

    I am trying to cite a quotation, so that the citation is placed
right justified on the line following the last line of the quotation.

    After ^Enter ^space  , LyX displays a
line with the citation on the right.  But the pdf output has the
citation left justified on the following line.

    If the citation is placed right justified on the following line, it
appears as requested, but the citation can become a widow.

    Is there a correct way to achieve the desired output automatically?

Regards

Frank Salter




Re: Is "Citation Style" menu tweakable?

2017-06-21 Thread David Pesetsky
Thanks for your continued help!  I have solved the problem, with the help of 
(the presuppositions of) your questions and this: 
https://tex.stackexchange.com/questions/56525/natbib-setcitestyle-causes-undefined-control-sequence-error?rq=1.

Early in my exploring of Lyx a few weeks ago, I took advantage of the 
information offered by Maria Gouskova, who is in my field, at 
https://www.gouskova.com/resources/.  That includes a link to her texmf 
directory with field-specific stuff in it, with an invitation to copy that into 
one's own texmf directory, which I did.  That turns out to have included an 
out-of-date version of natbib.sty, which was the cause of my error messsages.  
Removing it solved the problem.

Thanks again,
David

On Jun 20, 2017, at 11:23 PM, Richard Heck 
> wrote:

On 06/20/2017 06:25 PM, David Pesetsky wrote:
Thank you for your detailed reply (and hello)!  Your suggestion to add "comma" 
to [...]Class Options>Custom works very well, thank you!

But no matter what I put after \setcitestyle (or where I locate the command in 
the document -- preamble, body), I get an error message from Lyx — for example:

\setcitestyle
{notesep={: }}
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.

It's not worth chasing down this problem to the ends of the earth, but if you 
have any troubleshooting suggestions, I'd be happy to try them.

Very odd. The \setcitestyle command is defined by natbib.sty, and you said you 
were using natbib, yes?  (It did not exist before version 8 of natbib, but that 
was about a decade ago.) What OS are you using? Do you know what LaTeX 
distribution you have? Actually, maybe a better questin is: What document class 
are you using?

If you could produce as small a file as possible that causes this to happen and 
post that, then it will help debug the issue.

Richard


--
David Pesetsky [pese...@mit.edu]
Head, Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html



Re: Is "Citation Style" menu tweakable?

2017-06-20 Thread Richard Heck
On 06/20/2017 06:25 PM, David Pesetsky wrote:
> Thank you for your detailed reply (and hello)!  Your suggestion to add
> "comma" to /[...]Class Options>Custom/ works very well, thank you!  
>
> But no matter what I put after \setcitestyle (or where I locate the
> command in the document -- preamble, body), I get an error message
> from Lyx — for example:
>
>> \setcitestyle
>> {notesep={: }}
>> 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.
>
> It's not worth chasing down this problem to the ends of the earth, but
> if you have any troubleshooting suggestions, I'd be happy to try them.

Very odd. The \setcitestyle command is defined by natbib.sty, and you
said you were using natbib, yes?  (It did not exist before version 8 of
natbib, but that was about a decade ago.) What OS are you using? Do you
know what LaTeX distribution you have? Actually, maybe a better questin
is: What document class are you using?

If you could produce as small a file as possible that causes this to
happen and post that, then it will help debug the issue.

Richard



Re: Is "Citation Style" menu tweakable?

2017-06-20 Thread David Pesetsky
Thank you for your detailed reply (and hello)!  Your suggestion to add "comma" 
to [...]Class Options>Custom works very well, thank you!

But no matter what I put after \setcitestyle (or where I locate the command in 
the document -- preamble, body), I get an error message from Lyx — for example:

\setcitestyle
{notesep={: }}
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.

It's not worth chasing down this problem to the ends of the earth, but if you 
have any troubleshooting suggestions, I'd be happy to try them.

Thank you again!

-David


On Jun 19, 2017, at 10:45 PM, Richard Heck 
<rgh...@lyx.org<mailto:rgh...@lyx.org>> wrote:

On 06/19/2017 08:48 PM, David Pesetsky wrote:
Is there a way to tweak Lyx so the Citation dialog shows a different set of 
options for "Citation Style" than the ones that appear by default when I have 
selected  "natbib" and "author-year" in Document Settings/Bibliography?  I'd be 
interested in having a comma rather than semicolon separating multiple 
references, for example.

There's nothing I can't produce manually, of course, by simply selecting the 
date-only option on the Citation Style pull-down menu and typing what I want 
before and after the date, but if I could take advantage of the pull-down menu 
options more often, it would save some effort.

Similarly, for some purposes, at least, I'd be happy if I could tweak "text 
after" in the same dialog so that it ends up preceded by a colon rather than 
the comma that Lyx inserts.

The issues you're raising here are actually LaTeX issues, rather than
LyX issues. It's important, in understanding how LyX operates, to
separate these: There's the question how things look in LyX; then there
is the question how the PDF looks when it is generated. The latter
ultimately concerns LaTeX. In some cases, LyX provides a 'native' way to
tweak the LaTeX output. But oftentimes, you have to do something
manually, e.g., add something to the LaTeX preamble.

In this case, the semi-colon citation-separator and comma before the
"text after" are being inserted by natbib, which is what formats the
citations and bibliogrpahy. So it's natbib that we need to control. The
natbib manual
   http://mirror.utexas.edu/ctan/macros/latex/contrib/natbib/natbib.pdf
has a bunch of information about tweaks. Section 5 of the manual
mentions a number of package options that change global behavior. The
one you want for your first request is "comma". You just add this, as a
class option, under Document> Settings> Class Options> Custom. (If there
already are some there, this is a comma-separated list, so add it with a
new comma, e.g.: draft,comma.)

For the other one, section 2.9 of the natbib manual explains how to
select citation punctuation using the \setcitestyle command. In your
case, you want:
   \setcitestyle{notesep={: }}
to select a colon followed by a space. It is probably easiest to put
this command into Document> Settings> LaTeX Preamble, though it can also
be entered as TeX code in the document itself. Note, by the way, that
natbib seems to be quite picky about space before and after the "=",
i.e., it does not like space there.

As it happens, \setcitestyle will also control the citation separator,
so you could just do:
   \setcitestyle{notesep = {: },citesep={,}}
and skip the class option, if you wanted.

Note that this will NOT change how the citations appear within LyX
itself. That can be done, but it's a much messier matter.

Richard Heck

PS Yes, the Richard Heck from the other side of L


--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Head, Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html



Re: Is "Citation Style" menu tweakable?

2017-06-19 Thread Richard Heck
On 06/19/2017 08:48 PM, David Pesetsky wrote:
> Is there a way to tweak Lyx so the Citation dialog shows a different set of 
> options for "Citation Style" than the ones that appear by default when I have 
> selected  "natbib" and "author-year" in Document Settings/Bibliography?  I'd 
> be interested in having a comma rather than semicolon separating multiple 
> references, for example.  
>
> There's nothing I can't produce manually, of course, by simply selecting the 
> date-only option on the Citation Style pull-down menu and typing what I want 
> before and after the date, but if I could take advantage of the pull-down 
> menu options more often, it would save some effort.
>
> Similarly, for some purposes, at least, I'd be happy if I could tweak "text 
> after" in the same dialog so that it ends up preceded by a colon rather than 
> the comma that Lyx inserts.

The issues you're raising here are actually LaTeX issues, rather than
LyX issues. It's important, in understanding how LyX operates, to
separate these: There's the question how things look in LyX; then there
is the question how the PDF looks when it is generated. The latter
ultimately concerns LaTeX. In some cases, LyX provides a 'native' way to
tweak the LaTeX output. But oftentimes, you have to do something
manually, e.g., add something to the LaTeX preamble.

In this case, the semi-colon citation-separator and comma before the
"text after" are being inserted by natbib, which is what formats the
citations and bibliogrpahy. So it's natbib that we need to control. The
natbib manual
http://mirror.utexas.edu/ctan/macros/latex/contrib/natbib/natbib.pdf
has a bunch of information about tweaks. Section 5 of the manual
mentions a number of package options that change global behavior. The
one you want for your first request is "comma". You just add this, as a
class option, under Document> Settings> Class Options> Custom. (If there
already are some there, this is a comma-separated list, so add it with a
new comma, e.g.: draft,comma.)

For the other one, section 2.9 of the natbib manual explains how to
select citation punctuation using the \setcitestyle command. In your
case, you want:
\setcitestyle{notesep={: }}
to select a colon followed by a space. It is probably easiest to put
this command into Document> Settings> LaTeX Preamble, though it can also
be entered as TeX code in the document itself. Note, by the way, that
natbib seems to be quite picky about space before and after the "=",
i.e., it does not like space there.

As it happens, \setcitestyle will also control the citation separator,
so you could just do:
\setcitestyle{notesep = {: },citesep={,}}
and skip the class option, if you wanted.

Note that this will NOT change how the citations appear within LyX
itself. That can be done, but it's a much messier matter.

Richard Heck

PS Yes, the Richard Heck from the other side of L



Is "Citation Style" menu tweakable?

2017-06-19 Thread David Pesetsky
Is there a way to tweak Lyx so the Citation dialog shows a different set of 
options for "Citation Style" than the ones that appear by default when I have 
selected  "natbib" and "author-year" in Document Settings/Bibliography?  I'd be 
interested in having a comma rather than semicolon separating multiple 
references, for example.  

There's nothing I can't produce manually, of course, by simply selecting the 
date-only option on the Citation Style pull-down menu and typing what I want 
before and after the date, but if I could take advantage of the pull-down menu 
options more often, it would save some effort.

Similarly, for some purposes, at least, I'd be happy if I could tweak "text 
after" in the same dialog so that it ends up preceded by a colon rather than 
the comma that Lyx inserts.

-David




Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-12 Thread Oliver Margraf


Am 09.12.2016 um 08:31 schrieb Jürgen Spitzmüller:
> Am Donnerstag, den 08.12.2016, 15:22 +0100 schrieb Oliver Margraf:
>> Am 08.12.2016 um 15:15 schrieb Jürgen Spitzmüller:
>>> Am Donnerstag, den 08.12.2016, 14:58 +0100 schrieb Oliver Margraf:
 Sure - see attachment (exported for XeTeX).
>>>
>>> Strange. I don't get the comma with this file either.
>>
>> Strange indeed...
> 
> Maybe a biblatex bug. Could you try to upgrade to the most recent
> version?

After an upgrade to TeXlive 2016 it works!
Thanks for your help.

Oliver


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-09 Thread Oliver Margraf


Am 09.12.2016 um 08:31 schrieb Jürgen Spitzmüller:
> Am Donnerstag, den 08.12.2016, 15:22 +0100 schrieb Oliver Margraf:
>> Am 08.12.2016 um 15:15 schrieb Jürgen Spitzmüller:
>>> Am Donnerstag, den 08.12.2016, 14:58 +0100 schrieb Oliver Margraf:
 Sure - see attachment (exported for XeTeX).
>>>
>>> Strange. I don't get the comma with this file either.
>>
>> Strange indeed...
> 
> Maybe a biblatex bug. Could you try to upgrade to the most recent
> version?
> 


I will try - here I'm using version 3.3, current version seems to be 3.7

Oliver


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Jürgen Spitzmüller
Am Donnerstag, den 08.12.2016, 15:22 +0100 schrieb Oliver Margraf:
> Am 08.12.2016 um 15:15 schrieb Jürgen Spitzmüller:
> > Am Donnerstag, den 08.12.2016, 14:58 +0100 schrieb Oliver Margraf:
> > > Sure - see attachment (exported for XeTeX).
> > 
> > Strange. I don't get the comma with this file either.
> 
> Strange indeed...

Maybe a biblatex bug. Could you try to upgrade to the most recent
version?

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Oliver Margraf
Am 08.12.2016 um 15:15 schrieb Jürgen Spitzmüller:
> Am Donnerstag, den 08.12.2016, 14:58 +0100 schrieb Oliver Margraf:
>> Sure - see attachment (exported for XeTeX).
> 
> Strange. I don't get the comma with this file either.

Strange indeed...

> Does it help if you modify/remove this definition from your preamble?
> 
> \DefineBibliographyStrings{german}{andothers = {{et\,al\adddot}},}%et
> al statt u.a.

No. It's just u.a. instead of et al - with the comma at the same place...

Oliver


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Jürgen Spitzmüller
Am Donnerstag, den 08.12.2016, 14:58 +0100 schrieb Oliver Margraf:
> Sure - see attachment (exported for XeTeX).

Strange. I don't get the comma with this file either.

Does it help if you modify/remove this definition from your preamble?

\DefineBibliographyStrings{german}{andothers = {{et\,al\adddot}},}%et
al statt u.a.

Jürgen

> 
> Oliver

signature.asc
Description: This is a digitally signed message part


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Oliver Margraf


Am 08.12.2016 um 14:38 schrieb Jürgen Spitzmüller:
> Am Donnerstag, den 08.12.2016, 14:17 +0100 schrieb Oliver Margraf:
>> That is interesting - could this be related to a certain version of
>> biblatex 
> 
> Don't think so.
> 
>> or what would be a good place to start investigation?
> 
> Could you post the LaTeX export of your file?

Sure - see attachment (exported for XeTeX).

Oliver
%% LyX 2.1.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\RequirePackage{fixltx2e}
\documentclass[12pt,oneside,german,ngerman,index=totoc,table,obeyspaces,hyphens,oneside]{scrbook}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{TeX Gyre Termes}
\setsansfont[Mapping=tex-text]{TeX Gyre Termes}
\setmonofont[Scale=0.85]{Source Code Pro}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=3cm,bmargin=2cm,lmargin=4cm,rmargin=2cm}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\setlength{\parskip}{\smallskipamount}
\setlength{\parindent}{0pt}
\usepackage{verbatim}
\usepackage{float}
\usepackage{setspace}
\onehalfspacing

\makeatletter
\@ifundefined{date}{}{\date{}}
%% User specified LaTeX commands.
% Wird für die Seitenränderunterschiede zwischen Titelseite und Dokument verwendet
\usepackage{geometry}
%Hurenkind und Schusterjungenvermeidung
\widowpenalty=1
\clubpenalty=1

%\usepackage[scaled]{helvet}
%\renewcommand\familydefault{\sfdefault} 
%Für XeTeX Verwendung
%\usepackage{fontspec}
%\setmainfont[Ligatures=TeX]{Candara}
%\setsansfont{Candara}
\usepackage{xunicode}
\usepackage{xltxtra}
 
%bibliografie in toc ===
\usepackage[nottoc,chapter]{tocbibind}
%\renewcommand\bibname{Literaturverzeichnis}
%für deutsche BibTeX-Einstellungen
\usepackage{bibgerm}
%\usepackage [chapter]{tocbibind}
%bei Verwendung von XeTeX muß das vor dem biber Eintrag kommen!
\usepackage{polyglossia}
\setdefaultlanguage{german}

%\usepackage[style=authoryear,backend=biber]{biblatex}
\usepackage[style=authoryear,autocite=footnote, citestyle=authoryear-icomp,natbib=true,backend=biber,maxnames=1,maxbibnames=99,dashed=false]{biblatex}
%Formatierung der Darstellung nach Autor (Jahr), S. xx
\renewbibmacro*{textcite:postnote}{%
  \ifbool{cbx:parens}
   {\bibcloseparen}
   {}
  \iffieldundef{postnote}
{}
{\ifbool{cbx:parens}
   {\setunit{\postnotedelim}}
   {\setunit{\extpostnotedelim\bibopenparen}}%
 \printfield{postnote}}}
%\setcitestyle{aysep={ }}
%\bibpunct{(}{)}{a}{,}{,}

\addbibresource{~/Schreibtisch/hevner.bib}
%Mit Anzeige von "et al." nach dem ersten Autor und aller Autoren im Literaturverzeichnis
\DefineBibliographyStrings{german}{andothers = {{et\,al\adddot}},}%et al statt u.a.



%Unterschrift===
%\usepackage[signature=default_signature, nojob]{mysignature}
%\usepackage[mmdd]{datetime}
%\renewcommand{\dateseparator}{--}

%Manipulation der Caption
\usepackage{caption}
%Änderund der Bezeichnung
\renewcaptionname{german}{\figurename}{Abb.}
%Manipulation der Ausrichtung
\captionsetup{justification = raggedright,
   singlelinecheck = false}
%Möglichkeit, Quellenangabe unter Bild zu setzen
\newcommand{\source}[1]{\vspace{-8pt} \caption*{Quelle: {#1}} }



%Anhang richtig sichtbar machen ==
\usepackage[toc,page]{appendix}
\renewcommand\appendixname{Anhang}
\renewcommand\appendixpagename{Anhang}
\renewcommand\appendixtocname{Anhang}

%Blindtext=
%\usepackage{lipsum}
%\usepackage[margin=4.4cm,headheight=35pt,showframe]{geometry}
%\usepackage{showframe}

%Paket für PDF Einbettung
\usepackage{pdfpages}

\usepackage{subfig}

% Verwendung von PSTricks (graphische Besonderheiten erzeugen)
\usepackage{pstricks}
% PostScript Font für Symole nutzen
\usepackage{pifont,color}
 
%Verbesserung Randausgleich
\usepackage{microtype}
 


%Glossar ===
\usepackage{nomencl}
\def\nompreamble{\addcontentsline{toc}{chapter}{\nomname}\markboth{\nomname}{\nomname}}
\renewcommand\nomname{Glossar}
%\makenomenclature -> verhindert die Namensänderung ab LyX 2.0.3 und erzeugt den Standardnamen "Symbolverzeichnis"
 
%\usepackage{pxfonts}
%\usepackage{abstract} -> nur wenn ein Abstract verwendet wird. Wirft sonst Fehler.

%Fußnoten ohne Einrückung 
\usepackage[flushmargin]{footmisc}

%Fußnoten durchnummerieren (ganzes Dokument) =
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}

%\usepackage{europs}
\usepackage{eurosym}
%\usepackage[latin9]{inputenc}
%\let € = \euro

%Farben
%Farbe definieren (für Schrifteinfärbungen)
\usepackage{color}
\definecolor{4cgreen}{cmyk}{1.0,0,0.6,0.72}

Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Jürgen Spitzmüller
Am Donnerstag, den 08.12.2016, 14:17 +0100 schrieb Oliver Margraf:
> That is interesting - could this be related to a certain version of
> biblatex 

Don't think so.

> or what would be a good place to start investigation?

Could you post the LaTeX export of your file?

Jürgen

> 
> Oliver

signature.asc
Description: This is a digitally signed message part


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Oliver Margraf


Am 08.12.2016 um 14:10 schrieb Jürgen Spitzmüller:
> Am Donnerstag, den 08.12.2016, 14:05 +0100 schrieb Oliver Margraf:
>> When I compile it, I get it with a comma - please see attachment.
> 
> I don't.

That is interesting - could this be related to a certain version of
biblatex or what would be a good place to start investigation?

Oliver


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Jürgen Spitzmüller
Am Donnerstag, den 08.12.2016, 14:05 +0100 schrieb Oliver Margraf:
> When I compile it, I get it with a comma - please see attachment.

I don't.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Oliver Margraf


Am 08.12.2016 um 13:13 schrieb Jürgen Spitzmüller:
> Am Donnerstag, den 08.12.2016, 11:14 +0100 schrieb Oliver Margraf:
>> Thank you, that almost solves my problem, yet it still puts a comma
>> after the author (basically the initial problem I tried to circumvent
>> with bibpunct). Is there a way to get rid of that as well?
> 
> I don't see that in your testfile (I get "Hevner et al. (2004), S.
> 801")
> 

When I compile it, I get it with a comma - please see attachment.

Oliver


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Jürgen Spitzmüller
Am Donnerstag, den 08.12.2016, 11:14 +0100 schrieb Oliver Margraf:
> Thank you, that almost solves my problem, yet it still puts a comma
> after the author (basically the initial problem I tried to circumvent
> with bibpunct). Is there a way to get rid of that as well?

I don't see that in your testfile (I get "Hevner et al. (2004), S.
801")

Jürgen

> 
> Oliver

signature.asc
Description: This is a digitally signed message part


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Jürgen Spitzmüller
Am Donnerstag, den 08.12.2016, 11:03 +0100 schrieb Jürgen Spitzmüller:
> Am Donnerstag, den 08.12.2016, 10:42 +0100 schrieb Oliver Margraf:
> > Thanks, but these commands are already in the document - that's why
> > I'm
> > not getting it, where the problem is. You can check in the example
> > -
> > has
> > the same settings as my original doc.
> 
> I see, I misread. Try
> 
> \renewbibmacro*{textcite:postnote}{%
> \ifbool{cbx:parens}
>    {\bibcloseparen}
>    {}
> {\ifbool{cbx:parens}
>    {\setunit{\postnotedelim}}
>    {\setunit{\extpostnotedelim\bibopenparen}}%
>  \printfield{postnote}}}

Use this instead:

\renewbibmacro*{textcite:postnote}{%
  \ifbool{cbx:parens}
   {\bibcloseparen}
   {}
  \iffieldundef{postnote}
{}
{\ifbool{cbx:parens}
   {\setunit{\postnotedelim}}
   {\setunit{\extpostnotedelim\bibopenparen}}%
 \printfield{postnote}}}

Jürgen

> 
> Jürgen

signature.asc
Description: This is a digitally signed message part


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Jürgen Spitzmüller
Am Donnerstag, den 08.12.2016, 10:42 +0100 schrieb Oliver Margraf:
> Thanks, but these commands are already in the document - that's why
> I'm
> not getting it, where the problem is. You can check in the example -
> has
> the same settings as my original doc.

I see, I misread. Try

\renewbibmacro*{textcite:postnote}{%
\ifbool{cbx:parens}
   {\bibcloseparen}
   {}
{\ifbool{cbx:parens}
   {\setunit{\postnotedelim}}
   {\setunit{\extpostnotedelim\bibopenparen}}%
 \printfield{postnote}}}

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Oliver Margraf


Am 08.12.2016 um 10:36 schrieb Jürgen Spitzmüller:
> Am Donnerstag, den 08.12.2016, 10:24 +0100 schrieb Oliver Margraf:
>> Dear LyXers,
>>
>> after using LyX now for over a decade (thanks to the developers,
>> great
>> job!), I recently ran into a slight problem where I haven't been able
>> yet to figure out what the cause could be.
>> I'm currently writing an assignment and need to cite literature. For
>> doing so I use biblatex and biber as backend - works fine. However
>> when
>> I want to adjust the form of the citation (as it can be achieved when
>> selecting the style pre-defined in the bib entry mask), the form I
>> need
>> is not available. In general this is no problem, since once can
>> adjust
>> this with either of the following commands:
>>
>> \bibpunct{(}{)}{,}{a}{ }{,}
>>
>> \setcitestyle{aysep={ }}
> 
> These are natbib commands, but you use biblatex, not natbib. That's wyh
> you get the errors.
> 
> Put the following into Document > Settings > Local Layout:
> 
> Provides natbib   1
> 
> Then you can use all natbib citations styles with biblatex (provided
> that you use biblatex's natbib=true option).
> 
> Jürgen
> 
Thanks, but these commands are already in the document - that's why I'm
not getting it, where the problem is. You can check in the example - has
the same settings as my original doc.

Oliver


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Jürgen Spitzmüller
Am Donnerstag, den 08.12.2016, 10:24 +0100 schrieb Oliver Margraf:
> Dear LyXers,
> 
> after using LyX now for over a decade (thanks to the developers,
> great
> job!), I recently ran into a slight problem where I haven't been able
> yet to figure out what the cause could be.
> I'm currently writing an assignment and need to cite literature. For
> doing so I use biblatex and biber as backend - works fine. However
> when
> I want to adjust the form of the citation (as it can be achieved when
> selecting the style pre-defined in the bib entry mask), the form I
> need
> is not available. In general this is no problem, since once can
> adjust
> this with either of the following commands:
> 
> \bibpunct{(}{)}{,}{a}{ }{,}
> 
> \setcitestyle{aysep={ }}

These are natbib commands, but you use biblatex, not natbib. That's wyh
you get the errors.

Put the following into Document > Settings > Local Layout:

Provides natbib 1

Then you can use all natbib citations styles with biblatex (provided
that you use biblatex's natbib=true option).

Jürgen


signature.asc
Description: This is a digitally signed message part


[BIBLATEX] LyX 2.1.4, citation issue

2016-12-08 Thread Oliver Margraf
Dear LyXers,

after using LyX now for over a decade (thanks to the developers, great
job!), I recently ran into a slight problem where I haven't been able
yet to figure out what the cause could be.
I'm currently writing an assignment and need to cite literature. For
doing so I use biblatex and biber as backend - works fine. However when
I want to adjust the form of the citation (as it can be achieved when
selecting the style pre-defined in the bib entry mask), the form I need
is not available. In general this is no problem, since once can adjust
this with either of the following commands:

\bibpunct{(}{)}{,}{a}{ }{,}

\setcitestyle{aysep={ }}

The style I need is without a comma after the author and the year in
brackets, e.g. Miller (2013), S. 145
In the PDF with the selected style from the bib entry menu (which I
think should use this style), it is displayed as Miller, (2013, S. 145)

After looking through the web, the solutions I found suggest, that you
just put one of the two mentioned commands in your preamble. However by
doing so, I get an error when I try to compile the doc. It says: " \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."

So, what could this be? When I try to use the \usepackage{natbib} in the
preamble, I get also an error, that natbib is already in use - which is
logical, since it is activated in the settings.

I'm using XeTeX for compiling, LyX 2.1.4 and TeXlive 2015 - running on
Linux Mint

Attached is a small example with my current settings.
Would be great if someone could point me on something I'm missing.

Oliver


biblatex_style_ex.lyx
Description: application/lyx
@Article{Hevner2004,
  author = {Alan R. Hevner and March, Salvatore T. and Park, Jinsoo and Ram, Sudha},
  title  = {Design science in information systems research},
  journal= {MIS quarterly},
  year   = {2004},
  ranking= {rank4},
  volume = {28},
  pages  = {75--105},
  number = {1},
  file   = {:Hevner2004.pdf:PDF},
  keywords   = {Forschungsdesign},
  publisher  = {Springer},
  qualityassured = {qualityAssured},
  timestamp  = {2016-11-01},
}


Re: change color of citation

2016-07-25 Thread Dr Eberhard Lisse
So what does the log say?

Please respond to the News Group.

el

On 2016-07-25 10:50, Abhinav Narayanan wrote:
> I am attaching a pdf of the error message (screenshot) if that
> helps.
>
> On Mon, Jul 25, 2016 at 3:01 PM, Dr Eberhard Lisse  wrote:
>
> Why are you sending this in a Microsoft format?
>
> el
>
>
>
> On 2016-07-25 07:46, Abhinav Narayanan wrote:
> > Hi,
> >
> > I have been using Lyx for some years now.  Recently, I
> > installed Lyx 2.2 along with Miktex 2.9 on a new computer
> > (Windows 8).  However, when I try to compile a simple document
> > I get this message (see attached).  I never had any problems
> > with Lyx in so many years.  I have tried reinstalling a fresh
> > version which didn't solve the problem.
> >
> > Any help will be much appreciated.
> >
> > Regards,
> > Abhinav Narayanan
[...]
-- 
Dr. Eberhard W. Lisse  \/ Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421 \ /
Bachbrecht, Namibia ;/



Re: change color of citation

2016-07-25 Thread Dr Eberhard Lisse
Sorry, that was incomplete.

You might have to define the color in the preamble...

el

On 2016-07-25 10:34, Dr Eberhard Lisse wrote:
> This is a LaTeX issue.
> 
> texdoc hyperref
> 
> and then Document Settings -> PDF Properties
> 
> el
> 
> On 2016-07-24 10:35, Michael Berger wrote:
>> Hi,
>>
>> in a KOMA Script document I am using biblatex and  jura.bib style.
>>
>> The citations in the PDF text have the color lightgreen (or so) which is
>> too pallid.
>>
>> Is there a way to change this color, say to a darker green ?
>>
>> Cheers and thanks,
>>
>> Michael
>>
>>
> 
> 
> 




Re: change color of citation

2016-07-25 Thread Dr Eberhard Lisse
This is a LaTeX issue.

texdoc hyperref

and then Document Settings -> PDF Properties

el

On 2016-07-24 10:35, Michael Berger wrote:
> Hi,
> 
> in a KOMA Script document I am using biblatex and  jura.bib style.
> 
> The citations in the PDF text have the color lightgreen (or so) which is
> too pallid.
> 
> Is there a way to change this color, say to a darker green ?
> 
> Cheers and thanks,
> 
> Michael
> 
> 




change color of citation

2016-07-24 Thread Michael Berger

Hi,

in a KOMA Script document I am using biblatex and  jura.bib style.

The citations in the PDF text have the color lightgreen (or so) which is 
too pallid.


Is there a way to change this color, say to a darker green ?

Cheers and thanks,

Michael



Re: All of a sudden ?? instead of year in citation references

2016-06-12 Thread racoon

On 12.06.2016 20:04, racoon wrote:

Hi,

I am using BibLaTeX as described on
https://wiki.lyx.org/BibTeX/Biblatex. I think I have cut an pasted the
LyX note containing the "BibTeX Generated Bibliography" and all of a
sudden all year numbers are replaced with ?? in the work area. The
output is fine though. Also in the citation dialog there are no more
year numbers in the reference preview. How can I get the year numbers back?


Actually, the culprit was another change I made. I am using Zotero and 
changed the export from BibTeX to BibLaTeX to have support for urls. 
Apparently LyX can't handle these exports correctly. So I switched back 
to BibTeX and manually set the url export.


https://github.com/retorquere/zotero-better-bibtex/issues/517#issuecomment-225424620

And back are the years numbers.

Daniel




All of a sudden ?? instead of year in citation references

2016-06-12 Thread racoon

Hi,

I am using BibLaTeX as described on 
https://wiki.lyx.org/BibTeX/Biblatex. I think I have cut an pasted the 
LyX note containing the "BibTeX Generated Bibliography" and all of a 
sudden all year numbers are replaced with ?? in the work area. The 
output is fine though. Also in the citation dialog there are no more 
year numbers in the reference preview. How can I get the year numbers back?


Daniel



Re: Is it possible to add a style to the "Insert citation" dialog?

2016-06-06 Thread Richard Heck
On 06/03/2016 03:21 PM, racoon wrote:
> On 03.06.2016 17:02, Richard Heck wrote:
>> On 06/03/2016 09:39 AM, PhilipPirrip wrote:
>>> On 06/02/2016 06:49 PM, Richard Heck wrote:
>>>> In principle, yes. The styles are defined in modules, such as
>>>> natbib.module, and you could add more styles to that module, say. But
>>>> the syntax is not documented outside the code, so you'll have to
>>>> figure
>>>> it out, more or less.
>>>
>>>
>>> I had no idea this was possible.
>>> Can you help a little more, Richard: is adding more styles only
>>> possible by extending natbib.module (where should that file be saved?)
>>> or is it possible to add a totally new module for, say, some other
>>> engine. I'm thinking of having one for biblatex citation styles, that
>>> would be added to natbib and jurabib.
>>
>> I am not completely sure. I believe right now that you can only extend
>> or alter the existing modules (and this is kind of unofficial, which is
>> why it isn't properlyl documented). But the modularization of this stuff
>> was work done towards biblatex support.
>>
>> I assume that, like any module, these should be saved to the layouts/
>> subdirectory of the user directory.
>>
>> Richard
>
> Yes, just the same place as the other user defined modules.
>
> And it seems like one can only alter modules since the options for the
> Format in Document > Settings... > Bibliography seem hard-coded. But
> if one uses biblatex anyway that might not be a big problem.
>
> I guess the idea could be to add a biblatex option and a
> biblatex.module that supports all standard biblatex cite* commands?

That is part of it. But there are other differences, as you know, that
would have to be handled, e.g., the fact that the *.bib files are input
in different places.

Richard



Re: Is it possible to add a style to the "Insert citation" dialog?

2016-06-03 Thread racoon

On 03.06.2016 17:02, Richard Heck wrote:

On 06/03/2016 09:39 AM, PhilipPirrip wrote:

On 06/02/2016 06:49 PM, Richard Heck wrote:

In principle, yes. The styles are defined in modules, such as
natbib.module, and you could add more styles to that module, say. But
the syntax is not documented outside the code, so you'll have to figure
it out, more or less.



I had no idea this was possible.
Can you help a little more, Richard: is adding more styles only
possible by extending natbib.module (where should that file be saved?)
or is it possible to add a totally new module for, say, some other
engine. I'm thinking of having one for biblatex citation styles, that
would be added to natbib and jurabib.


I am not completely sure. I believe right now that you can only extend
or alter the existing modules (and this is kind of unofficial, which is
why it isn't properlyl documented). But the modularization of this stuff
was work done towards biblatex support.

I assume that, like any module, these should be saved to the layouts/
subdirectory of the user directory.

Richard


Yes, just the same place as the other user defined modules.

And it seems like one can only alter modules since the options for the 
Format in Document > Settings... > Bibliography seem hard-coded. But if 
one uses biblatex anyway that might not be a big problem.


I guess the idea could be to add a biblatex option and a biblatex.module 
that supports all standard biblatex cite* commands?


Daniel



Re: Is it possible to add a style to the "Insert citation" dialog?

2016-06-03 Thread Richard Heck
On 06/03/2016 09:39 AM, PhilipPirrip wrote:
> On 06/02/2016 06:49 PM, Richard Heck wrote:
>> In principle, yes. The styles are defined in modules, such as
>> natbib.module, and you could add more styles to that module, say. But
>> the syntax is not documented outside the code, so you'll have to figure
>> it out, more or less.
>
>
> I had no idea this was possible.
> Can you help a little more, Richard: is adding more styles only
> possible by extending natbib.module (where should that file be saved?)
> or is it possible to add a totally new module for, say, some other
> engine. I'm thinking of having one for biblatex citation styles, that
> would be added to natbib and jurabib.

I am not completely sure. I believe right now that you can only extend
or alter the existing modules (and this is kind of unofficial, which is
why it isn't properlyl documented). But the modularization of this stuff
was work done towards biblatex support.

I assume that, like any module, these should be saved to the layouts/
subdirectory of the user directory.

Richard



Re: Is it possible to add a style to the "Insert citation" dialog?

2016-06-03 Thread PhilipPirrip

On 06/02/2016 06:49 PM, Richard Heck wrote:

In principle, yes. The styles are defined in modules, such as
natbib.module, and you could add more styles to that module, say. But
the syntax is not documented outside the code, so you'll have to figure
it out, more or less.



I had no idea this was possible.
Can you help a little more, Richard: is adding more styles only possible 
by extending natbib.module (where should that file be saved?) or is it 
possible to add a totally new module for, say, some other engine. I'm 
thinking of having one for biblatex citation styles, that would be added 
to natbib and jurabib.






Re: Is it possible to add a style to the "Insert citation" dialog?

2016-06-02 Thread Richard Heck
On 06/02/2016 02:24 AM, racoon wrote:
> Hi,
>
> I would like to use other citation styles, like biblatex's
> "\citetitle{}". Is it possible to add this to the "Insert
> citation" dialog?

In principle, yes. The styles are defined in modules, such as
natbib.module, and you could add more styles to that module, say. But
the syntax is not documented outside the code, so you'll have to figure
it out, more or less.

Richard



Re: Is it possible to add a style to the "Insert citation" dialog?

2016-06-02 Thread Daniel

On 03.06.2016 00:49, Richard Heck wrote:

On 06/02/2016 02:24 AM, racoon wrote:

Hi,

I would like to use other citation styles, like biblatex's
"\citetitle{}". Is it possible to add this to the "Insert
citation" dialog?


In principle, yes. The styles are defined in modules, such as
natbib.module, and you could add more styles to that module, say. But
the syntax is not documented outside the code, so you'll have to figure
it out, more or less.

Richard



Thanks. That kind of works. I used the jurabib module as a blueprint.

But it seems a bit tricky to show certain elements in the work area, for 
example, when the item is an article from a journal to show the title of 
an article rather than the title of the journal. Well, I'll take a fresh 
look at it tomorrow.


Daniel


Is it possible to add a style to the "Insert citation" dialog?

2016-06-02 Thread racoon

Hi,

I would like to use other citation styles, like biblatex's 
"\citetitle{}". Is it possible to add this to the "Insert 
citation" dialog?


Daniel



Re: Import Literatur /Citation

2016-03-22 Thread Dr Eberhard Lisse
Steffi,

RTFM :-)-O

And if it does not work, you must make a minimal example, ie copy the
work into a new file, and remove everything from it which does not
produce the error.

If that doesn't lead to a solution you post that file with a
corresponding BIB file of a few entries and probably someone will
figure it out.


el

On 2016-03-18 18:41, Steffi Meindl wrote:
> Hi!
> 
> I am new user of lyx.  I Need it to write scientific publicaitons
> thus I have to insert citations every now and then in my test and
> make Literaturlist at the end of the document.
> 
> For my literatur I use Mendeley.
> 
>  
> 
> But how can I insert citations ?  I don´t find my Literatur/ papers
> though I have already syncronized my mendeley library with bibTex
> 
> I don´t have any Literatur in my LYX file ( see below)
> 
>  
> 
>  
> 
> And there is also nothing about this in the tutorial
> 
>  
> 
> Hope you can help me
> 
>  
> 
> Sincerely
> 
> Stefanie Meindl



Re: Import Literatur /Citation

2016-03-19 Thread Joel Kulesza
Stefanie,

The UserGuide has a section on Bibliography and BibTeX — this is probably
what you want.

Short version: Insert -> List/TOC -> BibTeX Bibliography, Add, Browse, , choose style, OK.

Then, Insert -> Citation.

Hope this helps,
Joel

On Fri, Mar 18, 2016 at 12:41 PM, Steffi Meindl <s_m...@yahoo.de> wrote:

> Hi!
>
> I am new user of lyx. I Need it to write scientific publicaitons thus I
> have to insert citations every now and then in my test and make
> Literaturlist at the end of the document.
>
> For my literatur I use Mendeley.
>
>
>
> But how can I insert citations ? I don´t find my Literatur/ papers though
> I  have already syncronized my mendeley library with bibTex
>
> I don´t have any Literatur in my LYX file ( see below)
>
>
>
>
>
> And there is also nothing about this in the tutorial
>
>
>
> Hope you can help me
>
>
>
> Sincerely
>
> Stefanie Meindl
>
>
>
> Gesendet von Mail <https://go.microsoft.com/fwlink/?LinkId=550986> für
> Windows 10
>
>
>


Import Literatur /Citation

2016-03-19 Thread Steffi Meindl
Hi!
 I am new user of lyx. I Need it to write scientific publicaitons thus I have 
to insert citations every now and then in my test and make Literaturlist at the 
end of the document.
For my literatur I use Mendeley.

But how can I insert citations ? I don´t find my Literatur/ papers though I  
have already syncronized my mendeley library with bibTex
I don´t have any Literatur in my LYX file ( see below)
 


And there is also nothing about this in the tutorial 

Hope you can help me

Sincerely
Stefanie Meindl

Gesendet von Mail für Windows 10



Re: Error message with bad citation/reference

2015-05-02 Thread Bob Alvarez
Bob Alvarez aprendtech at gmail.com writes:

 
 Is there a way to get Lyx to display an error message when it cannot 
 find a citation in a bibtex database or a cross-reference to a label in 
 the document?
 

Here is the way to do it:
1. In Lyx (my version is 2.1.3 on Windows 7), select View|Messages Pane

2. make a small change in your file so the document will be re-processed

3. Click on View (the two eyes icon) or ctrl-R
You will see many messages appear.

4. Scroll down to the line containing 
bibtex your lyx file name)

5. The lines immediately after that will contain the messages from bibtex
including the error messages.
In my example, they contained the message:
09:24:22.758: Warning--I didn't find a database entry for Anderson1986





Re: Error message with bad citation/reference

2015-05-02 Thread Bob Alvarez
Bob Alvarez aprendtech at gmail.com writes:

 
 Is there a way to get Lyx to display an error message when it cannot 
 find a citation in a bibtex database or a cross-reference to a label in 
 the document?
 

Here is the way to do it:
1. In Lyx (my version is 2.1.3 on Windows 7), select View|Messages Pane

2. make a small change in your file so the document will be re-processed

3. Click on View (the two eyes icon) or ctrl-R
You will see many messages appear.

4. Scroll down to the line containing 
bibtex your lyx file name)

5. The lines immediately after that will contain the messages from bibtex
including the error messages.
In my example, they contained the message:
09:24:22.758: Warning--I didn't find a database entry for Anderson1986





Re: Error message with bad citation/reference

2015-05-02 Thread Bob Alvarez
Bob Alvarez  gmail.com> writes:

> 
> Is there a way to get Lyx to display an error message when it cannot 
> find a citation in a bibtex database or a cross-reference to a label in 
> the document?
> 

Here is the way to do it:
1. In Lyx (my version is 2.1.3 on Windows 7), select View|Messages Pane

2. make a small change in your file so the document will be re-processed

3. Click on View (the two eyes icon) or ctrl-R
You will see many messages appear.

4. Scroll down to the line containing 
bibtex 

Error message with bad citation/reference

2015-04-28 Thread Bob Alvarez
Is there a way to get Lyx to display an error message when it cannot 
find a citation in a bibtex database or a cross-reference to a label in 
the document?


So far, it just silently puts a question mark or some other indication 
in the pdf but this is an important error that I need to correct. In 
small documents these are easy to spot but in large documents like a 
book with multiple child files these can be easy to miss.


TIA

Bob


Error message with bad citation/reference

2015-04-28 Thread Bob Alvarez
Is there a way to get Lyx to display an error message when it cannot 
find a citation in a bibtex database or a cross-reference to a label in 
the document?


So far, it just silently puts a question mark or some other indication 
in the pdf but this is an important error that I need to correct. In 
small documents these are easy to spot but in large documents like a 
book with multiple child files these can be easy to miss.


TIA

Bob


Error message with bad citation/reference

2015-04-28 Thread Bob Alvarez
Is there a way to get Lyx to display an error message when it cannot 
find a citation in a bibtex database or a cross-reference to a label in 
the document?


So far, it just silently puts a question mark or some other indication 
in the pdf but this is an important error that I need to correct. In 
small documents these are easy to spot but in large documents like a 
book with multiple child files these can be easy to miss.


TIA

Bob


Re: problems with citation style

2015-03-15 Thread Jürgen Spitzmüller
2015-03-14 19:45 GMT+01:00 Margret Mueller:

 The error message i get now is: package inputenc error Unicode char \u8
 not set up for use with latex
 thank you very much for having a look at it


Does it work if you check Use non-TeX fonts in Document  Settings 
Fonts?
You will probably need to select a comprehensive font that includes Hebrew
characters.

Jürgen


Re: problems with citation style

2015-03-15 Thread Jürgen Spitzmüller
2015-03-14 19:45 GMT+01:00 Margret Mueller:

 The error message i get now is: package inputenc error Unicode char \u8
 not set up for use with latex
 thank you very much for having a look at it


Does it work if you check Use non-TeX fonts in Document  Settings 
Fonts?
You will probably need to select a comprehensive font that includes Hebrew
characters.

Jürgen


Re: problems with citation style

2015-03-15 Thread Jürgen Spitzmüller
2015-03-14 19:45 GMT+01:00 Margret Mueller:

> The error message i get now is: "package inputenc error Unicode char \u8
> not set up for use with latex
> thank you very much for having a look at it
>

Does it work if you check "Use non-TeX fonts" in Document > Settings >
Fonts?
You will probably need to select a comprehensive font that includes Hebrew
characters.

Jürgen


Re: problems with citation style

2015-03-14 Thread Margret Mueller
Dear Jürgen,

thank you very much for your response - and sorry for the late reply.
I did change bibtex to bilatex and biber. It worked in a test document but
now in my thesis it does not add  the bibliography in the Pdf output
Whatever I do, nothing seems to change that.
This is the relevant part in the preamble:


\usepackage[english]{babel}

\usepackage[style=authoryear,natbib=true, backend=biber]{biblatex}

\addbibresource{C:/Users/margret/Desktop/Dissertation/library.bib}


Thanks a lot!

Margret


2015-03-08 16:42 GMT+01:00 Jürgen Spitzmüller sp...@lyx.org:

 2015-03-07 21:54 GMT+01:00 Margret Mueller:

 Dear Lyx Users,

 I moved my dissertation to Lyx and enjoy the beauty of it, however moving
 the literature remains challenging.

 - Newspaper articles never appear with the exact date (month day) (no
 matter which citation style i use - maybe i didn t try the right one?)


 It depends on the bibliography style file. Attached is one, tweaked by
 myself, that displays the date. This one, however, is localized for German.
 You could just tweak it to your needs.



 - I can not enter any hebrew articles or articles with any special
 letters or signs {} does not change that


 Traditional bibtex only handles traditional encodings. If you work with
 multiple writing systems, you probably need to use biblatex, which handles
 unicode-encoded bibliography files.

 See here for some information:
 http://wiki.lyx.org/BibTeX/Biblatex

 Biblatex also lets you modify the date format quite easily.

 HTH
 Jürgen



 For now I use:
 Lyx on windows, bibtex synchronized through mendeley (in the txt file
 everything looks fine)
 natbib and apsr

 Is my only way out to move everything to biblatex? (tried that following
 the instructions and got lots of warnings)

 Thanks a lot for your thoughts in advance!
 Best
 Margret

 --





-- 
__
Margret Mueller
PhD Student
Political Communication
FU Berlin
0049 176 842 787 22


Re: problems with citation style

2015-03-14 Thread Jürgen Spitzmüller
2015-03-14 17:53 GMT+01:00 Margret Mueller:

 Dear Jürgen,

 thank you very much for your response - and sorry for the late reply.
 I did change bibtex to bilatex and biber. It worked in a test document but
 now in my thesis it does not add  the bibliography in the Pdf output
 Whatever I do, nothing seems to change that.
 This is the relevant part in the preamble:


 \usepackage[english]{babel}

 \usepackage[style=authoryear,natbib=true, backend=biber]{biblatex}

 \addbibresource{C:/Users/margret/Desktop/Dissertation/library.bib}


Margret,

It's difficult to diagnose without seeing the whole document. Is biber
actually triggered? Do you have a BibTeX Log in View  LaTeX Log? Also,
could you please post the LaTeX Log?

Jürgen


Re: problems with citation style

2015-03-14 Thread Margret Mueller
\bibitemsep=\skip53
\bibnamesep=\skip54
\bibinitsep=\skip55
\bibparsep=\skip56
\bibhang=\skip57
\blx@bcfin=\read2
\blx@bcfout=\write3
\c@mincomprange=\count134
\c@maxcomprange=\count135
\c@mincompwidth=\count136
Package biblatex Info: Trying to load biblatex default data model...
Package biblatex Info: ... file 'blx-dm.def' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\blx-dm.def)
Package biblatex Info: Trying to load biblatex style data model...
Package biblatex Info: ... file 'authoryear.dbx' not found.
Package biblatex Info: Trying to load biblatex custom data model...
Package biblatex Info: ... file 'biblatex-dm.cfg' not found.
\c@afterword=\count137
\c@savedafterword=\count138
\c@annotator=\count139
\c@savedannotator=\count140
\c@author=\count141
\c@savedauthor=\count142
\c@bookauthor=\count143
\c@savedbookauthor=\count144
\c@commentator=\count145
\c@savedcommentator=\count146
\c@editor=\count147
\c@savededitor=\count148
\c@editora=\count149
\c@savededitora=\count150
\c@editorb=\count151
\c@savededitorb=\count152
\c@editorc=\count153
\c@savededitorc=\count154
\c@foreword=\count155
\c@savedforeword=\count156
\c@holder=\count157
\c@savedholder=\count158
\c@introduction=\count159
\c@savedintroduction=\count160
\c@namea=\count161
\c@savednamea=\count162
\c@nameb=\count163
\c@savednameb=\count164
\c@namec=\count165
\c@savednamec=\count166
\c@translator=\count167
\c@savedtranslator=\count168
\c@shortauthor=\count169
\c@savedshortauthor=\count170
\c@shorteditor=\count171
\c@savedshorteditor=\count172
\c@labelname=\count173
\c@savedlabelname=\count174
\c@institution=\count175
\c@savedinstitution=\count176
\c@lista=\count177
\c@savedlista=\count178
\c@listb=\count179
\c@savedlistb=\count180
\c@listc=\count181
\c@savedlistc=\count182
\c@listd=\count183
\c@savedlistd=\count184
\c@liste=\count185
\c@savedliste=\count186
\c@listf=\count187
\c@savedlistf=\count188
\c@location=\count189
\c@savedlocation=\count190
\c@organization=\count191
\c@savedorganization=\count192
\c@origlocation=\count193
\c@savedoriglocation=\count194
\c@origpublisher=\count195
\c@savedorigpublisher=\count196
\c@publisher=\count197
\c@savedpublisher=\count198
\c@language=\count199
\c@savedlanguage=\count200
\c@pageref=\count201
\c@savedpageref=\count202
\shorthandwidth=\skip58
\shortjournalwidth=\skip59
\shortserieswidth=\skip60
\shorttitlewidth=\skip61
\shortauthorwidth=\skip62
\shorteditorwidth=\skip63
Package biblatex Info: Trying to load compatibility code...
Package biblatex Info: ... file 'blx-compat.def' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\blx-compat.def
File: blx-compat.def 2014/06/25 v2.9a biblatex compatibility (PK/JW/AB)
)
Package biblatex Info: Trying to load generic definitions...
Package biblatex Info: ... file 'biblatex.def' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex.def
File: biblatex.def 
\c@textcitecount=\count203
\c@textcitetotal=\count204
\c@textcitemaxnames=\count205
\c@biburlnumpenalty=\count206
\c@biburlucpenalty=\count207
\c@biburllcpenalty=\count208
\c@smartand=\count209
)
Package biblatex Info: Trying to load natbib compatibility...
Package biblatex Info: ... file 'blx-natbib.def' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\blx-natbib.def
File: blx-natbib.def 2014/06/25 v2.9a biblatex compatibility (PK/JW/AB)
)
Package biblatex Info: Trying to load bibliography style 'authoryear'...
Package biblatex Info: ... file 'authoryear.bbx' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\bbx\authoryear.bbx
File: authoryear.bbx 2014/06/25 v2.9a biblatex bibliography style (PK/JW/AB)
Package biblatex Info: Trying to load bibliography style 'standard'...
Package biblatex Info: ... file 'standard.bbx' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\bbx\standard.bbx
File: standard.bbx 2014/06/25 v2.9a biblatex bibliography style (PK/JW/AB)
\c@bbx:relatedcount=\count210
\c@bbx:relatedtotal=\count211
))
Package biblatex Info: Trying to load citation style 'authoryear'...
Package biblatex Info: ... file 'authoryear.cbx' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\cbx\authoryear.cbx
File: authoryear.cbx 2014/06/25 v2.9a biblatex citation style (PK/JW/AB)
Package biblatex Info: Redefining '\cite'.
Package biblatex Info: Redefining '\parencite'.
Package biblatex Info: Redefining '\footcite'.
Package biblatex Info: Redefining '\footcitetext'.
Package biblatex Info: Redefining '\smartcite'.
Package biblatex Info: Redefining '\textcite'.
Package biblatex Info: Redefining '\textcites'.
)
Package biblatex Info: Trying to load configuration file...
Package biblatex Info: ... file 'biblatex.cfg' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex.cfg
File: biblatex.cfg 
)))
File:Dissertation.bcf
(C:\Users\margret\AppData\Roaming\MiKTeX\2.9\tex\latex\epigraph\epigraph.sty
Package: epigraph 2009/09/02 v1.5c typesetting epigraphs
\beforeepigraphskip=\skip64
\afterepigraphskip=\skip65
\epigraphwidth=\skip66

Re: problems with citation style

2015-03-14 Thread Margret Mueller
Dear Jürgen,

thank you very much for your response - and sorry for the late reply.
I did change bibtex to bilatex and biber. It worked in a test document but
now in my thesis it does not add  the bibliography in the Pdf output
Whatever I do, nothing seems to change that.
This is the relevant part in the preamble:


\usepackage[english]{babel}

\usepackage[style=authoryear,natbib=true, backend=biber]{biblatex}

\addbibresource{C:/Users/margret/Desktop/Dissertation/library.bib}


Thanks a lot!

Margret


2015-03-08 16:42 GMT+01:00 Jürgen Spitzmüller sp...@lyx.org:

 2015-03-07 21:54 GMT+01:00 Margret Mueller:

 Dear Lyx Users,

 I moved my dissertation to Lyx and enjoy the beauty of it, however moving
 the literature remains challenging.

 - Newspaper articles never appear with the exact date (month day) (no
 matter which citation style i use - maybe i didn t try the right one?)


 It depends on the bibliography style file. Attached is one, tweaked by
 myself, that displays the date. This one, however, is localized for German.
 You could just tweak it to your needs.



 - I can not enter any hebrew articles or articles with any special
 letters or signs {} does not change that


 Traditional bibtex only handles traditional encodings. If you work with
 multiple writing systems, you probably need to use biblatex, which handles
 unicode-encoded bibliography files.

 See here for some information:
 http://wiki.lyx.org/BibTeX/Biblatex

 Biblatex also lets you modify the date format quite easily.

 HTH
 Jürgen



 For now I use:
 Lyx on windows, bibtex synchronized through mendeley (in the txt file
 everything looks fine)
 natbib and apsr

 Is my only way out to move everything to biblatex? (tried that following
 the instructions and got lots of warnings)

 Thanks a lot for your thoughts in advance!
 Best
 Margret

 --





-- 
__
Margret Mueller
PhD Student
Political Communication
FU Berlin
0049 176 842 787 22


Re: problems with citation style

2015-03-14 Thread Jürgen Spitzmüller
2015-03-14 17:53 GMT+01:00 Margret Mueller:

 Dear Jürgen,

 thank you very much for your response - and sorry for the late reply.
 I did change bibtex to bilatex and biber. It worked in a test document but
 now in my thesis it does not add  the bibliography in the Pdf output
 Whatever I do, nothing seems to change that.
 This is the relevant part in the preamble:


 \usepackage[english]{babel}

 \usepackage[style=authoryear,natbib=true, backend=biber]{biblatex}

 \addbibresource{C:/Users/margret/Desktop/Dissertation/library.bib}


Margret,

It's difficult to diagnose without seeing the whole document. Is biber
actually triggered? Do you have a BibTeX Log in View  LaTeX Log? Also,
could you please post the LaTeX Log?

Jürgen


Re: problems with citation style

2015-03-14 Thread Margret Mueller
\bibitemsep=\skip53
\bibnamesep=\skip54
\bibinitsep=\skip55
\bibparsep=\skip56
\bibhang=\skip57
\blx@bcfin=\read2
\blx@bcfout=\write3
\c@mincomprange=\count134
\c@maxcomprange=\count135
\c@mincompwidth=\count136
Package biblatex Info: Trying to load biblatex default data model...
Package biblatex Info: ... file 'blx-dm.def' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\blx-dm.def)
Package biblatex Info: Trying to load biblatex style data model...
Package biblatex Info: ... file 'authoryear.dbx' not found.
Package biblatex Info: Trying to load biblatex custom data model...
Package biblatex Info: ... file 'biblatex-dm.cfg' not found.
\c@afterword=\count137
\c@savedafterword=\count138
\c@annotator=\count139
\c@savedannotator=\count140
\c@author=\count141
\c@savedauthor=\count142
\c@bookauthor=\count143
\c@savedbookauthor=\count144
\c@commentator=\count145
\c@savedcommentator=\count146
\c@editor=\count147
\c@savededitor=\count148
\c@editora=\count149
\c@savededitora=\count150
\c@editorb=\count151
\c@savededitorb=\count152
\c@editorc=\count153
\c@savededitorc=\count154
\c@foreword=\count155
\c@savedforeword=\count156
\c@holder=\count157
\c@savedholder=\count158
\c@introduction=\count159
\c@savedintroduction=\count160
\c@namea=\count161
\c@savednamea=\count162
\c@nameb=\count163
\c@savednameb=\count164
\c@namec=\count165
\c@savednamec=\count166
\c@translator=\count167
\c@savedtranslator=\count168
\c@shortauthor=\count169
\c@savedshortauthor=\count170
\c@shorteditor=\count171
\c@savedshorteditor=\count172
\c@labelname=\count173
\c@savedlabelname=\count174
\c@institution=\count175
\c@savedinstitution=\count176
\c@lista=\count177
\c@savedlista=\count178
\c@listb=\count179
\c@savedlistb=\count180
\c@listc=\count181
\c@savedlistc=\count182
\c@listd=\count183
\c@savedlistd=\count184
\c@liste=\count185
\c@savedliste=\count186
\c@listf=\count187
\c@savedlistf=\count188
\c@location=\count189
\c@savedlocation=\count190
\c@organization=\count191
\c@savedorganization=\count192
\c@origlocation=\count193
\c@savedoriglocation=\count194
\c@origpublisher=\count195
\c@savedorigpublisher=\count196
\c@publisher=\count197
\c@savedpublisher=\count198
\c@language=\count199
\c@savedlanguage=\count200
\c@pageref=\count201
\c@savedpageref=\count202
\shorthandwidth=\skip58
\shortjournalwidth=\skip59
\shortserieswidth=\skip60
\shorttitlewidth=\skip61
\shortauthorwidth=\skip62
\shorteditorwidth=\skip63
Package biblatex Info: Trying to load compatibility code...
Package biblatex Info: ... file 'blx-compat.def' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\blx-compat.def
File: blx-compat.def 2014/06/25 v2.9a biblatex compatibility (PK/JW/AB)
)
Package biblatex Info: Trying to load generic definitions...
Package biblatex Info: ... file 'biblatex.def' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex.def
File: biblatex.def 
\c@textcitecount=\count203
\c@textcitetotal=\count204
\c@textcitemaxnames=\count205
\c@biburlnumpenalty=\count206
\c@biburlucpenalty=\count207
\c@biburllcpenalty=\count208
\c@smartand=\count209
)
Package biblatex Info: Trying to load natbib compatibility...
Package biblatex Info: ... file 'blx-natbib.def' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\blx-natbib.def
File: blx-natbib.def 2014/06/25 v2.9a biblatex compatibility (PK/JW/AB)
)
Package biblatex Info: Trying to load bibliography style 'authoryear'...
Package biblatex Info: ... file 'authoryear.bbx' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\bbx\authoryear.bbx
File: authoryear.bbx 2014/06/25 v2.9a biblatex bibliography style (PK/JW/AB)
Package biblatex Info: Trying to load bibliography style 'standard'...
Package biblatex Info: ... file 'standard.bbx' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\bbx\standard.bbx
File: standard.bbx 2014/06/25 v2.9a biblatex bibliography style (PK/JW/AB)
\c@bbx:relatedcount=\count210
\c@bbx:relatedtotal=\count211
))
Package biblatex Info: Trying to load citation style 'authoryear'...
Package biblatex Info: ... file 'authoryear.cbx' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\cbx\authoryear.cbx
File: authoryear.cbx 2014/06/25 v2.9a biblatex citation style (PK/JW/AB)
Package biblatex Info: Redefining '\cite'.
Package biblatex Info: Redefining '\parencite'.
Package biblatex Info: Redefining '\footcite'.
Package biblatex Info: Redefining '\footcitetext'.
Package biblatex Info: Redefining '\smartcite'.
Package biblatex Info: Redefining '\textcite'.
Package biblatex Info: Redefining '\textcites'.
)
Package biblatex Info: Trying to load configuration file...
Package biblatex Info: ... file 'biblatex.cfg' found.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex.cfg
File: biblatex.cfg 
)))
File:Dissertation.bcf
(C:\Users\margret\AppData\Roaming\MiKTeX\2.9\tex\latex\epigraph\epigraph.sty
Package: epigraph 2009/09/02 v1.5c typesetting epigraphs
\beforeepigraphskip=\skip64
\afterepigraphskip=\skip65
\epigraphwidth=\skip66

Re: problems with citation style

2015-03-14 Thread Margret Mueller
Dear Jürgen,

thank you very much for your response - and sorry for the late reply.
I did change bibtex to bilatex and biber. It worked in a test document but
now in my thesis it does not add  the bibliography in the Pdf output
Whatever I do, nothing seems to change that.
This is the relevant part in the preamble:


\usepackage[english]{babel}

\usepackage[style=authoryear,natbib=true, backend=biber]{biblatex}

\addbibresource{C:/Users/margret/Desktop/Dissertation/library.bib}


Thanks a lot!

Margret


2015-03-08 16:42 GMT+01:00 Jürgen Spitzmüller <sp...@lyx.org>:

> 2015-03-07 21:54 GMT+01:00 Margret Mueller:
>
>> Dear Lyx Users,
>>
>> I moved my dissertation to Lyx and enjoy the beauty of it, however moving
>> the literature remains challenging.
>>
>> - Newspaper articles never appear with the exact date (month day) (no
>> matter which citation style i use - maybe i didn t try the right one?)
>>
>
> It depends on the bibliography style file. Attached is one, tweaked by
> myself, that displays the date. This one, however, is localized for German.
> You could just tweak it to your needs.
>
>
>>
>> - I can not enter any hebrew articles or articles with any "special
>> letters or signs {} does not change that
>>
>
> Traditional bibtex only handles traditional encodings. If you work with
> multiple writing systems, you probably need to use biblatex, which handles
> unicode-encoded bibliography files.
>
> See here for some information:
> http://wiki.lyx.org/BibTeX/Biblatex
>
> Biblatex also lets you modify the date format quite easily.
>
> HTH
> Jürgen
>
>
>>
>> For now I use:
>> Lyx on windows, bibtex synchronized through mendeley (in the txt file
>> everything looks fine)
>> natbib and apsr
>>
>> Is my only way out to move everything to biblatex? (tried that following
>> the instructions and got lots of warnings)
>>
>> Thanks a lot for your thoughts in advance!
>> Best
>> Margret
>>
>> --
>>
>>
>


-- 
__
Margret Mueller
PhD Student
Political Communication
FU Berlin
0049 176 842 787 22


Re: problems with citation style

2015-03-14 Thread Jürgen Spitzmüller
2015-03-14 17:53 GMT+01:00 Margret Mueller:

> Dear Jürgen,
>
> thank you very much for your response - and sorry for the late reply.
> I did change bibtex to bilatex and biber. It worked in a test document but
> now in my thesis it does not add  the bibliography in the Pdf output
> Whatever I do, nothing seems to change that.
> This is the relevant part in the preamble:
>
>
> \usepackage[english]{babel}
>
> \usepackage[style=authoryear,natbib=true, backend=biber]{biblatex}
>
> \addbibresource{C:/Users/margret/Desktop/Dissertation/library.bib}
>

Margret,

It's difficult to diagnose without seeing the whole document. Is biber
actually triggered? Do you have a "BibTeX" Log in View > LaTeX Log? Also,
could you please post the LaTeX Log?

Jürgen


  1   2   3   4   5   6   7   8   9   10   >