[NTG-context] installing modules

2022-04-28 Thread Henning Hraban Ramm via ntg-context

Hi,
while the rsync installation shown in 
https://wiki.contextgarden.net/Modules#ConTeXt_LMTX works well, it 
doesn’t install all available modules listed in modules.contextgarden.net.

E.g. lua-widow-control and metaducks are missing.

Why, and how can we change that?
Has it to do with the t- prefix?

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] lua-widow-control module error in LMTX

2022-04-28 Thread Henning Hraban Ramm via ntg-context

Am 28.04.22 um 09:25 schrieb Max Chernoff via ntg-context:

I _think_ that I've fixed it now. Can you try the beta version at
 
https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-47ff19d9804f6ecea64dda59426664680d9756e0 


please? Hopefully this solves the issue.


Hi Max,
thank you for this module that I didn’t know.

I’m afraid the above release introduced a bug; while the offical release 
ran through, I now get:


module  > lua-widow-control > Widow/orphan detected. Attempting 
to remove.

lua error   > lua error on line 112 in file de/c_intro.tex:

callback error: 
...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510: attempt 
to perform arithmetic on a nil value (field 'height')

stack traceback:
	...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510: in 
function <...local/tex/luatex/lua-widow-control/lua-widow-control.lua:360>


My book is not in grid mode.


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] cropoffset reduces paper size

2022-04-25 Thread Henning Hraban Ramm via ntg-context
Hi, I’d like to know if the changed behavior is intentional and will 
stay this way – in that case I’d need to change my environments and 
update the documentation.


Hraban

Am 15.04.22 um 21:31 schrieb Henning Hraban Ramm via ntg-context:
Hi, at least in the current and previous LMTX beta, the paper size gets 
reduced if I use cropoffset as well as \setupinteractionscreen.

(It is known that the PDF box settings only work with the latter.)

In the MWE below, paper size gets reduced by cropoffset:


\setuppapersize[A4]

\setuplayout[
   cropoffset=10mm,
]

\setupinteractionscreen[
   width=max,height=max,
]

\starttext
\showframe

\samplefile{knuth}

\stoptext


If I set:

\setuppapersize[A4][A4,oversized]

\setuplayout[
   marking=on,
   location=middle,
   cropoffset=7.5mm,
]

Then the resulting paper size is A4, because the "oversized" factor is 
nulled by the crop offset.


While I can work around this "feature", the behaviour is different from 
earlier versions. Can’t check with MkIV, since that doesn’t work any 
more, as reported by Pablo et al.


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] How do I define a smallcaps font?

2022-04-24 Thread Henning Hraban Ramm via ntg-context

Am 24.04.22 um 16:21 schrieb Joel via ntg-context:

I have a font that already comes with a smallcaps variant.

How do I define it?

I've tried the following, which I think should work from the 
documentation I've seen, but doesn't:



\starttypescript[serif]                            [garamond]
     \definefontsynonym[Serif]   
  [file:/home/joel/.fonts/12/EBGaramond-Regular.otf]
     \definefontsynonym[SerifBold]   
  [file:/home/joel/.fonts/12/EBGaramond-Bold.otf]
     \definefontsynonym[SerifItalic]   
  [file:/home/joel/.fonts/12/EBGaramond-Italic.otf]
     \definefontsynonym[SerifBoldItalic]   
  [file:/home/joel/.fonts/12/EBGaramond-BoldItalic.otf]
     \definefontsynonym[SerifCaps]   
  [file:/home/joel/.fonts/13/EBGaramond12-AllSC.otf]

\stoptypescript

\starttypescript[sans]                            [garamond]
     \definefontsynonym[Sans]   
  [file:/home/joel/.fonts/12/EBGaramond-Regular.otf]
     \definefontsynonym[SansBold]   
  [file:/home/joel/.fonts/12/EBGaramond-Bold.otf]
     \definefontsynonym[SansItalic]   
  [file:/home/joel/.fonts/12/EBGaramond-Italic.otf]
     \definefontsynonym[SansBoldItalic]   
  [file:/home/joel/.fonts/12/EBGaramond-BoldItalic.otf]
     \definefontsynonym[SansCaps]   
  [file:/home/joel/.fonts/13/EBGaramond12-AllSC.otf]

\stoptypescript

\starttypescript[garamond]
     \definetypeface[garamond]   
  [rm][serif][garamond][default]
     \definetypeface[garamond]   
  [ss][sans][garamond][default]
     \definetypeface[garamond]   
  [mm][math][modern][default]

\stoptypescript

\starttext

     This is regular text.

     {\smallcaps This should be in smallcaps.}

     {\WORD This should be regular text, but capitalized, not really 
smallcaps.}


\stoptext


SerifCaps etc. works with the traditional \sc, don’t know about \smallcaps.

Are you sure your fonts are found?

mtxrun --script fonts --list --all --pattern=EBGaramond


If your regular OpenType font contains smallcaps, try:

\definefontfeature[mysmallcaps][default][
  smcp=yes, % smallcaps
  script=latn,
]

\starttypescript [serif] [garamond] [name]
...
\definefontsynonym [SerifCaps][EBGaramond-Regular][features=mysmallcaps]
...


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] placing (on) layers

2022-04-16 Thread Henning Hraban Ramm via ntg-context

Hi Willi,

thank you, I wasn’t aware that \flushlayer works this way. This was also 
the problem in my real project.


And I had the wrong layer mentioned in \setupbackgrounds from another test.
Also, cropoffset was interfering in the real project, see my other mail.

Hraban

Am 16.04.22 um 22:27 schrieb Willi Egger via ntg-context:

Hi Hraban,

if you flush a layer like in your example, then the layer is attached to the 
left top of the text area. If you want to place it in another place, you will 
have to move it by x and y dimensions to the right place in the first brackets 
of the \setlayerframed command . — What would be possible is to attach the 
layer as a background to one of the different areas of the  paper.

I hope this gives you a hint how to proceed..

Willi


On 15 Apr 2022, at 21:51, Henning Hraban Ramm via ntg-context 
 wrote:

Hi again,

I’m always struggling with putting stuff on layers, since these just never 
start where I’d expect them to, and the offsets changed a few times within the 
last years.

Please explain how I should define a layer that covers the whole page, since 
the following MWE is wrong (the layer always starts below the first line):


\useMPlibrary[dum]

\setuppapersize[A5][A4]
\setuplayout[
  marking=on,
  location=middle,
]
\definemeasure[Bleed][3mm]
\definemeasure[MaxHeight][{\dimexpr\paperheight + 2\measure{Bleed}\relax}]
\definemeasure[MaxWidth][{\dimexpr\paperwidth + 2\measure{Bleed}\relax}]

\definelayer[papier][
  preset=lefttop,
  %x=0mm,y=0mm,
  width=\paperwidth,
  height=\paperheight,
]
\setupbackgrounds[paper][background=cover,state=start]


\starttext
\showframe
TEST

\setlayerframed[papier][
  preset=lefttop,
  %x=-\measure{Bleed},
  %y=-\measure{Bleed},
  offset=overlay,
  %frame=off,
  width=\measure{MaxWidth},
  height=\measure{MaxHeight},
]{\externalfigure[dummy][
  width=\measure{MaxWidth},height=\measure{MaxHeight}
]}

\flushlayer[papier]

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


[NTG-context] placing (on) layers

2022-04-15 Thread Henning Hraban Ramm via ntg-context

Hi again,

I’m always struggling with putting stuff on layers, since these just 
never start where I’d expect them to, and the offsets changed a few 
times within the last years.


Please explain how I should define a layer that covers the whole page, 
since the following MWE is wrong (the layer always starts below the 
first line):



\useMPlibrary[dum]

\setuppapersize[A5][A4]
\setuplayout[
  marking=on,
  location=middle,
]
\definemeasure[Bleed][3mm]
\definemeasure[MaxHeight][{\dimexpr\paperheight + 2\measure{Bleed}\relax}]
\definemeasure[MaxWidth][{\dimexpr\paperwidth + 2\measure{Bleed}\relax}]

\definelayer[papier][
  preset=lefttop,
  %x=0mm,y=0mm,
  width=\paperwidth,
  height=\paperheight,
]
\setupbackgrounds[paper][background=cover,state=start]


\starttext
\showframe
TEST

\setlayerframed[papier][
  preset=lefttop,
  %x=-\measure{Bleed},
  %y=-\measure{Bleed},
  offset=overlay,
  %frame=off,
  width=\measure{MaxWidth},
  height=\measure{MaxHeight},
]{\externalfigure[dummy][
  width=\measure{MaxWidth},height=\measure{MaxHeight}
]}

\flushlayer[papier]

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


[NTG-context] cropoffset reduces paper size

2022-04-15 Thread Henning Hraban Ramm via ntg-context
Hi, at least in the current and previous LMTX beta, the paper size gets 
reduced if I use cropoffset as well as \setupinteractionscreen.

(It is known that the PDF box settings only work with the latter.)

In the MWE below, paper size gets reduced by cropoffset:


\setuppapersize[A4]

\setuplayout[
  cropoffset=10mm,
]

\setupinteractionscreen[
  width=max,height=max,
]

\starttext
\showframe

\samplefile{knuth}

\stoptext


If I set:

\setuppapersize[A4][A4,oversized]

\setuplayout[
  marking=on,
  location=middle,
  cropoffset=7.5mm,
]

Then the resulting paper size is A4, because the "oversized" factor is 
nulled by the crop offset.


While I can work around this "feature", the behaviour is different from 
earlier versions. Can’t check with MkIV, since that doesn’t work any 
more, as reported by Pablo et al.


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] Regular online meet-up

2022-04-11 Thread Henning Hraban Ramm via ntg-context

You’re invited to join next *Wednesday*, April 13th, 15:00 CEST (UTC+2)
(Beware, we changed the weekday!)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans will probably give a Q session again – please announce subjects 
you’d like to discuss ASAP, so that he can prepare.



(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button. Beware 
there is only one presenter, so don’t kill someone else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), 
call +49-6151-86275-22 (German landline); then you must enter a PIN that 
changes every time – if you need it, ask me for it via email. 
Mute/unmute your microphone with "0".


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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] Switching fonts changes framedtext justification

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

Am 08.04.22 um 02:25 schrieb Thangalin via ntg-context:

Works flawlessly, thank you!

Here's a demo with left and right speech bubbles:


Thank you for the speech bubbles! This is something I need for the 
messenger chats in my novel. Will be a good learning experience to adapt 
your solution to my ideas.


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] two requests for ConTeXt

2022-04-06 Thread Henning Hraban Ramm via ntg-context

Am 06.04.22 um 17:02 schrieb Pablo Rodriguez via ntg-context:

The first one is to allow that ConTeXt LMTX also downloads the available
modules.

The second feature would be the addition of an "emoji" range for font
fallbacks.


+2

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] Switching fonts changes framedtext justification

2022-04-04 Thread Henning Hraban Ramm via ntg-context

Am 04.04.22 um 01:21 schrieb Thangalin via ntg-context:

Confirmed there is a font issue with LMTX.

$ context --version
mtx-context | current version: 2022.04.01 09:37

The issue was also present with version 2021.11.30.


Are you sure it's not a tolerance issue?


Pablo's example also doesn't justify, so \framedtext is a red herring.

The .otf file is from:

https://github.com/MorbZ/OpenSansEmoji


That’s 9 years old. The linked resources were updated later and are 
still outdated. There must be a better Emoji font out there?


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] new upload / more math

2022-04-01 Thread Henning Hraban Ramm via ntg-context
Oh, great work, thank you! (While I keep working with WebCMS and avoid 
math...)


And I guess you forgot to mention that you discontinued the support for 
non-metric measures like the obsolete inch, except Potrzebie, of course.


Hraban

Am 01.04.22 um 10:02 schrieb Hans Hagen via ntg-context:

Hi,

As most of you know by now, Mikael and I are working on a math support 
upgrade. In order to let users keep up we uploaded a new version. We 
have been revisioning some of the more obscure constructs where we have 
  no clue of usage, like pmod, bmod, bordermatrix etc, commands that we 
  took (and reimplemented) decades ago from plain TeX or AMS TeX, 
assuming that these are standards.


In this release, encouraged by the positive response we received from 
users regarding the new simplealignment construction, and in particular 
regarding the self-explaining sesac, we have decided to introduced some 
new constructs. First out is


\startformula
\startxıɹʇɐɯ
   \NC a_1 \NC b_1 \NC c_1 \NR
   \NC a_2 \NC b_2 \NC c_2 \NR
   \NC a_3 \NC b_3 \NC c_3 \NR
\stopxıɹʇɐɯ
\stopformula

for rotation matrices. This was demanded for some advanced math courses 
that Mikael teaches. It might inspire users to come up with demands that 
suits their own obscure but nevertheless interesting math.


At some point we realized that, with (also) scientific publishers (of 
math journals) moving to MS Word and Indesign, we operate in a rather 
peculiar niche and the fact that we use an upgraded and more granular 
math engine, made us wonder how to communicate all these new features 
and standards that we set. It is for that reason that from now on we 
will operate under the CMS umbrella. That abbreviation stands for 
ConTeXt Math Society. It has no funny swirly TeX logo which itself is a 
statement: in Unicode math script and calligraphic alphabets are so 
messed up that it is impossible to have a reliable and predictable 
rendering. We go for Dutch and Swedish simplicity in the spirit of W.N. 
Lansburgh: back to the times before TeX was written (1964). There will 
be no limits and boundaries set. (Talking math limits and boundaries: 
these can already go everywhere anyway, as can fences.)


So, when we mention CMS, we mean serious math business, but kindergarten 
math is also embraced! There are no consequences for users: ConTeXt 
users with a proven math track record are automatically a member, but we 
are not too picky, everyone is welcome. We don't have honorary members 
but Taco (the first ConTeXt math user) and Aditya (the most experienced 
  one) might consider themselves as such. Mikael Sundqvist is the 
chairman, which is a livelong appointment. (A nice side effect is that 
with Arthur living in Sweden too, that gives us a very strong position 
in the TeX landscape there.)


So, today's upload is sort of special: welcome CMS (ConTeXt Math 
Shines), goodbye AMS (American Math Second). Of course we're open for 
suggestions and it being an open society all voices will be heard, but 
only proper (retro) math cf Lansburgh will be honored. Of course we only 
listen to ConTeXt users and, as that package is not supposed to be used 
for serious math, we don't bother about the few publishers left that 
still do math.


Are we done? Not yet. We're in the middle of (colorful and graphic) 
alignment ornaments and after that we're going to expand and improve 
multi-line display formulas and equation numbering.


It will be no coincidence that the cover of Landburghs book about math 
typesetting has a prominent 'AWE' embedded in a logo with a lion on top: 
we hope all users are in awe about what the TeX lion can do.


Mikael S & Hans H


___
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] \figuresymbol with underlying hyperlink?

2022-03-29 Thread Henning Hraban Ramm via ntg-context

Did you try to use it with a parameter?
\Link{wiki.contextgarden.net}

Hraban

Am 29.03.22 um 10:48 schrieb Steffen Wolfrum:

Unfortunately I have to use it at a heading:
and this gives an error:


\starttext

\define[1]\Link{\goto{\symbol[wingdings 
3][barb1right]}[url(https://#1)]\autoinsertnextspace}

\chapter{a\Link}

text

\stoptext


Steffen




Am 29.03.2022 um 09:56 schrieb Henning Hraban Ramm via ntg-context 
:

Am 28.03.22 um 21:08 schrieb Steffen Wolfrum via ntg-context:

Hi,
is it possible to combine figuresymbol with some kind of \useurl?
The goal is to have an inline symbol that provides a http url link.


AFAIK there’s nothing ready-made in that regard, but just define your own macro.

E.g. I use:

\define[1]\Web{\goto{\hyphenatedurl{#1}}[url(https://#1)]\autoinsertnextspace}
\define[1]\Email{\goto{\hyphenatedurl{#1}}[url(mailto:#1)]\autoinsertnextspace}
\define[1]\WebQR{\inouter[scope=local]{\barcode[alternative=qr code, text={#1}, 
width=10mm]}\Web{#1}}
\define[1]\WebArrow{\symbol[wingdings 3][barb1right]~{\em\hyphenatedurl{#1}}}

So I guess you’d like something like:

\define[1]\Link{\goto{\symbol[wingdings 
3][barb1right]}[url(https://#1)]\autoinsertnextspace}

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] \figuresymbol with underlying hyperlink?

2022-03-29 Thread Henning Hraban Ramm via ntg-context

Am 28.03.22 um 21:08 schrieb Steffen Wolfrum via ntg-context:

Hi,

is it possible to combine figuresymbol with some kind of \useurl?

The goal is to have an inline symbol that provides a http url link.


AFAIK there’s nothing ready-made in that regard, but just define your 
own macro.


E.g. I use:

\define[1]\Web{\goto{\hyphenatedurl{#1}}[url(https://#1)]\autoinsertnextspace}
\define[1]\Email{\goto{\hyphenatedurl{#1}}[url(mailto:#1)]\autoinsertnextspace}
\define[1]\WebQR{\inouter[scope=local]{\barcode[alternative=qr code, 
text={#1}, width=10mm]}\Web{#1}}
\define[1]\WebArrow{\symbol[wingdings 
3][barb1right]~{\em\hyphenatedurl{#1}}}


So I guess you’d like something like:

\define[1]\Link{\goto{\symbol[wingdings 
3][barb1right]}[url(https://#1)]\autoinsertnextspace}


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] Trying to get a simple bibliography

2022-03-26 Thread Henning Hraban Ramm via ntg-context

Am 26.03.22 um 14:51 schrieb Thomas A. Schmitz via ntg-context:




On 26. Mar 2022, at 14:04, A A via ntg-context  wrote:

The next question I guess is whether ConTeXt support other specs like MLA or 
Chicago style. I tried MLA but without sucess. Is MLA possible in ConTeXt?


One (admittedly far-fetched) possibility would be to read the documentation. 
mkiv-publications, p. 29: context supports apa and aps styles for the moment; 
contributions are always welcome.


There’s also Joey McCollum’s SBL style: github.com/jjmccollum/context-sb

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] \setupheadertexts for chapters with different authors

2022-03-19 Thread Henning Hraban Ramm via ntg-context

Hi Julian,

you’re right, the example didn’t do what you wanted, and it didn’t 
intend to.


Using \getmarking you can get a section title (or another “mark”), you 
can’t combine it with the variable commands, and you don’t need it for 
your case.


https://wiki.contextgarden.net/Command/getmarking isn’t really helpful 
since there’s no example with section titles, but it shows you can also 
get previous or next “marks”.


BTW, I can’t remember when you need \structurevariable vs. 
\namedstructurevariable...


Hraban


Am 19.03.22 um 03:16 schrieb jbf via ntg-context:
I might need a little more help just to understand how best to adapt 
this to my situation:


One thing is clear: I was attempting to use a 'list' variable, and I can 
see why that was an error, since it is headertexts, not TOC that I want 
to influence.


But let me simplify my situation:

You seem to suggest initially that I could use \structureuservariable 
(or \structurevariable) instead, especially since I already have a 
variable to call on, e.g \startchapter[title={My title}][author={A. 
uthor}]. But in the example you then gave, you made no use of either of 
these.


My current setting is:

\setupheadertexts   [{\hfill\getmarking[chapter]\hfill}][]   
[{\hfill\documentvariable{metadata:title}\hfill}][]


which gives me the book title centred on verso pages, and the chapter 
title centred on recto pages. All I want to do is to have the chapter 
contributors' name for each chapter instead of the chapter title.


So why can't I create a setups along the lines of:

\startsetups[contributor] \getmarking[\structureuservariable{author}] 
\stopsetups


Then just swap 'chapter' in \setupheadertexts, with 'contributor'? I 
tried it but it doesn't work. I thought it would be logical. Clearly I'm 
wrong but don't appreciate why.


Julian

On 18/3/22 18:52, Henning Hraban Ramm via ntg-context wrote:

The *list* variables work only in lists.

There’s also \structurevariable and \structureuservariable.

Make sure you use setups for the header, otherwise the variable gets 
expanded only once at the beginning.


Like in:

\setuppagenumbering[alternative=doublesided]
\setupheadertexts[] % empty
\setupheadertexts[\setups{text right}][][][\setups{text left}]

\startsetups[text right]
\rlap{\pagenumber}
\hfill
\getmarking[chapter]
\hfill
\llap{Un Nom}
\stopsetups

\startsetups[text left]
\rlap{Una Person}
\hfill
\getmarking[section]
\hfill
\llap{\pagenumber}
\stopsetups 


___
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] \setupheadertexts for chapters with different authors

2022-03-18 Thread Henning Hraban Ramm via ntg-context

Am 18.03.22 um 10:13 schrieb jbf via ntg-context:
Off list for the moment. Late at night where I am. I will take a look at 
this more closely on the morrow. Thanks.


You’re welcome.

BTW I answered with some German last time since I mixed up jbf and juh – 
the latter I know to be German.


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] \setupheadertexts for chapters with different authors

2022-03-18 Thread Henning Hraban Ramm via ntg-context

Am 18.03.22 um 01:48 schrieb jbf via ntg-context:
I thought this should work, since \structurelistuservariable{author} 
works fine to call the author name into the TOC, but the same does not 
work for header texts it seems:


\setupheadertexts

[{\hfill\getmarking[\structurelistuservariable{author}]\hfill}][]

[{\hfill\documentvariable{metadata:title}\hfill}][]

But it doesn't. What am I doing wrong?


The *list* variables work only in lists.

There’s also \structurevariable and \structureuservariable.

Make sure you use setups for the header, otherwise the variable gets 
expanded only once at the beginning.


Like in:

\setuppagenumbering[alternative=doublesided]
\setupheadertexts[] % empty
\setupheadertexts[\setups{text right}][][][\setups{text left}]

\startsetups[text right]
\rlap{\pagenumber}
\hfill
\getmarking[chapter]
\hfill
\llap{Un Nom}
\stopsetups

\startsetups[text left]
\rlap{Una Person}
\hfill
\getmarking[section]
\hfill
\llap{\pagenumber}
\stopsetups


HTH
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] Calling in chapter number in list={}

2022-03-17 Thread Henning Hraban Ramm via ntg-context

Am 17.03.22 um 11:31 schrieb Jean-Pierre Delange via ntg-context:

Which could be translated in English !


Yes, I was a bit lazy and Thunderbird also messed up the line breaking.

HR
___
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] Calling in chapter number in list={}

2022-03-17 Thread Henning Hraban Ramm via ntg-context

Hi Julian,
have fun with:

\currentlistentrylocation
= Laufende Nummer des Listeneintrags \namedstructureheadlocation{section}
= Abschnittsnummer der angegebenen Hier­archiestufe (chapter, section usw.)
\currentlistentrynumber
= Abschnittsnummer des aktuellen Listen­ eintrags
\currentlistentrytitle
= Überschrift des aktuellen Listeneintrags
\currentlistentrypagenumber
= Seitenzahl des aktuellen Listeneintrags

(in German, because I copied it from my book)

If you use \setuplist[command=...], you should set 
alternative=interactive, otherwise you don’t get bookmarks and links.


\define[3]\MeinEintrag{#3: #2 (#1)} % Seite: Titel (Nummer) 
\setuplist[alternative=interactive,command=\MeinEintrag]


or define your own alternative:

\definelistalternative[j][renderingsetup=list:jbf]

\startsetups[list:jbf]
... \currentlist...
\stopsetups

HTH
Hraban

Am 16.03.22 um 22:03 schrieb jbf via ntg-context:
I wonder if there is a way I can call in the chapter number in the TOC, 
although that number is not used for chapters as such. I know the 
chapter number is 'remembered' anyway, so there is probably a way I can 
call it in just for the TOC.


The context for this question is the layout for book which comprises 
individual contributions, and each contribution has its own 
author/copyright (hence the individual chapters bear a title without a 
number, but the editor who has compiled these wants them numbered in the 
TOC).


I currently call the author name in the TOC with:

\define[1]\SectionTocEntry{%

\leftaligned{#1}\par% title. \leftaligned is needed

\hskip1cm\relax\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}%

}

\setuphead[chapter] of course includes number=no.

\setuplist[chapter] is currently set as:

[label=yes,distance=1.2cm,style=normal,before=\blank,after=\blank,textstyle=normal,alternative=c,textcommand=\SectionTocEntry,]

And for the moment I simply use, as part of the \startchapter[] 
description: list={1. This is the rather long title of the first 
chapter, with the number included at the beginning}.


While that gives me the number of the chapter, it does not give me 
correct indentation when the chapter title runs to more than one line. 
What I would prefer to do is to be able to call the chapter number 
automatically with placing 1., 2., etc. in list={}.


Julian

___
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] Force a hyphenation

2022-03-16 Thread Henning Hraban Ramm via ntg-context

Am 16.03.22 um 16:48 schrieb Willi Egger via ntg-context:

Hi,

at the moment I am dealing with a German text. Although I have 
\mainlanguage[de] in the preamble the word 'des Eiweißes' is hyphenated as 'des 
Eiwei-ßes'. Of course this should be 'des Eiweis-ses'.

How can I make sure that ConTeXt is hyphenating this corerctly?


Sorry, Willi, but that hyphenation is correct, and your suggestion was 
also wrong in the previous iterations of German orthography. Only ck was 
changed to k-k; hyphenation of ß a s-s was only allowed if you replaced 
ß by ss anyway (like in Switzerland).


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] tilde character

2022-03-14 Thread Henning Hraban Ramm via ntg-context

Am 14.03.22 um 18:45 schrieb Aditya Mahajan:

On Mon, 14 Mar 2022, Henning Hraban Ramm via ntg-context wrote:


Hi, I’ve a stupid question: How do I get the default tilde character
from a font?

~ is a fixed space
\texttilde gives a tilde accent
\utfchar{0x007E} yields a space (probably the same as ~)


\textasciitilde


Thank you!

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] tilde character

2022-03-14 Thread Henning Hraban Ramm via ntg-context
Hi, I’ve a stupid question: How do I get the default tilde character 
from a font?


~ is a fixed space
\texttilde gives a tilde accent
\utfchar{0x007E} yields a space (probably the same as ~)


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] \asciimode and MetaPost in LMTX result in “Isolated expression”

2022-03-12 Thread Henning Hraban Ramm via ntg-context

Am 12.03.22 um 18:08 schrieb Marco Patzer via ntg-context:


Maybe someone else with more MetaPost-heavy workflows¹ can test
this, too?

Marco

¹ Hraban? nudge, nudge…


My use of MetaPost is very simple, I still don’t understand much...

My current and most MP-heavy project so far, fails in asciimode with
"Extra }, or forgotten \endgroup"
No time to investigate why, ATM.

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] new upload

2022-03-12 Thread Henning Hraban Ramm via ntg-context

Am 12.03.22 um 00:16 schrieb Hans Hagen via ntg-context:

Hi,

It has been a while since there was an updaste but there it is. The most 
significant 'changes' are:


Thank you so much! Finally log files of reasonable size again.

My latest book (with a lot MetaPost and image trickery) ran flawlessly; 
still testing other projects.


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] interlinespacing in margin notes – solved

2022-03-10 Thread Henning Hraban Ramm via ntg-context

Hi all, esp. Hans and Massimiliano,

yesterday in the online meeting we discussed (again) my margin notes 
problems. A quite minimal setup is shown below.


My remaining problem was that the footnotes always used the 
interlinespacing (baseskip) of the main text.

Finally I found the reason in my typescript file:
\definefontfeature[default][dimensions=strut]
(I guess I tried to solve the irregular line spacing with that setting.)

Thank you for your patience!

Now I need to adjust the linespacing and page breaking in all other 
parts of my current book...


Hraban


"""
\usemodule[ipsum]
\showframe

\setuplayout[
  width=100mm,
  rightmargin=50mm,
  rightmargindistance=6mm,
]

\setupbodyfontenvironment[11pt][
  em=italicface,
  text=11pt,
  small=8pt,
  interlinespace=14pt,
]
\definebodyfontenvironment[8pt][interlinespace=8pt]

\setupbodyfont[rm,11pt]

\define\PlaceFootnote{%
\inouter[
  width=50mm,
  stack=yes,
]{%
\placelocalnotes[footnote][before=,after=]
}}

\setupnote[footnote][
  location=text,
  indenting=no,
  bodyfont={ss,8pt},% footnote text style
  next=\PlaceFootnote,
  align=flushleft,
] % footnote marker in text

\setupnotation[footnote][
  way=bytext,
  indenting=no,
  distance=0.25em,
] % footnote text

\starttext

\dorecurse{10}{
\ipsum[alternative=lines,n=random,language=la]\footnote{\ipsum[alternative=lines,n=random,language=la]} 
\ipsum[alternative=lines,n=random,language=la]\par

}

\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] Regular online meet-up

2022-03-09 Thread Henning Hraban Ramm via ntg-context

That’s NOW, BTW. ;)

Am 06.03.22 um 13:28 schrieb Henning Hraban Ramm via ntg-context:

You’re invited to join next *Wednesday*, March 9th, 15:00 CET (UTC+1)
(Beware, we changed the weekday!)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans will probably give a Q session again – please announce subjects 
you’d like to discuss ASAP, so that he can prepare.



(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the 
audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button. Beware 
there is only one presenter, so don’t kill someone else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), 
call +49-6151-86275-22 (German landline); then you must enter a PIN that 
changes every time – if you need it, ask me for it via email. 
Mute/unmute your microphone with "0".


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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] What’s wrong with installation?

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

Am 08.03.22 um 14:03 schrieb Hans Hagen via ntg-context:

On 3/8/2022 12:55 PM, Stephen Gaito via ntg-context wrote:

Hans,

I am having the same problem on an XUbuntu 21.10 :

hm, maybe the server has some issue ... i rebooted the machine


Thank you! I can confirm it’s working again – and the current version is 
much faster than the previous one, because it doesn’t write so many 
logging/debugging messages. Now to check all my projects are working...


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] help with facing page image

2022-03-07 Thread Henning Hraban Ramm via ntg-context

Am 07.03.22 um 21:08 schrieb Bruce Horrocks via ntg-context:




On 7 Mar 2022, at 03:49, jbf via ntg-context  wrote:

I wonder if someone can help me untangle the current little mess I seem to be 
creating!

Author wants an image on facing page to each of 10 chapters in the bodypart of 
the document. Assume that everything else is working properly for this document 
(double-sided etc.), but other than before chapter 1, I can't seem to get my 
facing page image to appear where it should!


I didn’t see your original message.
Here’s my approach, as used in 
https://www.dreiviertelhaus.de/reihen/eka/lauf-los-buch/ :



\startsetups eka:normalheader

\setupheadertexts[chapter][{\feature[=normnum]\pagenumber}][{\feature[=normnum]\pagenumber}][]
\stopsetups

\startsetups eka:noheader
  \setupheadertexts[][][][]
\stopsetups

\startsetups eka:imagechapter
  \setupalign[flushleft]
  \doifelse{\structureuservariable{image}}{}{% if image empty, do nothing
  }{%
\directsetup{eka:noheader}
\vbox{%
  \blank[big]

\externalfigure[\structureuservariable{image}][width=0.8\textwidth]\par
}
\doifnot{\structureuservariable{motto}}{}{
  \vfill
  \vbox{%
{\MottoFont\structureuservariable{motto}}
  }%
}%
\page[right]
\vbox{%
  \doifnot{\structureuservariable{subtitle}}{}{
{\SubtitleFont\structureuservariable{subtitle}}
  }%
}%
  }%
  \blank[3*big]
  \directsetup{eka:normalheader}
  \setupalign[width]
\stopsetups


\define[2]\Nothing{} % do nothing

\setuphead[chapter][
  number=no,
  page=left,
  command=\Nothing,
  before=,
  after={\directsetup{eka:imagechapter}},
]


% example:

\startchapter
  [title={Chapter Title – here only used in list}]
  [author={},image=cow,
   subtitle={Subtitle – here a quote by the author},
   motto={Motto – here a short biography of the author}]

...

\stopchapter



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] What’s wrong with installation?

2022-03-07 Thread Henning Hraban Ramm via ntg-context

Hi, I just tried to install a new instance of LMTX without success.

"""
$ unzip -l *.zip
Archive:  context-osx-64.zip
  Length  DateTimeName
-  -- -   
0  03-05-2019 22:50   bin/
19082  01-21-2022 20:13   bin/mtx-install.lua
   693184  01-21-2022 20:13   bin/mtxrun.lua
 3910  01-21-2022 20:13   install.sh
  2725900  01-21-2022 20:13   bin/mtxrun
24047  01-21-2022 20:13   installation.pdf
- ---
  3466123 6 files


$ sh install.sh
mtx-install | provide valid server and instance

cp: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun: No such 
file or directory
cp: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-context/scripts/context/lua/mtxrun.lua: 
No such file or directory
cp: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-context/scripts/context/lua/mtx-install.lua: 
No such file or directory


If you want to run ConTeXt everywhere, you need to adapt the path, like:

  export PATH=/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin:$PATH

If you run from an editor you can specify the full path to mtxrun:

  /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun 
--autogenerate --script context --autopdf ...


The following settings were used:

  server   : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
  instance : install-lmtx
  extras   :
  ownpath  : /Users/hraban/lmtx_2022-03-07
  platform : osx-64


$ ./bin/mtxrun --script ./bin/mtx-install.lua --update 
--server=lmtx.contextgarden.net --instance=install-lmtx 
--platform=osx-64 --extras=all

mtx-install | provide valid server and instance
"""

Same result if I omit --server and --instance, since they default to the 
same.


In mtx-install.lua, line 489 "local server = false" overwrites the 
previously set server variable.


If I comment this line, I get:

"""
$ ./bin/mtxrun --script ./bin/mtx-install.lua --update --platform=osx-64 
--extras=all
mtx-install | server   : 
lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl

mtx-install | instance : install-lmtx
mtx-install | platform : osx-64
mtx-install | system   : unix
mtx-install | invalid database 
'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf-context.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf-osx-64.tma'

mtx-install | current  : %S
mtx-install | target   : %S
mtx-install | removing : mtxrun
mtx-install | removing : context
mtx-install | copied   : mtxrun
mtx-install | copied   : context
mtx-install | running: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun --generate
sh: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun: No such 
file or directory
mtx-install | running: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/context --make en
sh: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/context: No such 
file or directory

mtx-install |
mtx-install |
mtx-install | ConTeXt LMTX with LuaMetaTeX is still experimental and 
when you get a crash this
mtx-install | can be due to a mismatch between Lua bytecode and the 
engine. In that case you can

mtx-install | try the following:
mtx-install |
mtx-install |   - wipe the texmf-cache directory
mtx-install |   - run: mtxrun --generate
mtx-install |   - run: context --make
mtx-install |
mtx-install | When that doesn't solve the problem, ask on the 
mailing list (ntg-context@ntg.nl).

mtx-install |
mtx-install | update, done
"""

The "invalid database" lines don’t look good. If I give an explicit 
--server=lmtx.contextgarden.net, I still get the same error:


"""
mtx-install | invalid database 
'http://lmtx.contextgarden.net/install-lmtx//tex/texmf.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net/install-lmtx//tex/texmf-context.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net/install-lmtx//tex/texmf-osx-64.tma'

"""

What’s wrong?

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] Regular online meet-up

2022-03-06 Thread Henning Hraban Ramm via ntg-context

You’re invited to join next *Wednesday*, March 9th, 15:00 CET (UTC+1)
(Beware, we changed the weekday!)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans will probably give a Q session again – please announce subjects 
you’d like to discuss ASAP, so that he can prepare.



(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button. Beware 
there is only one presenter, so don’t kill someone else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), 
call +49-6151-86275-22 (German landline); then you must enter a PIN that 
changes every time – if you need it, ask me for it via email. 
Mute/unmute your microphone with "0".


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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] shapepar for ConTeXt

2022-02-14 Thread Henning Hraban Ramm via ntg-context

Am 14.02.22 um 12:20 schrieb Peter Münster via ntg-context:

Hi,

Is there something like shapepar (LaTeX-package) for ConTeXt?
I would like to do the same as "\heartpar{text}" (see
http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf
page 9) with ConTeXt.


You can use plain \parshape:

After a paragraph you say e.g.
\parshape=5
  0mm 61mm
  0mm 71mm
  0mm 70mm
  0mm 67mm
  0mm \textwidth


Have fun!
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] LuaMetaLa(!)TeX

2022-02-13 Thread Henning Hraban Ramm via ntg-context

WTF, someone wrote a LaTeX format for LuaMetaTeX already 3 years ago:
https://github.com/zauguin/luametalatex

(Herbert Voss just pointed me to it.)

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] Regular online meet-up

2022-02-08 Thread Henning Hraban Ramm via ntg-context
FYI: We decided to move the date to Wednesday, so next time will be 
Wednesday, March 9th!


HR

Am 05.02.22 um 13:51 schrieb Henning Hraban Ramm via ntg-context:

You’re invited to join next Tuesday, February 8th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

___
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] Regular online meet-up

2022-02-06 Thread Henning Hraban Ramm via ntg-context

Hi Alain,
in my current project I need the same. I use floats and move the 
externalfigure with \offset; can show you on Tuesday.


e.g.
\startplacefigure[title={},location=left]% or outer...
\offset[topoffset=-1em,leftoffset=-20mm]{%
% it would be nice to have outeroffset/inneroffset
\externalfigure[Schweinehund][width=50mm]}
\stopplacefigure

Hraban

Am 06.02.22 um 21:45 schrieb Alain Delmotte via ntg-context:

Hi!

I'll try to join and I have a question regarding inserting floats in 
outer margins in double sided document. The outer margins are large and 
the inner small. I want to insert my floats (mainly figures) in the 
outer margins and have them at level where they are called. Furthermore, 
sometimes the float is to large, so it should take part of the text, 
with the text surrounding it.


But this is perhaps answered in context garden, but I didn't find where.

And if there are more fundamental questions, my can wait.

See you on Tuesday.

Regards,

Alain

Le 5/02/2022 à 13:51, Henning Hraban Ramm via ntg-context a écrit :

You’re invited to join next Tuesday, February 8th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans offered to give a Q session again – please announce subjects 
you’d like to discuss ASAP, so that he can prepare.



Regarding the date:
Denis, who originally suggested Tuesday afternoon, can’t take part due 
to other obligations. I could also offer Wednesday or Thursday.
We could also change the weekday every time, but that might be 
confusing. I would keep the European afternoon time, since that makes 
participation possible for people from America and Asia.

What do you think?
Vote here: https://nuudel.digitalcourage.de/tB1MHH4jx6M5uwPg


(Same blurb as last time:)

[Howto]
* No special software installation required; most modern browsers 
should work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the 
audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.
* Minimize the default presentation with the "screen" button, bottom 
right.


* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button. 
Beware there is only one presenter, so don’t kill someone else’s 
presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency 
on your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), 
call +49-6151-86275-22 (German landline); then you must enter a PIN 
that changes every time – if you need it, ask me for it via email. 
Mute/unmute your microphone with "0".


[Netiquette]
* Please use a name that we recognize from here. Some feel 
uncomfortable with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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
___


___
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] Regular online meet-up

2022-02-05 Thread Henning Hraban Ramm via ntg-context

You’re invited to join next Tuesday, February 8th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans offered to give a Q session again – please announce subjects 
you’d like to discuss ASAP, so that he can prepare.



Regarding the date:
Denis, who originally suggested Tuesday afternoon, can’t take part due 
to other obligations. I could also offer Wednesday or Thursday.
We could also change the weekday every time, but that might be 
confusing. I would keep the European afternoon time, since that makes 
participation possible for people from America and Asia.

What do you think?
Vote here: https://nuudel.digitalcourage.de/tB1MHH4jx6M5uwPg


(Same blurb as last time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button. Beware 
there is only one presenter, so don’t kill someone else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), 
call +49-6151-86275-22 (German landline); then you must enter a PIN that 
changes every time – if you need it, ask me for it via email. 
Mute/unmute your microphone with "0".


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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] control cite - bibliographical references

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

Am 30.01.22 um 10:25 schrieb Robert via ntg-context:

Dear list,

I am struggling with the color of bibliographical references.

I found (Ulrike’s) hack to render the items in the bibliography the 
regular color (black):


\appendtoks \iflocation \letinteractionparameter{color}\empty \fi \to 
\everybtxlistrendering.


There the problem seems to relate to the use of \setupinteraction.

Now, in my citations (\cite[Douma1979a]) the authornames are still 
colored. Douma, 1979a, 86



I examined the contextgarden site, read and tried the answers to 
previous questions, but could not find out how to do this.


Is there a way to control the author names?


I don’t know if there is something special to bibliography, but usually 
you can set

\setupinteraction[color=,contrastcolor=,]
to get all links in black.

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] How to stop \placefigure from floating off to some other page?

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

Am 30.01.22 um 00:44 schrieb Bruce Horrocks via ntg-context:

On 29 Jan 2022, at 21:30, Joel via ntg-context  wrote:


When I used `\placefigure`, ConTeXt often puts the figure on a completely 
different page, my readership of young students is getting confused where the 
image is. How can I have all of my `\placefigure` in the entire document appear 
exactly where called, even if that means having to place it on a new page with 
lots of space before it or even a new page afterwards? I need it to show up in 
the order it was called. I think `\setupexternalfigures[location=]` should 
provide the solution, but cann't figure what is the correct location, I'm not 
seeing that in the manual anywhere.


Use the force Luke...

e.g.
\placefigure [force] [fig1] {Caption} {\externalfigure [filename.png]}

The location= option is for where on the page (e.g. in a margin, in the main 
text) the picture will go, the actual page it appears on is controlled by 
'here' or 'force' or the default which is to float along until it finds what it 
thinks is a good place.


Not really. "here" and "force" are just options for location, i.e.
location={here,force}
should mostly do what you want.

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] registers, how to ignore quote marks

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


Am 29.01.22 um 06:23 schrieb jbf via ntg-context:
Any thoughts (but I'm pretty sure this isn't fully explained in the 
wiki) how I can get part of the index entry in italics and part 
normal? That might be a bit more difficult I think.


If you want to format the page number or the whole entry, you can use 
processors. But if you want to format only parts of the entry, I don’t 
see an other solution than to use formatting in the entry and set the 
sort entry to the unformatted version like:


\index[myindexentry]{{\it my} index entry}

otherwise the name of the used commands/macros is used for the index 
ordering.


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] OT world history: other measuring systems?

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

Am 25.01.22 um 18:45 schrieb Hans Hagen via ntg-context:

On 1/25/2022 6:27 PM, Aditya Mahajan via ntg-context wrote:

Some of the units, particularly for measurement of land area, are 
still in use as they are effectively codified in the land records. 
Wikipedia has some summary of the ancient and medieval systems in India.

https://en.wikipedia.org/wiki/Indian_units_of_measurement


the same in nl ... for instance farmers still use old measures (e.g. 
when selling or buying land), also because for instance lots are defined 
that way


I don’t think that farmers (in Germany) still use them, but “Morgen” 
(morning) and “Tagwerk” (a day’s work) were usual measures for areas, 
depending on the region and the type of work (farming, viniculture, 
fresco painting...)


According to https://de.wikipedia.org/wiki/Tagewerk, only the kingdom of 
Bavaria had a proper definition:

1 Tagwerk = 100 Dezimal = 400 Quadratruten = 40.000 Quadratfuß

I don’t know if Michael Ende made that up, but apparently some bible 
exegetors said, paradise must have had the size of 6 “Tagwerk”... (But 
then probably YHW’s tagwerk is something else than a mortal farmer’s – 
similar to the time of the Devas in India.)


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] OT world history: other measuring systems?

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

Am 25.01.22 um 18:27 schrieb Aditya Mahajan:

On Tue, 25 Jan 2022, Henning Hraban Ramm via ntg-context wrote:

why didn’t "we" stick to
the Roman system?


All you need to do is look at the definitions of roman imperial units to 
understand why we didn't stick to that:

An inch was the width of the base of the thumb, a foot, well length of a foot, 
a fathom was the width of outstretched arms, yard was the length of the man's 
belt, mile was 1000 paces of marching roman soldiers, and so on.


Ah, of course. So “normalization” to some ruler’s shoe size was already 
progress.



In India, from what I am aware, the pre-imperial units of measurements had 
similar origins as imperial. Length was based on width of fingers, cubit (also 
used in other civilizations of the time), person-height and so on. As with the 
imperial units, these definitions were not uniform and went through a 
uniformization process in the middle ages. However, India moved to imperial 
units with colonization, and adopted metric system after Independence.

Some of the units, particularly for measurement of land area, are still in use as they are effectively codified in the land records. 


Interesting.


Wikipedia has some summary of the ancient and medieval systems in India.
https://en.wikipedia.org/wiki/Indian_units_of_measurement

But it got more complicated than that (particularly for time). See, for example:
https://sites.google.com/site/mathematicsmiscellany/time-measurement-in-ancient-india


Oh, that is nice!


There is also this fascinating book which covers the non-European history of 
mathematics (a lot of which in ancient times was to do with units and 
measurements but more importantly, calculations):
https://press.princeton.edu/books/paperback/9780691135267/the-crest-of-the-peacock


Yes, that’s probably worth reading.

Thank you!
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] OT world history: other measuring systems?

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

Hi all,
just out of curiosity and since some of you are knowledgable in many 
fields: Were there widely accepted measuring systems in Asia before the 
introduction of the imperial or metric system? In Europe there was a 
mess of local miles, feet, cubits, inches etc.; why didn’t "we" stick to 
the Roman system?


(Also Knuth’s Potrzebie system unfortunately couldn’t unite the world... 
https://webmadness.net/blog/?post=knuth ;))


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] How to add entire chapter's page ranger for index entry?

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

Am 23.01.22 um 22:40 schrieb Joel via ntg-context:

I am adding items to an index simply using `\index{word}`.

There are a few cases where instead of printing just the page number 
where `\index{word}` is placed, I need the entire page range for that 
chapter to be displayed. For instance, if Chapter 3 spans page 22-50, 
and I place `\index{word}` in Chapter 3, I need the index to display 
"word 22-50", but only for that entry...not for all index entries.


How to add entire chapter's page ranger for index entry?


You need to use

\startregister[index][some code]{Entry}
... chapter content ...
\stopregister[index][some code]

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] Credit in DTK

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

Salut Jean-Pierre,

ich werde nicht versuchen, dir ebenso polyglott zu antworten. (Mein 
Latein ist arg eingestaubt, wegen Altgriechisch wäre ich damals beinahe 
sitzen geblieben, mein Russisch, Italienisch und Französisch reicht zum 
Einkaufen, von Schwedisch ist nicht mehr viel übrig, an Kirgisisch bin 
ich gescheitert, und Althochdeutsch ist schwer zu lernen...) ;D


Ich nehme Luigi gerne mit auf, hatte ihn wohl übersehen.

Herzliche Grüße,
Hraban

Am 23.01.22 um 14:08 schrieb Jean-Pierre Delange via ntg-context:

Hi Hraban,

Ich finde es ziemlich umfangreich. Wenn ich mich nicht irre, sollten wir 
auch Luigi Scarso erwähnen, der seine Meinung zu TEI/XML geäußert und 
auf einen früheren Beitrag von ihm zu TEI-XML und ConTeXt hingewiesen hat.


I think it's pretty comprehensive. If I'm not mistaken, we should also 
mention Luigi Scarso, who gave his opinion on TEI/XML, and indicated an 
earlier contribution from him concerning TEI-XML and ConTeXt.


Penso che sia abbastanza completo. Se non sbaglio, dobbiamo citare anche 
Luigi Scarso, che ha espresso la sua opinione su TEI/XML, e ha indicato 
un suo precedente contributo in merito a TEI-XML e ConTeXt.


Creo que es bastante completo. Si no me equivoco, también debemos 
mencionar a Luigi Scarso, quien dio su opinión sobre TEI/XML e indicó 
una contribución anterior suya sobre TEI-XML y ConTeXt.


Je crois que c'est assez complet. Si je ne me trompe, il faudrait 
mentionner aussi Luigi Scarso, qui a donné son avis à propos de TEI/XML, 
et a indiqué un apport antérieur de sa part concernant TEI-XML et ConTeXt.


Satis comprehensivum illud puto. Si ni fallor, mentionem quoque debemus 
Luigi Scarso, qui sententiam suam de TEI/XML dedit, et priorem 
collationem ab eo de TEI-XML et ConTeXt indicabat.


Νομίζω ότι είναι αρκετά περιεκτικό. Αν δεν κάνω λάθος, θα πρέπει να 
αναφέρουμε και τον Luigi Scarso, ο οποίος εξέφρασε τη γνώμη του για τα 
TEI/XML, και υπέδειξε παλαιότερη συνεισφορά του σχετικά με τα TEI-XML 
και ConTeXt.

___
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] May I credit you in DTK?

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

Am 23.01.22 um 13:58 schrieb śrīrāman:

I am flattered that you want to credit me, but am not sure why you would want
to do so: I am just a beginner here (relatively) and only recently from a
month or two back got involved with the indic things.


Well, you are very active in this discussion and thus advance the 
support for Indic languages. That’s what I say in the article.


One reason for crediting active users (even if they don’t code 
themselves) is to bust the myths that ConTeXt would be a one-man-show 
and nobody would use it. (Other myths I address in this article are that 
ConTeXt would be unfit for math or bibliography.)



If you want to anyway, then I would only request you to kindly use my given
name: śrīrāman (or śrīrāma) as very few people outside family know me as
kauśika. I had created this account for personal use some time back and never
thought to change the name. Now since I am professionally involved in this I
have changed it to my given name.


You’re welcome! I just assumed you wanted to stay pseudonymous.

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] May I credit you in DTK?

2022-01-23 Thread Henning Hraban Ramm via ntg-context
Hi, I’m writing an article for DANTE’s magazine “Die TeXnische Komödie” 
(DTK) about the current discussions and developments in ConTeXt, and I’m 
planning to do that regularly.


Find attached the current version (in German / LaTeX).
I’d like to give credit to people involved and mention some of you:

Hans Hagen (of course)
Jean-Pierre Delange
Jürgen Hanneder
Kauśika
Otared Kavian
Joey McCollum
Pablo Rodriguez
Thomas A. Schmitz
Mikael Sundqvist

If you don’t want that, I’ll remove your name, of course.
You are also welcome to correct me, if I misunderstood you/something.

Hraban

contextkurznotiert.tex
Description: TeX 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] new upload

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

Am 21.01.22 um 20:28 schrieb Hans Hagen via ntg-context:
so we can have fixed values too .. will be explained in due time by 
Mikael (in manual) as we're still experimenting with all this


- initial indic transliteration support .. recent indic (font) 
experiences and transliteration tricks will be eplained by kauśika


I’m hoping for presentations / articles!

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] Iterating over MP paths (was: Fuzzy lines)

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

Am 03.09.21 um 18:04 schrieb Henning Hraban Ramm via ntg-context:

Would it make sense to check if a point is an edge point (without curve 
controls)?


In a private reply to my old message, Hans explained to me why this was 
not possible like I thought (check if the point has control points), 
since every point has control points.


But I didn’t keep at it last fall, and the MP foo is still weak in this 
one, so, let’s try again:



If I iterate over the points of a path like in

beginfig(1);
path p;
p = (0,0) .. (2cm,4cm) -- (4cm,5cm) .. (5cm,6cm) .. (8cm,7cm);
draw p withpen pencircle scaled 2pt withcolor .7 white;
for t=0 upto length p:
  drawdot point t of p withpen pencircle scaled 4pt withcolor red;
endfor
endfig;

[2]
How can I check if the point is an edge?
(I want to randomize only the non-edge points.)

1. First or last point: if t=0 or t=length p.
   ... if the path is not closed: if not cycle p.
OK

2. Would it make sense to check curl or tension?
   Can I check if the connection is specified as -- ?
??

[2]
Other question on the examples from 
https://tex.stackexchange.com/questions/288259/how-to-draw-dots-equally-spaced-along-a-path, 
in the answer by Thruston:


I want to split the path between (edge) points in segments of the same 
length. So disregarding the "edge" issue for now, how do I get at the 
path segment between points (in the for loop above) so that I can use it 
as a new path q in:


for t=0 step s until arclength q:
  drawdot point arctime t of q of q withpen pencircle scaled 4pt 
withcolor red;

endfor

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] How to create an index that refers to multiple other books?

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

Am 18.01.22 um 14:27 schrieb Joel via ntg-context:
One possible solution I see, since the textbooks and workbooks share the 
same macros, formatting, fonts, etc. is to just render them as a single 
file, resetting the page number at the start of each new book, then 
later use pdfjam to split the files, but I'm not sure how the index 
could tell readers which of the five "page 5's" (for example) the index 
is referring to. --Joel


In this case, you could use \part per workbook and use 
pageprefixsegments in \setupregister to add the part number in front of 
the page number.


Otherwise, I guess it would be possible to read the .tuc files of the 
other products to create index entries. (Some Lua programming; shouldn’t 
bee too hard, but still way over my head.)


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] How to manually adjust the sort order of items appearing in a custom index?

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

Am 17.01.22 um 16:53 schrieb Joel via ntg-context:
I created a custom index that displays a list of "Important Dates" 
appearing in my book. It lists the year, a short description of what 
happened, and should show the page number.


I'm running into two errors though:

First, if the date is the same year, it is sorting alphabetically, 
example


\dateis{1900s+1912}{Yet another event happened}
\dateis{1900s+1912}{Another event happened}

...will print the wrong one first in the index..

1912 - Another even happened
1912 - Yet another event happened.

Is there a way to manually tell it to display one first? I don't want to 
add visible month and day details, that would be even more confusing to 
the index as I have to print it in American order.


Second, when it compiles it is not printing the page number, instead 
prints "[Entry not flushed]".


-- Joel

Here is my minimum working example:


\defineregister[listdates][compress=yes]
\setupregister[listdates][style=sansbold, textstyle=slanted, n=1, 
pagenumber=yes]


\define[2]\dateis{%
     \listdates{#1~\emdash ~#2}%
}%

\starttext

\dateis{1900s+1911}{Some event happened}
\dateis{1900s+1912}{Yet another event happened}
\dateis{1900s+1912}{Another event happened}

\startchapter[title=Important Dates]
     \placelistdates
\stopchapter

\stoptext


Change your definition of \dateis (or use an additional macro) to use 
the sort key of \index:


\index[1900s+191201]{January}
\index[1900s+191202]{February}

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] How to let a macro check the previous value of #1 the last time the same macro was called?

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

Am 10.01.22 um 20:21 schrieb Wolfgang Schuster:

Henning Hraban Ramm via ntg-context schrieb am 10.01.2022 um 09:52:

Would it make more sense, or would it be “cleaner” to use a variable?


You can get rid of the temp variable before the command definition but 
now you have to access it with a different method in \mymacro, below is 
one way (LMTX only) but \setvariable and \getvariable work as well.


\define[1]\mymacro
   {\iftok{#1}{\getvalue{previousmymacro}}%
  same as last time
    \else
  it is different from last time
    \fi
    \setvalue{previousmymacro}{#1}}


That was the approach that I meant. Thank you.

But would you consider one way to be better?

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] How to let a macro check the previous value of #1 the last time the same macro was called?

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

Am 09.01.22 um 16:03 schrieb Wolfgang Schuster via ntg-context:

Joel via ntg-context schrieb am 09.01.2022 um 15:16:
Is there a way for a macro to check the previous value of #1, the last 
time that same macro was called?


To check is the current value differs from the last one you need a temp 
macro where you store the current value at the end of your command to 
check it in the next call.


Would it make more sense, or would it be “cleaner” to use a variable?

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] Regular online meet-up (tomorrow!)

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

You’re invited to join Tuesday, January 11th, 15:00 CET

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans offered to give a Q session again – please announce subjects 
you’d like to discuss ASAP, so that he can prepare.



I guess we can talk more about the requirements of critical editions,
and I’d like to know how to translate indirect \doSomething definitions 
into LMTX style.



[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button. Beware 
there is only one presenter, so don’t kill someone else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* Screen sharing needs a lot of bandwidth.
* If audio/video doesn’t work for you, try a different browser, and you 
can still use the text chat.


* You can also join with a regular telephone (audio only, of course), 
call +49-6151-86275-22 (German landline); then you must enter a PIN that 
changes every time – if you need it, ask me for it via email. 
Mute/unmute your microphone with "0".


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

Next time will be February 8th.

See you, 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 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
___


[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 fun

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

Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context:

Hi,

Maybe this is of interest to critical users:

\setupsynchronize [paralleltext] [color=darkblue]
% \setupsynchronize [paralleltext] [style=\tx,color=darkred]
% \setupsynchronize [paralleltext] [style=\txx,color=darkgreen]


I played a bit with it:


\mainlanguage[de]
\setupbodyfont[dejavu]
\setupsynchronize [paralleltext] [color=darkblue]

\starttext

\paralleltext{Dies}{This}\space
\paralleltext{könnte}{could}\space
\paralleltext{für}{for}\space
\paralleltext{Übersetzungen}{translations}\space
\paralleltext{interessant}{interesting}\space
\paralleltext{sein.}{be.}\space
\blank

\paralleltext{Dies}{This}\space
\paralleltext{könnte}{could}\space
\paralleltext{sein}{be}\space
\paralleltext{interessant}{interesting}\space
\paralleltext{für}{for}\space
\paralleltext{Übersetzungen.}{translations.}\space
\blank[2*line]

\paralleltext{Dies}{Это}\space
\paralleltext{könnte}{может}\space
\paralleltext{für}{для}\space
\paralleltext{Übersetzungen}{переводов}\space
\paralleltext{interessant}{интересно}\space
\paralleltext{sein.}{быть.}\space
\blank

\paralleltext{Dies}{Это}\space
\paralleltext{könnte}{может}\space
\paralleltext{sein}{быть}\space
\paralleltext{interessant}{интересно}\space
\paralleltext{für}{для}\space
\paralleltext{Übersetzungen.}{переводов.}\space
\blank[2*line]

\paralleltext{\m{E}}{Energie}\space
\paralleltext{\m{=}}{ist}\space
\paralleltext{\m{m}}{Masse}\space
\paralleltext{\m{·}}{mal}\space
\paralleltext{\m{c^2}}{Lichtgeschwindigkeit im Quadrat}\space

\stoptext


I guess it could be useful for short educational examples.
If I needed this, I might have tried the steps module.

It doesn’t work with more than two versions, and the syntax is a bit 
verbose.



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 fun

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

Am 06.01.22 um 22:09 schrieb Jean-Pierre Delange via ntg-context:

This ‘CriticalFun’ test failed, and CTX complains that \setupsynchronize was 
never defined (see the log,


It works (for me) with the latest LMTX.

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-06 Thread Henning Hraban Ramm via ntg-context

Am 06.01.22 um 19:41 schrieb Hans Hagen via ntg-context:
there was a time when publishers did typesetting and printing themselves 
in which case they might have some interest in tools but afaik that time 
is long gone (and i admit that i never met a publisher where investing 
in know how and technology was part of the corporate identity (there 
were some but by the time context showed up most large publishers 
started outsourcing to far-far-away and those interested in technologies 
left), at least not one that invest beyond a specific product and even 
then falling back on tools like tex is a last resort ...


I know one company in Leipzig that works for big publishers 
(www.le-tex.de). I talked to them a few years ago at a book fair and 
applied twice for their job offers (but they want people to work at 
their office).


For scientific publications they’re using a XML-to-LaTeX workflow, 
otherwise Word-based (->XML->LaTeX or ->InDesign). Of course they accept 
all kind of data; it looks like they’re really good in automated workflows.


But I guess there are strong competitors in the far east...

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] zint doesn’t work in "lines"

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

Hi,
while the zint module generally works well, I run into "TeX capacity 
exceeded" as soon as I try a barcode within \startlines ... \stoplines:



\usemodule[zint]

\starttext
\startlines
My homepage: \barcode[alternative=qr code,text={www.fiee.net},width=2.5cm]
\stoplines

\stoptext

What’s wrong?

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-05 Thread Henning Hraban Ramm via ntg-context

Am 05.01.22 um 12:54 schrieb Pablo Rodriguez via ntg-context:

On 1/5/22 9:43 AM, luigi scarso via ntg-context wrote:

[...]
quite old (2014),  but perhaps still interesting:
embedding of a tei-xml into a tagged pdf
https://www.guitex.org/home/images/ArsTeXnica/AT018/teitagged.pdf


Luigi,

if you allow me a comment (or even a suggestion), an English version of
that article updated to LMTX wouuld be of huge help to the rest of us.

I don’t even know whether it could be released on the “ConTeXt Group
Journal” (https://articles.contextgarden.net/journal/).


I’m happy to receive articles for the journal!

And after all these years a talk/presentation on that matter would be 
great for the upcoming ConTeXt meeting!


Hraban (who is responsible for both)
___
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] Documentation about CTX installation on MacOS X

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

Am 03.01.22 um 09:22 schrieb Henning Hraban Ramm via ntg-context:

You might want to set:

OSFONTDIR='/System/Library/Fonts//:/Library/Fonts//:~/Library/Fonts//:/Library/Application 
Support/Adobe/Fonts//

#:~/FontExplorer\ X/Font\ Library//'

ICCPROFILES='~/Library/ColorSync/Profiles//:/Library/ColorSync/Profiles//:/System/Library/ColorSync/Profiles//:' 


Sorry, leave out the quotes, of course!

HR
___
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] Documentation about CTX installation on MacOS X

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

Am 03.01.22 um 08:09 schrieb Jean-Pierre Delange via ntg-context:
Thank you very much for your quick answer to you both Fabrice and 
Henning ! It seems there is no detailed documentation about peculiar 
aspects of CTX on MacOS.


For instance, the use of fonts database on unix-like and MacOS are a bit 
different (but not quite a lot) and this command :

mtxrun --script fonts —reload

Works fine with this one based on fontconfig: fc-cache -v -f


I don’t remember to have used this for years. ConTeXt AFAIK doesn’t use 
fontconfig. (LilyPond does...)


There is some adaptation in the transition from Linux to MacOS, because 
one has to play and to look for the fonts paths which are a bit 
different with Mac than the Unix paths …


Of course, but that is basic MacOS knowledge and not specific to ConTeXt.

You might want to set:

OSFONTDIR='/System/Library/Fonts//:/Library/Fonts//:~/Library/Fonts//:/Library/Application 
Support/Adobe/Fonts//

#:~/FontExplorer\ X/Font\ Library//'

ICCPROFILES='~/Library/ColorSync/Profiles//:/Library/ColorSync/Profiles//:/System/Library/ColorSync/Profiles//:'

PATH=~/lmtx/tex/texmf-osx-64/bin:/Library/TeX/texbin:...
(whereever you installed ConTeXt)

I also suggest to install everything personal in ~/texmf (same on Linux) 
and not in texmf-local or texmf-project, at least if you are planning to 
have parallel installations (which make sense if you want to keep a 
"stable" version but also want to check out new features/bugfixes).


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] Documentation about CTX installation on MacOS X

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

Am 03.01.22 um 03:26 schrieb Jean-Pierre Delange via ntg-context:
Now my question : I want to try CTX (ConTeXtver: 2021.12.30) on MacOS X 
(currently 10.13  High Sierra), while I was formerly working with old 
versions on Linux and Windows based systems. Among other difficulties 
(like how to export OSFONDIR permanently), I don’t find the clever 
command . setuptex, which made possible a bunch of other commands (like 
context —make and context —generate). Even if a lot of things on MacOS X 
seem to share with Unix-like systems, I am looking for detailed 
documentation concerning a well done installation of CTX on MacOS X.


You can install LMTX the usual Unix way 
(https://wiki.contextgarden.net/Installation); setuptex doesn’t exist 
any more.


And then you can install modules: 
https://wiki.contextgarden.net/Modules#ConTeXt_LMTX


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] New Year / meetup

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

Hi everybody,

my best wishes for a healthy, successful and generally happy new year! 
(We need it.)


The next online meetup will be on Tuesday, Jan. 11th.
I’ll send a reminder.

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?

2021-12-21 Thread Henning Hraban Ramm via ntg-context

Am 21.12.21 um 11:06 schrieb Denis Maier via ntg-context:

Thanks for bringing this topic up again. I'd also be highly interested in this!


Me too as a publisher in the humanities and evangelist for ConTeXt ;)

I raised the subject at previous context meetings, but the requirements 
for criticial editions differ so much that it’s hard to tell what is 
really needed.


So it’s good that Jürgen came up with his requirements and solution 
attempts.


I remember several interesting talks about big edition projects at DANTE 
conferences and online, also of course Massi’s MEO project, and since I 
also typeset a German literature magazin called “Kritische Ausgabe” I 
always wanted to publish a book on the subject of big editions from the 
editorial and technical view...


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] Regular online meet-up

2021-12-14 Thread Henning Hraban Ramm via ntg-context

We’re online NOW! You can still join us. ;)

Hraban

Am 07.12.21 um 15:29 schrieb Henning Hraban Ramm via ntg-context:

You’re invited to join next Tuesday, December 14th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans offered to give a Q session again – please announce subjects 
you’d like to discuss ASAP, so that he can prepare.



I’d suggest to have a look at the recent changes to learn how they might 
affect us: math font settings, bars, some outdated modules, low-level 
stuff...



[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the 
audio.
(Some strings might be different, I see the German interface, you should 
get the main language of your browser.)
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button. Beware 
there is only one presenter, so don’t kill someone else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), 
call +49-6151-86275-22 (German landline); then you must enter a PIN that 
changes every time – if you need it, ask me for it via email. 
Mute/unmute your microphone with "0".


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

Next time will be January 11th.

See you, 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] inserts and columns

2021-12-10 Thread Henning Hraban Ramm via ntg-context

I stumbled upon a curious problem:

"""
\starttext
Some text\footnote{with a footnote}

\startcolumns
\samplefile{knuth}

\samplefile{knuth}
\stopcolumns

\samplefile{knuth}

\stoptext
"""

The footnote is typeset after the columns, not at the bottom of the 
page, and collides with text before and after.


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] All Equations

2021-12-10 Thread Henning Hraban Ramm via ntg-context

Am 10.12.21 um 18:03 schrieb Aditya Mahajan via ntg-context:

On Fri, 10 Dec 2021, Henning Hraban Ramm via ntg-context wrote:


Since I never used math with ConTeXt, I tried to replicate XKCD 2034 as an
exercise (see below and attached). I’d like to put it on the wiki and in my
book.

I know this is nonsense, but I’d like to do it right.


https://www.explainxkcd.com/wiki/index.php/2034:_Equations


Thank you, Aditya & Wolfgang! (Aditya posted first, but Wolfgang’s 
message arrived earlier – geography seems to matter ;)


So I could fix most of my issues, just the “gauge theory” and “truly 
deep physics” examples I can’t complete, and the website unfortunately 
doesn’t contain the (LaTeX) code of those.


- How can I put a hat accent on \left( and \right) ?
– f̵ and u̧ use combining accents; the characters show correctly in my 
editor, but not in the resulting PDF.


Hraban

allformula.tex
Description: TeX 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
___


[NTG-context] All Equations

2021-12-10 Thread Henning Hraban Ramm via ntg-context
Since I never used math with ConTeXt, I tried to replicate XKCD 2034 as 
an exercise (see below and attached). I’d like to put it on the wiki and 
in my book.


I know this is nonsense, but I’d like to do it right.

In some cases I’m unsure which symbol the author meant, e.g. p or \rho, 
0 or O, 1 or I or | ...

Yes, I could have used proper Unicode characters (ρ, π etc.).

Can you answer my questions (%? in the source)? (Partly TeX related, 
partly math/physics related.)



"""
\setupinteraction[state=start]

\starttext
\subject{All equations\footnote{according to 
\goto{XKCD}[url(https://xkcd.com/2034/)]}...}


... of Kinematics:
\startformula E = K_0t + \frac{1}{2}\rho vt^2 \stopformula
% ? Should it be v or \nu?

... of Number Theory:
\startformula K_\Lambda = 
\sum^\infty_{i=0}\sum^\infty_{\pi=0}(n-\pi)(i+e^{\pi-\infty})\stopformula


... of Fluid Dynamics:
\startformula \frac{\delta}{\delta_t}\nabla\cdot\rho = 
\frac{8}{23}\oiint\rho d_s 
d_t\cdot\rho\frac{\delta}{\delta_\nabla}\stopformula

% ? Would ds dt be better than d_s d_t?

... of Quantum Mechanics:
\startformula I\Psi_{x,y}>=A(\Psi)A(I\times>\oplus Iy>)\stopformula
% ? Should those be I, 1 or |, > or some angle bracket?

... of Chemistry:
\startformula CH_4 + OH + HEAT \rightarrow H_2O + CH_2 + H_2EAT\stopformula
% ? Should we something different for chem. formulae?

... of Quantum Gravity:
\startformula SU(2)U(I) \times SU(U(2))\stopformula
% It’s not even an equation...

... of Gauge Theory:
\startformula
S_g =
\frac{-I}{2\bar{\epsilon}} i \delta
\left(
\xi_{\delta_0} \mathring{+} \rho_\epsilon \rho_v^{abc}\cdot\eta_0
\right)
f_a^0 a\lambda(\rotate[rotation=180,location=high]{\xi})\Psi(O_a)
\stopformula
% ? I guess the first \delta should be crossed somehow?
% ? Is it possible to get \hat accents over the brackets? \hat{\left(} 
doesn’t work.
% ? What’s that symbol after \right) ? (f with two bars, maybe kind of 
integral?)


... of Cosmology:
\startformula h(t) + \Omega + G \cdot \Lambda ...
\startmathcases
\NC ... > 0 \TC (Hubble Model) \NR
\NC ... = 0 \TC (Flat Squere Model) \NR
\NC ... < 0 \TC (Bright Dark Matter Model) \NR
\stopmathcases
\stopformula

... of Truly Deep Physics: \startformula \hat{H} - \c{u}_0 = O\stopformula
% ? How can I get a cedilla under the u? \c{u} is wrong.

\page
\subject{Original}
\externalfigure[https://imgs.xkcd.com/comics/equations.png][width=\textwidth]
\stoptext
"""

Hraban

allformula.tex
Description: TeX document


allformula.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] \WORD regression

2021-12-10 Thread Henning Hraban Ramm via ntg-context

Am 10.12.21 um 12:53 schrieb Wolfgang Schuster:

Henning Hraban Ramm via ntg-context schrieb am 10.12.2021 um 08:20:

Am 09.12.21 um 19:00 schrieb Henning Hraban Ramm via ntg-context:


\starttext
\WORD{größer}
\stoptext

\WORD used to handle "ß" correctly, i.e. convert it to "SS"; now it 
makes "sS".


(If the current font contains an uppercase ß that would be even 
better, but those are rare).


I can’t tell when it changed (some LMTX versions ago) and can’t check 
MkIV, since "mtxrun --generate --luatex" doesn’t work.


Hans sent me a fix, I guess it will be included in the next upload.

And yes, uppercase ß (ẞ, U1E9E) would be even better, even according 
to the official German orthography rules since 2017, but there are 
still not many fonts that have it.


\usemodule[lingual-de]

\enabledirectives[fonts.uppercasesharps]

\setupbodyfont[libertinus]

\starttext
\WORD{größer}
\stoptext


Cool, thank you!

It would have been kind of a wonder if ConTeXt wouldn’t already contain 
something like that... ;)


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] \WORD regression

2021-12-09 Thread Henning Hraban Ramm via ntg-context

Am 09.12.21 um 19:00 schrieb Henning Hraban Ramm via ntg-context:


\starttext
\WORD{größer}
\stoptext

\WORD used to handle "ß" correctly, i.e. convert it to "SS"; now it 
makes "sS".


(If the current font contains an uppercase ß that would be even better, 
but those are rare).


I can’t tell when it changed (some LMTX versions ago) and can’t check 
MkIV, since "mtxrun --generate --luatex" doesn’t work.


Hans sent me a fix, I guess it will be included in the next upload.

And yes, uppercase ß (ẞ, U1E9E) would be even better, even according to 
the official German orthography rules since 2017, but there are still 
not many fonts that have it.


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] \WORD regression

2021-12-09 Thread Henning Hraban Ramm via ntg-context


\starttext
\WORD{größer}
\stoptext

\WORD used to handle "ß" correctly, i.e. convert it to "SS"; now it 
makes "sS".


(If the current font contains an uppercase ß that would be even better, 
but those are rare).


I can’t tell when it changed (some LMTX versions ago) and can’t check 
MkIV, since "mtxrun --generate --luatex" doesn’t work.


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] double underbars

2021-12-09 Thread Henning Hraban Ramm via ntg-context

Am 30.11.21 um 16:17 schrieb Hans Hagen via ntg-context:



Another question: what do you mean with a dy-shift version?


Nested bars have a parameter ‘dy’ which controls the vertical shifts 
needed to make sure that they do not overlap. Text backgrounds do not 
have that option at all.
i've added that so one can nest the mp driven ones but still within the 
same category ... i'll look into a mix (more complex management wise so 
typically a rainy weekend thing; i know how to do it but ...)


If I use \overbar within \underbar, the same dy is used, i.e. in the 
example, the first \overbar is in the right location, while the second 
is too high:


\starttext

\overbar{Über} \underbar{Unterstrich \underbar{steigt \overbar{auf} den 
\underbar{Unterberg}}}.


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


Re: [NTG-context] Regular online meet-up

2021-12-07 Thread Henning Hraban Ramm via ntg-context

You’re invited to join next Tuesday, December 14th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans offered to give a Q session again – please announce subjects 
you’d like to discuss ASAP, so that he can prepare.



I’d suggest to have a look at the recent changes to learn how they might 
affect us: math font settings, bars, some outdated modules, low-level 
stuff...



[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
(Some strings might be different, I see the German interface, you should 
get the main language of your browser.)
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button. Beware 
there is only one presenter, so don’t kill someone else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), 
call +49-6151-86275-22 (German landline); then you must enter a PIN that 
changes every time – if you need it, ask me for it via email. 
Mute/unmute your microphone with "0".


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

Next time will be January 11th.

See you, 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] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-04 Thread Henning Hraban Ramm via ntg-context

Am 04.12.21 um 00:27 schrieb Aditya Mahajan via ntg-context:


Not placed at the right place. From your log file:

open source > level 2, order 3, name 
'/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-local/m-circuitikz.mkxl'

(I am surprised it gets found! The should be texmf-local/tex/context/ sub-dir)


Well, if the database is made, ConTeXt will find files in *all* the 
texmf trees.


BTW OT, I wouldn’t suggest to use texmf-local or texmf-project; while 
these are never overwritten by an update, you must copy them to a new 
installation. I prefer ~/texmf for my personal fonts, modules etc., 
because it’s independent of the ConTeXt installation I’m currently 
using, while it’s still a valid texmf tree searched by default.


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] double underbars

2021-11-30 Thread Henning Hraban Ramm via ntg-context

Am 30.11.21 um 14:19 schrieb Taco Hoekwater via ntg-context:

I would like to have this type of “complete” bar nesting as well.


YES, #metoo


As it stands, you can nest \underbars inside \underbars and \overstrikes inside 
\overstrikes and \overbars inside \overbars, but no other combinations work. 
Interoperability between these (as well as \underdot, \underdash, \underrandom 
...) would be really cool.

Either with \bar or a nestable dy-shift version of textbackgrounds would be 
really handy sometimes. :)


\startbar[under,over,strikethrough] ... \stopbar ?

\barbar[top=single,bottom=double,mp=mp:swiggly]{text} ?

A nestable version of the existing bars would have the advantage that 
you can add bars one after the other.


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] Parameter order in float location matters

2021-11-30 Thread Henning Hraban Ramm via ntg-context

Am 30.11.21 um 13:38 schrieb Marco Patzer via ntg-context:


As far as I know there's no way to only turn off captions, so one
has to know the default placement value (which might be buried in an
environment file) and specify it again together with the “none”
option.

If you (or someone else) knows a way to disable the caption without
influencing the placement, I'm all ears.


Now I understand your problem, and unfortunately I can’t help you.

Maybe you could define your own float type for the cases without caption?

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] Parameter order in float location matters

2021-11-30 Thread Henning Hraban Ramm via ntg-context

Am 30.11.21 um 12:16 schrieb Marco Patzer via ntg-context:

Hi!

Today I discovered that the parameter order in float location matters:

\starttext
   \samplefile{knuth}

   \startplacefigure [location={top,none}]  %% works: float is at the top
 \externalfigure
   \stopplacefigure

   \startplacefigure [location={none,top}]  %% top is ignored here
 \externalfigure
   \stopplacefigure
\stoptext

Not sure if that's how it's supposed to be. In any case, I didn't
expect it.


Well, in {bottom,top,here} it’s the order that TeX should try.
In some other combinations it might make less sense.

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] Influence location of luametatex-cache

2021-11-29 Thread Henning Hraban Ramm via ntg-context

Am 29.11.21 um 11:16 schrieb Marco Patzer via ntg-context:

Hi!

when LMTX is installed in a read-only location (e.g. /opt) it
creates a directory "luametatex-cache" in $HOME.

How to influence the location of the cache directory?


Try to set TEXMFCACHE

see also: mtxrun --variables

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] Blocks inside a conditional mode.

2021-11-28 Thread Henning Hraban Ramm via ntg-context

Am 28.11.21 um 19:39 schrieb Fabrice L via ntg-context:
I have an error when I try to insert a block inside a conditional mode 
(but there is two nested conditional mode.. is this the problem ?).


You can’t nest modes in \startmode ... \stopmode.
I don’t know what are the limitations of \doifmode.

Maybe it helps to use additional grouping with {}, \bgroup .. \egroup or 
\start .. \stop.


In my courses notes, I insert some blocks (named «  Complement » in the 
minimal exemple below) when in « Professor » mode. This works fine, as 
shown in the first «  \beginComplement … \endComplement  » of my example 
below.


Maybe you can work with buffers or (ConTeXt) blocks (the latter were 
recently discussed here, it’s a quite unknown mechanism).



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] Typographical quotes

2021-11-28 Thread Henning Hraban Ramm via ntg-context

Am 28.11.21 um 11:32 schrieb Hans Hagen via ntg-context:

On 11/27/2021 9:48 PM, Aditya Mahajan via ntg-context wrote:

I am not opposed to remove 8bit TeX hacks. I was simply objecting for 
removing the apostrophe mapping. For example, you used it in the 
sentence above (in “don't”)!
english quotes have hyjacked dutch quotes so long ago i already gave up 
on caring too much ... 


It’s not English vs. Dutch (or any other language) but keyboard layout 
limitations from the typewriter era vs. typography.


" and ' are wrong in English, too.

Hraban the Typesetter
___
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] Have a cell span multiple columns with tabulate

2021-11-27 Thread Henning Hraban Ramm via ntg-context

Am 27.11.21 um 21:49 schrieb Denis Maier via ntg-context:
Hans added a short while ago a span feature to tabulate but it works 
only for simple tables (e.g. single line cells).


You mean every cell has to be a single line cell? Or the ones where this 
span features applies ? That would be enough for me – at least ATM.


How does that feature work? I couldn’t find information about it.


Now it’s documented:
https://wiki.contextgarden.net/Tabulate

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] Typographical quotes

2021-11-27 Thread Henning Hraban Ramm via ntg-context

Am 27.11.21 um 18:40 schrieb Aditya Mahajan via ntg-context:

On Sat, 27 Nov 2021, Wolfgang Schuster via ntg-context wrote:

The option is no longer part of the default feature set.


Personally, I think that that is a bit extreme. An apostrophe is a really 
common construct and I suspect that this change in default will mean that 
almost everyone needs to add tlig in their documents. We may perhaps need a 
'sensible-defaults' module :-)


Nothing against such a module, but I think it’s wrong to expect 
automatical text replacements. If I type ' or " or -- I don’t want that 
replaced, even if it may be traditional TeX behavior.


Is it too much to remember a few shortkeys for typographical glyphs?

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] adjusting vertical space

2021-11-25 Thread Henning Hraban Ramm via ntg-context

Am 25.11.21 um 00:06 schrieb jbf via ntg-context:
The following MWE produces a passable result for a half-title page, but 
I need to reduce the vertical space between 'A JOURNEY' and 'from the' 
so that the 'h' of the 'the' is just touching the baseline of the 'R' in 
JOURNEY. At the moment there is some distance between them.


I thought I could do this with \setupinterlinespace[] (not represented 
in the MWE because it did not work) but no matter what dimensions I put 
in there, it makes no difference. Is there another way I can make 
infinitesimal adjustments to distance between the two lines in question?


You can try \offset[y=-3pt]{your text} or \vskip-3pt

Not good style, but could work.

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] Creating bibliographies with ox-context

2021-11-23 Thread Henning Hraban Ramm via ntg-context

Am 23.11.21 um 18:51 schrieb Henning Hraban Ramm via ntg-context:

Am 23.11.21 um 18:02 schrieb juh via ntg-context:

Hi all,

I am kind of lost with references and ox-context and ox-epub.


What do you mean with "ox"?


Is there a tutorial how to integrate a bibliography in ConTeXt and
epub-Export?


Did you read the bibliography manual (mkiv-publications.pdf)?


I forgot:
If you don’t need / work from a bibliographical database but you just 
have the sources list for one publication, the “simple & manual” 
approach might suit you:

https://wiki.contextgarden.net/Bibliography#Simple_manual_bibliography
(I never needed more, since I mostly typseset other people’s manuscripts.)

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] Creating bibliographies with ox-context

2021-11-23 Thread Henning Hraban Ramm via ntg-context

Am 23.11.21 um 18:02 schrieb juh via ntg-context:

Hi all,

I am kind of lost with references and ox-context and ox-epub.


What do you mean with "ox"?


Is there a tutorial how to integrate a bibliography in ConTeXt and
epub-Export?


Did you read the bibliography manual (mkiv-publications.pdf)?

ePub is hard (IMO); there’s the ePub manual (epub-mkiv.pdf) and the wiki 
pages Export and ePub:

https://wiki.contextgarden.net/Export
https://wiki.contextgarden.net/ePub

Esp. the latter is incomplete (WIP abandoned – mea culpa).

Since I need to produce an ePub myself, I’ll revisit that subject soon.
Don’t expect it to work automatically – I’m using XSLT to transform 
ConTeXt’s export into HTML.


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] Multiline cell in spreadsheettable

2021-11-19 Thread Henning Hraban Ramm via ntg-context

Am 19.11.21 um 08:48 schrieb juh via ntg-context:


And in https://wiki.contextgarden.net/Command/setupTABLE the parameter
width is not mentioned at all.


Because it inherits from \setupframed where all these parameters are 
declared.



I would like to improve the wiki, any hint where a hint to this would
fit?


Maybe in https://wiki.contextgarden.net/TABLE
That page needs some better structure...

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] Can modes be used for content control?

2021-11-17 Thread Henning Hraban Ramm via ntg-context

> Am 17.11.2021 um 16:08 schrieb ⁨Idris Samawi Hamid ادريس سماوي حامد⁩ 
> <⁨idris.ha...@colostate.edu⁩>:
> 
>> That looks to me like flawed logic – why should content for the unabridged 
>> version appear within the abridged version?
> 
> TeX comments will illustrate:
> 
> ==
> This text goes into the abridged version.
> 
> % This text will appear in the unabridged version.
> 
> And this text goes into the abridged version.
> 
> % And this text goes into the unabridged version.
> 
> And this additional text goes into the abridged version.
> 
> % And this additional text goes into the unabridged version.
> ==
> 
> An abridged run will ignore the commented text, and an unabridged run will 
> include it.

Ok, it it’s about such small snippets, consider 
\doifmode{mode1,mode2}{Conditional text}.

I don’t think you would get shorter markup with nesting.

More possibilities see https://wiki.contextgarden.net/Modes

> Consider variant texts:
> 
> ===
> Here is some text that
>   contains % mode=variantone
>   includes % mode=varianttwo
>   is comprised of % mode=variantthree
> some variants.
> 
> Here is some more text that
>   features % mode=variantone
>   exhibits % mode=varianttwo
>   illustrates % mode=variantthree
> some variants.
> ===
> 
> This example is to be processed to produce exactly three distinct results. 
> So, e.g., "contains" and "features" belong to variantone. Etc. So like XML.

How about:

Here is some text that
\startmodeset
[variantone] {contains}
[varianttwo] {includes}
[variantthree]   {is comprised of}
[default]{doesn’t contain}
\stopmodeset
some variants.


>> It might be a bit annoying, but you could end the previous mode before 
>> starting the next.
> Assuming that I'm not misunderstanding you: For a book-length project, that 
> would be beyond annoying.

Well, it looks like you’ll need a lot of markup anyway.

HTH
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] Checking for a macro in a string without expanding it

2021-11-17 Thread Henning Hraban Ramm via ntg-context


> Am 16.11.2021 um 22:18 schrieb Hans Hagen via ntg-context 
> :

> it's pretty fast and needs no lua magic, only a twisted mind

May I quote you as “ConTeXt needs a twisted mind”? ;D

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] Can modes be used for content control?

2021-11-17 Thread Henning Hraban Ramm via ntg-context

> Am 17.11.2021 um 04:06 schrieb ⁨Idris Samawi Hamid ادريس سماوي حامد via 
> ntg-context⁩ <⁨ntg-context@ntg.nl⁩>:
> 
> Unfortunately - as pointed out on the wiki - modes cannot be nested.

Why would you need that?

You know about \startnotmode and that you can use lists of modes?

\startmode[short,long]
Something that appears everywhere.
\stopmode

\startmode[long] % or \startnotmode[short]
Something that’s only in the long version.
\stopmode

There are also language modes (\startmode[*en]) that might be handy with 
translations.

> Furthermore, each mode is unique and there is apparently no 
> inheritance/continuance.

Can you give an example for a use case?

> What is needed is something like this
> 
> \startmode[abridged]
> \input knuth
> 
> \startmode[unabridged]
> \startblockquote
> \input ward
> \stopblockquote
> \stopmode
> 
> \input zapf
> \stopmode

That looks to me like flawed logic – why should content for the unabridged 
version appear within the abridged version?

It might be a bit annoying, but you could end the previous mode before starting 
the next.
And, as mentioned above, you can use \startmode with lists.

HTH

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] Footnotes in margins

2021-11-16 Thread Henning Hraban Ramm via ntg-context


> Am 16.11.2021 um 12:57 schrieb Marcus Vinicius Mesquita via ntg-context 
> :
> 
> Dear list,
> 
> When running the MWE below, the first footnote does not appear.
> What am I missing?
> 
> \starttext
> \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
> \stoptext

Footnotes are "inserts", and those are apparently tricky...

The other way round (marginals from footnotes) I was told to use scope=local:

\footnote{footnote\inmargin[scope=local]{margin note from footnote}}

Don’t know if that helps.

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] space handling in \type

2021-11-16 Thread Henning Hraban Ramm via ntg-context
Hi,

\starttext
\quotation{\type{\CONTEXT\ }}
\stoptext

gives

“\CONTEXT \”

i.e. the space moved. Why? Bug?

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] mwe (font proble) SOLVED

2021-11-14 Thread Henning Hraban Ramm via ntg-context

> Am 15.11.2021 um 04:34 schrieb Aditya Mahajan via ntg-context 
> :
> 
> On Sun, 14 Nov 2021, skyhorse--- via ntg-context wrote:
> 
>> 
>> Solved.  Well almost.  I do know that it's an access problem of some sort.
>> I used 'font-manager' to look at fonts and it showed  'DejaVu Math Tex Gyre' 
>> as "disabled"
>> For su is shows the font as usable.
>> When context is run su, it compiles successfully.
>> So the fonts are there.  The example does work, but, not for me as user.
>> I for some reason have the some fonts disabled.
>> I'll figure out how to enable them.
> 
> Most likely, you installed context using `su` or `sudo`. It is possible that 
> the directory where the fonts are installed are not readable by the user. 
> 
> The simple work-around is to install context as a regular user so that you 
> have the permissions to read the font files.

... or at least open permissions.

I could imagine the real culprit is the cache tree (i.e. its permissions).

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] Problem with Google Font 'Vollkorn'

2021-11-12 Thread Henning Hraban Ramm via ntg-context


> Am 12.11.2021 um 18:23 schrieb Michael Urban via ntg-context 
> :
> 
> I downloaded the Google free font ‘Vollkorn’ 
> (https://fonts.google.com/specimen/Vollkorn) into an appropriate directory 
> and ran 
> mtxrun --script font --reload 
> all went well, and the Vollkorn truetype fonts show up in the output of 
> mtxrun --script font --list --all   .
> 
> However, the following input:
> 
> \starttext
> \definedfont[name:vollkornregular*default at 14pt]
> \input tufte
> \stoptext
> 
> fails, with the following output:
> system   > ConTeXt  ver: 2020.03.10 14:44 MKIV beta  fmt: 2020.6.8  int: 
> english/english
> 
> fonts   > otf loading > loading 
> 'MYPATH/texmf/fonts/truetype/google/Vollkorn-Regular.ttf', hash 
> 'vollkorn-regular'
> fonts   > otf loading > loading failed due to read error
> fonts   > defining > forced type 'ttf' of 'Vollkorn-Regular' not found
> fonts   > defining > font with asked name 'Vollkorn-Regular' is not 
> found using lookup 'name'
> fonts   > defining > unknown font 'Vollkorn-Regular', loading aborted
> 
> This is on Mac OSX.   I don't recall this problem coming up before.  
> Evidently the difficulty is that it is expecting an otf font and is 
> confounded by the truetype file.   
> 
> The ConTeXt font system always bewilders me, but this time it's pretty 
> specific.  Help?
> 

For me it works on MacOS 10.14 and ConTeXt LMTX 2021.10.28.

Does your list look like mine?:

$ mtxrun --script fonts --list --all --pattern=vollkorn
identifierfamilyname   fontname  filename   
subfont   instances

vollkornblack vollkorn vollkornblack 
Vollkorn-Black.ttf
vollkornblackitalic   vollkorn vollkornblackitalic   
Vollkorn-BlackItalic.ttf
vollkornbold  vollkorn vollkornbold  
Vollkorn-Bold.ttf
vollkornbolditalicvollkorn vollkornbolditalic
Vollkorn-BoldItalic.ttf
vollkornextrabold vollkorn vollkornextrabold 
Vollkorn-ExtraBold.ttf
vollkornextrabolditalic   vollkorn vollkornextrabolditalic   
Vollkorn-ExtraBoldItalic.ttf
vollkornitalicvollkorn vollkornitalic
Vollkorn-Italic.ttf
vollkornmediumvollkorn vollkornmedium
Vollkorn-Medium.ttf
vollkornmediumitalic  vollkorn vollkornmediumitalic  
Vollkorn-MediumItalic.ttf
vollkornnormalvollkorn vollkornitalic
Vollkorn-Italic.ttf
vollkornregular   vollkorn vollkornregular   
Vollkorn-Regular.ttf
vollkornsemibold  vollkorn vollkornsemibold  
Vollkorn-SemiBold.ttf
vollkornsemibolditalicvollkorn vollkornsemibolditalic
Vollkorn-SemiBoldItalic.ttf

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] rule beneath chapter number

2021-11-12 Thread Henning Hraban Ramm via ntg-context


> Am 12.11.2021 um 09:47 schrieb jbf via ntg-context :
> 
> In fact, in this instance, adjusting the roffset solved the problem, and I 
> didn't see any marked change using the proportional tabular (monospaced?) 
> fontfeature you suggest, though it is an interesting point to bear in mind in 
> the future. I'd always thought of proportional versus tabular rather than 
> proportional + tabular.

You’re right, tabular numbers are nonproportional. I meant versal (“normal”) 
numbers in opposite of oldstyle (mediaeval) numbers.

I often use the Alegreya fonts, and they default to oldstyle numbers.


> Am 12.11.2021 um 14:47 schrieb Wolfgang Schuster 
> :
> 
> Henning Hraban Ramm via ntg-context schrieb am 12.11.2021 um 09:09:
>> \definefontfeature[ptabnum][default][
>>   onum=no,pnum=yes,tnum=yes,
>> ]
> 
> You can't activate pnum and tnum at the same time, only one is possible.

I don’t doubt that you’re right. I was probably tinkering until the result 
fitted my needs. Or the font has wrong features...


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] rule beneath chapter number

2021-11-12 Thread Henning Hraban Ramm via ntg-context


> Am 12.11.2021 um 06:26 schrieb jbf via ntg-context :
> 
> It does seem, though, just using '1' as the chapter number for the moment, 
> that the underline is not quite centered; almost but not quite. So am playing 
> around with the roffset to adjust that.

It might make sense to use a different number style for paginations – most 
fonts set unproportional tabular numbers as default, in this case proportional 
tabular numbers make sense. That will affect the spacing around the 1 – don’t 
know if it solves your case.

Example from one of my projects:

\definefontfeature[ptabnum][default][
  onum=no,pnum=yes,tnum=yes,
]
\definefontfeature[tabnum][default][
  onum=no,pnum=no,tnum=yes,
]


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] escape io.fileseparator in Windows

2021-11-04 Thread Henning Hraban Ramm via ntg-context

> Am 04.11.2021 um 15:54 schrieb Pablo Rodriguez via ntg-context 
> :
> 
> I’m really suprised that Windows accepts slashes in paths.

It does at least since Windows NT.

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] Regular online meet-up

2021-11-02 Thread Henning Hraban Ramm via ntg-context
You’re invited to join next Tuesday, November 9th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke

ConTeXt users of all levels are welcome!

Hans offered to give a Q session again – please announce subjects you’d like 
to discuss ASAP, so that he can prepare.


From my part:

I will show off the novel that I’m sending to the printshop tomorrow. Typeset 
with extreme HZ...
A first run of these 332 pages needed just 33s on my old Mac – ConTeXt LMTX is 
fast! (In comparison: a first latexmk run of my short DTK article about the 
ConTeXt meeting, using the DTK LaTeX class, needed more than a minute. My 
ConTeXt book though, now at 298 pages and using *all* the features, needs ~8 
min for a first run.)

Also, I’m playing with different SyncTeX parsers for a LaTeX project, maybe 
there’s something to show/discuss next week. (SyncTeX *is* convenient with 
bigger projects! Using MuPDF lib, it should even be possible to combine SyncTeX 
information with PDF annotations to get corrections from PDF into ConTeXt 
sources...)


[Howto]
* No special software installation required; most modern browsers should work 
(WebRTC required).
* Open the above URL, accept the privacy statement, 
* enter your name, 
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
(Some strings might be different, I see the German interface, you should get 
the main language of your browser.)
* Your microphone is muted if you join. Activate microphone and/or camera with 
the buttons at the bottom.
* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make yourself 
the presenter: Click on your user name, change the setting, then you’ll see the 
"screen sharing" button beside the camera button; also there’s now "manage 
presentations" behind the "plus" button. Beware there is only one presenter, so 
don’t kill someone else’s presentation.

[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on your 
side, e.g. with mobile connections.
* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* You can also join with a regular telephone (audio only, of course), call 
+49-6151-86275-22 (German landline); then you must enter a PIN that changes 
every time – if you need it, ask me for it via email. Mute/unmute your 
microphone with "0".

[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable with 
anonymous lurkers.
* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

Next time will be December 14th.

See you, 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] Color profiles (was: Bloody PDF boxes)

2021-11-01 Thread Henning Hraban Ramm via ntg-context

> Am 01.11.2021 um 08:58 schrieb Henning Hraban Ramm via ntg-context 
> :
> 
> And it seems like GWG is in conflict with the PDF association, at least GWG’s 
> recommendations contradict PDF/X.

GWG doesn’t want to contradict but has a quality focus, see 
https://www.pdfa.org/further-quality-requirements-pdfx-plus/
(I attended a few workshops by the author Stephan Jaeggi in about 2005...)

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
___


<    2   3   4   5   6   7   8   9   10   11   >