Re: [NTG-context] Hyphens broken with lucidaot

2021-06-30 Thread Lutz Haseloff
Hi all,

the same here with
current version: 2021.06.29 23:13

Greetings Lutz

Am 1. Juli 2021 03:02:53 MESZ schrieb Otared Kavian :
>Hi Hans,
>
>I noticed that with the recent LMTX version 2021.06.27 16:59 the
>hyphens do not show up correctly with lucidaot.
>Here is a minimal example and the resulting PDF
>
>\setupbodyfont[lucidaot,10pt]
>\startTEXpage
>c'est-à-dire
>
>sous-ensemble
>
>sous-préfet
>\stopTEXpage
>
>Best regards: Otared
___
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
___


[NTG-context] Hyphens broken with lucidaot

2021-06-30 Thread Otared Kavian
Hi Hans,

I noticed that with the recent LMTX version 2021.06.27 16:59 the hyphens do not 
show up correctly with lucidaot.
Here is a minimal example and the resulting PDF

\setupbodyfont[lucidaot,10pt]
\startTEXpage
c'est-à-dire

sous-ensemble

sous-préfet
\stopTEXpage

Best regards: Otared



hyphen-lucidaot.pdf
Description: Adobe PDF document
___
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
___


Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Hans Hagen

On 6/30/2021 8:50 PM, Wolfgang Schuster wrote:

Alan Braslau schrieb am 30.06.2021 um 20:40:

On 30/06/21 12:25, Hans Hagen wrote:

On 6/30/2021 7:35 PM, Alan Braslau wrote:

On 29/06/21 05:52, Hans Hagen wrote:

well, you ask for nothyphenated; we could define

\permanent\protected\def\-%
   {\begingroup
\hyphenationmode\explicithyphenationmodecode\explicitdiscretionary
    \endgroup}

i will ponder this


I believe that \- defines an *optional* hyphenation point.
Specifying nothyphenated should not hyphenate, even at optional points.
The author can otherwise use hyphenated and arrange to help the 
words get hyphenated at certain points.


Perhaps a new "optional" hyphenation point macro can be added that 
would have super-powers to override the align parameter. There would 
be no surprises using such a feature.

We can't use \= unless we drop the \= being macros (anyone using that?)

We can also use \+ which currently is just "+" because it needs some 
value (sometimes it gets a local meaning).


So here is something to ponder:

\pushoverloadmode \unprotect

 \permanent\protected\def\superexplicitdiscretionary
   {\begingroup
\hyphenationmode\explicithyphenationmodecode\explicitdiscretionary
    \endgroup}

\aliased\let\lang_explicit_discretionary_nop\explicitdiscretionary

 \permanent\protected\def\lang_explicit_discretionary_yes-%
   {\superexplicitdiscretionary}

 \permanent\protected\def\-%

{\doifelsenextcharcs-\lang_explicit_discretionary_yes\lang_explicit_discretionary_nop} 



 \protect \popoverloadmode

 \nohyphens \hsize 1mm

 test\-test \par test\--test

\stoptext


\= macron accent (bar) should not be changed.

\-- is a good suggestion, like insisting, and should not get confused 
with -- (en dash).


Is there some problem to make it just another option.

\enabledirectives[hyphenators.discretionary=hyphenated|nothyphenated]

or maybe some key is \setuplanguages (what key)

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen

On 6/30/2021 9:04 PM, denis.ma...@unibe.ch wrote:




Von: Hans Hagen 

On 6/30/2021 4:57 PM, denis.ma...@unibe.ch wrote:



[...]


Will this interfere with how parts are displayed in the regular table
of contents?


sure but you can group

\start
.. flush the list
\stop

although it's not really needed when you do this at the end of the document


Hmm, but don't you usually style thing before \starttext? (Ok, you can use 
setups to keep the definitions in one place.)


indeed. one can use setups or define a combined list that has the settings


2. Does this treat endnotes just like a list entry, with page numbers
and so?


indeed


Ok, so you cannot use the regular \setupnotation[endnote][settings] for styling 
the endnotes?
well, this is typical list usage so .. but if needed one can define a so 
called list alternative for it but it probably doesn't pay off.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


[NTG-context] Fwd: log: use \thinspace instead of \,

2021-06-30 Thread Hans Hagen




 Forwarded Message 
Subject: Re: [NTG-context] log: use \thinspace instead of \,
Date: Thu, 1 Jul 2021 00:08:39 +0200
From: Hans Hagen 
To: Wolfgang Schuster 

On 6/30/2021 10:57 PM, Wolfgang Schuster wrote:

Alan Braslau schrieb am 29.06.2021 um 17:40:

On Tue, 29 Jun 2021 14:06:02 +0200
Henning Hraban Ramm  wrote:


Maybe, but in running text I use \, all the time e.\,g. in
abbreviations or for numbers (10\,000). At least in German typography
these “spatiums” are necessary.

In French typography as well.

Indeed,
American: 10,000.00
French:   10\,000,00
(and other languages).

This is quite readable, and much preferred to the use of any kind of
macro that might format numbers according to language.

I find that students often need such helpers when deciphering many
digits.


Let's not forget all of these spaces commands are used in math mode.
Sure, and thet adaot to math mode. They will nto dissppear, it's just 
that in macros I like more verbose names.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau
On Wed, 30 Jun 2021 19:40:06 +
 wrote:

> > -Ursprüngliche Nachricht-
> > Von: Alan Braslau 
> > Gesendet: Mittwoch, 30. Juni 2021 21:11
> > An: mailing list for ConTeXt users ; Maier,
> > Denis Christian (UB) 
> > Betreff: Re: [NTG-context] Different authorconversion for citation
> > alternatives and bibliographic entries
> > 
> > On 30/06/21 12:59, denis.ma...@unibe.ch wrote:  
> > > Hi,
> > >  
> > >> -Ursprüngliche Nachricht-
> > >> Von: ntg-context  Im Auftrag von
> > >> Ágoston Volcz
> > >> Gesendet: Mittwoch, 30. Juni 2021 10:20 An:ntg-context@ntg.nl
> > >> Betreff: [NTG-context] Different authorconversion for citation
> > >> alternatives and bibliographic entries
> > >>
> > >> Hi there,
> > >>
> > >> My university has special requirements for the theses I submit.
> > >> Layout, fonts etc. are pretty straightforward to set up in
> > >> ConTeXt. The one part I'm struggling with is citations /
> > >> bibliography. I have to use the german citation style with
> > >> footnotes. Essentially the first time I cite something, I have
> > >> to put the full entry in a footnote. From the second time on, I
> > >> only have to put a shorter entry in the  
> > footnotes.  
> > > Is this first citation vs other citations thing currently
> > > possible with ConTeXt? I  
> > was thinking that there was no proper support for note style
> > citations in ConTeXt? Has that changed? I remember reading the
> > phrase "We may add additional citation styles if there demand and
> > clear requirements exist." So what's the current state of affairs
> > here?  
> > >
> > > Denis  
> > 
> > Indeed (one can always use \footnote{} but that might not be a good
> > substitute for a proper footnote citation style.
> > 
> > I do not use footnote citations as a general style (and personally
> > dislike it, finding them somewhat distracting and sloppy). Yet
> > these are popular in many fields and there is no reason not to
> > support it.  
> 
> So what would be needed to make add real support for it?

First of all, come to a consensus on a clear style guide to base this
on, so as not to run after ambiguous and perhaps contradictory
specifications. This would be distinct from the APA (author-year) model
as well as from the minimalist APS (numbered) style. Could this perhaps
be the Chicago style? (does that have a footnote specification?)

Secondly, identify users who would be willing to spend time testing and
giving feedback.

Thirdly, motivate Hans and myself to spend time on this (implementing
or helping implement), for neither of us use the footnote style.

So it can be done, and such a model is presently missing.

Alan

___
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
___


[NTG-context] path for custom files (was Different authorconversion for citation alternatives and bibliographic entries)

2021-06-30 Thread Jan U. Hasecke


Sorry for hijacking this thread.

Am 30.06.21 um 18:06 schrieb Hans Hagen:

or just tex/texmf-project/


What is the difference between

tex/texmf-local
tex/texmf-project

if $TEXMFHOME/tex/context/personal/ gets scanned every run?

Any recommandations what to store where?

juh
___
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
___


Re: [NTG-context] log: use \thinspace instead of \,

2021-06-30 Thread Wolfgang Schuster

Alan Braslau schrieb am 29.06.2021 um 17:40:

On Tue, 29 Jun 2021 14:06:02 +0200
Henning Hraban Ramm  wrote:


Maybe, but in running text I use \, all the time e.\,g. in
abbreviations or for numbers (10\,000). At least in German typography
these “spatiums” are necessary.

In French typography as well.

Indeed,
American: 10,000.00
French:   10\,000,00
(and other languages).

This is quite readable, and much preferred to the use of any kind of
macro that might format numbers according to language.

I find that students often need such helpers when deciphering many
digits.


Let's not forget all of these spaces commands are used in math mode.

Wolfgang

___
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
___


Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread denis.maier
> -Ursprüngliche Nachricht-
> Von: Alan Braslau 
> Gesendet: Mittwoch, 30. Juni 2021 21:11
> An: mailing list for ConTeXt users ; Maier, Denis 
> Christian
> (UB) 
> Betreff: Re: [NTG-context] Different authorconversion for citation 
> alternatives
> and bibliographic entries
> 
> On 30/06/21 12:59, denis.ma...@unibe.ch wrote:
> > Hi,
> >
> >> -Ursprüngliche Nachricht-
> >> Von: ntg-context  Im Auftrag von Ágoston
> >> Volcz
> >> Gesendet: Mittwoch, 30. Juni 2021 10:20 An:ntg-context@ntg.nl
> >> Betreff: [NTG-context] Different authorconversion for citation
> >> alternatives and bibliographic entries
> >>
> >> Hi there,
> >>
> >> My university has special requirements for the theses I submit.
> >> Layout, fonts etc. are pretty straightforward to set up in ConTeXt.
> >> The one part I'm struggling with is citations / bibliography.
> >> I have to use the german citation style with footnotes. Essentially
> >> the first time I cite something, I have to put the full entry in a
> >> footnote. From the second time on, I only have to put a shorter entry in 
> >> the
> footnotes.
> > Is this first citation vs other citations thing currently possible with 
> > ConTeXt? I
> was thinking that there was no proper support for note style citations in
> ConTeXt? Has that changed? I remember reading the phrase "We may add
> additional citation styles if there demand and clear requirements exist." So
> what's the current state of affairs here?
> >
> > Denis
> 
> Indeed (one can always use \footnote{} but that might not be a good substitute
> for a proper footnote citation style.
> 
> I do not use footnote citations as a general style (and personally dislike it,
> finding them somewhat distracting and sloppy). Yet these are popular in many
> fields and there is no reason not to support it.

So what would be needed to make add real support for it?
___
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
___


Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Rik Kabel
For what its worth, I offer my endnote apparatus with updates for parts. 
It uses the standard note/notation mechanism, not a list, for endnotes. 
Perhaps it can be further adapted to the needs of this thread.


There is at least one small issue with it: I have to use \stopendnote 
even though I define \startEndnote. This causes issues with the linter 
(mtxrun --script check ) but seems otherwise harmless.


I am sure that others more versed in ConTeXt can find some ways to fix 
this and improve the overall approach. I welcome suggestions.


%--%
% Endnote apparatus adapted for parts
%
\mainlanguage  [en]
\language  [en]
\setupinteraction  [state=start]
\setuppagenumbering[alternative=doublesided]

\setupheadertexts [{\it\getmarking[part]}][{\it\getmarking[section]}]
[{\it\getmarking[chapter]}][{\it\getmarking[part]}]
\setupheads    [number=no]
\setuphead [part]
   [placehead=yes,
    header=empty]

%- footnote setup -%
% footnotes uses asterisk, dagger, ddagger... so that endnotes
%   and pagenotes have separate sequences. Change way= to suit
%   your footnote frequency

\setupnotation [footnote]
   [numberconversion=set 2,
    way=chapter]

%- endnote setup --%
% endnotes use numeric indices, reset by part

\setupnote [endnote][
    textseparator={,},
    textstyle=\high{\small\hairspace},
    location=none,
    bodyfont=]

\setupnotation [endnote]
   [headstyle=\small,
    way=bypart,
    numbercommand=,
    after={\blank[halfline]}]

%- endnote pages setup %

\definemarking [notePage]

\startsetups   [noteHeadingsText]
  {\em Notes for page
\doifelse{\fetchmark[notePage][top]}{\fetchmark[notePage][bottom]}
    { \getmarking[notePage][top]}
    {s \getmarking[notePage][top]–\getmarking[notePage][bottom]}}
\stopsetups

\starttexdefinition unexpanded startEndnote
  \dosingleempty\doStartEndnote
\stoptexdefinition

\starttexdefinition doStartEndnote [#1]
  \expanded{\dodoStartEndnote[#1][{\rawcountervalue[userpage]}]}
\stoptexdefinition

\starttexdefinition dodoStartEndnote [#1][#2]
  \startendnote[#1]
    \marking[notePage]{#2}\removeunwantedspaces
\stoptexdefinition

\starttexdefinition endnoteChapter
  \startchapter    [title=Notes]
\setupheadertexts[{\it\getmarking[part]}][\setups{noteHeadingsText}]
[\setups{noteHeadingsText}][{\it\getmarking[part]}]
  \placenotes  [endnote]
  \page
\setupheadertexts[{\it\getmarking[part]}][{\it\getmarking[section]}]
   [{\it\getmarking[chapter]}][part]
  \stopchapter
\stoptexdefinition

%--%

\starttext

\completecontent

\startpart[title=Part 1]
\dorecurse{3}{
  \startchapter[title=Chapter #1]
    If a man wants to read good books, he must make a point of
    avoiding bad ones; for life is short, and time and energy
    limited.
    \startfootnote
  T.\,Baily Saunders’ translation, in his 1891 {\em
  The Art of Literature}, of part of one of Arthur
  Schopenhauer’s essays.
    \stopfootnote
    \startEndnote
  {\language[deo]%
  Um das Gute zu lesen, ist eine Bedingung, dass man das
  Schlechte nicht lese: denn das Leben ist kurz, Zeit und
  Kräfte beschränkt.}
    \stopendnote

    \dorecurse{6}{
  \startsection[title=Section ##1]
    This followed by:

    {\it Repetitio est mater studiorum}. Any book that is at
    all important ought to be at once read through twice;
    partly because, on a second reading, the connection of the
    different portions of the book will be better understood,
    and the beginning comprehended only when the end is known;
    and partly because we are not in the same temper and
    disposition on both readings. On the second perusal we get a
    new view of every passage and a different impression of the
    whole book, which then appears in another light.
  \startEndnote
    {\language[deo]%
    Repetitio est mater studiorum. Jedes irgend wichtige
    Buch soll man sogleich zwei Mal lesen, theils weil man
    die Sachen das zweite Mal in ihrem Zusammenhange besser
    begreift und den Anfang erst recht versteht, wenn man
    das Ende kennt; theils weil man zu jeder Stelle das
    zweite Mal eine andere Stimmung mit bringt, als beim
    ersten, wodurch der Eindruct verschieden ausfällt und
    es ist, wie wenn man einen Gegenstand in anderer
    Beleuchtung sieht.}
  \stopendnote
  \stopsection
    }
  \stopchapter
}
\endnoteChapter

Re: [NTG-context] 15th International ConTeXt Meeting (early bird closes)

2021-06-30 Thread Taco Hoekwater


> On 30 Jun 2021, at 19:34, Bruce Horrocks  wrote:
> 
> 
>> On 30 Jun 2021, at 15:23, Taco Hoekwater  wrote:
>> 
>> Just a quick reminder that early bird registration for the ConTeXt meeting 
>> 2021
>> in Bassenge officially ends today. I’ll be a bit lenient about the actual 
>> money 
>> transfer, but you should fill in the registration form today or at the very 
>> last
>> tomorrow, if you want to be eligible for the early bird discount.
>> 
>>  https://meeting.contextgarden.net/
>> 
>> In other news, there is now an abstracts page with lots of talk topics added 
>> by Hans himself. Check that out as well!
> 
> In other news the early bird deadline in the table header row on the linked 
> page is 11th July.

You are not even the first person to point that out. 

Ok, so July 11 it is. It is still better to register right away :)

Best wishes,
Taco

___
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
___


Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau

On 30/06/21 12:59, denis.ma...@unibe.ch wrote:

Hi,


-Ursprüngliche Nachricht-
Von: ntg-context  Im Auftrag von Ágoston Volcz
Gesendet: Mittwoch, 30. Juni 2021 10:20
An:ntg-context@ntg.nl
Betreff: [NTG-context] Different authorconversion for citation alternatives and
bibliographic entries

Hi there,

My university has special requirements for the theses I submit.
Layout, fonts etc. are pretty straightforward to set up in ConTeXt.
The one part I'm struggling with is citations / bibliography.
I have to use the german citation style with footnotes. Essentially the first 
time I
cite something, I have to put the full entry in a footnote. From the second time
on, I only have to put a shorter entry in the footnotes.

Is this first citation vs other citations thing currently possible with ConTeXt? I was 
thinking that there was no proper support for note style citations in ConTeXt? Has that 
changed? I remember reading the phrase "We may add additional citation styles if 
there demand and clear requirements exist." So what's the current state of affairs 
here?

Denis


Indeed (one can always use \footnote{} but that might not be a good 
substitute for a proper footnote citation style.


I do not use footnote citations as a general style (and personally 
dislike it, finding them somewhat distracting and sloppy). Yet these are 
popular in many fields and there is no reason not to support it.


--
Alan
___
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
___


Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread denis.maier


> Von: Hans Hagen 
> 
> On 6/30/2021 4:57 PM, denis.ma...@unibe.ch wrote:
> >
> [...]
> >
> > Will this interfere with how parts are displayed in the regular table
> > of contents?
> 
> sure but you can group
> 
> \start
>.. flush the list
> \stop
> 
> although it's not really needed when you do this at the end of the document

Hmm, but don't you usually style thing before \starttext? (Ok, you can use 
setups to keep the definitions in one place.)

> 
> > 2. Does this treat endnotes just like a list entry, with page numbers
> > and so?
> 
> indeed

Ok, so you cannot use the regular \setupnotation[endnote][settings] for styling 
the endnotes?

Denis

___
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
___


Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread denis.maier
Hi,

> -Ursprüngliche Nachricht-
> Von: ntg-context  Im Auftrag von Ágoston Volcz
> Gesendet: Mittwoch, 30. Juni 2021 10:20
> An: ntg-context@ntg.nl
> Betreff: [NTG-context] Different authorconversion for citation alternatives 
> and
> bibliographic entries
> 
> Hi there,
> 
> My university has special requirements for the theses I submit.
> Layout, fonts etc. are pretty straightforward to set up in ConTeXt.
> The one part I'm struggling with is citations / bibliography.
> I have to use the german citation style with footnotes. Essentially the first 
> time I
> cite something, I have to put the full entry in a footnote. From the second 
> time
> on, I only have to put a shorter entry in the footnotes.

Is this first citation vs other citations thing currently possible with 
ConTeXt? I was thinking that there was no proper support for note style 
citations in ConTeXt? Has that changed? I remember reading the phrase "We may 
add additional citation styles if there demand and clear requirements exist." 
So what's the current state of affairs here?

Denis 



___
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
___


Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Wolfgang Schuster

Alan Braslau schrieb am 30.06.2021 um 20:40:

On 30/06/21 12:25, Hans Hagen wrote:

On 6/30/2021 7:35 PM, Alan Braslau wrote:

On 29/06/21 05:52, Hans Hagen wrote:

well, you ask for nothyphenated; we could define

\permanent\protected\def\-%
   {\begingroup
\hyphenationmode\explicithyphenationmodecode\explicitdiscretionary
    \endgroup}

i will ponder this


I believe that \- defines an *optional* hyphenation point.
Specifying nothyphenated should not hyphenate, even at optional points.
The author can otherwise use hyphenated and arrange to help the 
words get hyphenated at certain points.


Perhaps a new "optional" hyphenation point macro can be added that 
would have super-powers to override the align parameter. There would 
be no surprises using such a feature.

We can't use \= unless we drop the \= being macros (anyone using that?)

We can also use \+ which currently is just "+" because it needs some 
value (sometimes it gets a local meaning).


So here is something to ponder:

\pushoverloadmode \unprotect

 \permanent\protected\def\superexplicitdiscretionary
   {\begingroup
\hyphenationmode\explicithyphenationmodecode\explicitdiscretionary
    \endgroup}

\aliased\let\lang_explicit_discretionary_nop\explicitdiscretionary

 \permanent\protected\def\lang_explicit_discretionary_yes-%
   {\superexplicitdiscretionary}

 \permanent\protected\def\-%

{\doifelsenextcharcs-\lang_explicit_discretionary_yes\lang_explicit_discretionary_nop} 



 \protect \popoverloadmode

 \nohyphens \hsize 1mm

 test\-test \par test\--test

\stoptext


\= macron accent (bar) should not be changed.

\-- is a good suggestion, like insisting, and should not get confused 
with -- (en dash).


Is there some problem to make it just another option.

\enabledirectives[hyphenators.discretionary=hyphenated|nothyphenated]

Wolfgang

___
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
___


Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Alan Braslau

On 30/06/21 12:25, Hans Hagen wrote:

On 6/30/2021 7:35 PM, Alan Braslau wrote:

On 29/06/21 05:52, Hans Hagen wrote:

well, you ask for nothyphenated; we could define

\permanent\protected\def\-%
   {\begingroup
    \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary
    \endgroup}

i will ponder this


I believe that \- defines an *optional* hyphenation point.
Specifying nothyphenated should not hyphenate, even at optional points.
The author can otherwise use hyphenated and arrange to help the words 
get hyphenated at certain points.


Perhaps a new "optional" hyphenation point macro can be added that 
would have super-powers to override the align parameter. There would 
be no surprises using such a feature.

We can't use \= unless we drop the \= being macros (anyone using that?)

We can also use \+ which currently is just "+" because it needs some 
value (sometimes it gets a local meaning).


So here is something to ponder:

\pushoverloadmode \unprotect

     \permanent\protected\def\superexplicitdiscretionary
   {\begingroup
    \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary
    \endgroup}

     \aliased\let\lang_explicit_discretionary_nop\explicitdiscretionary

     \permanent\protected\def\lang_explicit_discretionary_yes-%
   {\superexplicitdiscretionary}

     \permanent\protected\def\-%

{\doifelsenextcharcs-\lang_explicit_discretionary_yes\lang_explicit_discretionary_nop} 



     \protect \popoverloadmode

     \nohyphens \hsize 1mm

     test\-test \par test\--test

\stoptext


\= macron accent (bar) should not be changed.

\-- is a good suggestion, like insisting, and should not get confused 
with -- (en dash).



--
Alan
___
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
___


Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Hans Hagen

On 6/30/2021 7:35 PM, Alan Braslau wrote:

On 29/06/21 05:52, Hans Hagen wrote:

well, you ask for nothyphenated; we could define

\permanent\protected\def\-%
   {\begingroup
    \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary
    \endgroup}

i will ponder this


I believe that \- defines an *optional* hyphenation point.
Specifying nothyphenated should not hyphenate, even at optional points.
The author can otherwise use hyphenated and arrange to help the words 
get hyphenated at certain points.


Perhaps a new "optional" hyphenation point macro can be added that would 
have super-powers to override the align parameter. There would be no 
surprises using such a feature.

We can't use \= unless we drop the \= being macros (anyone using that?)

We can also use \+ which currently is just "+" because it needs some 
value (sometimes it gets a local meaning).


So here is something to ponder:

\pushoverloadmode \unprotect

\permanent\protected\def\superexplicitdiscretionary
  {\begingroup
   \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary
   \endgroup}

\aliased\let\lang_explicit_discretionary_nop\explicitdiscretionary

\permanent\protected\def\lang_explicit_discretionary_yes-%
  {\superexplicitdiscretionary}

\permanent\protected\def\-%

{\doifelsenextcharcs-\lang_explicit_discretionary_yes\lang_explicit_discretionary_nop}

\protect \popoverloadmode

\nohyphens \hsize 1mm

test\-test \par test\--test

\stoptext



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
example.tex
```
\startbuffer[example]
@book{book,
author = {First Last},
title = {Title},
subtitle = {Subtitle},
publisher = {Publisher},
address = {City},
year = {2021} }
\stopbuffer

\usebtxdataset[example.buffer]
\usebtxdefinitions[deu]

\starttext

\cite[entry][book]

\cite[authortitle][book]

\placelistofpublications

\stoptext
```
publ-imp-deu.mkvi
```
\startbtxrenderingdefinitions[deu]
\definebtx
[deu]
[default=default, specification=deu]
\definebtxrendering
[deu]
[specification=deu, sorttype={author,title}, numbering=num]
\definebtx
[deu:list]
[deu]
\definebtx
[deu:list:author]
[deu:list]
[authorconversion=normal]
\definebtx
[deu:list:book]
[deu]
\definebtx
[deu:cite]
[deu]
\definebtx
[deu:cite:authortitle]
[deu]
[authorconversion=normalshort]

\startsetups btx:deu:list:book
\btxflush{author}\btxcolon\btxflush{title}\btxperiod
\btxdoif{subtitle}{\btxflush{subtitle}\btxperiod}
\btxflush{address}\btxcolon\btxflush{publisher}
\btxflush{year}\btxperiod
\stopsetups

\startsetups btx:deu:cite:authortitle
\btxflush{author}\btxcolon\btxflush{title}\btxperiod
\btxdoif{subtitle}{\btxflush{subtitle}\btxperiod}
\stopsetups
\stopbtxrenderingdefinitions
```

This is the shortest example I could get, some lines got very long but
I did not want it be too many lines. If I compile this, I get:
(First Last: Title. Subtitle. City: Publisher 2021.)
First Last: Title. Subtitle.
1 First Last: Title. Subtitle. City: Publisher 2021.

Agoston

Am Mi., 30. Juni 2021 um 19:26 Uhr schrieb Alan Braslau
:
>
> On 30/06/21 02:20, Ágoston Volcz wrote:
> > 2. Entries in the bibliography and fist time citations must have
> > 'normal' authorconversion, while consequent citations must have
> > 'normalshort'. For consequent citations I defined the 'authortitle'
> > alternative.
> > In the thesis I have:
> > ```
> > \usebtxdataset[default][literature.bib]
> > \usebtxdefinitions[deu]
> > \setupbtx[deu]
> > ```
> > A snippet from the publ-imp-deu.mkvi:
> > ```
> > \definebtx
> >  [deu:list]
> >  [deu]
> >  [authorconversion=normal]
> >
> > \definebtx
> >  [deu:cite]
> >  [deu]
> >  [authorconversion=normalshort,
> >   alternative=authortitle]
> >
> > \startsetups btx:deu:list:book
> > {\sc \btxflush{author}}\btxcolon \btxflush{title}
> > \btxdoif{subtitle}{\btxperiod\btxflush{subtitle}}\btxperiod
> > \btxflush{address}\btxcolon \btxflush{publisher} \btxflush{year}
> > \btxdoif{series}{ (\btxflush{series} \btxflush{volume})}\btxperiod
> > \stopsetups
> >
> > ```
> > In the setup and definition, the fields I defined do get into the
> > citation correctly, but the authorconversion remains 'normal'. If I
> > comment out the lines which set up 'normal' authorconversion for the
> > list, everything, including the bibliography and 'entry' type
> > citations get 'normalshort'. Is that a bug or am I missing something?
>
> I am not sure that I understand your snippet (a mwe would be useful).
> However, it appears that your setup is for the "list" rendering of a
> book, and you do specify authorconversion=normal for lists.
>
> Keep in mind that the bibliography system uses inheritance so it is
> important to set options in the right places. Once everything gets
> initialized, changing a higher-level parameter might not propagate to
> lower-level instances if they have already been defined, the inheritance
> taking place at definition time.
>
> --
> Alan
___
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
___


Re: [NTG-context] Call for papers: CG journal 2020

2021-06-30 Thread Henning Hraban Ramm
And since Taco reminded you to register for ConTeXt meeting 2021, I’m reminding 
you to hand in your articles for the journal, otherwise we don’t have anything 
to hand out in Bassenge...

Hraban

> Am 11.06.2021 um 18:47 schrieb Henning Hraban Ramm :
> 
> Hi, do you remember our ConTeXt meeting 2020 in Sibřina?
> 
> There were some interesting talks and presentations that should get preserved 
> in our current journal (to be distributed at the meeting in Bassenge this 
> fall).
> 
> Also, additional articles are always welcome – there were a lot of 
> interesting new features and solutions since then.
> 
> So far, I/we got only one(!) article, by Taco on MetaPost.
> 
> 
> Please don’t let me/us down and hand in your articles until end of July (but 
> ASAP)!
> 
> @Harald: Please send the latest version of your German report, too! I’ll 
> translate it into ConTeXt.
> 
> 
> Thank you – I’m looking forward to another interesting issue of CG journal!
> 
> Yours, Hraban
> 
> ___
> 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
> ___

___
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
___


Re: [NTG-context] 15th International ConTeXt Meeting (early bird closes)

2021-06-30 Thread Bruce Horrocks

> On 30 Jun 2021, at 15:23, Taco Hoekwater  wrote:
> 
> Just a quick reminder that early bird registration for the ConTeXt meeting 
> 2021
> in Bassenge officially ends today. I’ll be a bit lenient about the actual 
> money 
> transfer, but you should fill in the registration form today or at the very 
> last
> tomorrow, if you want to be eligible for the early bird discount.
> 
>   https://meeting.contextgarden.net/
> 
> In other news, there is now an abstracts page with lots of talk topics added 
> by Hans himself. Check that out as well!

In other news the early bird deadline in the table header row on the linked 
page is 11th July.

;-)

—
Bruce Horrocks
Hampshire, UK

___
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
___


Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Alan Braslau

On 29/06/21 05:52, Hans Hagen wrote:

well, you ask for nothyphenated; we could define

\permanent\protected\def\-%
   {\begingroup
    \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary
    \endgroup}

i will ponder this


I believe that \- defines an *optional* hyphenation point.
Specifying nothyphenated should not hyphenate, even at optional points.
The author can otherwise use hyphenated and arrange to help the words 
get hyphenated at certain points.


Perhaps a new "optional" hyphenation point macro can be added that would 
have super-powers to override the align parameter. There would be no 
surprises using such a feature.


--
Alan
___
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
___


Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau

On 30/06/21 02:20, Ágoston Volcz wrote:

2. Entries in the bibliography and fist time citations must have
'normal' authorconversion, while consequent citations must have
'normalshort'. For consequent citations I defined the 'authortitle'
alternative.
In the thesis I have:
```
\usebtxdataset[default][literature.bib]
\usebtxdefinitions[deu]
\setupbtx[deu]
```
A snippet from the publ-imp-deu.mkvi:
```
\definebtx
 [deu:list]
 [deu]
 [authorconversion=normal]

\definebtx
 [deu:cite]
 [deu]
 [authorconversion=normalshort,
  alternative=authortitle]

\startsetups btx:deu:list:book
{\sc \btxflush{author}}\btxcolon \btxflush{title}
\btxdoif{subtitle}{\btxperiod\btxflush{subtitle}}\btxperiod
\btxflush{address}\btxcolon \btxflush{publisher} \btxflush{year}
\btxdoif{series}{ (\btxflush{series} \btxflush{volume})}\btxperiod
\stopsetups

```
In the setup and definition, the fields I defined do get into the
citation correctly, but the authorconversion remains 'normal'. If I
comment out the lines which set up 'normal' authorconversion for the
list, everything, including the bibliography and 'entry' type
citations get 'normalshort'. Is that a bug or am I missing something?


I am not sure that I understand your snippet (a mwe would be useful).
However, it appears that your setup is for the "list" rendering of a 
book, and you do specify authorconversion=normal for lists.


Keep in mind that the bibliography system uses inheritance so it is 
important to set options in the right places. Once everything gets 
initialized, changing a higher-level parameter might not propagate to 
lower-level instances if they have already been defined, the inheritance 
taking place at definition time.


--
Alan
___
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
___


Re: [NTG-context] path for custom files (was Different authorconversion for citation alternatives and bibliographic entries)

2021-06-30 Thread Hans Hagen

On 6/30/2021 7:00 PM, Jan U. Hasecke wrote:


Sorry for hijacking this thread.

Am 30.06.21 um 18:06 schrieb Hans Hagen:

or just tex/texmf-project/


What is the difference between

tex/texmf-local
tex/texmf-project

if $TEXMFHOME/tex/context/personal/ gets scanned every run?

Any recommandations what to store where?

texmf-local   : maybe configurations
texmf-project : stuff you're working on (styles)
texmf-fonts   : fonts you downloaded or bought

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen

This is the right test:

\setuphead[part][placehead=yes]

\setupnotations
  [endnote]
  [way=bypart]

\setupnotes
  [endnote]
  [location=list]

\starttext

\part{First Part}

asdf\endnote{asdf}
jklö\endnote{jklö}

\part{Second Part}

asdf\endnote{asdf}
jklö\endnote{jklö}

\page

\setuplist
  [part]
  [after={\blank[samepage,big]\placelist[endnote]}]

\blank

\placelist
  [part]
  [criterium=all]

\blank

\placelist
  [endnote]
  [criterium=text]

\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen

On 6/30/2021 4:57 PM, denis.ma...@unibe.ch wrote:


Cool. Thanks. So again something to be wikified.

Two questions related to this relying on the list mechanism:

1. You use this to flush the notes

\setuplist

    [part]

    [after={\blank[samepage,big]\placelist[endnote][criterium=part]}]

\placelist

    [part]

[criterium=all]

Will this interfere with how parts are displayed in the regular table of 
contents?


sure but you can group

\start
  .. flush the list
\stop

although it's not really needed when you do this at the end of the document

2. Does this treat endnotes just like a list entry, with page numbers 
and so?


indeed


And, something seems to e wrong with the numbering of the notes:

The endnote marks in the text are correct.


i need to check that, we actually need a dedicated list handler

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Hans Hagen

On 6/30/2021 1:28 PM, Ágoston Volcz wrote:

Thank you! I've moved the files into
$TEXMFHOME/tex/context/personal/... and updated the database. This
solved the first part of the problem perfectly
Hopefully there is also a solution to the second issue.

or just tex/texmf-project/

because home gets scanned every run



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread denis.maier


> -Ursprüngliche Nachricht-

> Von: Hans Hagen 

> Gesendet: Mittwoch, 30. Juni 2021 11:28

> An: Maier, Denis Christian (UB) ; mailing list for

> ConTeXt users 

> Betreff: Re: AW: [NTG-context] Heading for endnotes / grouped by chapter

> endnotes

>

> On 6/30/2021 10:06 AM, denis.ma...@unibe.ch wrote:

> >> -Ursprüngliche Nachricht-

> >> Von: Hans Hagen 

> >> Gesendet: Dienstag, 29. Juni 2021 16:20

> >> An: mailing list for ConTeXt users ; Maier, Denis

> >> Christian

> >> (UB) 

> >> Betreff: Re: [NTG-context] Heading for endnotes / grouped by chapter

> >> endnotes

> >>

> >> On 6/29/2021 12:53 PM, denis.ma...@unibe.ch wrote:

> >>> Hi,

> >>>

> >>> may I reask the question from below? Would be really great if

> >>> something grouped endnotes were possible...

> >>

> >> i need some lines to the code base for that (everything is actually

> >> already in place to support that)

> >>

> > [...]

> >

> > That looks very promising. Would be great if that missing piece could be

> added!

> it's in the latest



Cool. Thanks. So again something to be wikified.

Two questions related to this relying on the list mechanism:



1. You use this to flush the notes

\setuplist

   [part]

   [after={\blank[samepage,big]\placelist[endnote][criterium=part]}]



\placelist

   [part]

   [criterium=all]

Will this interfere with how parts are displayed in the regular table of 
contents?



2. Does this treat endnotes just like a list entry, with page numbers and so?



And, something seems to e wrong with the numbering of the notes:

[cid:image001.png@01D76DD1.032A3850]



The endnote marks in the text are correct.



Best,

Denis





>

>

> -

>Hans Hagen | PRAGMA ADE

>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

> -
___
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
___


[NTG-context] 15th International ConTeXt Meeting (early bird closes)

2021-06-30 Thread Taco Hoekwater

Hi all,

Just a quick reminder that early bird registration for the ConTeXt meeting 2021
in Bassenge officially ends today. I’ll be a bit lenient about the actual money 
transfer, but you should fill in the registration form today or at the very last
tomorrow, if you want to be eligible for the early bird discount.

   https://meeting.contextgarden.net/

In other news, there is now an abstracts page with lots of talk topics added 
by Hans himself. Check that out as well!

   https://meeting.contextgarden.net/2021/abstracts.shtml

Finally: this year for the first time we do have a (small) bursary fund.
Applications can be added in the remark fields of the registration page, or
by sending a message directly to me.

I can't wait to see (some of) you in person in Bassenge!

Best wishes,
Taco

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
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
___


Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
Thank you! I've moved the files into
$TEXMFHOME/tex/context/personal/... and updated the database. This
solved the first part of the problem perfectly
Hopefully there is also a solution to the second issue.

Agoston
___
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
___


Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Aditya Mahajan
On Wed, 30 Jun 2021, Ágoston Volcz wrote:

> Hi there,
> 
> My university has special requirements for the theses I submit.
> Layout, fonts etc. are pretty straightforward to set up in ConTeXt.
> The one part I'm struggling with is citations / bibliography.
> I have to use the german citation style with footnotes. Essentially
> the first time I cite something, I have to put the full entry in a
> footnote. From the second time on, I only have to put a shorter entry
> in the footnotes.
> I have two problems:
> 
> 1. I created the publ-imp-deu.lua and publ-imp-deu.mkvi files. If I
> put them into the
> ~/bin/context/tex/texmf-context/tex/context/base/mkiv/ directory, I
> get the following two lines in the log:
> ```
> publications> unknown library 'deu'
> publications> no data definition file 'publ-imp-deu.lua' for 'deu'
> ```
> If I put them into the directory where my thesis is, they seem to get
> recognized, but I would very much like to reuse them and not have to
> copy them to each project directory. What am I doing wrong?

Try running mtxrun --generate to update the database.

However, I think that texmf-context/... is a bad place to put local files 
because they can be overwritten by system update. It may be better to put them 
in $TEXMFHOME/tex/context/personal/...

Aditya___
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
___


Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen

On 6/30/2021 10:06 AM, denis.ma...@unibe.ch wrote:

-Ursprüngliche Nachricht-
Von: Hans Hagen 
Gesendet: Dienstag, 29. Juni 2021 16:20
An: mailing list for ConTeXt users ; Maier, Denis Christian
(UB) 
Betreff: Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

On 6/29/2021 12:53 PM, denis.ma...@unibe.ch wrote:

Hi,

may I reask the question from below? Would be really great if
something grouped endnotes were possible...


i need some lines to the code base for that (everything is actually already in
place to support that)


[...]

That looks very promising. Would be great if that missing piece could be added!

it's in the latest


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


[NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
Hi there,

My university has special requirements for the theses I submit.
Layout, fonts etc. are pretty straightforward to set up in ConTeXt.
The one part I'm struggling with is citations / bibliography.
I have to use the german citation style with footnotes. Essentially
the first time I cite something, I have to put the full entry in a
footnote. From the second time on, I only have to put a shorter entry
in the footnotes.
I have two problems:

1. I created the publ-imp-deu.lua and publ-imp-deu.mkvi files. If I
put them into the
~/bin/context/tex/texmf-context/tex/context/base/mkiv/ directory, I
get the following two lines in the log:
```
publications> unknown library 'deu'
publications> no data definition file 'publ-imp-deu.lua' for 'deu'
```
If I put them into the directory where my thesis is, they seem to get
recognized, but I would very much like to reuse them and not have to
copy them to each project directory. What am I doing wrong?

2. Entries in the bibliography and fist time citations must have
'normal' authorconversion, while consequent citations must have
'normalshort'. For consequent citations I defined the 'authortitle'
alternative.
In the thesis I have:
```
\usebtxdataset[default][literature.bib]
\usebtxdefinitions[deu]
\setupbtx[deu]
```
A snippet from the publ-imp-deu.mkvi:
```
\definebtx
[deu:list]
[deu]
[authorconversion=normal]

\definebtx
[deu:cite]
[deu]
[authorconversion=normalshort,
 alternative=authortitle]

\startsetups btx:deu:list:book
{\sc \btxflush{author}}\btxcolon \btxflush{title}
\btxdoif{subtitle}{\btxperiod\btxflush{subtitle}}\btxperiod
\btxflush{address}\btxcolon \btxflush{publisher} \btxflush{year}
\btxdoif{series}{ (\btxflush{series} \btxflush{volume})}\btxperiod
\stopsetups

```
In the setup and definition, the fields I defined do get into the
citation correctly, but the authorconversion remains 'normal'. If I
comment out the lines which set up 'normal' authorconversion for the
list, everything, including the bibliography and 'entry' type
citations get 'normalshort'. Is that a bug or am I missing something?

Thank you,
Agoston
___
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
___


Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread denis.maier
> -Ursprüngliche Nachricht-
> Von: Hans Hagen 
> Gesendet: Dienstag, 29. Juni 2021 16:20
> An: mailing list for ConTeXt users ; Maier, Denis 
> Christian
> (UB) 
> Betreff: Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes
> 
> On 6/29/2021 12:53 PM, denis.ma...@unibe.ch wrote:
> > Hi,
> >
> > may I reask the question from below? Would be really great if
> > something grouped endnotes were possible...
> 
> i need some lines to the code base for that (everything is actually already in
> place to support that)
> 
[...]

That looks very promising. Would be great if that missing piece could be added!

Thanks for your help
Denis

> 
> Hans
> 
> 
> > Best
> >
> > Denis
> >
> > *Von:*ntg-context  *Im Auftrag von
> > *denis.ma...@unibe.ch
> > *Gesendet:* Donnerstag, 24. Juni 2021 13:05
> > *An:* ntg-context@ntg.nl
> > *Betreff:* [NTG-context] Heading for endnotes / grouped by chapter
> endnotes
> >
> > Hi,
> >
> > I have two questions regarding endnotes:
> >
> > 1. Is there a way to add a heading automatically to the endnotes placed
> > with \placenotes[endnote]?
> >
> > 2. I reset the endnote number at each part. Is there a way to insert the
> > title of the corresponding part heading to the endnotes?
> >
> > I have searched the wiki and the mailing list, and I've found two
> > relevant questions, but no answers.
> >
> > https://www.mail-archive.com/ntg-context@ntg.nl/msg68490.html
> > 
> >
> > https://www.mail-archive.com/ntg-context@ntg.nl/msg34163.html
> > 
> >
> > Best,
> >
> > Denis
> >
> > ===
> >
> > \setuphead[part][placehead=yes]
> >
> > \setupnotation
> >
> >    [endnote]
> >
> >    [way=bypart]
> >
> > \starttext
> >
> > \part{First Part}
> >
> > asdf\endnote{asdf}
> >
> > jklö\endnote{jklö}
> >
> > \part{Second Part}
> >
> > asdf\endnote{asdf}
> >
> > jklö\endnote{jklö}
> >
> > \placenotes[endnote]
> >
> > \stoptext
> >
> > =
> >
> >
> >
> 
> ___
> > 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
> >
> 
> ___
> >
> 
> 
> --
> 
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
___
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
___