ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Joshua Moerman" <context@joshuamoerman.nl>
To: <ntg-context@ntg.nl>
Subject: Issue with bibtex crossref in combination with {-}
Date: Wed, 1 Aug 2018 17:21:12 +0200	[thread overview]
Message-ID: <005c01d429ab$4907c760$db175620$@joshuamoerman.nl> (raw)

Hi ConTeXt people,

I found another issue with the crossref feature in ConTeXt. I get an error
when a {-} is used in a crossref. If it is used directly in the paper entry,
it works just fine. Replacing {-} by only - works, but the DBLP database
generates {-} and it would be nice to use that directly.

Example:
\usebtxdefinitions[apa]

\startbuffer[biblio]
@inproceedings{PAPER,
	author    = {First Last},
	title     = {PaperTitle},
	booktitle = {Conference of BlaBla},
	year      = {2017},
	crossref  = {CONF},
}

@proceedings{CONF,
	title     = {Conference on BlaBla},
	year      = {2017},
	editor    = {Jan{-}Willem Jansen},
	publisher = {Springer},
}
\stopbuffer

\usebtxdataset[biblio.buffer]

\starttext
See \cite{PAPER}.
\blank
\placelistofpublications
\blank
\showbtxdatasetcompleteness
\stoptext

This gives the error:
tex error       > tex error on line 1 in file
C:/Users/joshua/Documents/PhD/Thesis/ConTeXtTests/biblio.tex: ! Extra }, or
forgotten \endgroup

But it should just work without errors (I think), since using extra {}
should work.
Thanks in advance.

Groetjes,
Joshua



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2018-08-01 15:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-01 15:21 Joshua Moerman [this message]
2018-08-02 17:24 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005c01d429ab$4907c760$db175620$@joshuamoerman.nl' \
    --to=context@joshuamoerman.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).