In your "broken" example, the patah below the het is being moved to the
right rather than staying under the middle of the het? But the shift to the
right is the correct behavior for furtive patah and should be expected.
On Wed, Aug 31, 2022 at 8:06 PM Denis Maier via ntg-context <
Sorry, these are definitely errors on my part. The first one ("invalid
parent sbl:list:title:unpublished for sbl:list:title:thesis,
sbl:list:title:unpublished defined too") was thankfully an easy fix; I just
had to move \definebtx[sbl:\s!list:title:unpublished] before
While testing the module, I would copy the .mkiv and .lua files to my
ConTeXt MkIV directory (on Windows with the TeXLive distribution, this was
C:\texlive\2021\texmf-dist\tex\context\base\mkiv) and then run
context --make
to apply the updates.
If there is some other preferred way to do this,
I've avoided forcing capitalization in too many places in the SBL rendering
because there are often language-specific (or, within English, even
dialect-specific) differences regarding what should be capitalized. I think
I already enforce capitalization of the first word, though:
```
This actually seems to be rooted in a more general problem with the
publications support module. Why does invoking the fastsetup for citations
work within the default footnote setup, but not within endnotes flushed via
\placenotes[footnote]? If I modify the original MWE to use ConTeXt's
default
A reasonable solution for the time being would be to check if the
righttext argument is empty, and add a final period in the footnote only if
it is not (with the assumption being that the user would provide
punctuation in any righttext for footnote/endnote citations). I've pushed
the following
Joel,
You may not have done anything wrong; this may be an issue with
ConTeXt-SBL. In my code for the btx:sbl:cite:footnote setup in
publ-imp-sbl.mkvi, I added a comment to this effect:
```
\startsetups btx:sbl:cite:footnote
\removeunwantedspaces
like.)
Joey
On Fri, Dec 24, 2021 at 10:14 AM Denis Maier via ntg-context <
ntg-context@ntg.nl> wrote:
> biblatex has special multicite commands=> e.g. autocites. could that be
> used in that case?
>
> Denis
>
> Joey McCollum via ntg-context hat am 24.12.2021
>
Additionally, if you want to cite page numbers, the key to use in
ConTeXt-SBL is "loctext". (I was not aware of an "extra" key when I was
developing the module.) So, you should be able to make the ConTeXt-style
\cite command work as follows:
```
\cite[loctext=2][na2006]
```
I hope this helps,
Joel,
Thanks for mentioning this! I think I've run into the same issue before,
but I wasn't sure how I should go about fixing it, so this might be a good
place to get suggestions from others.
The \autocite, \inlinecite, \parencite, and \footcite helper commands are
intended to handle trailing
Joel,
I've attempted to incorporate most of these features for the SBL citation
style (which derives most of the same rules from Chicago) for ConTeXt. You
can use my code in https://github.com/jjmccollum/context-sbl as a template
for now, if you'd like; we're still waiting for the code to be
2021 5:11 PM, Wolfgang Schuster via ntg-context wrote:
> > Joey McCollum via ntg-context schrieb am 09.12.2021 um 15:08:
> >> I believe \orelse might be what you want. It works with most \if...
> >> macros, and it avoids nesting of \doifelse constructs. Here's an
> >
I believe \orelse might be what you want. It works with most \if... macros,
and it avoids nesting of \doifelse constructs. Here's an example, which I
use in conditionally removing preceding punctuation if any other keys are
defined before a specific one in an assignment:
```
% If any of the
A while ago, I mentioned in a thread on the mailing list that I was working
on a new bibliographic rendering for the SBL citation style. After
additional testing and implementation of various features (e.g., an
authorconversion that inverts the first author and prints all subsequent
authors in
After some debugging, the example code I offered above seems to work, with
minor adjustments:
\begingroup
\let\loc\loctextloc
\currentbtxloctext
\btxcomma
\endgroup
Thanks again for all the help!
Joey
On Mon, Nov 29, 2021 at 12:11 PM Joey McCollum
wrote:
> Okay. So using this example as a
Okay. So using this example as a template, I'd like to do the following:
- define a general-purpose \loc macro that can be invoked in the main
text (i.e., outside of citations) in the usual way; this one would
correspond to \WhateverB above and would not remove punctuation preceding
I was afraid that might be the problem. I've described some of the intended
purpose of this code near the end of the "Checking for a macro in a string
without expanding it" thread on the mailing list, but I will get into more
detail here. I'm working on a ConTeXt implementation of citation style
starttext
>
> \DoIfPrefixElse{§}{\currentbtxloctext}{YES}{NOP}
>
> \stoptext
> ```
>
> Lua is throwing an "invalid escape sequence near '"\l'" error, which is
> presumably because the macro \loc[sec=31] is not being expanded. How do I
> fix this?
>
YES}{NOP}
\stoptext
```
Lua is throwing an "invalid escape sequence near '"\l'" error, which is
presumably because the macro \loc[sec=31] is not being expanded. How do I
fix this?
Thanks!
Joey
On Fri, Nov 26, 2021 at 3:46 AM Hans Hagen via ntg-context <
ntg-context@ntg.n
I wasn't aware of a general-purpose "doifstartswith" macro in ConTeXt (the
\doifnextcharelse macro only works one character at a time, and the
\doifinstring macros may capture substrings that are not prefixes), and I'd
like to develop one for something I'm working on. I've been trying to do
this
I was checking the "Branches and Decisions" wiki entry at
https://wiki.contextgarden.net/System_Macros/Branches_and_Decisions, and I
saw that ConTeXt has a useful \doifalldefinedelse macro that checks a
comma-separated list of macro names and proceeds according to whether or
not all of the macros
I'm not sure if my mind is twisted enough! I can follow how Jairo's answer
works, and that does what I need it to, but it's not as clear to me what
the last two TeX-only approaches are doing at a low level.
Perhaps more importantly, I should clarify that for my purposes, the
\MyOuter macro is the
As the subject of this question suggests, this is really more of a question
about expansion control (a topic that is still a bit obscure to me).
Suppose I have a macro \inner that expects a single argument or an
assignment of parameters in brackets. For my purposes, I don't want this
macro to do
pening?) to the
> default ConTeXt catcodes and then back.
>
> Thanks again!
>
> Joey
>
> On Sun, Oct 10, 2021 at 6:40 AM Wolfgang Schuster <
> wolfgang.schuster.li...@gmail.com> wrote:
>
>> Joey McCollum via ntg-context schrieb am 10.10.2021 um 05:42:
>&
thor1:2016]\blank
\cite[Author2:2015]\blank
\page
\startsubject[title=Abbreviations]
\placelistofabbreviations
\stopsubject
\page
\startsubject[title=Bibliography]
\placelistofpublications
\stopsubject
\stoptext
```
Joey
On Fri, Oct 8, 2021 at 7:38 AM Hans Hagen wrote:
> On 10/7/2021 6:38 AM, Joey
\commentasciicode\othercatcode gets invoked
in \publ_set_publication, so perhaps that's what's happening?) to the
default ConTeXt catcodes and then back.
Thanks again!
Joey
On Sun, Oct 10, 2021 at 6:40 AM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:
> Joey McCollum via ntg-context s
e to
check if the trailing character is one of the characters in a specified
set/string, and this is where the error is arising.
Joey
On Sat, Oct 9, 2021 at 12:50 PM Hans Hagen wrote:
> On 10/9/2021 5:40 PM, Joey McCollum via ntg-context wrote:
> > Hi,
> >
> > I'm trying t
Hi,
I'm trying to define concise biblatex-style citation macros for a custom
bibliographic style specification with support for intelligent placement of
trailing punctuation, and I've encountered an unusual error. If I try to
define the macros within the btxrenderingdefinitions environment, then
abbreviations should work fine for that
>>>>>> issue. I could simply use the shorthand in the "series" and "journal"
>>>>>> fields and set up the appropriate \abbreviation calls in the document or
>>>>>> environment.
for
>>>>> my own project soon, and I felt it would be useful to myself and the
>>>>> ConTeXt community if I could at least get a rudimentary version working.
>>>>> I'm presently using the reference for examples from the *SBL Handbook
>>>>>
ricky. SBL uses "entry"-style citations
>>>> by default and doesn't seem to make use of other common alternatives (such
>>>> as "authoryear"). I can think of some existing alternatives that might get
>>>> used in specific cases (e.g., "au
ified in the "shorttitle" field). I could make
>>> this the sbl style's implementation of the "short" alternative, since the
>>> LaTeX-style bracketed number references are foreign to SBL style anyway,
>>> but if would be preferable just to introduce anoth
t need much more than the @book,
>> @article, @inbook, and @incollection entries, so my focus will be on
>> getting those right, but if anyone is interested in helping, I'll gladly
>> take help. (But it would probably be better to discuss the details in a
>> separate e-mail thread.)
I'm not sure if this thread got lost back when I sent it, but I just wanted
to bump this thread again. The authortitle sort sequence detailed in the
previous e-mail is working as expected, and it may be a helpful addition to
the publ-aut.lua file for general use. In case the last e-mail was lost,
always default to the "rule"
> setup.
>
>
>
> Joey
>
>
>
> On Tue, Sep 21, 2021 at 12:52 AM wrote:
>
> Cool.
>
> I don't know about your particular solution, but will probably want to
> make sure to have different variables for citations in the main text
lar solution, but will probably want to
> make sure to have different variables for citations in the main text and in
> the notes.
>
> Denis
>
>
>
>
> Von: ntg-context im Auftrag von Joey
> McCollum via ntg-context
> Gesendet
Hi,
I've found a way to implement ibid. and idem support in the SBL
specification under development at https://github.com/jjmccollum/context-sbl
(this e-mail essentially repeats my comments in
https://github.com/jjmccollum/context-sbl/issues/5), but I'm not sure if my
solution is a recommended
Actually, since some categories (such as @review and @suppbook from
biblatex) do not necessarily have titles of their own, it may be best to
include a few other fields in the sort sequence to accommodate them. The
following sequence may be better:
```
publications.sortmethods.authortitle = {
Hi,
I've had to make another update to the general publications support code in
order to implement a feature of the SBL rendering. Denis Maier has opened
some issues on the context-sbl GitHub repo (
https://github.com/jjmccollum/context-sbl) to offer some helpful
suggestions about needed features
Hi,
It's taken a couple weeks, but I nearly have a working bibliographic
rendering for SBL style ready. I'm hosting the .lua and .mkvi files I have
so far, as well as a test .bib and .tex file, on GitHub at
https://github.com/jjmccollum/context-sbl. The look of the rendering seems
to be correct
hich of the two setups I use. Do I have to do something
> different to access it?
>
> Thanks!
>
> On Wed, Sep 15, 2021 at 4:18 AM Hans Hagen wrote:
>
>> On 9/15/2021 5:06 AM, Joey McCollum via ntg-context wrote:
>> > All right, I figured out where I needed to make this chan
custom rendering file does not access the invertedfirst setup,
regardless of which of the two setups I use. Do I have to do something
different to access it?
Thanks!
On Wed, Sep 15, 2021 at 4:18 AM Hans Hagen wrote:
> On 9/15/2021 5:06 AM, Joey McCollum via ntg-context wrote:
> > All
All right, I figured out where I needed to make this change for it to take
effect. The relevant script is publ-aut.lua. The code I needed to change
was for the "oneauthor" function definition, which itself is located in the
"btxauthor" function definition. My changes are detailed below:
```
Hi,
I mentioned this in an earlier e-mail but thought that now might be a good
time to describe this issue in detail. I'd like to define a new
authorconversion that renders the first author in a list differently than
the remaining authors in the list. Specifically, I'd like to use the
"inverted"
I dealt with this issue at length in a separate thread (“Different author rendering in entry citation vs. list”) a couple months after you asked about this, so for the benefit of anyone who has been following this thread specifically, I’ll describe the solution I found here. There are (at least) a
I didn't even know they exist.
> Thanks for sharing your discovery!
>
> Agoston
>
> Am Fr., 27. Aug. 2021 um 05:09 Uhr schrieb Joey McCollum via
> ntg-context :
> >
> > Nevermind, it looks like there's an even more deliberate and succinct
> way to handle this! In publ-i
Nevermind, it looks like there's an even more deliberate and succinct way
to handle this! In publ-ini.mkiv, the \currentbtxciteauthorbyfield command
shows how to print the author field mapped according to the cite style:
```
\unexpanded\def\currentbtxciteauthorbyfield
{\begingroup
Okay, I've made some progress! Thankfully, the authorconversion rules can
be overridden using some of the methods defined in publ-ini.mkiv. I now
have something like this in my rendering's .mkvi file:
```
\doifelse {\currentbtxcitealternative} {entry} {
% Normal order for in-text citations
Hi,
I'm trying to implement a custom bibliography rendering where in-text
citations (specifically, citations with alternative=entry) are not
identical to the entries in the bibliography list. Following a pattern I've
seen in publ-imp-chicago.mkvi, I've been able to implement most of the
features
the details in a
> separate e-mail thread.)
>
> Joey
>
> On Mon, Aug 9, 2021 at 4:12 AM Denis Maier via ntg-context <
> ntg-context@ntg.nl> wrote:
>
>>
>>
>> > -Ursprüngliche Nachricht-
>> > Von: ntg-context Im Auftrag von Henning
Thankfully, it looks like this was just a problem with my implementation of
the OpenType feature and not with ConTeXt's handling of it! (I worried that
it might be ConTeXt when I saw that XeLaTeX was handing the feature
correctly.) Hans graciously helped me identify the problem, and everything
Shouldn't dlig automatically be enabled under the "hebrew" feature set? In
font-pre.mkiv, hebrew inherits from semitic-complete, which sets dlig=yes.
Still, if I explicitly add dlig, as in the following example, things
change, but they still aren't right:
```
\starttypescriptcollection[keteryg]
Hans,
Sorry to bring this up after over a year, but I just noticed something that
doesn't seem right. I implemented some contextual substitutions in my own
fork of the Keter YG Hebrew font (.ttf file attached) under the "dlig"
feature that should do the following two things:
1. If a *shin
That works for my purposes; thank you for letting me know about it!
Joey
On Sun, Aug 15, 2021 at 1:53 AM Aditya Mahajan via ntg-context <
ntg-context@ntg.nl> wrote:
> On Sun, 15 Aug 2021, Joey McCollum via ntg-context wrote:
>
> > Hi,
> >
> > I'm trying to im
Hi,
I'm trying to implement a section break marker in a grid layout. At a
section break, two lines of space should separate the subsequent segments
of text (just plain paragraphs, in this case), and a symbol (in the example
below, "X") should be set in the middle of these two lines. For my
Hi,
I was curious about the possibility of handling general formatting settings
(e.g., page layout, headers and footers, page numbering, alignment, default
body font assignment, etc.) conditionally for front, body, and back matter
using modes. According to the wiki page at
It may also be relevant to mention a related feature of SBL style:
(3) The "et al." string is used for more than three authors for in-text
citations, but all authors are listed in full in the list of publications.
In publ-imp-chicago.mkvi (probably the most similar style to SBL), the
etallimit
Hi,
I'm currently working on implementing a new citation rendering for SBL
style. One of the challenges of this style is that it specifies slightly
different rules for citations in the text (which are generally expected to
look like citations made with the "entry" alternative) and entries in the
t; Hraban Ramm via ntg-context
> > Gesendet: Samstag, 7. August 2021 22:40
> > An: mailing list for ConTeXt users
> > Cc: Henning Hraban Ramm
> > Betreff: Re: [NTG-context] Short forms and abbreviations in bibliography
> >
> >
> >
> > > Am 0
Hi,
I'm interested in packaging a ConTeXt project in a self-contained way, so
that the environment/component/project .tex files, the bibliography .bib
file(s), and fonts used for typesetting are all provided in one place. (The
goal is that others can generate the PDFs themselves from the source
Hi,
It is a common practice to use short forms of titles for bibliographic
entries after they are cited the first time. Another practice is to use
abbreviations for journal names and book series (generally for citations in
the text, but possibly also in the references list), with a separate "List
e, I can
just change the "after" argument to
"after=\page[blankpagebreak]\noindentation" and things work as expected, so
this isn't a real problem. I'm just curious.)
Thanks!
Joey
On Sat, Aug 7, 2021 at 5:20 AM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrot
tcommand" argument.
Joey
On Fri, Aug 6, 2021, 1:54 PM Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> wrote:
> On 8/6/21 7:12 PM, Joey McCollum via ntg-context wrote:
> > Hi,
> >
> > I'd like to define my own class of heading derived from the "part&quo
Hi,
I'd like to define my own class of heading derived from the "part" heading;
in the MWE below, it's called "MyPart". I'd like this heading to have the
following features:
- Its title should appear in the ToC, but its number should never be
printed in the ToC or in the text.
- It
64 matches
Mail list logo