From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: error with sbl bibliography on latest LMTX
Date: Fri, 8 Jul 2022 17:17:30 +0200 [thread overview]
Message-ID: <b199fbc5-4c77-ca5a-f1a8-47101dd5cdfb@fiee.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 3442 bytes --]
Hi Joel (et al.),
I tried the SBL bibliography setup with the latest LMTX; the example and
bib database are from Dennis’ article on ligatures in the upcoming CG
journal:
"""
\usebtxdataset[default][references.bib]
\setupbtx[dataset=default]
\usebtxdefinitions[sbl]
\setupinteraction[state=start]
\starttext
superior typographic output \cite[lefttext={e.g.}][taraborelli:beauty].
Therefore, the {\TEX}book mentions that the word
\quotation{shel\noligature{ff}ul} should indeed be rendered without the
ff-ligature \cite[righttext={p.~19}][knuth:texbook].
\placelistofpublications%[numbering=yes]
\stoptext
"""
Unfortunately, I get some errors, while it works with APS and APA:
-- invalid parent sbl:list:title:unpublished for sbl:list:title:thesis,
sbl:list:title:unpublished defined too (best check it)
-- Undefined control sequence \currentbtxloctext
I installed your files in TEXMFHOME, and apparently, ConTeXt can find
them. Here’s the shortened log:
system > ConTeXt ver: 2022.05.11 11:36 LMTX fmt: 2022.7.4
int: english/english
...
open source > level 1, order 2, name './bibtest.tex'
publications > adding bib data to set 'default' from source
'references.bib'
open source > level 2, order 3, name
'/Users/hraban/texmf/context/context-sbl/tex/publ-imp-sbl.mkvi'
system > error: invalid parent sbl:list:title:unpublished for
sbl:list:title:thesis, sbl:list:title:unpublished defined too (best
check it)
close source > level 2, order 3, name
'/Users/hraban/texmf/context/context-sbl/tex/publ-imp-sbl.mkvi'
...
publications > analyzing previous publication run for 'default'
tex error > tex error on line 34 in file ./bibtest.tex: Undefined
control sequence \currentbtxloctext
<macro> \22>:btx:sbl:cite:inline
#1->\fastsetup {\s!btx :\s!cite :concat}\fastsetup
{btx:sbl:cite:lefttext}\begingroup \letbtxparameter {punct}\empty \def
\currentbtxcitealternative {inline}\def \currentbtxcategory {\btxfield
{category}}\def \currentbtxloctext
{\btxparameter {loctex
<macro> \normalexpanded
\Word {\fastsetup {btx:sbl:cite:inline}
}\doif {\btxparameter {righttext}}{\empty } {\btxperiod }
<macro> \strc_constructions_register_yes
...constructionparameter \c!referencetext }\iflocation \ifempty
\currentconstructionbookmark \begingroup \simplifycommands \xdef
\currentconstructionbookmark {\detokenize \expandafter {\normalexpanded
{\constructionparameter \c!title
}}}\endgroup ...
<macro> \strc_notations_start_reference_indeed
[#1]#*#2->\strc_constructions_register [][\c!label
={\descriptionparameter \c!text },\c!reference ={#1},\c!title
={#2},\c!bookmark =,\c!list =,\c!referencetext =]
\strc_notations_wrapup
<macro> \22>:btx:sbl:cite:footnote
...ct}}\begingroup \letbtxparameter {punct}\empty \let
\doifendswithpunctelse \btx_sbl_doifendswithpunctelse \startfootnote
\Word {\fastsetup {btx:sbl:cite:inline}}\doif {\btxparameter
{righttext}}{\empty } {\btxperiod }\stopfootnote
\endgroup \do ...
<lua output>
...
<line 3.9>
superior typographic output \cite[lefttext={e.g.}][taraborelli:beauty]
.
The control sequence at the end of the top line of your error message
was never
\def'ed. You can just continue as I'll forget about whatever was undefined.
mtx-context | fatal error: return code: 1
Did I do something wrong, is the database not suitable for SBL, or is it
a bug?
Hraban
[-- Attachment #2: references.bib --]
[-- Type: application/x-bibtex, Size: 3701 bytes --]
@book{detailtypografie,
title = {Detailtypografie},
subtitle = {Nachschlagewerk zu allen Fragen zu Schrift und Satz},
author = {Forssman, Friedrich and de Jong, Ralf},
edition = 4,
year = 2008,
address = {Mainz},
publisher ={Verlag Hermann Schmidt Mainz},
}
@book{duden,
title = {Duden -- Die deutsche Rechtschreibung},
edition =23,
year=2004,
volume=1,
publisher={Dudenverlag},
address={Mannheim},
editor={Dudenredaktion},
}
@book{bringhurst:style,
author = {Bringhurst, Robert},
title = {The elements of typographic style},
year = 2019,
publisher= {Hartley \textampersand Marks, Publishers},
address = {Seattle},
edition = {Fourth edition (version 4.3)},
}
@book{rafaeli:book-typography,
author = {Rafaeli, Ari},
title = {Book Typography},
publisher = {Oak Knoll Press},
address = {New Castle, Delaware},
year = 2005,
}
@misc{butterick:practical-typography-ligatures,
author = {Butterick, Matthew},
title = {Practical typography. Chapter: Ligatures},
edition = 2,
url = {https://practicaltypography.com/ligatures.html},
}
@electronic{taraborelli:beauty,
author = {Taraborelli, Dario},
year = {2015},
url = {https://nitens.org/w/latex/},
title = {The Beauty of LaTeX},
}
@book{knuth:texbook,
author = {Knuth, Donald E.},
title = {The TeXbook},
year = 1996,
publisher = {Addison-Wesley},
address = {Reading, Massachusetts}
}
@misc{rmligs,
author = {Jacke, Björn},
url = {https://www.ctan.org/pkg/rmligs},
year = {2012},
title = {rmligs},
howpublished = {Version 0.87},
}
@misc{maier:check-ligatures,
url = {https://gist.github.com/denismaier/eb2d6301ef273c80c98c228e1d64323c},
title = {Check ligatures},
author = {Maier, Denis},
}
@misc{hagen:new-upload,
author = {Hagen, Hans},
title = {new upload},
year = {2021},
url = {https://www.mail-archive.com/ntg-context@ntg.nl/msg98035.html},
howpublished = {Message on the \CONTEXT\ mailing list, 2021/03/21},
}
@misc{selnolig:manual,
author = {Loretan, Mico},
title = {The selnolig package: Selective suppression of typographic ligatures},
year = {2015}, %
howpublished = {Manual of the selnolig package for Lua\LaTeX. Version from 2015/10/26},
url ={http://mirrors.ctan.org/macros/luatex/latex/selnolig/selnolig.pdf},
}
@misc{loretan:stackexchange:ligs,
author = {Loretan, Mico},
title = {Answer to: When should I not use a ligature in English typesetting?},
url = {https://english.stackexchange.com/a/50957/22099},
howpublished = {Forum post, last edited 2012/04/24},
year = {2012},
}
@misc{selnolig:package,
author = {Loretan, Mico},
title = {selnolig},
year = {2015},
howpublished = {Lua\LaTeX package, version 0.302, 2015/10/26},
url ={https://www.ctan.org/pkg/selnolig},
}
@misc{babel:ngerman,
title = {Babel support for the German language (post-1996 orthography)},
author = {Braams, Johannes and Raichle, Bernd and Schmidt, Walter and Spitzmüller, Jürgen},
year = {2021},
version = {v2.13 (2021/02/27)},
url = {http://mirrors.ctan.org/macros/latex/contrib/babel-contrib/german/ngermanb.pdf},
}
@inproceedings{goldhahn-etal-2012-building,
title = "Building Large Monolingual Dictionaries at the {L}eipzig Corpora Collection: From 100 to 200 Languages",
author = "Goldhahn, Dirk and
Eckart, Thomas and
Quasthoff, Uwe",
booktitle = "Proceedings of the Eighth International Conference on Language Resources and Evaluation ({LREC}'12)",
month = may,
year = "2012",
address = "Istanbul, Turkey",
publisher = "European Language Resources Association (ELRA)",
url = "http://www.lrec-conf.org/proceedings/lrec2012/pdf/327_Paper.pdf",
pages = "759--765",
}
[-- Attachment #3: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2022-07-08 15:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 15:17 Henning Hraban Ramm via ntg-context [this message]
2022-07-09 12:19 ` Joey McCollum via ntg-context
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=b199fbc5-4c77-ca5a-f1a8-47101dd5cdfb@fiee.net \
--to=ntg-context@ntg.nl \
--cc=texml@fiee.net \
/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).