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
___


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:05 schrieb Floris van Manen via ntg-context 
> :
> 
> this document:
>> and also extendedhttps://wiki.contextgarden.net/PDFX  a bit.
> 
> contains a link to the Ghent Workshop that returns a 404
> 
> [here] -> http://www.gwg.org/recommended_ICC_profiles.phtm -> 404

Thank you. The information from 2008 was outdated anyway; GWG’s latest 
recommendations from 2015 don’t contain ICC profiles any more (maybe their 
settings for commercial applications do, didn’t check).

And it seems like GWG is in conflict with the PDF association, at least GWG’s 
recommendations contradict PDF/X.

I’ll try to reflect both...

From my personal experience:

– If you don’t exactly know what you’re doing, you should use sRGB as RGB 
working color space, because most cameras and scanners use it. Yes, parts of 
the color space are outside the printable range, that’s why GWG (used to) 
recommend ECI RGB.

– Don’t use CMYK images, since they’re bigger, and if they’re not in the same 
CMYK color space as the one used by the printshop, the conversion is more lossy 
than any RGB-CMYK conversion.
– You can use DeviceCMYK (i.e. without profile) for graphical elements, that’s 
what GWG recommends, but it’s against PDF/X-3+.

– Use the latest FOGRA (Coated/Uncoated) CMYK profile as output intent, at 
least that’s what German/European printshops use in offset and digital 
printing. If not, your printshop should tell you which profile they use.
– For printing in the USA, use a SWOP CMYK profile as output intent. (SWOP and 
Euroscale CMYK colors are visibly different!)
– I don’t know about printshops in other parts of the world.

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] SyncTeX setup

2021-10-31 Thread Henning Hraban Ramm via ntg-context
Hi,
has anyone a working SyncTeX setup with ConTeXt LMTX for anything else than 
TeXshop?

With LaTeX, it works for me with Skim (+ Atom/Textadept/TeXworks) and 
TeXstudio. And in TeXshop we got our own parser. But can we expect others to 
adapt to our “superior” SyncTeX format? (I don’t understand the format yet and 
can’t tell what’s the difference.)

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] Bloody PDF boxes and cr*p marks!

2021-10-30 Thread Henning Hraban Ramm via ntg-context
I finally reworked the wiki page https://wiki.contextgarden.net/PDF_Boxes
and also extended https://wiki.contextgarden.net/PDFX a bit.

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] mp-geo Metapost package with ConTeXt

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

> Am 22.10.2021 um 11:31 schrieb Henning Hraban Ramm via ntg-context 
> :
> 
> 
>> Am 17.07.2021 um 12:45 schrieb Hans Hagen :
>> 
>> 
>> \startMPpage
>>   draw lmt_openstreetmap [
>>   filename = "hasselt.osm"
>>   grid = "dots",
>>   ] ;
>> \stopMPpage
>> 
>> The hasselt osm file is sime 12 MB, the colorful hasselt pdf file just below 
>> 1 MB so that's okay (3.7 sec processing time on my machine so if all claims 
>> are right sub seconds on a fast new apple).
> 
> I finally tried this, hoping to replace my Maperitive workflow.
> 
> With a Bonn map from https://download.bbbike.org/osm/bbbike/ of 724 MB I 
> started it last night (~13 h before), and it still didn’t finish. No messages 
> after:
> 
> openstreetmap   > processing file '/Users/hraban/Downloads/ConTeXt/Bonn.osm'
> openstreetmap   > original size 713811948 bytes, stripped down to 603309215 
> bytes
> 
> 
> Maybe I should try smaller files ;)

Indeed:

openstreetmap   > processing file '/Users/hraban/Downloads/ConTeXt/Limburg.osm'
openstreetmap   > original size 12431810 bytes, stripped down to 8768209 bytes
openstreetmap   > xml data loaded
openstreetmap   > 859154 characters metapost code, preprocessing time 3.165 
seconds
...
pdfview | command: open "osm-test.pdf" 1>/dev/null 2>/dev/null &
mtx-context | pdfview overhead: 0.005 seconds
system  | total runtime: 9.211 seconds of 9.328 seconds

The PDF is 488 kB.


Redefining color works, if you know what you’re looking for – and it’s partly 
really strange what is marked how...
Seems like I should start to work on OSM again.

Are there any plans for text labels, e.g. street names? (I guess these are 
really tricky.)

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] mp-geo Metapost package with ConTeXt

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

> Am 17.07.2021 um 12:45 schrieb Hans Hagen :
> 
> 
> \startMPpage
>draw lmt_openstreetmap [
>filename = "hasselt.osm"
>grid = "dots",
>] ;
> \stopMPpage
> 
> The hasselt osm file is sime 12 MB, the colorful hasselt pdf file just below 
> 1 MB so that's okay (3.7 sec processing time on my machine so if all claims 
> are right sub seconds on a fast new apple).

I finally tried this, hoping to replace my Maperitive workflow.

With a Bonn map from https://download.bbbike.org/osm/bbbike/ of 724 MB I 
started it last night (~13 h before), and it still didn’t finish. No messages 
after:

openstreetmap   > processing file '/Users/hraban/Downloads/ConTeXt/Bonn.osm'
openstreetmap   > original size 713811948 bytes, stripped down to 603309215 
bytes


Maybe I should try smaller files ;)


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] precedence of texmf trees

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


> Am 20.10.2021 um 16:38 schrieb Hans Hagen :
> 
> On 10/20/2021 4:21 PM, Henning Hraban Ramm via ntg-context wrote:
>>> Am 20.10.2021 um 10:10 schrieb Hans Hagen :
>>>> Where is the order defined? (Not in TDS.)
>>> mtxrun --show-variables
>> Oh, yes, of course. Thank you!
>>> etc ... it's all TDS
>> I meant, the order of trees is not defined in the TDS proposal 
>> (http://tug.org/tds/tds.html).
> it's kind of defined by texlive but there it changed over time, (main, dist, 
> local, var, home etc and also unix distributers add / patch these variables; 
> some definitions and order can be hard coded in the binary part that deals 
> with kpse file lookup)

I thought so...

> anyway, in context it hasn't changed much and we don’t use the kpse library 
> in mkiv/lmtx so we're not affected by changes; you can of course add more of 
> use a different order (in a local configuration file in e.g. texmf-local)
> 
> (there are plenty of trackers for checking how files are looked up)

I just wanted to give an overview in my book what is where in all those trees, 
and then I recognized I didn’t know the search order.
(Yes, I’m in ConTeXt book writing mode again.)

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] precedence of texmf trees

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

> Am 20.10.2021 um 10:10 schrieb Hans Hagen :
> 
> On 10/19/2021 8:24 PM, Henning Hraban Ramm via ntg-context wrote:
>> Hi wizards,
>> if I have files with the same name in several texmf trees (e.g. 
>> texmf-context, texmf-local, texmf-project, ~/texmf or TeX Live’s texmf-dist, 
>> texmf-var), which one will be used?
>> I guess “local” trees or “local” directories take precedence over 
>> “distribution”, but which is “the localest” of ~/texmf/..., 
>> texmf-dist/.../local, texmf-local/... ?
> 
> > context --generate
> 
> show all this
> 
>> Where is the order defined? (Not in TDS.)
> mtxrun --show-variables

Oh, yes, of course. Thank you!

> etc ... it's all TDS

I meant, the order of trees is not defined in the TDS proposal 
(http://tug.org/tds/tds.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] marginals from footnotes

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

> Am 20.10.2021 um 10:29 schrieb Hans Hagen :
> 
> On 10/19/2021 7:16 PM, Henning Hraban Ramm via ntg-context wrote:
>> Hi, this is an edge case, but I tried to replicate a feature from DANTE’s 
>> LaTeX DTK style where links in the text (and also in footnotes) get a QR 
>> code in the margin.
>> It works for me (using zint) in the running text, but not in footnotes. 
>> Actually, marginals in footnotes are never displayed. Maybe I shouldn’t 
>> expect it to work, but I’d like to have this... Is it possible?
> 
> you should know by now that in tex 'all is possible' somehow

Yes, but I didn’t want to assume too much, and since inserts are tricky...

> 
>> \starttext
>> \samplefile{tufte}\inmargin{margin note}
>> bla\footnote{footnote\inmargin{margin note from footnote}} bla
>> \stoptext
> \starttext
>\samplefile{tufte}\inmargin{margin note}
>bla\footnote{footnote\inmargin[scope=local]{margin note from footnote}} bla
> \stoptext
> 
> (note content is not part of the page flow)

Thank you, that works great so far!

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] Bloody PDF boxes and cr*p marks!

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

> Am 12.10.2021 um 20:48 schrieb Hans Hagen :
> 
>> Hm, you implemented these boxes only in 2015, there was not much change in 
>> that regard since then.
> 
> Way earlier but it wasn't enabled ... (I'm not going to check ancient tex 
> live dvd's).
> 
>addtopageattributes("CropBox",box) -- mandate for rendering
>addtopageattributes("TrimBox",box) -- mandate for pdf/x
> -- addtopageattributes("BleedBox",box)
> -- addtopageattributes("ArtBox",box)
> 
> I remember discussing it with (I think) Pablo and it definityely came up when 
> we were dealing with these 'standards'.

Ok. I found it in lpdf-mis.lua, maybe I’ll use the Lua function directly.

>>> well, that's an assumption ... who knows what a printer (driver) does ...
>> Who sends PDF files directly to a printer (driver)? I know it only from 
>> automated, professional workflows.
>> Usually printer drivers gets fed by PDF viewers, and I know none that even 
>> *can* print something different than CropBox.
> 
> afaik some printers accept pdf (hard to check) but I the fact that a viewer 
> does something doesn't mean it did years ago (just like at how crippled 
> tounicode has been / is supported over time)

Yes, you can send PDF files to some copiers and other professional printing 
devices. But usually you do this via the manufacturer’s workflow tools – only a 
few admins still know how to (ab)use a prn queue ;)

 Beware, \setupbleeding refers only to stretching of images 
 (\externalfigure)!
>>> 
>>> fwiw, that bleeding options is mostly there to communicate with mp
>> Good to know. I just browsed the Details manual, didn’t try it yet, since I 
>> scale and move my “bleeding” images differently.
> 
> i actually need to pick up that bit ... (some code in my local styles i need 
> to check) because it can be handy for cover pages (but then i also need to 
> check if i don't break something

I’d be interested to see what you’re trying.
I want to create my covers more and more with ConTeXt to avoid manual adaptions 
due to number of pages.

>>> the problem is as usual documentation and indeed we can have some backward 
>>> compatibility issue here ... i honestly have no clue how viewers and 
>>> printers react (so if something would be added/changed it would be option 
>>> driven)
>> I wouldn’t expect printers (office printing devices) to react at all; I hope 
>> that printers (printshop workers) will react positively to correct boxes in 
>> our PDFs ;)
> 
> oh, i'm often surprised about printing houses .. (the best were some comment 
> on a file having rgb bitmaps while it actually had cmyk outlines and 
> validators/fixers inlining xforms while setting lines to 0pt widths) .. and 
> some still use acrobat 4 -)

Yep, last weekend I finally sent the latest issue of our magazine to the 
printshop, of course with correctly set boxes (and markings activated), and 
since the content didn’t need bleed this time, I set the CropBox to TrimBox. 
Everything in perfect order – but they charged me for adding crop marks... 
(Without even asking back.) I’ll teach them PDF basics.

BTW, is there a hook to replace crop marks with my own?
Ah, found page-mrk.mkiv
Can I just replace \startuniqueMPgraphic{print:lines} ?
(Something to play with if I get into MP mode...)


>>> probably spreads need some treatment (imposition)
>> Multiple pages on a sheet are not considered by the PDF specs.
> 
> yes but what of context imposes

Right. IMO, if there’s a BleedBox defined, ConTeXt should use it as “page 
size”, otherwise CropBox.

> remind me in a few months (it's a typical boring winter evening activity with 
> some music blu ray (or movie) running on a second screen)

I’ll never understand how others can work with such distractions ;)


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] precedence of texmf trees

2021-10-19 Thread Henning Hraban Ramm via ntg-context
Hi wizards,

if I have files with the same name in several texmf trees (e.g. texmf-context, 
texmf-local, texmf-project, ~/texmf or TeX Live’s texmf-dist, texmf-var), which 
one will be used?

I guess “local” trees or “local” directories take precedence over 
“distribution”, but which is “the localest” of ~/texmf/..., 
texmf-dist/.../local, texmf-local/... ?

Where is the order defined? (Not in TDS.)

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] marginals from footnotes

2021-10-19 Thread Henning Hraban Ramm via ntg-context
Hi, this is an edge case, but I tried to replicate a feature from DANTE’s LaTeX 
DTK style where links in the text (and also in footnotes) get a QR code in the 
margin.

It works for me (using zint) in the running text, but not in footnotes. 
Actually, marginals in footnotes are never displayed. Maybe I shouldn’t expect 
it to work, but I’d like to have this... Is it possible?


\starttext

\samplefile{tufte}\inmargin{margin note}
bla\footnote{footnote\inmargin{margin note from footnote}} bla

\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] Update now!

2021-10-13 Thread Henning Hraban Ramm via ntg-context
Now is a good time to update your LMTX installation, since the current version 
(October 10th) works well in many regards (esp. footnotes).

I didn’t check yet some areas that are known to be problematic, like columns, 
but my projects with hundreds of footnotes (including side floats in footnotes) 
and other complex stuff look as they should.

Thank you, Hans!


That doesn’t mean I’ll stop complaining about stuff I would like to behave 
differently, of course ;)

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] Bloody PDF boxes and cr*p marks!

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

> Am 12.10.2021 um 13:15 schrieb Hans Hagen :
> 
> On 10/12/2021 12:36 PM, Henning Hraban Ramm via ntg-context wrote:
>> Comrades!
>> There must have been a time when PDF boxes (i.e. CropBox, TrimBox, BleedBox) 
>> worked as they should, but it must have been a short time.
> 
> I long ago lost track of what all that means ... decades of pdf ... different 
> viewers, different interpretations ... validators complaining about things 
> missing ... i guess that bit (like annotations) will always be in flux (also 
> because specs came before implementations i guess).

Hm, you implemented these boxes only in 2015, there was not much change in that 
regard since then.

>> * BleedBox must be TrimBox plus bleed.
> 
> a relative new one, probably also sensitive for interpretation by renderer, 
> imo worthless

Not worthless; workflow systems in printshops rely on BleedBox and TrimBox. 
It’s not about rendering, but imposition and even postprocessing (cutting etc.).

>> * ArtBox is neglectable for whole layouts (same as TrimBox might make 
>> sense), just interesting in \externalfigure.
> 
> also worthless

I agree.

>> With
>> \setuppaper[A4][A4,oversized]
>> I’d expect ConTeXt to set...
>> * MediaBox and CropBox to the bigger format
>> * TrimBox to the page format (A4)
>> * BleedBox also to the page format, while no bleed is defined
> 
> well, that's an assumption ... who knows what a printer (driver) does ...

Who sends PDF files directly to a printer (driver)? I know it only from 
automated, professional workflows.
Usually printer drivers gets fed by PDF viewers, and I know none that even 
*can* print something different than CropBox.

>> Beware, \setupbleeding refers only to stretching of images (\externalfigure)!
> 
> fwiw, that bleeding options is mostly there to communicate with mp

Good to know. I just browsed the Details manual, didn’t try it yet, since I 
scale and move my “bleeding” images differently.

>> * to define trimoffset, I must know the difference between paper size and 
>> sheet size ("oversized" adds 15 mm).
> 
> oversized is a convenience feature, in prepress one would define a real, 
> target size, not rely on a convenience value

But it’s convenient ;) I usually just need a format that is big enough for the 
crop marks, and “oversized” does that.

>> % ... and no dependency on interactionscreen!
> 
> that's a historic fact ... special pdf features triggered by that command .. 
> basically tex only has a page size

Of course, but it doesn’t make sense any more, and defining the boxes wouldn’t 
hurt anyone. (I’m quite sure, but let them beat me ;))

>> Yes, that would mean a backward incompatible change. But how many of us rely 
>> on the strange current behavior?
>> Please let us fix this!
> 
> the problem is as usual documentation and indeed we can have some backward 
> compatibility issue here ... i honestly have no clue how viewers and printers 
> react (so if something would be added/changed it would be option driven)

I wouldn’t expect printers (office printing devices) to react at all; I hope 
that printers (printshop workers) will react positively to correct boxes in our 
PDFs ;)

>> In some cases it makes sense to have different values on e.g. inner and 
>> outer edges; I feat that would add a plethora of additional parameters 
>> (leftbleedoffset, innerbleedoffset...).
>> Maybe give a list like in CSS? bleedoffset={3mm,3mm,3mm,0mm} – top, right, 
>> bottom, left order implied; not very “ConTeXt style”.
> probably spreads need some treatment (imposition)

Multiple pages on a sheet are not considered by the PDF specs.

> (i'm pretty sure that changes will themselves introduce new issues)

Probable.

> anyway, we can look at it once we're all on lmtx because i'm not going to 
> change mkiv in that aspect

Ok

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] body text and footnote space

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

> Am 12.10.2021 um 13:25 schrieb Hans Hagen via ntg-context 
> :
> 
> On 10/12/2021 3:09 AM, jbf via ntg-context wrote:
>> Dear list,
>> I note previous discussions on the matter of body text invading footnote 
>> space (as late as last year). As I am currently typesetting a 400 plus page 
>> academic text with hundreds of footnotes, and do not have the option of 
>> making them endnotes, I am facing this issue page after page. The only 
>> solution I have for now is to make per page layout adjustments to reduce a 
>> line or two, so there is a way to handle it, but given ConTeXt's 
>> 'perfection' generally, I would be very interested to know if there is any 
>> other solution forthcoming. I've tried various options in \setupfootnotes 
>> and \setuptolerance', but to no avail.
> Is this still the case in the latest version?

In my projects it looks good 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
___


[NTG-context] Bloody PDF boxes and cr*p marks!

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

There must have been a time when PDF boxes (i.e. CropBox, TrimBox, BleedBox) 
worked as they should, but it must have been a short time.
The wiki page https://wiki.contextgarden.net/PDF_Boxes is mostly a 
documentation of bugs and workarounds, but even that is not entirely correct 
(any more?).
I gave up on that subject and still fix the boxes with Acrobat Pro whenever I 
need them to be correct. But that’s no solution.
(And it’s probably also my fault, since I was one of those who wanted this 
implemented and then didn’t check enough if it does what it should.)

Ok, calm down, try again...

* MediaBox is supposed to be the biggest, i.e. print sheet.
* CropBox is the viewable area – usually same as MediaBox or TrimBox makes 
sense.
* BleedBox must be TrimBox plus bleed.
* ArtBox is neglectable for whole layouts (same as TrimBox might make sense), 
just interesting in \externalfigure.

According to PDF Standard, MediaBox is the only required one; but CropBox is 
the most important one, since PDF viewers rely on it.

With
\setuppaper[A4]
all boxes can be the same (or undefined). Status quo.

With
\setuppaper[A4][A4,oversized]
I’d expect ConTeXt to set...
* MediaBox and CropBox to the bigger format
* TrimBox to the page format (A4)
* BleedBox also to the page format, while no bleed is defined

Status quo: no additional boxes defined.

Beware, \showframe draws a green box at the paper size (supposed TrimBox), this 
is misleading in Acrobat Reader & Pro, where the TrimBox is shown in green (if 
this option is activated)!

Bleed is to be defined in \setuplayout:

\showframe
\setuppapersize[A4][A4,oversized]
\setuplayout[
  location=middle,
  bleedoffset=-5mm,
  marking=on,
]
%\setupinteractionscreen[width=max,height=max]

\starttext
X

\stoptext

Status quo: 
* works only with \setupinteractionscreen
* bleedoffset must be negative
* BleedBox is set, but not TrimBox (TB > BB is a nesting error)

Beware, \setupbleeding refers only to stretching of images (\externalfigure)!


This gives more or less correct results:
\setuplayout[
  location=middle,
  trimoffset=-7.5mm,
  bleedoffset=3mm,
  marking=on,
]

* still works only with \setupinteractionscreen
* negative trimoffset defines the TrimBox (actual page size), value is 
subtracted from sheet size.
* positive bleedoffset (internally added to trimoffset)
* to define trimoffset, I must know the difference between paper size and sheet 
size ("oversized" adds 15 mm).

I.e. ConTeXt “thinks” from the sheet size instead from the (IMO more natural) 
paper size.

For me, the more natural setup would be:
\setuplayout[
  trimoffset=0mm, % from the paper size outward
  bleedoffset=3mm, % same, independent of trimoffset
]
% ... and no dependency on interactionscreen!

So far, I ignored cropoffset.
The parameter in itself works as I expected it to: cropoffset=3mm decreases the 
visible area by 3mm on each side.
But it also moves the other boxes by that value!
IMO that makes no sense, CropBox can be completely independent of the other 
boxes!
It would be logical to use negative values here, since the size decreases, in 
opposite to my suggested handling of the other parameters.

Yes, that would mean a backward incompatible change. But how many of us rely on 
the strange current behavior?
Please let us fix this!


In some cases it makes sense to have different values on e.g. inner and outer 
edges; I feat that would add a plethora of additional parameters 
(leftbleedoffset, innerbleedoffset...).
Maybe give a list like in CSS? bleedoffset={3mm,3mm,3mm,0mm} – top, right, 
bottom, left order implied; not very “ConTeXt style”.


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-10-11 Thread Henning Hraban Ramm via ntg-context
Reminder: You’re invited to join tomorrow, Tuesday, October 12th, 15:00 CEST 
(11:00 EDT, 21:00 SGT)

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

ConTeXt users of all levels are welcome!

There’s no prepared subject/talk/presentation (from my side – feel free to 
share something).
But I guess we will discuss PDF viewers some more...

This is meant to be regular, i.e. every second Tuesday of a month. Next time is 
November 11th.
Let’s see how this works out; maybe we need a different day/time.
If we become many, it might make sense to offer something regional or language 
specific...


[Howto]
* No special software installation required; most modern browsers should work 
(WebRTC required).
* Open the above URL, accept the privacy statement, 
* enter your name (or anything you want to be known as), 
* 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]
* 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


> Am 26.09.2021 um 12:16 schrieb Henning Hraban Ramm via ntg-context 
> :
> 
> Am 2021-09-26 11:03, schrieb Alain Delmotte via ntg-context:
>> Hi,
>> What is the BigBlueButton “room”?
>> I am interested.
> 
> Welcome!
> 
> We’re using the facilities of the German charity “Computerwerk Darmstadt 
> e.V.”; the’re very privacy-aware, their free “senfcall.de“ service is based 
> on BigBlueButton (https://bigbluebutton.org).
> Since I got an account, we can use the same “room” all the time:
> https://lecture.senfcall.de/hen-rbr-rku-oke
> I would have published the address later.
> 
>> I hope that the “just finished meeting” was enjoyable, calm, not
>> necessarily reposing and of course fruitful.
> 
> It was, and very inspiring.
> Of course, it was also too much information to process (I still can’t wrap my 
> mind around MetaPost, even less LPEG).
> 
> 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] Does the ConTeXt distro come with a PDFViewer?

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


> Am 09.10.2021 um 15:07 schrieb Ramkumar KB via ntg-context 
> :
> 
> If my memory serves me correctly, I might have noticed (in one of the 
> presentations during the recent ConTeXt meeting) that the distro comes with a 
> PDFViewer. Is that a correct assumption?

No.

There’s no editor or viewer included.

We just discussed features and problems of existing viewers and decided to try 
to support developers in enhancing open source viewers.

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] Adaptation of ConTeXt to Esperanto

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

> Am 08.10.2021 um 22:07 schrieb Alain Delmotte via ntg-context 
> :
> 
> I am using ConTeXt lmtx: "system > ConTeXt ver: 2021.09.26 17:00 LMTX fmt: 
> 2021.9.30 int: english/english"
> But it looks like Esperanto is not loaded:  "languages > language 'en' is 
> active"
> 
> Trying to use 
> \setuplabeltext[eo][figure={Figuro~}]
> \setuplabeltext[eo][table={Tabelo~}]
> doesn't help.
> 
> What canI do?

Are you sure you set \mainlanguage[eo]?

(Can’t help you further, sorry.)

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 SVG icons and text side by side

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


> Am 07.10.2021 um 11:24 schrieb noib3 via ntg-context :
> 
> How can I place an SVG icon "inline", i.e. side by side to some text? Here's 
> my MWE
> 
> ```
> \useURL
>   [github]
>   [https://github.com/test]
>   []
>   [github.com/test]
> 
> \starttext
>   \placefigure[none]{}{\externalfigure[github.svg][width=17.5pt]}
>   \from[github]
> \stoptext
> ```

Just use \externalfigure, since \placefigure creates a float.

If that’s not enough to keep it together, try a \hbox{}

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] Addition of authortitle sorttype for bibliographies

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


> Am 05.10.2021 um 15:52 schrieb mf via ntg-context :
> 
> Anyway I'll prepare an article on running ConTeXt inside a container that 
> could eventually end in the current issue of CJ, since Hraban wrote that
> 
> > New articles are also welcome, as always!

I’m looking forward 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] MkIV missing?

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

> Am 04.10.2021 um 15:33 schrieb Taco Hoekwater via ntg-context 
> :
> 
> We are busy with this off-list.
> 
> If it is urgent: 
> 
> luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin/mtxrun.lua --generate
> 
> fixed it for me (you’ll need to adjust the path, of course)

For me too, while it didn’t work with an absolute path, i.e.

~/lmtx/tex/...  was ok, while
/Users/hraban/lmtx/tex/... was not!

Strange...

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] MkIV missing?

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

> Am 04.10.2021 um 13:06 schrieb Hans Hagen :
> 
> On 10/4/2021 12:39 PM, Henning Hraban Ramm via ntg-context wrote:
>> Hi,
>> since a while, I can’t run MkIV any more, even after several runs of 
>> install.sh (and mtxrun --generate, of course).
>> It’s the same on my Mac and my Linux laptop (of course the bin dir is 
>> different on the latter):
>> $ context --version
>> mtx-context | ConTeXt Process Management 1.04
>> mtx-context |
>> mtx-context | main context file: 
>> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>> mtx-context | current version: 2021.09.26 17:00
>> mtx-context | main context file: 
>> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl
>> mtx-context | current version: 2021.09.26 17:00
>> $ context --version --luatex
>> mtx-context | redirect luametatex -> luatex: luatex --luaonly 
>> "/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context 
>> --version --luatex --redirected
>> mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'
>> $ which context
>> /Users/hraban/lmtx/tex/texmf-osx-64/bin/context
>> $ which luatex
>> /Users/hraban/lmtx/tex/texmf-osx-64/bin/luatex
>> $ luatex --version
>> This is LuaTeX, Version 1.13.0 (TeX Live 2021)
>> ...
>> $ mtxrun --version
>> mtxrun  | ConTeXt TDS Runner Tool 1.32
>> mtxrun  | source path
>> I thought that was related to the server/provider move, but I guess it isn’t.
>> It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so that a 
>> call to mtxrun can’t find any configuration.
> works here ... maybe a --generate issue?

I re-ran the install script with a shell ("sh install.sh" instead just ". 
install.sh"), but that doesn’t change the "unknown script" issue.

"mtxrun --generate" seems to work without problems; or do you see something 
suspicious in the attached log?

Hraban



mtxrun-generate.log
Description: Binary data
___
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] MkIV missing?

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

> Am 04.10.2021 um 13:20 schrieb Taco Hoekwater :
> 
>> On 4 Oct 2021, at 12:39, Henning Hraban Ramm via ntg-context 
>>  wrote:
>> 
>> I thought that was related to the server/provider move, but I guess it isn’t.
>> 
>> It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so that a 
>> call to mtxrun can’t find any configuration.
> 
> That is why I always run “sh install.sh” instead of executing the script 
> directly.

I always ran ". install.sh", i.e. "source install.sh"; calling a shell solves 
the PATH issue. Thanks for the hint!


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] MkIV missing?

2021-10-04 Thread Henning Hraban Ramm via ntg-context
Hi,
since a while, I can’t run MkIV any more, even after several runs of install.sh 
(and mtxrun --generate, of course).
It’s the same on my Mac and my Linux laptop (of course the bin dir is different 
on the latter):

$ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2021.09.26 17:00
mtx-context | main context file: 
/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2021.09.26 17:00

$ context --version --luatex
mtx-context | redirect luametatex -> luatex: luatex --luaonly 
"/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context 
--version --luatex --redirected
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

$ which context
/Users/hraban/lmtx/tex/texmf-osx-64/bin/context

$ which luatex
/Users/hraban/lmtx/tex/texmf-osx-64/bin/luatex

$ luatex --version
This is LuaTeX, Version 1.13.0 (TeX Live 2021)
...

$ mtxrun --version
mtxrun  | ConTeXt TDS Runner Tool 1.32
mtxrun  | source path



I thought that was related to the server/provider move, but I guess it isn’t.

It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so that a 
call to mtxrun can’t find any configuration.

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

> Am 02.10.2021 um 15:33 schrieb Floris van Manen via ntg-context 
> :
> 
> On 01/10/2021 21:22, Alain Delmotte via ntg-context wrote:
>> What is the way to attend: just log to 
>> https://lecture.senfcall.de/hen-rbr-rku-oke ??
>> Thanks for the proposal,
> 
> 
> why not using (free open source) meet.jit.si instead of membershipped 
> yellow-button?

senfcall.de is a free service by a privacy-aware German charity, based on 
BigBlueButton (also open source).
BBB is generally better than Jitsi Meet.
My (free) account allows me to use the same address for the “room” every time 
(and a few other things).

But feel free to offer something else.

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] Question on style-italic vs style=italicface

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

> Am 02.10.2021 um 10:34 schrieb Wolfgang Schuster via ntg-context 
> :
> 
> Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49:
>> 
>> Wolfgang (off-list),
>> 
>> It is simply wrong to say that \italicface as defined gives only \it or \bi 
>> as a result. Look at the definition. If the current fontalternative is it 
>> \it it will give a \tf result. It is sensitive to the current state in a 
>> similar way that \em and \emph are, but it will always give an italic or 
>> roman result.
>> 
> 
> If we leave the comparisons between \em and \italicface aside and talk only 
> about the results from \italicface we have a common ground.
> 
> You're right the results from \italicface aren't predictable and a fix is 
> needed but the same applies also to \boldface, \slantedface and \typeface.
> 
> Attached is the output from a modified version of the styling command (the 
> \sc column is the fallback style). \swapface is unchanged and I'm not sure 
> about its output because it uses the \em code for italic and slanted which 
> means \setupbodyfontenvironment[default][em=blue] affects also the \swapface 
> results.

Thank you very much for attacking and clarifying this! It confused me from the 
beginning...

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-10-01 Thread Henning Hraban Ramm via ntg-context
Sorry, Denis and I agreed to postpone it one week and meet on October _12th_, 
same time.
I’ll send a reminder.

Since there was not much interest, it wouldn’t make sense to start without him.

And yes, you just open that URL*,
agree to the privacy terms (yellow button, in case it comes up in German),
enter your name and confirm ("start" or "participate", depending on if you’re 
the first),
confirm you want to enter with microphone.

Try it any time, just not this sunday evening.

* should work with most modern browsers, i.e. Firefox, Chrome/Chromium, Opera, 
Edge;
Safari doesn’t recognize my camera

See you soon,
Hraban


> Am 01.10.2021 um 21:22 schrieb Alain Delmotte via ntg-context 
> :
> 
> OK for me.
> 
> What is the way to attend: just log to 
> https://lecture.senfcall.de/hen-rbr-rku-oke ??
> 
> Thanks for the proposal,
> 
> Alain
> 
> Le 30/09/2021 à 21:52, Henning Hraban Ramm via ntg-context a écrit :
>> Ok, how about Tuesday (October 5th) at 15:00 CEST (11:00 EDT, 21:00 SGT)?
>> 
>> Hraban
>> 
>> 
>>> Am 29.09.2021 um 07:09 schrieb Denis Maier via ntg-context 
>>> 
>>> :
>>> 
>>> Hi,
>>> 
>>> I think a regular online meetup would be great, and I agree with Hans that 
>>> some way to collect topics would be nice. Re Time: I'd prefer Mo-Thursday 
>>> during regular working hours (Central European Time), but maybe that should 
>>> be offered at different times to accomodate for different needs?
>>> 
>>> Denis
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


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

2021-09-30 Thread Henning Hraban Ramm via ntg-context
Ok, how about Tuesday (October 5th) at 15:00 CEST (11:00 EDT, 21:00 SGT)?

Hraban

> Am 29.09.2021 um 07:09 schrieb Denis Maier via ntg-context 
> :
> 
> Hi,
> 
> I think a regular online meetup would be great, and I agree with Hans that 
> some way to collect topics would be nice. Re Time: I'd prefer Mo-Thursday 
> during regular working hours (Central European Time), but maybe that should 
> be offered at different times to accomodate for different needs?
> 
> Denis

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

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


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

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

Am 2021-09-26 11:03, schrieb Alain Delmotte via ntg-context:

Hi,

What is the BigBlueButton “room”?
I am interested.


Welcome!

We’re using the facilities of the German charity “Computerwerk Darmstadt 
e.V.”; the’re very privacy-aware, their free “senfcall.de“ service is 
based on BigBlueButton (https://bigbluebutton.org).

Since I got an account, we can use the same “room” all the time:
https://lecture.senfcall.de/hen-rbr-rku-oke
I would have published the address later.


I hope that the “just finished meeting” was enjoyable, calm, not
necessarily reposing and of course fruitful.


It was, and very inspiring.
Of course, it was also too much information to process (I still can’t 
wrap my mind around MetaPost, even less LPEG).


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-09-25 Thread Henning Hraban Ramm via ntg-context
Hi all,

already for a while I wanted to suggest a regular online meet-up, just to chat 
or discuss ConTeXt and the world.

Participants of the just finished meeting already know the BigBlueButton 
“room”, and without the difficulty of a auditory in presence and a weak DHCP, 
we should have even less problems with it.

I’d offer this monthly, 2–3 hours, and let’s see if it stands the test.

Now, if you’d like to participate, which times would fit you (weekdays, 
daytime...)?

Warm regards,
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] [lmtx offline?]

2021-09-20 Thread Henning Hraban Ramm via ntg-context
The server is on its way to the context meeting and got no wifi on the train ;)

HR

PS: nonsense, of course

> Am 20.09.2021 um 12:34 schrieb Floris van Manen via ntg-context 
> :
> 
> I try to update my lmtx installation, but it seems that there is no contact 
> with the server somehow...
> Any hints?
> 
> 
> 
> $ ./install.sh
> mtx-install | provide valid server and instance
> 
> 
> The following settings were used:
> 
>  server   : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
>  instance : install-lmtx
>  extras   :
>  ownpath  : /home/vm/context
>  platform : linux-64
> 
> 
> ___
> 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] no lua configuration files found

2021-09-19 Thread Henning Hraban Ramm via ntg-context
I hope it’s again only me being stupid, but when I try to update my LMTX 
installation or make a new one, the install script always fails with the above 
warning.


~/lmtx_2021-09-19 $ . install.sh
mtxrun  | forcing cache reload
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/Users/hraban/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/Users/hraban/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/Users/hraban/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/Users/hraban/texmf-dist/web2c' from specification 
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/Users/hraban/texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/Users/hraban/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/Users/hraban/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/Users/hraban/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/Users/hraban/texmf-dist/web2c' from specification 
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/Users/hraban/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  | the resolver databases are not present or outdated
mtx-install | provide valid server and instance

cp: /Users/hraban/lmtx_2021-09-19/tex/texmf-osx-64/bin/mtxrun: No such file or 
directory
cp: 
/Users/hraban/lmtx_2021-09-19/tex/texmf-context/scripts/context/lua/mtxrun.lua: 
No such file or directory
cp: 
/Users/hraban/lmtx_2021-09-19/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_2021-09-19/tex/texmf-osx-64/bin:$PATH

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

  /Users/hraban/lmtx_2021-09-19/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_2021-09-19
  platform : osx-64


It looks like the root path is wrongly assumed, since I run the script from 
~/lmtx_2021-09-19, not just ~

TEXROOT is set to /Users/hraban/lmtx/tex (my previous installation), but get 
the same messages if I run the script there.

Same behavior with osx-64 and linux-64.


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] tabulate with lp columns

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


> Am 19.09.2021 um 13:27 schrieb Wolfgang Schuster via ntg-context 
> :
> 
> Henning Hraban Ramm via ntg-context schrieb am 19.09.2021 um 13:14:
>>> Am 19.09.2021 um 13:01 schrieb Wolfgang Schuster via ntg-context 
>>> :
>>> 
>>> Henning Hraban Ramm via ntg-context schrieb am 19.09.2021 um 12:44:
>>>> There are some problems in the following MWEs.
>>>> 
>>>> First example looks the same with MkIV and LMTX, second uses \NS that is 
>>>> only in LMTX.
>>>> 
>>>> The first column is justified even if it’s defined as left aligned; this 
>>>> happens also with a simple "l" column. With "p" the width is ignored.
>>> You're missing a \NC at the start of each row.
>> You’re right; in testing I got an empty column when I started with \NC (and 
>> wasn’t sure any more if something changed that I forgot), but I probably 
>> missed one line or something.
>> 
>> The problem with \NS remains:
>> 
>> \starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
>> \NC Default \NC Linux \NC MacOS \NC Windows \NC\NR
>> \HL
>> \NC Text processor \NS[3][l] LibreOffice or else \NC\NR
>> \NC Drawing\NS[2][lp(.4\textwidth)] Inkscape \NC Corel Draw \NC\NR
>> \NC Simple Editor  \NC Nano \NC TextEdit \NC Notepad \NC\NR
>> \stoptabulate
> 
> You have to pass the number of additional columns are argument.

Ah, i.e. one less than I was expecting from any other column span syntax...

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
___


Re: [NTG-context] tabulate with lp columns

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

> Am 19.09.2021 um 13:01 schrieb Wolfgang Schuster via ntg-context 
> :
> 
> Henning Hraban Ramm via ntg-context schrieb am 19.09.2021 um 12:44:
>> There are some problems in the following MWEs.
>> 
>> First example looks the same with MkIV and LMTX, second uses \NS that is 
>> only in LMTX.
>> 
>> The first column is justified even if it’s defined as left aligned; this 
>> happens also with a simple "l" column. With "p" the width is ignored.
> 
> You're missing a \NC at the start of each row.

You’re right; in testing I got an empty column when I started with \NC (and 
wasn’t sure any more if something changed that I forgot), but I probably missed 
one line or something.

The problem with \NS remains:

\starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
\NC Default \NC Linux \NC MacOS \NC Windows \NC\NR
\HL
\NC Text processor \NS[3][l] LibreOffice or else \NC\NR
\NC Drawing\NS[2][lp(.4\textwidth)] Inkscape \NC Corel Draw \NC\NR
\NC Simple Editor  \NC Nano \NC TextEdit \NC Notepad \NC\NR
\stoptabulate


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] tabulate with lp columns

2021-09-19 Thread Henning Hraban Ramm via ntg-context
There are some problems in the following MWEs.

First example looks the same with MkIV and LMTX, second uses \NS that is only 
in LMTX.


The first column is justified even if it’s defined as left aligned; this 
happens also with a simple "l" column. With "p" the width is ignored.

With \NS the alignment is also wrong in the same way.


\starttext

\starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
Default \NC Linux \NC MacOS \NC Windows \NC\NR
\HL
Text Proc \NC LibreOffice \NC Apple Pages   \NC MS Office (Word) \NC\NR
PDF Viewer\NC Evince  \NC Preview   \NC Edge \NC\NR
\stoptabulate


\starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
Default \NC Linux \NC MacOS \NC Windows \NC\NR
\HL
Text processor \NS[3][l] LibreOffice or else \NC\NR
Drawing\NS[2][lp(.4\textwidth)] Inkscape \NC Corel Draw \NC\NR
Simple Editor  \NC Nano \NC TextEdit \NC Notepad \NC\NR
\stoptabulate


\stoptext


Additional question: How would I define those columns to use the whole 
\textwidth ?


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] improve bad habits deduplicate redundant defined values

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

> Am 18.09.2021 um 14:57 schrieb Denis Maier via ntg-context 
> :
> I currently struggle with a similar question: In one project I typeset 
> articles for a journal from XML sources with ConTeXt. Obviously, these 
> articles should rely on the same environment files. But how would you deal 
> with those cases where you'd need a slightly different table layout in one 
> article? 

You could just use a few setup commands in that article, but an additional 
environment file is the cleaner solution.

In our humanities book series* I need an additional environment for every book, 
since the single volumes aren’t as similar as I expected...


Hraban

*) https://www.dreiviertelhaus.de/reihen/eka/
___
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] Unable to install lmtx

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

> Am 16.09.2021 um 19:45 schrieb Alain Delmotte via ntg-context 
> :
> 
> I changef my antivirus and now I could install lmtx.

Besides that, most antivirus solutions for Windows since 7 aren’t better than 
the builtins and often even open additional security holes.

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] PDF days 2021 online

2021-09-14 Thread Henning Hraban Ramm via ntg-context
You might be interested in these online talks on PDF subjects:

https://www.pdfa.org/pdf-days-online-2021/


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] Headline with numbers in margin doubleside layout

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

> Am 14.09.2021 um 11:25 schrieb juh via ntg-context :
> 
> 
> The text area stops at "dolor". So the long headline on page 2 should run into
> the outermargin. 
> 
> Is it possible to put headline in an area combined from margin+textarea?

I’d use \framed[width=..., frame=off, offset=overlay]{Your Headline}

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] update

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

> Am 13.09.2021 um 11:12 schrieb Hans Hagen :
> 
> On 9/13/2021 10:37 AM, Henning Hraban Ramm wrote:
>>> Am 13.09.2021 um 10:07 schrieb Hans Hagen via ntg-context 
>>> :
>>> 
>>> Hi,
>>> 
>>> I uploaded a new lmtx (had forgotten to to it friday) . There are not that 
>>> many visible changes but on is that i'm playing with some 'improvements' to 
>>> inserts. Hopefully there are no side effects but the idea is to have 
>>> somewhat better (more robust and predictable) support for e.g. footnotes in 
>>> situations that are not natural to tex (like columns). The first mechanism 
>>> to benefit from that is page columns but all that is a stepwise process. I 
>>> keep track of that in yet another lowlevel manual. These column things are 
>>> on the agenda for next month and beyond.
>>> 
>>> (In a next upload the new marking and tabulate optimization might become 
>>> default but for now i test that locally.)
>> Hi, thank you!
>> I’m looking forward to these improvements, even if they won’t be in effect 
>> for my talk in Bassenge.
>> Running a project with this version, I get tons of messages like:
>> 4:10:  
>> \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
>>  1
>> 4:10:  
>> \glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
>> 0.0pt plus 0.83287pt minus 0.41644pt
>> 4:10:  
>> \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
>>  1
>> 4:10:  
>> \glyph[32768][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1], 
>> hyphenationmode "79F3F, options "80, font <36: lmmono10-regular @ 10.0pt>, 
>> glyph U+70 p
>> 4:10:  
>> \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
>>  1
>> Is this some debugging leftover or am I supposed to understand what’s wrong? 
>> ;)
> hm, what command triggers that?

I don’t know yet. It seems to start in the middle of a section title in the 
first chapter of my book.

The footnotes unfortunately became only worse so far – often they’re 
overprinted by the running text, even without columns or grid.

I’ll try to come up with good examples, but this week is quite stuffed.

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] update

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

> Am 13.09.2021 um 10:07 schrieb Hans Hagen via ntg-context 
> :
> 
> Hi,
> 
> I uploaded a new lmtx (had forgotten to to it friday) . There are not that 
> many visible changes but on is that i'm playing with some 'improvements' to 
> inserts. Hopefully there are no side effects but the idea is to have somewhat 
> better (more robust and predictable) support for e.g. footnotes in situations 
> that are not natural to tex (like columns). The first mechanism to benefit 
> from that is page columns but all that is a stepwise process. I keep track of 
> that in yet another lowlevel manual. These column things are on the agenda 
> for next month and beyond.
> 
> (In a next upload the new marking and tabulate optimization might become 
> default but for now i test that locally.)

Hi, thank you!

I’m looking forward to these improvements, even if they won’t be in effect for 
my talk in Bassenge.


Running a project with this version, I get tons of messages like:

4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1
4:10:  
\glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 0.0pt 
plus 0.83287pt minus 0.41644pt
4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1
4:10:  \glyph[32768][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1], 
hyphenationmode "79F3F, options "80, font <36: lmmono10-regular @ 10.0pt>, 
glyph U+70 p
4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1

Is this some debugging leftover or am I supposed to understand 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] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

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


> Am 10.09.2021 um 13:13 schrieb Hugh Fisher via ntg-context 
> :
> 
> So (finally) my question: is LuaMetaTEX what I'm looking for?

No.

LuaMetaTeX is ConTeXt-only.
You would need a LaTeX -> ConTeXt conversion, and there is none.

Did you try pandoc?

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] zint barcode module on LMTX/MacOS

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


> Am 07.09.2021 um 23:27 schrieb Floris van Manen :
> 
> Hello Hraban,
> 
> 
> On 07/09/2021 21:03, Henning Hraban Ramm via ntg-context wrote:
>> Since I got zint running (thanks, Hans!), there’s now a wiki page:
>> https://wiki.contextgarden.net/Barcodes
> 
> 
> I followed the instructions on the wiki, but still get an empty page.
> I compiled the libzint.so and installed it into /usr/local/lib/
> 
> Given my local path definitions:
> export TEXMF=$HOME/context
> export LMTXPATH=$TEXMF/tex/texmf-linux-64/bin
> export PATH=$LMTXPATH:$PATH
> export TEXROOT=$TEXMF/ctx
> 
> I placed a symbolic link in the folder
> 
> $LMTXPATH/lib/luametatex/zint/libzint.so -> /usr/local/lib/libzint.so
> 
> did the mtxrun --generate
> 
> Trying the example:
> 
> \usemodule[zint]
> \starttext
> \barcode[alternative=isbn, text=9783865419026, width=4cm]
> \barcode[alternative=qr code, text={https://wiki.contextgarden.net}, 
> width=3cm]
> \stoptext
> 

I just checked on my Linux laptop with a new installation, and it worked 
exactly like this.

Did you check with --luatex (i.e. MkIV)?

What’s your ConTeXt version? You left out this essential piece of information.

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] zint barcode module on LMTX/MacOS

2021-09-07 Thread Henning Hraban Ramm via ntg-context
Since I got zint running (thanks, Hans!), there’s now a wiki page:

https://wiki.contextgarden.net/Barcodes

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
___


Re: [NTG-context] no looseness in LMTX?

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


> Am 07.09.2021 um 13:15 schrieb Wolfgang Schuster 
> :
> 
> Henning Hraban Ramm via ntg-context schrieb am 07.09.2021 um 11:49:
>> In my magazine and book projects, I sometimes fix pagebreaking by stretching 
>> paragraphs with \looseness=1
>> 
>> Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has 
>> no effect with LMTX.
>> 
>> I tried different examples (e.g. the attached file) and can’t reproduce the 
>> problem, there MkIV and LMTX always behave the same.
>> So it must be something in my settings.
>> 
>> What could cause the difference?
>> I tried English and German and different settings of alignment and tolerance.
>> Might it be font dependent?
> 
> Do you enable protrusion and font expansion for your document font or is it 
> just missing in your example?

You’re right, this was missing in the example:

\definefontfeature[default]
[mode=node,liga=no,kern=yes,tlig=no,
  ccmp=yes,language=dflt,
  protrusion=quality,
  expansion=quality]

But that also doesn’t change that the example works the same with MkIV and 
LMTX, but not my project.

> Have you checked if the alignment changes when you use the "extremestretch" 
> keyword for \setupalign?

I see no difference, and again it works in both versions the same.
It also doesn’t change that \looseness isn’t working in my project.


But \updateparagraphproperties (see Hans’ message) helps, it’s just 
inconvenient.

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] no looseness in LMTX?

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

> Am 07.09.2021 um 14:07 schrieb Hans Hagen :
> 
> On 9/7/2021 11:49 AM, Henning Hraban Ramm via ntg-context wrote:
>> In my magazine and book projects, I sometimes fix pagebreaking by stretching 
>> paragraphs with \looseness=1
>> Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has 
>> no effect with LMTX.
>> I tried different examples (e.g. the attached file) and can’t reproduce the 
>> problem, there MkIV and LMTX always behave the same.
>> So it must be something in my settings.
>> What could cause the difference?
>> I tried English and German and different settings of alignment and tolerance.
>> Might it be font dependent?
> 
> explained in manuals ...
> 
> \startlinenumbering
> \startparagraph
> Weit .. beirren.
> \stopparagraph
> \stoplinenumbering
> 
> \startlinenumbering
> \startparagraph\looseness=+2
> Weit .. beirren.
> \stopparagraph
> \stoplinenumbering
> 
> \startlinenumbering
> \startparagraph
> Weit .. beirren.
> \looseness=+2\updateparagraphproperties\stopparagraph
> \stoplinenumbering
> 
> in lmxt we freeze the properties set when a paragraph starts (contrary to 
> using the last set value which actually fails when you set it inside a group)
> 
> so, when you change some property mid paragraph you need to update the 
> properties in order for them to be effective (can be done for looseness only 
> if really needed); that works independent of grouping so it's more robust

Ok, but I thought I needed to use \looseness directly at the beginning of the 
paragraph, since it’s forgotten after the next \par?

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
___


[NTG-context] no looseness in LMTX?

2021-09-07 Thread Henning Hraban Ramm via ntg-context
In my magazine and book projects, I sometimes fix pagebreaking by stretching 
paragraphs with \looseness=1

Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no 
effect with LMTX.

I tried different examples (e.g. the attached file) and can’t reproduce the 
problem, there MkIV and LMTX always behave the same.
So it must be something in my settings.

What could cause the difference? 
I tried English and German and different settings of alignment and tolerance.
Might it be font dependent?


Hraban



loosetest.tex
Description: Binary data
___
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] transparency stopped working in LMTX

2021-09-07 Thread Henning Hraban Ramm via ntg-context
(Latest LMTX, yesterday’s luametatex binary)

The MWE shows no transparency with LMTX, it works with MkIV:

'''
\setupexternalfigures[location=default]
\definetransparency[light][a=1,t=.05]

\definelayer[bg][x=0mm,y=0mm]
\setupbackgrounds[text][background={bg},state=start]

\starttext

\starttransparent[light]%
\externalfigure[hacker]%
\stoptransparent

\setlayer[bg][
  hoffset=5mm,
  voffset=5mm,
]{
\starttransparent[light]%
\externalfigure[hacker]%
\stoptransparent
}

\stoptext
'''

The layer stuff is not "minimal", but I wanted to check if "multiply" works.


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
___


  1   2   3   4   5   6   7   8   9   10   >