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:
```
}
\stopfootnote
\stopsetups
```
The \fastsetup{btx:cite:entry} doesn't expand to anything if the footnote
is flushed as an endnote via \placenotes[footnote]. Does anyone have any
idea why this happens and how to fix it?
Joey
On Sat, Dec 25, 2021 at 3:34 PM Joey McCollum
wrote:
> A reasonable solut
25, 2021 at 1:11 PM Joey McCollum
wrote:
> 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
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
>
`
I hope this helps, too!
Joey
On Fri, Dec 24, 2021 at 9:43 AM Joey McCollum
wrote:
> 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 oth
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 exam
\endgroup
Is this a ConTeXt-friendly way to do this? I'm attempted this now, but I
have some errors to debug, and I'd like to know if this is even a feasible
direction before I continue.
Joey
On Sun, Nov 28, 2021 at 5:39 AM Hans Hagen wrote:
> On 11/28/2021 2:39 AM, Joey McCollum wrote:
&g
description of
the intended use gives you any better ideas, please suggest them!
Thanks again!
Joey
On Sat, Nov 27, 2021 at 1:44 PM Hans Hagen wrote:
> On 11/27/2021 6:13 PM, Joey McCollum wrote:
> > All right, I think I've solved the expansion problem I described before:
&g
d output
YES, but doesn't
\stoptext
```
What am I missing here?
Joey
On Fri, Nov 26, 2021 at 11:57 AM Joey McCollum
wrote:
> Thanks! Invoking string.find(str,"^"..pre) is certainly much easier. This
> sort of thing would be a nice general-purpose helper function. Denis Maier
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
={!,.:;?}]% undelimited list of trailing
punctuation to move before footnote citations
\popcatcodetable
```
Joey
On Sun, Oct 10, 2021 at 9:40 AM Joey McCollum
wrote:
> Thanks for these replies! Adding \unexpanded or \protected before \def
> didn't fix the problem, and surrounding the defi
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
, although I'm still not sure why
invoking \texdefinition{btx:sbl:inline:shorthand} directly doesn't.
Joey
On Wed, Oct 6, 2021 at 5:58 PM Joey McCollum
wrote:
> Interestingly, if I remove the contents of the btx:sbl:inline:shorthand
> command and paste them inline as the third argument
. So if there is a more concise
solution that applies expansion control to
\texdefinition{btx:sbl:inline:shorthand}, I'd love to know it!
Thanks!
Joey
On Wed, Oct 6, 2021 at 3:05 PM Joey McCollum
wrote:
> Okay, I had a follow-up question sooner than I thought! Enclosing the
> \abbrev
other way?
Joey
On Wed, Oct 6, 2021 at 2:35 PM Joey McCollum
wrote:
> All right, I think I see what I did wrong; I just needed to enclose the
> whole \abbreviation command in an \expanded command as follows:
>
> ```
> \startsetups btx:sbl:cite:short
> ...
> \btxdoif {short
to the thread if I run into any problems making this more
complex!
Joey
On Wed, Oct 6, 2021 at 12:35 PM Joey McCollum
wrote:
> (Quick note for anyone following this thread: I've figured out how to
> implement different typesetting rules for list, inline, and short-form
> citations; you can see
nsion problems, so I could
use someone's expertise here. Is there a simple way to define an
abbreviation using the expanded values of macros as above? And is there a
way to invoke an abbreviation/synonym at this level of abstraction?
(Something like \inshort[\currentbtxtag]?)
Thanks!
Joey
On Su
field = "date", default = "9998-13-32", unknown =
"-14-33" }, -- some specifications allow date instead of year, month,
day
{ field = "year", default = "9998", unknown = "" },
{ field = "month", de
for the foo-citation outside of
> the footnote.
>
>
>
> Denis
>
>
>
>
>
> *Von:* Joey McCollum
> *Gesendet:* Dienstag, 21. September 2021 17:16
> *An:* Maier, Denis Christian (UB)
> *Cc:* mailing list for ConTeXt users
> *Betreff:* Re: [NTG-context] Ibi
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
"day", default = "32", unknown = "33" },
{ field = "index", default = "", unknown = "" },
},
}
```
It is also worth noting that in order for the volume field to sort
properly, its values will have to
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
\else
\fastsetup{\s!btx:\s!list:\s!author:inverted}
\fi
\stopsetups
```
Thanks again, Hans!
Joey
On Wed, Sep 15, 2021 at 10:13 AM Joey McCollum
wrote:
> Good suggestion! I removed my changes to publ-aut.lua for now and tried
> adding each of the two setups you described to publ-imp-author
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
rconversions, all entries in this array would be the same, but for
authorconversions like "invertedfirst", the first entry would be different
from the rest. Then, the "oneauthor" function could just reference
combiners[i] instead of combiner.
Joey
On Fri, Sep 3, 2021 at 10:
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
sue in another thread. I think this approach should solve that problem,
so when I get a chance, I can send an e-mail about that.
Joey
On Thu, Aug 26, 2021 at 3:38 PM Joey McCollum
wrote:
> Okay, I've made some progress! Thankfully, the authorconversion rules can
> be overridden using some
erent formatting in entry
citations than they do in the list.
Joey
On Wed, Aug 25, 2021 at 5:45 PM Joey McCollum
wrote:
> Hi,
>
> I'm trying to implement a custom bibliography rendering where in-text
> citations (specifically, citations with alternative=entry) are not
> identic
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
quot;entry" citations
differently than citations in the list.
Joey
On Mon, Aug 9, 2021 at 8:55 AM Joey McCollum
wrote:
> Henning's suggestion for abbreviations should work fine for that issue. I
> could simply use the shorthand in the "series" and "journal" fields
looks good now!
Joey
On Tue, Aug 17, 2021 at 8:56 AM Joey McCollum
wrote:
> 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
ithub.com/jjmccollum/Keter-YG.
Joey
On Tue, Aug 17, 2021 at 5:19 AM Hans Hagen wrote:
> On 8/17/2021 2:07 AM, Joey McCollum wrote:
>
> > Sorry to bring this up after over a year, but I just noticed something
> > that doesn't seem right. I implemented some contextual substituti
re applied?
Thanks again!
Joey
On Thu, Apr 30, 2020 at 4:17 PM Joey McCollum
wrote:
> Okay! I have not figured out how to add a new page to the wiki, but I was
> able to add a section to the end of the "Arabic and Hebrew" page (
> https://www.contextgarden.net/Arabic_and
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
r:3=\btxparameter{\c!separator:2},
\c!separator:4=\btxparameter{\c!separator:2}]
Is the "entry" alternative just hardcoded to match the list citation, or am
I missing something?
Joey
On Tue, Aug 10, 2021 at 2:12 PM Joey McCollum
wrote:
> Hi,
>
> I'm currently working on
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
Sorry, there was a typo. Use this:
\definefontfamily[english] [rm] [ebgaramond] [features={default, dlig=no}]
\setupbodyfont[english,10pt]
\starttext
ct st
\stoptext
On Wed, Dec 2, 2020 at 1:05 PM Joey McCollum
wrote:
> You'll need to use the alias for the font family, as foll
You'll need to use the alias for the font family, as follows:
\definefontfamily[english] [rm] [ebgaramond] [features={default, hlig=no}]
\setupbodyfont[english,10pt]
\starttext
ct st
\stoptext
On Wed, Dec 2, 2020 at 12:56 PM T. Kurt Bond wrote:
> Ah, ok.
>
> Here is a minimal NONWORKING
The wiki page on featuresets (https://wiki.contextgarden.net/Featuresets)
offers a more comprehensive treatment.
On Wed, Dec 2, 2020 at 12:29 PM Joey McCollum
wrote:
> I think it would look something like
>
> \definefontfamily[english] [rm] [EB Garamond] [features={default,dlig=no}]
&
I think it would look something like
\definefontfamily[english] [rm] [EB Garamond] [features={default,dlig=no}]
On Wed, Dec 2, 2020 at 12:14 PM T. Kurt Bond wrote:
> It does help. Thanks.
>
> But how do I turn that font feature off in ConTeXt?
>
> On Wed, Dec 2, 2020 at 11:55 A
If you're using Octavio Pardo's version of EB Garamond (
https://github.com/octaviopardo/EBGaramond12), then these ligatures are
covered (along with the Th ligature) by the "dlig" (discretionary
ligatures) feature, so you'll need to disable that. Unfortunately, this
will also disable the Th
that the first \doifelse check always returns false, leading to the behavior in the last block in all cases. Joey McCollum
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
ns.
Joey
On Sat, May 16, 2020 at 4:12 AM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:
> Joey McCollum schrieb am 16.05.2020 um 05:45:
> > All right, I've found a tentative solution that appears to work in all
> > cases, but I'd like to know more about why t
protect
```
With this fix, the MWE I provided works regardless of which column the text
ends in. I'm content to consider the problem solved, but I would certainly
appreciate any feedback on my thoughts and questions about page-pcl.mkiv.
Joey
On Thu, May 14, 2020 at 5:03 PM Joey McCollum
wrote:
/q/542993/2148
>
> On Mon, May 4, 2020 at 11:46 AM Joey McCollum
> wrote:
> >
> > After continuing to look into this a bit, I noticed that a similar issue
> involving the insertion of a blank page after a columnset environment has
> been discussed on the mailing list in
environment, but an
> empty page added after the break seems unnecessary. I checked for a wiki
> page on the \definepagecolumns command to get more information on its
> accepted inputs, but there doesn't appear to be a page for this command.
>
> Joey
>
> On Tue, Apr 28, 2020 at 1:40
cessary. I checked for a wiki page on the
\definepagecolumns command to get more information on its accepted inputs,
but there doesn't appear to be a page for this command.
Joey
On Tue, Apr 28, 2020 at 1:40 PM Joey McCollum
wrote:
> I am typesetting a document using pagecolumns to ensure that
0 at 11:14 AM Hans Hagen wrote:
> On 4/30/2020 4:28 PM, Joey McCollum wrote:
> > Thanks so much, Hans! I should be able to add a wiki page summarizing
> > the tests before the end of the week.
> >
> > For reference purposes, do you know which version of ConTeXt has (o
Thanks so much, Hans! I should be able to add a wiki page summarizing the
tests before the end of the week.
For reference purposes, do you know which version of ConTeXt has (or will
have) this update included?
Joey
On Thu, Apr 30, 2020 at 5:26 AM Hans Hagen wrote:
> On 4/28/2020 1:59 PM, J
gen wrote:
> On 4/28/2020 2:09 PM, Joey McCollum wrote:
> > I am trying to typeset a two-column text in a right-to-left language
> > using ConTeXt. Because I want footnotes in this text to be set
> > ragged-bottom, I am using pagecolumns instead of standard columns. I
> >
al) and Ralph Hancock, is used for mark
positioning by a number of Hebrew fonts. Its guidelines govern their glyph
classes and chaining substitution rules. The fonts I know of that
explicitly implement it are SBL Hebrew, Ezra SIL, Keter YG, Keter Aram
Tsova.
On Tue, Apr 28, 2020 at 2:21 PM Hans Hage
I am typesetting a document using pagecolumns to ensure that my footnotes
are set ragged-bottom in columns. I have observed some unexpected behavior
whenever the last column on a page is left incomplete: a blank page is
added at the end of the document. A minimal working example follows:
```
ething that worked. I just had to
change the \fetchmark calls in my MWE to \getmarking[TestMark][1][top] and
\getmarking[TestMark][2][bottom].
On Tue, Apr 28, 2020 at 10:32 AM Hans Hagen wrote:
> On 4/28/2020 2:09 PM, Joey McCollum wrote:
>
> > Is there some way I can improve my
need, please let me
know.
Thanks again!
On Tue, Apr 28, 2020 at 9:17 AM Hans Hagen wrote:
> On 4/28/2020 1:59 PM, Joey McCollum wrote:
> > \definefontfeature[f:pointedhebrew][default][
> > ccmp=yes,
> > mark=yes,
> > script=hebr
> > ]
> > \de
I am trying to typeset a two-column text in a right-to-left language using
ConTeXt. Because I want footnotes in this text to be set ragged-bottom, I
am using pagecolumns instead of standard columns. I also want to track the
first and last textual division markers on each page using markings.
I am typesetting a document in Hebrew that includes pointing (e.g., vowels,
shin and sin dots, dagesh, etc.) using ConTeXt. The Hebrew text that I want
to typeset has been normalized into Unicode's NFC canonical form. It is
well-known that the Unicode canonical ordering of Hebrew points conflicts
I noticed some unexpected behavior while putting together a minimal working
example for a different issue. In a multi-column layout with column
balancing turned on, if the first column contains a single line and that
line contains a footnote, then the footnote will not be typeset. A minimal
85 matches
Mail list logo