Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Aditya Mahajan via ntg-context
On Sat, 8 Jan 2022, Joel via ntg-context wrote:

> I created a table that has some cells span multiple rows. This works good 
> with cells that span an odd-number of rows, but when I try to span 4 rows, 
> the text isn't quite vertically centered. How can I get the cell with the 
> text "Archaeon Eon" to be a little lower, so it is centered within its box?

I would also recommend natural tables. But, for tables, you can use 
\Lower(dims){} to improve vertical alignment. For example:

\starttext

\starttable[|c|c|]
\NC {\bf Eons} \NC {\bf Eras} \NC \AR
\HL
\NC Hadeon Eon \VL \NC \AR
\HL
\NC \VL Eoarchean Era \NC \AR
\DC \DL[1] \DR
\NC \Lower(1\lineheight){Archaeon Eon} \VL Paleoarchean Era \NC \AR
\DC \DL[1] \DR
\NC \VL Mesoarchean Era \NC \AR
\DC \DL[1] \DR
\NC \VL Neoarchean Era \NC \AR

\HL\NC \VL Paleoproterozoic Era \NC \AR
\DC \DL[1] \DR
\NC Proterozoic Eon \VL Mesoproterozoic Era \NC \AR
\DC \DL[1] \DR
\NC \VL Neoproterozoic Era \NC \AR
\HL


\HL\NC \VL Paleozoic Era \NC \AR
\DC \DL[1] \DR
\NC Phanerozoic Eon \VL Mesozoic Era \NC \AR
\DC \DL[1] \DR
\NC \VL Cenozoic Era \NC \AR
\HL
\stoptable

\stoptext


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] How to create cell data that spans four rows in a table?

2022-01-08 Thread Joel via ntg-context
 Thank you! The code is much easier to understand than the other way I was 
trying to use.
--Joel

On Saturday, January 8, 2022, 04:00:12 PM MST, Willi Egger via ntg-context 
 wrote:  
 
 I would suggest not to use \starttable at all.

To me the most suitable table environment for such a table is \bTABLE \eTABLE. 
It gives you all kind of control over layout, dimensions, frames on and off etc.

\setupTABLE[c][1][leftframe=off,width=40mm]
\setupTABLE[c][2][rightframe=off, width=60mm]
\setupTABLE[c][each][align={lohi,center}]
\bTABLE
    \bTR
        \bTD {\bf Eons}\eTD \bTD {\bf Eras} \eTD
    \eTR
    \bTR
        \bTD  Hadeon Eon \eTD \bTD \eTD
    \eTR
    \bTR
        \bTD[ny=4] Archanon Eon  \eTD \bTD Eoarchean Era \eTD
    \eTR
    \bTR
        \bTD Paleoarchean Era \eTD
    \eTR
    \bTR
        \bTD Mesoarchean Era \eTD 
    \eTR
    \bTR
        \bTD Neoarchean Era \eTD
    \eTR
    \bTR
        \bTD[ny=3] Proterozoic Eon \eTD    \bTD Paleoproterozoic Era \eTD
    \eTR
    \bTR    
        \bTD Mesoproterozoic Era \eTD
    \eTR
    \bTR
        \bTD Neoproterozoic Era\eTD
    \eTR
    \bTR
        \bTD[ny=3] Phanerozoic Eon \eTD \bTD Paleozoic Era \eTD
    \bTR    
        \bTD Mesozoic Era\eTD
    \eTR
    \bTR
        \bTD Cenozoic Era \eTD
    \eTR
\eTABLE

Willi

> On 8 Jan 2022, at 22:39, Joel via ntg-context  wrote:
> 
> I created a table that has some cells span multiple rows. This works good 
> with cells that span an odd-number of rows, but when I try to span 4 rows, 
> the text isn't quite vertically centered. How can I get the cell with the 
> text "Archaeon Eon" to be a little lower, so it is centered within its box?
> 
> --Joel
> 
> Minimum working example:
> 
> \starttext
> 
> \starttable[|c|c|]
> \NC {\bf Eons} \NC {\bf Eras} \NC \AR
> \HL
> \NC Hadeon Eon \VL \NC \AR
> \HL
> \NC \VL Eoarchean Era \NC \AR
> \DC \DL[1] \DR
> \NC \smash{Archaeon Eon} \VL Paleoarchean Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Mesoarchean Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Neoarchean Era \NC \AR
> 
> \HL\NC \VL Paleoproterozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC Proterozoic Eon \VL Mesoproterozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Neoproterozoic Era \NC \AR
> \HL
> 
> 
> \HL\NC \VL Paleozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC Phanerozoic Eon \VL Mesozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Cenozoic Era \NC \AR
> \HL
> \stoptable
> 
> \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
> ___

___
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] How to create cell data that spans four rows in a table?

2022-01-08 Thread Willi Egger via ntg-context
I would suggest not to use \starttable at all.

To me the most suitable table environment for such a table is \bTABLE \eTABLE. 
It gives you all kind of control over layout, dimensions, frames on and off etc.

\setupTABLE[c][1][leftframe=off,width=40mm]
\setupTABLE[c][2][rightframe=off, width=60mm]
\setupTABLE[c][each][align={lohi,center}]
\bTABLE
\bTR
\bTD {\bf Eons}\eTD \bTD {\bf Eras} \eTD
\eTR
\bTR
\bTD  Hadeon Eon \eTD \bTD \eTD
\eTR
\bTR
\bTD[ny=4] Archanon Eon  \eTD \bTD Eoarchean Era \eTD
\eTR
\bTR
\bTD Paleoarchean Era \eTD
\eTR
\bTR
\bTD Mesoarchean Era \eTD 
\eTR
\bTR
\bTD Neoarchean Era \eTD
\eTR
\bTR
\bTD[ny=3] Proterozoic Eon \eTD \bTD Paleoproterozoic Era \eTD
\eTR
\bTR
\bTD Mesoproterozoic Era \eTD
\eTR
\bTR
\bTD Neoproterozoic Era\eTD
\eTR
\bTR
\bTD[ny=3] Phanerozoic Eon \eTD \bTD Paleozoic Era \eTD
\bTR
 \bTD Mesozoic Era\eTD
\eTR
\bTR
\bTD Cenozoic Era \eTD
\eTR
\eTABLE

Willi

> On 8 Jan 2022, at 22:39, Joel via ntg-context  wrote:
> 
> I created a table that has some cells span multiple rows. This works good 
> with cells that span an odd-number of rows, but when I try to span 4 rows, 
> the text isn't quite vertically centered. How can I get the cell with the 
> text "Archaeon Eon" to be a little lower, so it is centered within its box?
> 
> --Joel
> 
> Minimum working example:
> 
> \starttext
> 
> \starttable[|c|c|]
> \NC {\bf Eons} \NC {\bf Eras} \NC \AR
> \HL
> \NC Hadeon Eon \VL \NC \AR
> \HL
> \NC \VL Eoarchean Era \NC \AR
> \DC \DL[1] \DR
> \NC \smash{Archaeon Eon} \VL Paleoarchean Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Mesoarchean Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Neoarchean Era \NC \AR
> 
> \HL\NC \VL Paleoproterozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC Proterozoic Eon \VL Mesoproterozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Neoproterozoic Era \NC \AR
> \HL
> 
> 
> \HL\NC \VL Paleozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC Phanerozoic Eon \VL Mesozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Cenozoic Era \NC \AR
> \HL
> \stoptable
> 
> \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
> ___

___
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] How to create cell data that spans four rows in a table?

2022-01-08 Thread Joel via ntg-context
I created a table that has some cells span multiple rows. This works good with 
cells that span an odd-number of rows, but when I try to span 4 rows, the text 
isn't quite vertically centered. How can I get the cell with the text "Archaeon 
Eon" to be a little lower, so it is centered within its box?
--Joel
Minimum working example:
\starttext

\starttable[|c|c|]
\NC {\bf Eons} \NC {\bf Eras} \NC \AR
\HL
\NC Hadeon Eon \VL \NC \AR
\HL
\NC \VL Eoarchean Era \NC \AR
\DC \DL[1] \DR
\NC \smash{Archaeon Eon} \VL Paleoarchean Era \NC \AR
\DC \DL[1] \DR
\NC \VL Mesoarchean Era \NC \AR
\DC \DL[1] \DR
\NC \VL Neoarchean Era \NC \AR

\HL\NC \VL Paleoproterozoic Era \NC \AR
\DC \DL[1] \DR
\NC Proterozoic Eon \VL Mesoproterozoic Era \NC \AR
\DC \DL[1] \DR
\NC \VL Neoproterozoic Era \NC \AR
\HL


\HL\NC \VL Paleozoic Era \NC \AR
\DC \DL[1] \DR
\NC Phanerozoic Eon \VL Mesozoic Era \NC \AR
\DC \DL[1] \DR
\NC \VL Cenozoic Era \NC \AR
\HL
\stoptable

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


Re: [NTG-context] Critical Editions?

2022-01-08 Thread BPJ via ntg-context
Den lör 8 jan. 2022 12:44Jean-Pierre Delange via ntg-context <
ntg-context@ntg.nl> skrev:

> Luigi,
>
> Thank you for the link.
>
> Unfortunately this site mentions some typesetting work for research on
> Stoicism (and other stuff) and on uploading the manuscripts of the English
> philosopher John Locke, but apparently some links are dead and the
> maintenance of the site seems to have stopped since ... 2011 .
>
Maybe that is why they talk about "special TeX fonts"? Surely today they
would use an engine which can use conventional Unicode fonts directly?


But maybe Hans knows these people?
>
> see here : https://www.tatzetwerk.nl/projects.php?lang=en#h3
>
> These fellows seem to work for Brepols and Oxford >University Press
> asswell as Utrecht University.
>
> Read this curious assertion (curious because the text mention an invisible
> project) :
> "Stoa Project
>
> The Stoa Project, which is carried out by the history working group of the 
> Department
> of philosophy  of Utrecht University, will lead
> to a renewed publication of text fragments of the early Stoa, represented
> by philosophers such as Zeno, Chrysippus and Cleanthes. Very little of our
> knowledge about the Stoa comes from primary sources; most of what we know
> about it has been derived from secondary sources. Our most important
> sources are other philosophers and doxographers, who have cited and
> paraphrased the learnings of the early Stoa. Through modern research on
> doxographic traditions and republications of many of the sources, the
> current publication of this material, J. von Arnim’s Stoicorum Veterum
> Fragmenta (1903-1924) has become outdated.
>
> TAT Zetwerk’s role in this project is managing the FileMaker database that
> contains Stoic text fragments (mainly in ancient Greek) accompanied by text
> critical and historic-philosophical notes, an English translation, and meta
> data. As soon as the text parts in the database have reached their final
> form, we convert them into a TeX-format, so that we can generate a mirrored
> critical edition. We can then create indices and concordances by using the
> meta data from the database. Currently, the Stoa Project does not have its
> own website."
> If I understand, TAT Zetwerk manage Apple FileMaker database of pieces of
> Stoicorum Fragmenta texts (von Arnim edition) in order to convert them in
> TeX form (with critical apparatus...). But they give no sample.
>
>
> Le 07/01/2022 à 18:35, luigi scarso via ntg-context a écrit :
>
>
>
> On Fri, Jan 7, 2022 at 6:25 PM hanneder--- via ntg-context <
> ntg-context@ntg.nl> wrote:
>
>>
>> Probably the situation in South Asian Studies (Indology) is peculiar.
>> As I indicated, there are mostly no  budgets for book typesetting in
>> Indology and
>> I know of no real expert for typesetting in this field. In other
>> words, the authors
>> have do it themselves, usually in Word etc., but some do use TeX etc.
>> Our publications
>> series (Indologica Marpurgensia) is, for instance, all done with
>> LaTeX, as are my publications
>> with Harrassowitz, which is the largest publisher in our field in
>> Germany. There is no institution
>> offering typesetting of Sanskrit editions, because there is no
>> commercial interest in it and I
>> think there is no expertise for this (especially when Indian scripts
>> are used instead of transliteration).
>>
>> Journals are different. Indological journals published by Brill use
>> TeX internally, which is convenient,
>> but most others know only Word (->InDesign). That is the situation,
>> frustrating in a way, but it also
>> gives some freedom for using TeX (and, sadly, creating one's own
>> dilettantic designs).
>>
>> Jürgen
>>
>
> perhaps this can be interesting
> https://www.tatzetwerk.nl/
> (seen them at a context meeting years ago)
>
>
> --
> luigi
>
> ___
> 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
> ___
>
> --
> Jean-Pierre Delange
> Agrégé de philosophie
> Ancients&Moderns
> "Few discoveries are more irritating than those which expose the pedigree of 
> ideas" - Lord Acton
>
>
> ___
> 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] Critical Editions?

2022-01-08 Thread Jean-Pierre Delange via ntg-context

Thanks Hans for this detailed informations !


Le 08/01/2022 à 14:03, Hans Hagen via ntg-context a écrit :

On 1/8/2022 12:40 PM, Jean-Pierre Delange via ntg-context wrote:

Luigi,

Thank you for the link.

Unfortunately this site mentions some typesetting work for research 
on Stoicism (and other stuff) and on uploading the manuscripts of the 
English philosopher John Locke, but apparently some links are dead 
and the maintenance of the site seems to have stopped since ... 2011 
. But maybe Hans knows these people?
It's a small dutch typesetting company doing work for afaik publishere 
in the the humanities and they are speciaized in non latin scripts 
(read: whatever can't be outsourced to large scale service 
far-far-away). They use their own plain tex macros (understandable and 
possible because no publishere can force to use a macro package for 
tricky typesetting).


They do indic scripts and Kai made the first version of the devanagari 
code for the context fontloader code that I then optimized. Over the 
years we improved that (this also relates to better specs showing up 
and more fonts; the reference for rendering is microsoft uniscribe). 
We also stepwise improved the more complex bits and pieces of handling 
discretionaries with extensive (and complex) latin fonts (that they 
use and can test) as well as some fuzzy arabic fonts. it is the main 
reason why we have the generic font loader (i.e. most of the context 
fontloader works with plain (as we ship it) including some of the 
fancy stuff; latex used that code too but with patches and layers 
around it and maybe not all features but it switched to using libraries).


So, indeed I know these (two) people,

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
___ 
begin:vcard
fn:Jean-Pierre Delange
n:Delange;Jean-Pierre
org;quoted-printable:Acad=C3=A9mie de Versailles
email;internet:adeiman...@free.fr
title;quoted-printable:Agr=C3=A9g=C3=A9 de philosophie
tel;cell:0673947496
x-mozilla-html:FALSE
version:2.1
end:vcard

___
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] \its disappeared

2022-01-08 Thread Henning Hraban Ramm via ntg-context

Am 08.01.22 um 17:34 schrieb Wolfgang Schuster:

Henning Hraban Ramm via ntg-context schrieb am 08.01.2022 um 16:53:
strc-itm.mklx

-\protected\tolerant\def\strc_itemgroups_start_items_indeed[#1]%
+\protected\tolerant\def\strc_itemgroups_start_items[#1]%


Thank you for the quick fix!

It’s also absent in the interface files, i.e. autosyntax doesn’t work 
in the wiki.


There is no easy way to document them because many of these short 
commands exists in different environment (e.g. \startitemize and 
\startinteractionmenu) with different arguments.


I understand.

But at least I can keep the example in my book.

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
___


Re: [NTG-context] \its disappeared

2022-01-08 Thread Wolfgang Schuster via ntg-context

Henning Hraban Ramm via ntg-context schrieb am 08.01.2022 um 16:53:


I don’t know since when the questionnaire item command \its doesn’t 
exist any more:

https://wiki.contextgarden.net/Command/its

\starttext
\startitemize[5,packed][items=7,width=5em,distance=1em]
 \ran{\ss\tfx 1 \hss 7}
 \its \CONTEXT\ or \LaTeX?
 \its Tofu or sausage?
 \its Freedom or security?
\stopitemize
\stoptext



strc-itm.mklx

-\protected\tolerant\def\strc_itemgroups_start_items_indeed[#1]%
+\protected\tolerant\def\strc_itemgroups_start_items[#1]%
  {\strc_itemgroups_start_edge
 {\localcontrolledloop
\plusone
\ifchknum#1\or#1\else0\itemgroupparameter\c!items\fi
\plusone
{\strc_itemgroups_used_symbol\hss}%
  \unskip}}


It’s also absent in the interface files, i.e. autosyntax doesn’t work in 
the wiki.



There is no easy way to document them because many of these short 
commands exists in different environment (e.g. \startitemize and 
\startinteractionmenu) with different arguments.


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
___


[NTG-context] descriptions with long titles

2022-01-08 Thread Henning Hraban Ramm via ntg-context

Hi again,

I tried to use a description for a list of organizations with partly 
long titles.


* title and description should both use linebreaking (works)
* title should have a fixed width (doesn’t work)
* description should run beside a multi-line title, without a gap 
(doesn’t work)


Is this possible, and how?

-
\mainlanguage[de]
\setuppapersize[A5]
\definedescription[Desc][
  headstyle=bold,
  style=normal,
  align={flushleft,nothyphenated},
  headalign={flushleft,nothyphenated},
  alternative=hanging,
  width=.33\textwidth]

\starttext
\subject{Friedensnobelpreisträger}

\Desc{\fr Quartet du dialogue national} (2015) für seinen entscheidenden 
Beitrag zum Aufbau einer pluralistischen Demokratie in Tunesien infolge 
der Jasminrevolution des Jahres 2011.


\Desc{\es Juan Manuel Santos} (2016) für seine entschlossenen 
Anstrengungen, den mehr als 50 Jahre andauernden Bürgerkrieg in 
Kolumbien zu beenden.


\Desc{Internationale Kampagne zur Abschaffung von Atomwaffen} (2017) für 
ihre Arbeit, Aufmerksamkeit auf die katastrophalen humanitären 
Konsequenzen von Atomwaffen zu lenken und für ihre bahnbrechenden 
Bemühungen, ein vertragliches Verbot solcher Waffen zu erreichen.


\stoptext
-

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
___


[NTG-context] \its disappeared

2022-01-08 Thread Henning Hraban Ramm via ntg-context


I don’t know since when the questionnaire item command \its doesn’t 
exist any more:

https://wiki.contextgarden.net/Command/its

\starttext
\startitemize[5,packed][items=7,width=5em,distance=1em]
\ran{\ss\tfx 1 \hss 7}
\its \CONTEXT\ or \LaTeX?
\its Tofu or sausage?
\its Freedom or security?
\stopitemize
\stoptext


It’s also absent in the interface files, i.e. autosyntax doesn’t work in 
the wiki.


Is there a better alternative?

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
___


Re: [NTG-context] Critical Editions?

2022-01-08 Thread Hans Hagen via ntg-context

On 1/8/2022 12:40 PM, Jean-Pierre Delange via ntg-context wrote:

Luigi,

Thank you for the link.

Unfortunately this site mentions some typesetting work for research on 
Stoicism (and other stuff) and on uploading the manuscripts of the 
English philosopher John Locke, but apparently some links are dead and 
the maintenance of the site seems to have stopped since ... 2011 . But 
maybe Hans knows these people?
It's a small dutch typesetting company doing work for afaik publishere 
in the the humanities and they are speciaized in non latin scripts 
(read: whatever can't be outsourced to large scale service 
far-far-away). They use their own plain tex macros (understandable and 
possible because no publishere can force to use a macro package for 
tricky typesetting).


They do indic scripts and Kai made the first version of the devanagari 
code for the context fontloader code that I then optimized. Over the 
years we improved that (this also relates to better specs showing up and 
more fonts; the reference for rendering is microsoft uniscribe). We also 
stepwise improved the more complex bits and pieces of handling 
discretionaries with extensive (and complex) latin fonts (that they use 
and can test) as well as some fuzzy arabic fonts. it is the main reason 
why we have the generic font loader (i.e. most of the context fontloader 
works with plain (as we ship it) including some of the fancy stuff; 
latex used that code too but with patches and layers around it and maybe 
not all features but it switched to using libraries).


So, indeed I know these (two) people,

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] next version

2022-01-08 Thread Hans Hagen via ntg-context

Hi,

In case I forget (and someone is in wikify mode) ... the next upload 
will have a new command:


  test \diagnostic {here 1} test
  test \diagnostic[2]  {here 2} test
  test \diagnostic[.05]{here 3} test

which will show up as

  [[diagnostic]]  > here 1
  [[diagnostic]]  > here 2 (sleep: 2)
  [[diagnostic]]  > here 3 (sleep: 0.05)

and which can be used for debugging styles. It might evolve.

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] TEST criticus apparatus with line numbering in footnotes

2022-01-08 Thread Jean-Pierre Delange via ntg-context
The numbering of lines works fine on MacOS High Sierra and on Linux x64: 
under linux x64 my CTX version is current version: 2020.01.30 and for 
MacOS : 2021.12.30.


Now, I have to play in order to get a two columns of different texts 
with a critical apparatus in footnotes on the basis of this code 
(I've enriched the didascalies for people who are fresh beginners):



\mainlanguage[la] % Définition du latin comme langue principale du 
document/Latin as main language.


\setupbodyfontenvironment[default][em=italic]

\setuplayout[header=2cm, footer=2cm] % Paramétrage de la page;

\setuplinenumbering[step=5] % La sortie PDF comportera une numérotation 
des lignes de 5 en 5; on peut régler de 1 à 10/Ruling linenumbering from 
1 to 10.


\setupnotations[alternative=serried] % On définit le caractère 
séquentiel des notes/ Definethe sequential mode of the notes.


\definelinenote[aNote] % Plusieurs manières d'afficher les notes ici, 
notamment en une ou en plusieurs colonnes (n=2, ou n=3)/Several ways to 
display the notes here, especially in one or more columns (n ​​= 2, or n 
= 3)


\definelinenote[bNote][n=2]

\definelinenote[cNote][n=3]

\definelinenote[dNote][paragraph=yes] % Les notes se suivent sur la même 
ligne/this option allow notes following on the same line .


\def\ANote#1#2{#1\aNote{#1] #2}}

\def\BNote#1#2{#1\bNote{#1] #2}}

\def\CNote#1#2{#1\cNote{#1] #2}}

\def\DNote#1#2{#1\dNote{#1] #2}}

\setupbodyfont[palatino, 7.8pt]

\starttext

\startlanguage[fr] % On indique à ConTeXt que l'on veut ici du texte en 
français (ou 'en' pour l'anglais)/We tell ConTeXt that we want text here 
in French (or 'en' for English/It is not the same as the \fallback command.


{\em Définir un apparat critique et le mettre en page avec un traitement 
de texte courant est un véritable casse-tête. \type{LaTeX} et 
\type{ConTeXt} offrent des outils d'automatisation encore assez mal 
connus dans la communauté des éditeurs, notamment dans l'édition 
savante, pour la collation et la comparaison de textes médiévaux}.\par


\stoplanguage

\startlinenumbering

\dorecurse{6}% À utiliser seulement pour répéter le paragraphe suivant, 
ici 6 fois/use thiscommand only to repeat the next paragraph, here 6 times.


{Cum defensionum \CNote{laboribus}{première note} senatoriisque

muneribus aut omnino aut magna ex parte essem aliquando liberatus,

rettuli me, Brute, te hortante maxime ad ea studia, quae retenta

animo, remissa temporibus, longo intervallo intermissa revocavi, et

cum omnium artium, quae ad rectam vivendi viam pertinerent,

\ANote{ratio}{seconde note} et disciplina studio sapientiae, quae

philosophia dicitur, contineretur, hoc mihi Latinis litteris

\DNote{inlustrandum}{troisième note} putavi, non quia

\BNote{philosophia}{quatrième note} Graecis et litteris et doctoribus

percipi non posset, sed meum semper iudicium fuit omnia nostros aut

invenisse per se sapientius quam Graecos aut accepta ab illis

fecisse meliora, quae quidem digna statuissent, in quibus

elaborarent.\par}

\stoplinenumbering

\stoptext

Le 06/01/2022 à 17:56, Pablo Rodriguez via ntg-context a écrit :

On 1/6/22 2:09 PM, Jean-Pierre Delange via ntg-context wrote:

I’ve tested the attached file on MacOS (High Sierra) . See the
result in PDF : the numbering of notes appears as « ? ».

Jean-Pierre,

your code contains "\start\fr" with no matching "\stop".

I wonder whether "\startlanguage[fr] ... \stoplanguage" would be more
readable.


The same file works fine under Linux.

Line numbering couldn’t be solved by ConTeXt (I’m on Linux 64bit).

I hope it helps,

Pablo

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


--
Jean-Pierre Delange
Agrégé de philosophie
Ancients&Moderns
"Few discoveries are more irritating than those which expose the pedigree of 
ideas" - Lord Acton
___
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] Critical Editions?

2022-01-08 Thread Jean-Pierre Delange via ntg-context

Luigi,

Thank you for the link.

Unfortunately this site mentions some typesetting work for research on 
Stoicism (and other stuff) and on uploading the manuscripts of the 
English philosopher John Locke, but apparently some links are dead and 
the maintenance of the site seems to have stopped since ... 2011 . But 
maybe Hans knows these people?


see here : https://www.tatzetwerk.nl/projects.php?lang=en#h3

These fellows seem to work for Brepols and Oxford >University Press 
asswell as Utrecht University.


Read this curious assertion (curious because the text mention an 
invisible project) :


"Stoa Project

The Stoa Project, which is carried out by the history working group of 
the Department of philosophy  of Utrecht 
University, will lead to a renewed publication of text fragments of the 
early Stoa, represented by philosophers such as Zeno, Chrysippus and 
Cleanthes. Very little of our knowledge about the Stoa comes from 
primary sources; most of what we know about it has been derived from 
secondary sources. Our most important sources are other philosophers and 
doxographers, who have cited and paraphrased the learnings of the early 
Stoa. Through modern research on doxographic traditions and 
republications of many of the sources, the current publication of this 
material, J. von Arnim’s Stoicorum Veterum Fragmenta (1903-1924) has 
become outdated.


TAT Zetwerk’s role in this project is managing the FileMaker database 
that contains Stoic text fragments (mainly in ancient Greek) accompanied 
by text critical and historic-philosophical notes, an English 
translation, and meta data. As soon as the text parts in the database 
have reached their final form, we convert them into a TeX-format, so 
that we can generate a mirrored critical edition. We can then create 
indices and concordances by using the meta data from the database. 
Currently, the Stoa Project does not have its own website."


If I understand, TAT Zetwerk manage Apple FileMaker database of pieces 
of Stoicorum Fragmenta texts (von Arnim edition) in order to convert 
them in TeX form (with critical apparatus...). But they give no sample.



Le 07/01/2022 à 18:35, luigi scarso via ntg-context a écrit :



On Fri, Jan 7, 2022 at 6:25 PM hanneder--- via ntg-context 
 wrote:



Probably the situation in South Asian Studies (Indology) is peculiar.
As I indicated, there are mostly no  budgets for book typesetting in
Indology and
I know of no real expert for typesetting in this field. In other
words, the authors
have do it themselves, usually in Word etc., but some do use TeX etc.
Our publications
series (Indologica Marpurgensia) is, for instance, all done with
LaTeX, as are my publications
with Harrassowitz, which is the largest publisher in our field in
Germany. There is no institution
offering typesetting of Sanskrit editions, because there is no
commercial interest in it and I
think there is no expertise for this (especially when Indian scripts
are used instead of transliteration).

Journals are different. Indological journals published by Brill use
TeX internally, which is convenient,
but most others know only Word (->InDesign). That is the situation,
frustrating in a way, but it also
gives some freedom for using TeX (and, sadly, creating one's own
dilettantic designs).

Jürgen


perhaps this can be interesting
https://www.tatzetwerk.nl/
(seen them at a context meeting years ago)

--
luigi

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


--
Jean-Pierre Delange
Agrégé de philosophie
Ancients&Moderns
"Few discoveries are more irritating than those which expose the pedigree of 
ideas" - Lord Acton
___
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] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-08 Thread Hans Hagen via ntg-context

On 1/7/2022 10:39 PM, J. P. Ascher wrote:

in that case you can best use a rather bare font i.e. no features at
all apart from kerning and use dynamic features grouped

in lmtx there are other tricks too

\noleftligaturing
\norightligaturing
\noligaturing

and other conbtrols like

\noleftkerning
etc


This is very useful.  I'm thinking of writing an environment that
switches: I like keeping the ease of typing normal characters, rather
than getting glyphs directly, because it's easier to proof on screen in
the editor.


writing about reproduced in my work and thus now can in the historical
item itself.


one aspect is how ligatures are made: some fonts have single shapes,
others use replacements and kerning of (then) multiple shapes


I think you wrote about this somewhere else and it got me interested in
physical type from my period: it looks like some printers did some of
the same things, sometimes!  You might have a box of pre-composed
ligatures, or not; you might take a knife to some letters to tweak them
for specific uses, or not; you might even shave wrong-sized letters to
fit them in where they don't belong.  Those shaved down letters could
end up back with their siblings, now shifting around during printing, or
they could be tossed.

The pre-composed ligatures might most often be made on matrices struck
with the same punches as for the non-ligatured glyphs, but typefounders
might re-strike matries now and then, so you might end up with slightly
different pre-composed ligatures in different, or even the same, fount
of type.  It's nuts!

Fred Smeijers writes about this a little bit in *Counterpunch*, but
I had already started thinking about it because of ConTeXt.

I wouldn't have known to look if it weren't for the typographical
education you and your colleagues pass around; so, thank you again!
One problem with writing about things related to fonts is that when a 
font changes rendering changes 9this is a pain for manuals or articles 
that then no longer show examplex right)


for that reason one needs to

- save a font, best rename it
- define fonts by filename
- make sure that font specific manipulations are also saved

Fonts more and more have become like programs. In the past a font never 
changed (even expensive fonts had no update policy like programs do) but 
with open type fonts became way less stable especially free ones 
(vendors still freeze and then just sell them). Add to that forking, 
abandoning etc. With complex features being used, and features not 
always being applied consistently (bascially we have 1-1, 1-many, 
many-1, many-many mapping plus contextual lookups) we can expect bugs 
and they get fixed or not. It also depends on views of designer, 
programs being used to make them, programs used to test them, all of 
which can change over time, so in a way fonts have become less stable (a 
bit like hyphenation patterns as more fluid resource). At some point we 
can expect bug(let)s or imperfections to stay and adapt to that (as we 
do with math now). (This is not new: for a long time tex users had to 
deal with computer modern fonts with basically only proper kerning for 
english.)


Add to that evolving technologies (color fonts, image based ones e.g. 
emoji, variable fonts) that show up, then need fonts, where often the 
first ones are not okay, so bug show up, features changes, specs become 
better (or worse), bugs become features when programs compensate for 
issues, often a side effect of release before maturing (the haste of/on 
the web) but all that can settle after a decade (because in the tex 
world we talk decades anyway). In context so far we managed to keep up 
with e.g. color fonts, variables fonts pretty early (we were one of the 
first to actually typeset with variable fonts) but that of course also 
comes a price of later adaptation (when fonts show up, specs become 
clear). Here definitely a longer time scale matters so using such fonts 
in a project is more tricky for various reasons.


The best would be if we had a repository for context where we put fonts 
(clean file names, maybe with normalized version/date in file name) that 
we can then trust to stay the same. In that case a typescript and lua 
extensions can check for versions reliable.


(We might do that for math to start with.)

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/c

Re: [NTG-context] Why mtxrun fails ?

2022-01-08 Thread juh via ntg-context
Am Freitag, dem 07.01.2022 um 23:01 +0100 schrieb Jean-Pierre Delange
via ntg-context:
> Hello !
> Sorry for this newbie question : I’ve just uploaded CTX on my new
> MacOS (High Sierra), and when I pass the command mtxrun —generate or
> any other option with mtxrun, I get this : -bash: mtxrun: command not
> found
> 
> I did that before :  echo "export
> PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH"
> >> ~/.bashrc
> 
> What I am missing ?

Have you sourced .bashrc

source ~/.bashrc

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
___