Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
Alan,

I'm attaching the two master files used for the following (also ran
cross refs between
each vol.):

Murugaiyan, Appasamy & Parlier-Renault, Édith (2021) (Eds) Whispering
of Inscriptions:
South Indian Epigraphy and Art History: Papers from an International
Symposium in
memory of Professor Noboru Karashima (Paris, 12–13 October 2017).
Oxford: Indica et
Buddhica. (2 vols)

https://indica-et-buddhica.com/publications/murugaiyan-appasamy-parlier-renault-edith/whispering-of-inscriptions-south-indian-epigraphy-and-art-history


Best, Richard


-- 
T +6433121699  M +64210640216
rmaho...@indica-et-buddhica.org
https://indica-et-buddhica.com/

Indica et Buddhica
Littledene  Bay Road  Oxford  NZ
NZBN: 9429041761809


-Original Message-
From: Alan Braslau via ntg-context 
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users 
Cc: Alan Braslau 
Subject: [NTG-context] Structure: multi-volume products
Date: Thu, 15 Dec 2022 20:23:36 -0700
Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
X-Spam-Score: 0.0

Hello,

I have a book project that is being cut into two volumes (because it
is
too long and will be sold as a boxed set).

Each volume is presently a separate *product* in the project
structure.
I presently set the counters in the second volume using:

\setupheadnumber
  [part] [2]

\setupheadnumber
  [chapter] [5]

(I have multiple [5] parts in the project, and the first volume ends
with part 2 and chapter 5.)


1) Is this the right way to be handling this?

2) Any suggestions on how I can put a Table of Contents for the first
volume in the second volume?

Thanks!

Alan
__
_
If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl /
https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
__
_

% master000.tex – ConTeXt MkIV Module

\startproduct master000

\project iebpmonographs

\environment ieb-c-layout-000

\environment monograph-local-layout

\usemodule[statistical-charts]

% \enabletrackers[typesetters.suspects]

% \showbodyfont

% \showbodyfontenvironment

\useexternaldocument[m001][master001][Whispering of Inscriptions,
Vol.~{\sc ii}]


\startfrontmatter

\component tlpg000

{

\setupheadtext[content=Contents of Vol.~i.]

\setupheadertexts[Contents of
Vol.~i.][pagenumber][pagenumber][Contents of Vol.~i.]

\noheaderandfooterlines

\completecontent

\PY

\PB

}

{

\setupheadtext[tables=Tables of Vol.~i.]

\setupheadertexts[Tables of Vol.~i.][pagenumber][pagenumber][Tables
of Vol.~i.]

\noheaderandfooterlines

\completelistoftables

\PY

\PB

}

{

\setupheadtext[figures=Figures of Vol.~i.]

\setupheadertexts[Figures of Vol.~i.][pagenumber][pagenumber][Figures
of Vol.~i.]

\noheaderandfooterlines

\completelistoffigures

\PY

}

\component ackn % A. Murugaiyan & E. Parlier-Renault

\component pref % A. Murugaiyan & E. Parlier-Renault

\component intr % Y. Subbarayalu

\stopfrontmatter


\startbodymatter

\setcounter[userpage][1]

\component chp02 % Y. Subbarayalu

\component chp01 % V. Gillet

\component chp03 % G. Vijayavenugopal

\component chp04 % E. Francis

\component chp05 % N. Athiyaman

\component chp06 % V. Selvakumar

\component chp07 % S. Rajavelu

\component chp08 % A. Murugaiyan

\component chp09 % S. Brocquet

\stopbodymatter


% \startbackmatter

% \component indx

% \stopbackmatter


\stopproduct
% master001.tex – ConTeXt MkIV Module

\startproduct master001

\project iebpmonographs

\environment ieb-c-layout-001

\environment monograph-local-layout

% \enabletrackers[typesetters.suspects]

% \showbodyfont

% \showbodyfontenvironment

\useexternaldocument[m000][master000][Whispering of Inscriptions,
Vol.~{\sc i}]


\startfrontmatter

\component tlpg001

{

\setupheadtext[content=Contents of Vol.~ii.]

\setupheadertexts[Contents of
Vol.~ii.][pagenumber][pagenumber][Contents of Vol.~ii.]

\noheaderandfooterlines

\completecontent

\PY

\PB

}

{

\setupheadtext[tables=Tables of Vol.~ii.]

\setupheadertexts[Tables of Vol.~ii.][pagenumber][pagenumber][Tables
of Vol.~ii.]

\noheaderandfooterlines

\completelistoftables

\PY

\PB

}

{

\setupheadtext[figures=Figures of Vol.~ii.]

\setupheadertexts[Figures of
Vol.~ii.][pagenumber][pagenumber][Figures of Vol.~ii.]

\noheaderandfooterlines

\completelistoffigures

\PY

}

\stopfrontmatter


\startbodymatter

\setcounter[userpage][1]

\component chp10 % P. Estienne

\component chp11 % V. Renganathan

\component chp12 % C. Schmid

\component chp13 % K. Rajan

\component chp14 % A. Davrinche

\component chp15 % M. Le Sauce-Carnis

\component chp16 % V. Olivier

\component chp17 % K. Ladrech

\component chp18 % E. Parlier-Renault


Re: [NTG-context] Space after Round bracket before Punctuation

2020-07-09 Thread Richard Mahoney | Indica et Buddhica
Thank you Hans, this was very helpful. I found that the following
worked (apart from in two or three cases):

\startluacode
 fonts.handlers.otf.addfeature {
 name = "iebpkerns",
 type = "kern",
 data = {
 [")"] = {
 [","] = -80,
 ["."] = -80,
 [":"] = -80,
 [";"] = -80,
 [")"] = -80,
 ["]"] = -80,
 },
 ["]"] = {
 [","] = -80,
 ["."] = -80,
 [":"] = -80,
 [";"] = -80,
 [")"] = -80,
 ["]"] = -80,
         },
     },
 }
\stopluacode




Best, Richard




-Original Message-
From: Hans Hagen 
To: mailing list for ConTeXt users , Richard
Mahoney | Indica et Buddhica 
Subject: Re: [NTG-context] Space after Round bracket before
Punctuation
Date: Thu, 9 Jul 2020 12:21:02 +0200
Mailer: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0)
Gecko/20100101
 Thunderbird/68.10.0
X-Spam-Score: 0.0

On 7/9/2020 11:59 AM, Richard Mahoney | Indica et Buddhica wrote:
> I'm typesetting some proceedings which include a good number of
> roundbrackets followed by punctuation. This often occurs in the body
> of thetext, but also in the hand coded bibliographies, e.g.:
> ) plus . , ; :
> The trouble is that excessive space is often introduced between
> thebracket and the punctuation. I can control the excessive space
> thatsometimes occurs between ) and . by using )\periods[1], although
> thisruins the protrusion if it occurs at the end of a line.
> Does anyone know how I might be able to somehow "tie" ) to . , ; :
> sothat the distance remains reasonable, and so that protrusion
> stillworks?
you first have to make an MWE that demonstrates how protrusion works
here ... then we can see how we can best deal with it
Anyway, often tricks for this can be found in the test suite of font
manual(s) ... here is a variant ...
\startluacode fonts.handlers.otf.addfeature { name =
"mykerns", type = "kern", data =
{ [")"] = { [","] =
-300, ["."] = -300, [":"] =
-250, [";"] = -250, [")"] =
-100, }, }, }\stopluacode
\definefontfeature[default][default][mykerns=true]
\setupbodyfont [dejavu,12pt]
\startTEXpage[offset=10pt] whatever), whatever): whatever)
; whatever). whatever))\stopTEXpage
Hans
-------
--           Hans Hagen | PRAGMA
ADE   Ridderstraat 27 | 8061 GH Hasselt | The
Netherlandstel: 038 477 53 69 | www.pragma-ade.nl | 
www.pragma-pod.nl
-
-- 
Richard Mahoney | Indica et Buddhica
Littledene Bay Road Oxford NZT: +64 3 312 1699 M: +64 210 640 216IM: @rmahoney 
https://t.me/rmahoneyrmaho...@indica-et-buddhica.org
https://indica-et-buddhica.org/
___
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] Space after Round bracket before Punctuation

2020-07-09 Thread Richard Mahoney | Indica et Buddhica
I'm typesetting some proceedings which include a good number of round
brackets followed by punctuation. This often occurs in the body of the
text, but also in the hand coded bibliographies, e.g.:

) plus . , ; :

The trouble is that excessive space is often introduced between the
bracket and the punctuation. I can control the excessive space that
sometimes occurs between ) and . by using )\periods[1], although this
ruins the protrusion if it occurs at the end of a line.

Does anyone know how I might be able to somehow "tie" ) to . , ; : so
that the distance remains reasonable, and so that protrusion still
works?


Best, Richard




-- 
Richard Mahoney | Indica et Buddhica
Littledene Bay Road Oxford NZT: +64 3 312 1699 M: +64 210 640 216IM: @rmahoney 
https://t.me/rmahoneyrmaho...@indica-et-buddhica.org
https://indica-et-buddhica.org/
___
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] Indenting entries in the table of contents?

2020-03-21 Thread Richard Mahoney | Indica et Buddhica

This is what I'm using at the moment:

% Tables of Contents

\setuplist[part][textstyle={\sl},pagestyle={\tf}]

\setuplist[chapter][textstyle={\sl},pagestyle={\tf},label=yes,width=fi
t,stopper=~~]

\setuplist[section][width=42pt,margin=10pt,style={\tf}]

\setuplist[subsection][width=42pt,margin=18pt,style={\tf}]

\setupcombinedlist[content][alternative=c,aligntitle=no,width=2.5em,li
st={part,chapter,section,subsection}]



Best, Richard



-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 

-Original Message-
From: Henning Hraban Ramm 
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users 
Subject: Re: [NTG-context] Indenting entries in the table of contents?
Date: Sat, 21 Mar 2020 09:15:12 +0100
Mailer: Apple Mail (2.3445.104.11)

> Am 2020-03-21 um 03:10 schrieb T. Kurt Bond :
> 
> I'd like subsection entries in the table of contents to be indented
> slightly, and subsubsection entries to be indented slightly more,
> and subsubsubsection entries to be indented some more.
> 
> Is there any way to do this?

It’s not obvious in https://wiki.contextgarden.net/Table_of_Contents
but you need
\setuplist[subsection][margin=2cm]  etc.

see
https://wiki.contextgarden.net/Command/setuplist



Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

__
_
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] [Fwd: Re: upload]

2020-02-11 Thread Richard Mahoney | Indica et Buddhica
Actually, I've just seen that the file that seemed to be causing the
issue:

error loading file: util-tab.lua 

contains the following:




400 Bad Request

Bad Request
Your browser sent a request that this server could not
understand.


Apache Server at 87.195.107.53 Port 80

/home/rbm49/lmtx/tex/texmf-context/tex/context/base/mkiv/util-tab.lua
byte 289/289 (END)


I installed, and reinstalled, the update using lmtx "install.sh". Was
"util-tab.lua" not in the archive by any chance?


Best, Richard



-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 

 Forwarded Message ----
From: Richard Mahoney | Indica et Buddhica <
r.maho...@indica-et-buddhica.org>
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] upload
Date: Wed, 12 Feb 2020 10:09:42 +1300
Mailer: Evolution 3.32.5 
Organization: Indica et Buddhica

With the latest just uploaded I'm running into the following on Linux,
after trying all these:

mtxrun --script cache --erase --make

mtxrun --generate

context --make

I've also tried manually deleting the cache but the result is the
same.


Does anyone know what might be wrong?


I'm attaching the log.


Best, Richard




-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 

-Original Message-
From: Hans Hagen 
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users , Floris van 
Manen 
Subject: Re: [NTG-context] upload
Date: Tue, 11 Feb 2020 20:07:39 +0100
Mailer: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) 
Gecko/20100101
 Thunderbird/68.4.2

On 2/11/2020 5:18 PM, Floris van Manen wrote:
> On 11-02-2020 17:00, Hans Hagen wrote:
> > - support for ecmascript for those who think thayt javascript is
> > better
> > than lua (of course only to find out at some point that it's not
> > true in
> > the perspective of context but it migh tmake a transition easier).
> > For
> > the impatient:
> > 
> > http://www.pragma-ade.com/general/manuals/ecmascript-mkiv.pdf
> 
> to (further) promote the usage of lua, it might help if the examples
> given in the pdf documentation will also include the (better) lua
> version...
sure but actually it can be that users have (or find) javascript code 
someplace that can help them do something without conversion (and 
introducing errors) ... of course assuming proper ecmascript

the interface in lmtx provides a way to pipe into tex (with catcode 
support) as well as access to files in the tex ecosystem (controlled)
so 
it just provides the few interfaces needed on top of a basic engine 
conforming the 'standard'

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
__
_
mtx-context | warning: no format found, forcing remake (commandline driven)
resolvers   | resolving | configuration files already identified
resolvers   | resolving | loading configuration file 'selfautoparent:/texmf/web2c/texmfcnf.lua'
resolvers   | resolving |
resolvers   | resolving | locating list of 'home:texmf' (runtime) (tree:///home:texmf)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 'tree', argument 'tree:///home:texmf'
resolvers   | trees | locator 'home:texmf' not found
resolvers   | resolving | locating list of 'selfautoparent:texmf-project' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-project'
resolvers   | files | file locator 'selfautoparent:texmf-project' found as '/home/rbm49/lmtx/tex/texmf-project'
resolvers   | resolving | locating list of 'selfautoparent:texmf-fonts' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-fonts'
resolvers   | files | file locator 'selfautoparent:texmf-fonts' found as '/home/rbm49/lmtx/tex/texmf-fonts'
resolvers   | resolving | locating list of 'selfautoparent:texmf-local' (cached

Re: [NTG-context] upload

2020-02-11 Thread Richard Mahoney | Indica et Buddhica

With the latest just uploaded I'm running into the following on Linux,
after trying all these:

mtxrun --script cache --erase --make

mtxrun --generate

context --make

I've also tried manually deleting the cache but the result is the
same.


Does anyone know what might be wrong?


I'm attaching the log.


Best, Richard




-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 

-Original Message-
From: Hans Hagen 
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users , Floris van 
Manen 
Subject: Re: [NTG-context] upload
Date: Tue, 11 Feb 2020 20:07:39 +0100
Mailer: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) 
Gecko/20100101
 Thunderbird/68.4.2

On 2/11/2020 5:18 PM, Floris van Manen wrote:
> 
> On 11-02-2020 17:00, Hans Hagen wrote:
> > - support for ecmascript for those who think thayt javascript is
> > better
> > than lua (of course only to find out at some point that it's not
> > true in
> > the perspective of context but it migh tmake a transition easier).
> > For
> > the impatient:
> > 
> > http://www.pragma-ade.com/general/manuals/ecmascript-mkiv.pdf
> 
> to (further) promote the usage of lua, it might help if the examples
> given in the pdf documentation will also include the (better) lua
> version...
sure but actually it can be that users have (or find) javascript code 
someplace that can help them do something without conversion (and 
introducing errors) ... of course assuming proper ecmascript

the interface in lmtx provides a way to pipe into tex (with catcode 
support) as well as access to files in the tex ecosystem (controlled)
so 
it just provides the few interfaces needed on top of a basic engine 
conforming the 'standard'

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
__
_
mtx-context | warning: no format found, forcing remake (commandline driven)
resolvers   | resolving | configuration files already identified
resolvers   | resolving | loading configuration file 'selfautoparent:/texmf/web2c/texmfcnf.lua'
resolvers   | resolving |
resolvers   | resolving | locating list of 'home:texmf' (runtime) (tree:///home:texmf)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 'tree', argument 'tree:///home:texmf'
resolvers   | trees | locator 'home:texmf' not found
resolvers   | resolving | locating list of 'selfautoparent:texmf-project' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-project'
resolvers   | files | file locator 'selfautoparent:texmf-project' found as '/home/rbm49/lmtx/tex/texmf-project'
resolvers   | resolving | locating list of 'selfautoparent:texmf-fonts' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-fonts'
resolvers   | files | file locator 'selfautoparent:texmf-fonts' found as '/home/rbm49/lmtx/tex/texmf-fonts'
resolvers   | resolving | locating list of 'selfautoparent:texmf-local' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-local'
resolvers   | files | file locator 'selfautoparent:texmf-local' found as '/home/rbm49/lmtx/tex/texmf-local'
resolvers   | resolving | locating list of 'selfautoparent:texmf-modules' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-modules'
resolvers   | files | file locator 'selfautoparent:texmf-modules' found as '/home/rbm49/lmtx/tex/texmf-modules'
resolvers   | resolving | locating list of 'selfautoparent:texmf-context' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-context'
resolvers   | files | file locator 'selfautoparent:texmf-context' found as '/home/rbm49/lmtx/tex/texmf-context'
resolvers   | resolving | locating list of 'selfautoparent:texmf-linux-64' (cached)
reso

Re: [NTG-context] Coding for new Unicode characters

2019-12-28 Thread Richard Mahoney | Indica et Buddhica
Just to say that I seem to have resolved this (& properly I hope).

I read these two pages:

https://www.contextgarden.net/Faking_characters

https://source.contextgarden.net/tex/context/base/mkiv/enco-ini.mkiv?search=textcedilla

and have included the following with my setups:

% Additional Characters
\definecharacter llowmacron {\buildtextmacron l}
\definecharacter Llowmacron {\buildtextmacron L}
\definecharacter nlowmacron {\buildtextmacron n}
\definecharacter Nlowmacron {\buildtextmacron N}
\definecharacter rlowmacron {\buildtextmacron r}
\definecharacter Rlowmacron {\buildtextmacron R}

\define\lLM{\llowmacron}
\define\LLM{\Llowmacron}
\define\nLM{\nlowmacron}
\define\NLM{\Nlowmacron}
\define\rLM{\rlowmacron}
\define\RLM{\Rlowmacron}


This seems to do it, although if there is a better way please feel
free to say.


Best, Richard



-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 

-Original Message-
From: Richard Mahoney | Indica et Buddhica <
r.maho...@indica-et-buddhica.org>
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users 
Subject: [NTG-context] Coding for new Unicode characters
Date: Sun, 29 Dec 2019 12:52:18 +1300
Mailer: Evolution 3.32.4 
Organization: Indica et Buddhica

I am using Latin Modern Roman to typeset some proceedings and need the
following characters in regular, italic, and small caps:

Character: ṉ U+1E49
Name: LATIN SMALL LETTER N WITH LINE BELOW

Character: Ṉ U+1E48
Name: LATIN CAPITAL LETTER N WITH LINE BELOW


Character: ḻ U+1E3B
Name: LATIN SMALL LETTER L WITH LINE BELOW

Character: Ḻ U+1E3A
Name: LATIN CAPITAL LETTER L WITH LINE BELOW


Character: ṟ U+1E5F
Name: LATIN SMALL LETTER R WITH LINE BELOW

Character: Ṟ U+1E5E
Name: LATIN CAPITAL LETTER R WITH LINE BELOW


These characters are available in Computer Modern Unicode (although
not, it seems, in small caps). Still, I would prefer to still with LM.

I'm wondering if there is a way in Context to set up these characters
on the fly, say with something along the lines of "newunicodechar"?

\newunicodechar{}{}

\newunicodechar{ā}{\accent"0304 a}

newunicodechar -- Definitions of the meaning of Unicode characters
https://ctan.org/pkg/newunicodechar?lang=en



Best, Richard



___
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] Coding for new Unicode characters

2019-12-28 Thread Richard Mahoney | Indica et Buddhica
I am using Latin Modern Roman to typeset some proceedings and need the
following characters in regular, italic, and small caps:

Character: ṉ U+1E49
Name: LATIN SMALL LETTER N WITH LINE BELOW

Character: Ṉ U+1E48
Name: LATIN CAPITAL LETTER N WITH LINE BELOW


Character: ḻ U+1E3B
Name: LATIN SMALL LETTER L WITH LINE BELOW

Character: Ḻ U+1E3A
Name: LATIN CAPITAL LETTER L WITH LINE BELOW


Character: ṟ U+1E5F
Name: LATIN SMALL LETTER R WITH LINE BELOW

Character: Ṟ U+1E5E
Name: LATIN CAPITAL LETTER R WITH LINE BELOW


These characters are available in Computer Modern Unicode (although
not, it seems, in small caps). Still, I would prefer to still with LM.

I'm wondering if there is a way in Context to set up these characters
on the fly, say with something along the lines of "newunicodechar"?

\newunicodechar{}{}

\newunicodechar{ā}{\accent"0304 a}

newunicodechar -- Definitions of the meaning of Unicode characters
https://ctan.org/pkg/newunicodechar?lang=en



Best, Richard



-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 
___
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] lmtx

2019-12-11 Thread Richard Mahoney | Indica et Buddhica
Thank you Hans. I've just generated a monograph I'm setting with your
new linux-64 zip. Everything seems just fine, great.


Best, Richard




-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 

-Original Message-
From: Hans Hagen 
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users 
Subject: [NTG-context] lmtx
Date: Thu, 12 Dec 2019 01:37:00 +0100
Mailer: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) 
Gecko/20100101
 Thunderbird/68.3.0

Hi,

The last few days there have been reports about garbled files in the 
lmtx installation so I did some test oinon a linux machine and indeed 
there was some issue (I'm not sure what causes it). Anyway, I made
new 
zips so maybe one needs to reinstall (using the installer zip). It 
installs okay on wsl so probably also on other linuxes.

This version (luametatex 2.03.3) has (again) a little smaller mem 
footprint as I still want it all to perforem ok on relative small 
devices or vm's and as side effect a bit smaller format file, not
that 
that matters much (compared to general mem usage). There is not much
to 
gain anyway, in terms of memory usage and performance so it's more an 
occasional challenge than a neccessity I guess.

Anyway, hopefully nothing got broken. Peter Rolf and I are updating
some 
of the pdf validation related stuff (additional formats), so that can
be 
in flux.

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
__
_
___
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] problem with a new installation of LMTX

2019-12-08 Thread Richard Mahoney | Indica et Buddhica
Hello Hans,

Yes, the Linux install fails as well. I have just tried another. The
output of context --make is attached.

During the install the ascii *.lua files in the following directory --
initially from context-linux-64.zip-- are overwritten by what look
like binaries:

/path/to/lmtx/bin:
  total used in directory 3444 available 236814588
  drwx-- 2 rbm49 rbm494096 Mar  2  2019 .
  drwx-- 4 rbm49 rbm494096 Dec  9 06:59 ..
  -rw--- 1 rbm49 rbm49   16432 Dec  9 06:59 mtx-install.lua
  -rwx-- 1 rbm49 rbm49 2786296 Dec  9 06:59 mtxrun
  -rw--- 1 rbm49 rbm49  696620 Dec  9 06:59 mtxrun.lua

And at the end of the install the following two files also seem to be
binaries (see "no valid format" message in attached log):

/path/to/lmtx/tex/texmf/web2c:
  total used in directory 28 available 236977668
  drwx-- 2 rbm49 rbm49 4096 Dec  9 06:58 .
  drwx-- 6 rbm49 rbm49 4096 Dec  9 06:58 ..
  -rw--- 1 rbm49 rbm49 7500 Dec  9 06:58 texmf.cnf
  -rw--- 1 rbm49 rbm49 8214 Dec  9 06:58 texmfcnf.lua


Best, Richard



-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 

-Original Message-
From: Hans Hagen 
To: Richard Mahoney | Indica et Buddhica <
r.maho...@indica-et-buddhica.org>
Subject: Re: [NTG-context] problem with a new installation of LMTX
Date: Sun, 8 Dec 2019 12:30:32 +0100
Mailer: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) 
Gecko/20100101
 Thunderbird/68.3.0

On 12/8/2019 8:36 AM, Richard Mahoney | Indica et Buddhica wrote:
> Hello Otared,
> 
> "... get overwritten and are modified for some unknown reasons: in
> particular the two lua files become complete garbage…"
> 
> I found the same today under Gentoo Linux, and the same for the lua
> files under (can't check which as I've deleted the install):
> 
> ~/lmtx/tex/texmf-linux-64/bin
so linux install fails too?

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
-
[rbm49@ieb-01000-hp-8570w:1:lmtx] % /home/rbm49/lmtx/tex/texmf-linux-64/bin/context --make

mtxrun  | forcing cache reload
resolvers   | resolving | configuration files already identified
resolvers   | resolving | skipping configuration file 'home:texmf/web2c/texmfcnf.lua' (no valid format)
resolvers   | resolving | skipping configuration file 'selfautoparent:/texmf/web2c/texmfcnf.lua' (no valid format)
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  | the resolver databases are not present or outdated
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-context.lua' using hash 'lua::mtx-context.lua'
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-contexts.lua' using hash 'lua::mtx-contexts.lua'
resolvers   | resolving | remembered file 'mtx-context.lua'
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-t-mtx-context.lua' using hash 'lua::mtx-t-mtx-context.lua'
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-t-mtx-contexts.lua' using hash 'lua::mtx-t-mtx-contexts.lua'
resolvers   | resolving | remembered file 'mtx-t-mtx-context.lua'
resolvers   | resolving | remembered file 'mtx-context.lua'
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'
Title: subscripion control


___
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] problem with a new installation of LMTX

2019-12-07 Thread Richard Mahoney | Indica et Buddhica
Hello Otared,

"... get overwritten and are modified for some unknown reasons: in
particular the two lua files become complete garbage…"

I found the same today under Gentoo Linux, and the same for the lua
files under (can't check which as I've deleted the install):

~/lmtx/tex/texmf-linux-64/bin


Best, Richard



-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 

-Original Message-
From: Otared Kavian 
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users 
Subject: Re: [NTG-context] problem with a new installation of LMTX
Date: Sun, 8 Dec 2019 08:08:11 +0100
Mailer: Apple Mail (2.3445.104.11)

Hi Dalyoung,

I installed MacOS 10.15 Catalina on a partition of my Mac and tried to
install LuaMetaTeX there. I did not succeed … 
Indeed I had to disable completely the Gatekeeper from the Terminal by
issuing the command

sudo spctl --master-disable

(which, one can re-enable again by saying sudo spctl --master-enable).
But the problem is that  after issuing the command

sh install.sh

the three files mtx-install.lua, mtxrun.lua, mtxrun, which are in

/context-osx-64/bin/

get overwritten and are modified for some unknown reasons: in
particular the two lua files become complete garbage… while in MacOS
10.14 these files are unchanged.
So in fact the installation process cannot continue in MacOS 10.15,
and even though the directories in 

/context-osx-64/tex/

are created, the binaries and the formats are not there. I guess other
people on the list may have installed LuaMetaTeX under MacOS 10.15 and
they can help us understand what is going on. 

Later in the day I'll try to understand how to bypass the security
assessments (and the overwrite of the above three files) of MacOS
10.15, and let you know if I find a solution.

Sorry for not being helpful at this point…

Best regards: Otared K.

> On 8 Dec 2019, at 00:20, Jeong Dal  wrote:
> 
> Dear Hans, Otared,
> 
> Thank you for your concern.
> 
> The version of luametatex is 20191206.
> I followed what Otared said, but texmf-cache is not created after
> mtxrun.
> 
> "context —make"  is running, but no format.
> 
> I checked folders after the installation.
> Folders, texmf-cache, texmf-fonts, texmf-local, texmf-modules,
> texmf-project are empty.
> texmf folder contains {fonts,metapost, tex,web2c}
> texmf-context folder contains {colors,context,doc}
> However, I couldn’t find base files, script files, etc.
> Is it normal? Is it related with Catalina?
> 
> Have a nice weekend.
> 
> Best regards,
> 
> Dalyoung
> 
> For reference, here are log of "mtxrun —generate”
> %%
> MacBook ConTeXtLMTX % mtxrun --generate
> resolvers   | resolving | variable 'SELFAUTOLOC' set to
> '/Users/graph/ConTeXtLMTX/tex/texmf-osx-64/bin'
> resolvers   | resolving | variable 'SELFAUTODIR' set to
> '/Users/graph/ConTeXtLMTX/tex/texmf-osx-64'
> resolvers   | resolving | variable 'SELFAUTOPARENT' set to
> '/Users/graph/ConTeXtLMTX/tex'
> resolvers   | resolving | variable 'TEXMFCNF' set to ''
> resolvers   | resolving | variable 'TEXMF' set to ''
> resolvers   | resolving | variable 'TEXOS' set to 'texmf-osx-64'
> resolvers   | resolving |
> resolvers   | resolving | using configuration specification
> 'home:texmf/web2c;selfautoparent:/texmf-
> local/web2c;selfautoparent:/texmf-
> context/web2c;selfautoparent:/texmf-
> dist/web2c;selfautoparent:/texmf/web2c'
> resolvers   | resolving |
> resolvers   | resolving | looking for regular 'texmfcnf.lua' on
> given path '/Users/graph/texmf/web2c' from specification
> 'home:texmf/web2c'
> resolvers   | resolving | looking for regular 'texmfcnf.lua' on
> given path '/Users/graph/ConTeXtLMTX/tex/texmf-local/web2c' from
> specification 'selfautoparent:/texmf-local/web2c'
> resolvers   | resolving | looking for regular 'texmfcnf.lua' on
> given path '/Users/graph/ConTeXtLMTX/tex/texmf-context/web2c' from
> specification 'selfautoparent:/texmf-context/web2c'
> resolvers   | resolving | looking for regular 'texmfcnf.lua' on
> given path '/Users/graph/ConTeXtLMTX/tex/texmf-dist/web2c' from
> specification 'selfautoparent:/texmf-dist/web2c'
> resolvers   | resolving | looking for regular 'texmfcnf.lua' on
> given path '/Users/graph/ConTeXtLMTX/tex/texmf/web2c' from
> specification 'selfautoparent:/texmf/web2c'
> resolvers   | resolving | found regular configuration file
> '/Users/graph/ConTeXtLMTX/tex/texmf/web2c/texmfcnf.lua'
> resolvers   | resolving |
> resolvers   | resolving | skipping configuration file
> 'selfautoparent:/texmf/web2c/texmfcnf.lua' (no valid format)
> reso

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-21 Thread Richard Mahoney | Indica et Buddhica
Robert,

In IV one can do something such as this:

% Registers (Indices)

\defineregister[TIB]

\setupregister[TIB][indicator=yes,compress=yes]

and then in the body:

\TIB[don du gner ba]{don du gñer ba : patthanā : wish}don du gñer ba'i
phyir rdzogs par byed do

\TIB[non mons]{ñon moṅs : kilesa : defilements}ñon moṅs pa śin tu che
ba yin-no


Richard


-- 
Richard Mahoney | Indica et Buddhica
 
Littledene  Bay Road  Oxford  NZ 
T: +6433121699  M: +64210640216 
r.maho...@indica-et-buddhica.org 

https://indica-et-buddhica.org/ 

-Original Message-
From: Robert Zydenbos 
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users 
Subject: [NTG-context] formatting index entries: alphabetical order in
Unicode
Date: Thu, 22 Aug 2019 01:42:40 +0200
Mailer: 

I seem to have a problem with Unicode in the indexing function for my
book: a word like āyitu (beginning with an 'a' with a macron over it)
is considered a word that starts with a 'y'; the word īga (beginning
with an i with a macron) is placed as if it is 'ga'.

Is there any way to tell the indexing function how to deal with such
special characters?

Robert

__
_
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] future versions

2018-07-25 Thread Richard Mahoney | Indica et Buddhica
Agree wholeheartedly, and possibly also support for Tibetan.


Best, Richard



-- 
Richard Mahoney - Indica et Buddhica 
Littledene Bay Road Oxford New Zealand 
T: +64 3 312 1699 M: +64 210 640 216 
r.maho...@indica-et-buddhica.org 

http://indica-et-buddhica.org/ 

-Original Message-
From: Robert Zydenbos 
Reply-to: mailing list for ConTeXt users 
To: mailing list for ConTeXt users 
Subject: Re: [NTG-context] future versions
Date: Wed, 25 Jul 2018 09:45:47 +0200
Mailer: Apple Mail (2.3445.8.2)

On 24. Jul 2018, at 20:43, Hans Hagen  wrote:

> Hi,
> 
> […]
> That said, a logical question is how about next versions of context.
> Are there fundamental features missing? Is more needed? […]

At the risk of sounding like a scratched, repeating gramophone record
-- support for Indic scripts would be wonderful.

RZ
___

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] Fw: APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-31 Thread Richard Mahoney | Indica et Buddhica

Dear Readers,

Following up on this post ...


I've recently updated to `ConTeXt ver: 2017.05.28 19:30 MKIV beta' and
have found that the APA code base seems to have changed a little.


Previously (BibTeX ---> ConTeXt output):

Hans-Georg Gadamer and H.-G. Gadamer  ---> H. -G. Gadamer


but now I'm getting:

ditto ---> HG. Gadamer


Is this possible instead?

Hans-Georg Gadamer and H.-G. Gadamer  ---> H.-G. Gadamer



Best, Richard



Begin forwarded message:

Date: Mon, 22 May 2017 11:41:57 +1200
From: Richard Mahoney | Indica et Buddhica <rmaho...@fastmail.com>
To: Mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: r.maho...@indica-et-buddhica.org
Subject: [NTG-context] APA Bibliographic refs. | Hyphenated first names
| Lower case first letter of Title


Dear list,

I have been cleaning up the following proof-of-concept edition set with
ConTeXt ver: 2017.05.15 21:48 MKIV beta:

http://indica-et-buddhica.org/siksasamuccaya-progresse-bodhisattva-concept.pdf


On the whole I'm very pleased but I'm noticing something odd with the
APA typesetting. This can be seen on concept:226 & 229. Here is my set
up followed by the BibTeX refs.:

% Bibliographic referencing

\usebtxdataset[thesis-clean-k-final.bib]

\setupbtx[default:cite][alternative=num]

\setupbtx[apa:cite][alternative=authoryear,compress=yes]

\usebtxdefinitions[apa]

\definebtxrendering[apa][specification=apa,sorttype=authoryear,numbering=no]

\setupbtxlist[apa][alternative=paragraph,width=325pt,maxwidth=325pt,distance=.5em,margin=3em,align={hz,hanging}]



1.) For Hans-Georg and Jens-Uwe I'm getting H. -G. & J. -U. not H.-G. &
J.-U.:

@Book{gadamer:truth,
  author =   "Hans-Georg Gadamer",
  title ="Truth and Method",
  publisher ="Seabury Press",
  shorttitle =   "Truth",
  year = 1975,
  address =  "New York",
  key =  "gadamer:75",
}

@InCollection{klaus:einige,
  author =   "K. Klaus",
  title ="Einige {t}extkritische {u}nd {e}xegetische
  {B}emerkungen {z}u {Ś}ānti\-devas “{Ś}ikṣāsamuccaya”
  (Kapitel {XII} {u}nd {XIII})",
  booktitle ="Bauddhaviyāsudhākaraḥ\,: Studies in Honour of
Heinz Bec\-hert on the Occasion of His 65th Birthday",
  shorttitle =   "\,‘{Ś}ikṣāsamuccaya’\,",
  key =  "klaus:97a",
  pages ="397--406",
  publisher ="Indica et Tibetica",
  year = 1997,
  editor =   "P. Kieffer-Pülz and Jens-Uwe Hartmann",
  volume =   30,
  address =  "Swisttal-Odendorf",
}


2.) And for the initial letter of the title, SGam.po.pa not sGgam.po.pa:

@Book{guenther:sgam,
  title ="{s}{G}am.{p}o.{p}a, The Jewel Ornament of
  Liberation\,: {D}am.\-{c}hos {y}id.{b}žin.{g}yi
  {n}or.{b}u {t}har.{p}a {r}in.{p}o {c}he'i {r}gyan
  {ž}es.{b}ya.{b}a {t}heg.{p}a {c}hen.\-{p}o'{i}
  {l}am.{r}im.{g}yi {b}śad.{p}a",
  publisher ="Rider \& Co.",
  shorttitle =   "{s}{G}am.{p}o.{p}a",
  year = 1970,
  key =  "guenther:70a",
  address =  "London",
  author =   "H. V. Guenther",
}


I've also tried surrounding the hyphenated names, and their initials,
with curly brackets, though without success.

Does anyone know how I might be able to correct this?


Best, Richard




--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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
___


--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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] APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-22 Thread Richard Mahoney | Indica et Buddhica
On Mon, 22 May 2017 09:09:58 +0200
Alan Braslau <alan.bras...@cea.fr> wrote:

> On Mon, 22 May 2017 11:41:57 +1200
> Richard Mahoney | Indica et Buddhica <rmaho...@fastmail.com> wrote:
> 
> > 2.) And for the initial letter of the title, SGam.po.pa not
> > sGgam.po.pa:
> > 
> > @Book{guenther:sgam,
> >   title ="{s}{G}am.{p}o.{p}a, The Jewel Ornament of
> >   Liberation\,: {D}am.\-{c}hos {y}id.{b}žin.{g}yi
> >   {n}or.{b}u {t}har.{p}a {r}in.{p}o {c}he'i {r}gyan
> >   {ž}es.{b}ya.{b}a {t}heg.{p}a {c}hen.\-{p}o'{i}
> >   {l}am.{r}im.{g}yi {b}śad.{p}a",
> >   publisher ="Rider \& Co.",
> >   shorttitle =   "{s}{G}am.{p}o.{p}a",
> >   year = 1970,
> >   key =  "guenther:70a",
> >   address =  "London",
> >   author =   "H. V. Guenther",
> > }
> > 
> > 
> > I've also tried surrounding the hyphenated names, and their
> > initials, with curly brackets, though without success.
> 
> The "bibtex" practice of "protecting" using surrounding braces does
> not have any effect here. We take fields literally. However, there is
> the setup:
> 
> \setupbtx
>   [apa:list:title]
>   [command=\Word]
> 
> that you can change, setting command=, for example.

Thank you for suggesting this Alan. I've `corrected' the rendering --
SGam.po.pa to sGam.po.pa -- with this:

\setupbtx[apa:list:title:book][command=]
 
 
> As to the spurious space in a hyphenated name, this is a bug that
> needs to be parsed at the lua level (no space following a hyphen)
> that I have asked Hans to look into fixing.

Good to know. Thanks.


Best, Richard




--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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] APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-21 Thread Richard Mahoney | Indica et Buddhica
Dear list,

I have been cleaning up the following proof-of-concept edition set with
ConTeXt ver: 2017.05.15 21:48 MKIV beta:

http://indica-et-buddhica.org/siksasamuccaya-progresse-bodhisattva-concept.pdf


On the whole I'm very pleased but I'm noticing something odd with the
APA typesetting. This can be seen on concept:226 & 229. Here is my set
up followed by the BibTeX refs.:

% Bibliographic referencing

\usebtxdataset[thesis-clean-k-final.bib]

\setupbtx[default:cite][alternative=num]

\setupbtx[apa:cite][alternative=authoryear,compress=yes]

\usebtxdefinitions[apa]

\definebtxrendering[apa][specification=apa,sorttype=authoryear,numbering=no]

\setupbtxlist[apa][alternative=paragraph,width=325pt,maxwidth=325pt,distance=.5em,margin=3em,align={hz,hanging}]



1.) For Hans-Georg and Jens-Uwe I'm getting H. -G. & J. -U. not H.-G. &
J.-U.:

@Book{gadamer:truth,
  author =   "Hans-Georg Gadamer",
  title ="Truth and Method",
  publisher ="Seabury Press",
  shorttitle =   "Truth",
  year = 1975,
  address =  "New York",
  key =  "gadamer:75",
}

@InCollection{klaus:einige,
  author =   "K. Klaus",
  title ="Einige {t}extkritische {u}nd {e}xegetische
  {B}emerkungen {z}u {Ś}ānti\-devas “{Ś}ikṣāsamuccaya”
  (Kapitel {XII} {u}nd {XIII})",
  booktitle ="Bauddhaviyāsudhākaraḥ\,: Studies in Honour of
Heinz Bec\-hert on the Occasion of His 65th Birthday",
  shorttitle =   "\,‘{Ś}ikṣāsamuccaya’\,",
  key =  "klaus:97a",
  pages ="397--406",
  publisher ="Indica et Tibetica",
  year = 1997,
  editor =   "P. Kieffer-Pülz and Jens-Uwe Hartmann",
  volume =   30,
  address =  "Swisttal-Odendorf",
}


2.) And for the initial letter of the title, SGam.po.pa not sGgam.po.pa:

@Book{guenther:sgam,
  title ="{s}{G}am.{p}o.{p}a, The Jewel Ornament of
  Liberation\,: {D}am.\-{c}hos {y}id.{b}žin.{g}yi
  {n}or.{b}u {t}har.{p}a {r}in.{p}o {c}he'i {r}gyan
  {ž}es.{b}ya.{b}a {t}heg.{p}a {c}hen.\-{p}o'{i}
  {l}am.{r}im.{g}yi {b}śad.{p}a",
  publisher ="Rider \& Co.",
  shorttitle =   "{s}{G}am.{p}o.{p}a",
  year = 1970,
  key =  "guenther:70a",
  address =  "London",
  author =   "H. V. Guenther",
}


I've also tried surrounding the hyphenated names, and their initials,
with curly brackets, though without success.

Does anyone know how I might be able to correct this?


Best, Richard




--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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] Undefined control sequence | $\shortmid$ | $\shortparallel$

2016-12-14 Thread Richard Mahoney | Indica et Buddhica
On Tue, 13 Dec 2016 17:32:09 -0800 (PST)
Aditya Mahajan <adit...@umich.edu> wrote:

> On Wed, 14 Dec 2016, Richard Mahoney | Indica et Buddhica wrote:
> 
> > Although I've enabled this module:
> >
> > \usemodule[fnt-25]
> >
> > both of the following:
> >
> > $\shortmid$ 
> >
> > $\shortparallel$
> >
> > result in:
> >
> > tex error ... ! Undefined control sequence
> >
> >
> > Does anyone know if these commands are available under in math
> > mode?  
> 
> AFAIK, these symbols are not defined. Do you know if unicode math
> fonts provide these symbols and if they are part of Unicode math
> symbol list?
> 
> Aditya

I'm not sure. That said, XeTeX can render them using Latin Modern Roman
and Math so they are available.

For what its worth they can be found in `Binary Relations II' of:

 LaTeX and AMS-LaTeX Symbols, Emre Sermutlu, March 17, 2008

 http://zelmanov.ptep-online.com/ctan/symbols.pdf


Best, Richard



--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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] Undefined control sequence | $\shortmid$ | $\shortparallel$

2016-12-13 Thread Richard Mahoney | Indica et Buddhica
Although I've enabled this module:

\usemodule[fnt-25]

both of the following:

$\shortmid$ 

$\shortparallel$

result in:

tex error ... ! Undefined control sequence


Does anyone know if these commands are available under in math mode?

ConTeXt  ver: 2016.05.17 19:20 MKIV


Best, Richard




--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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
___