[NTG-context] Test suite fonts/features-005.tex failing for me

2021-10-02 Thread Bruce Horrocks via ntg-context
In the test suite, the file fonts/features-005.tex is failing for me on latest 
lmtx. All three items appear the same each time i.e. no small caps and no 
old-style digits on the second and third.



Can anyone else reproduce this, please?
—
Bruce Horrocks
Hampshire, UK

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

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


Re: [NTG-context] Dumb question about ligatures

2021-10-02 Thread Bruce Horrocks via ntg-context
On 2 Oct 2021, at 00:46, Hans Hagen  wrote:
> 
> On 10/2/2021 12:35 AM, Bruce Horrocks via ntg-context wrote:
>> On 21 Sep 2021, at 02:47, Bruce Horrocks via ntg-context 
>>  wrote:
>>> 
>>> I'm using a TTF file that has no ligature capability as a built-in feature. 
>>> It does however have glyphs for fi and fl but ConTeXt isn't substituting 
>>> them.
>>> 
>>> So the question is: what do I need to do to persuade ConTeXt to do fi & fl 
>>> ligature substitution?
>> Any suggestions please? Is a font features file the 'right' way? I would 
>> have thought that there was a more traditional solution
> you can write your own feature (examplex in test suite and manuals) where you 
> map f + f onto ff

Thanks Hans - I keep forgetting about the test suite.

For the benefit of those coming here via the mail archive, I found what I 
needed in the cont-tst.zip test suite in the file fonts/extensions-001.tex


Now my problem is that the font only has ligatures for fi and fl which is 
making my life di-ffi-cult. 
—
Bruce Horrocks
Hampshire, UK

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

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


Re: [NTG-context] ConTeXt's equivalent of standalone class

2021-10-02 Thread Gavin via ntg-context
noib3 via ntg-context schrieb am 02.10.2021 um 17:50:
> Coming from LaTeX, when I had some TikZ pictures I wanted to add in my 
> document I would usually keep them on a separate file, I would compile them 
> with the standalone class so that the resulting PDF's size would be limited 
> to exactly the dimensions of the figure. I would then import the compiled PDF 
> in my main document. All this to not slow down compilation times.
> 
> What's the ConTeXt equivalent of this workflow? How can I keep the PDF 
> dimensions limited to the figure?

In addition to Wolfgang’s suggestion, you might consider using buffers. These 
are only typeset if something in the figure changes, which ConTeXt checks with 
each run. It automates the process of making separate files and including them, 
without slowing down compilation.

Put the TikZ code in buffers and typeset the buffers to make the figures:

\startbuffer[MyTikZFigure]
% TikZ code here
\stopbuffer

\startplacefigure[reference=MyFig, title={This is the figure’s caption}]
\typesetbuffer[starttikz, MyTikZFigure,stoptikz]
\stopplacefigure


Following a suggestion from Hans, I made two buffers that have the starting and 
ending stuff needed for my figures:

\startbuffer[starttikz]  % This buffer will start every TikZ picture.
\environment env_physics % My physics macros
\environment env_TikZ % My TikZ macros
\setupbodyfont [libertinus,11pt] % Other setups for figures
   \startTEXpage
   \starttikzpicture
\stopbuffer

\startbuffer[stoptikz] % This buffer will stop every TikZ picture.
   \stoptikzpicture
   \stopTEXpage
\stopbuffer
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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] ConTeXt's equivalent of standalone class

2021-10-02 Thread Wolfgang Schuster via ntg-context

noib3 via ntg-context schrieb am 02.10.2021 um 17:50:
Coming from LaTeX, when I had some TikZ pictures I wanted to add in my 
document I would usually keep them on a separate file, I would compile 
them with the standalone class so that the resulting PDF's size would 
be limited to exactly the dimensions of the figure. I would then 
import the compiled PDF in my main document. All this to not slow down 
compilation times.


What's the ConTeXt equivalent of this workflow? How can I keep the PDF 
dimensions limited to the figure?


\usemodule[tikz]

% uncomment \starttext and \stoptext when you use
% multiple TEXpage environments in your document

%\starttext

\startTEXpage
\starttikzpicture
...
\stoptikzpicture
\stopTEXpage

%\stoptext

Wolfgang

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

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


[NTG-context] ConTeXt's equivalent of standalone class

2021-10-02 Thread noib3 via ntg-context
Coming from LaTeX, when I had some TikZ pictures I wanted to add in my
document I would usually keep them on a separate file, I would compile them
with the standalone class so that the resulting PDF's size would be limited
to exactly the dimensions of the figure. I would then import the compiled
PDF in my main document. All this to not slow down compilation times.

What's the ConTeXt equivalent of this workflow? How can I keep the PDF
dimensions limited to the figure?
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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] Regular online meet-up

2021-10-02 Thread 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?


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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 Ramkumar KB via ntg-context
Hello All,

I will attend the meeting - 12th October / 21:00 hrs SGT.

best regards,
Ramkumar


On Sat, Oct 2, 2021 at 2:13 PM juh via ntg-context 
wrote:

> Hi all,
>
> Am Fri, Oct 01, 2021 at 11:43:20PM +0200 schrieb Henning Hraban Ramm via
> ntg-context:
> > Sorr y, Denis and I agreed to postpone it one week and meet on October
> > _12th_, same time.  I’ll send a reminder.
>
> Thanks a lot. The idea is great but I had to much to do t answer. I hope
> I can attend.
>
> juh
> --
> Autoren-Homepage: . http://literatur.hasecke.com
> Satiren & Essays: . http://www.sudelbuch.de
> Privater Blog:  http://www.hasecke.eu
> Netzliteratur-Projekt:  http://www.generationenprojekt.de
>
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/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] 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] Question on style-italic vs style=italicface

2021-10-02 Thread 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.


Wolfgang



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

2021-10-02 Thread juh via ntg-context
Hi all,

Am Fri, Oct 01, 2021 at 11:43:20PM +0200 schrieb Henning Hraban Ramm via
ntg-context:
> Sorr y, Denis and I agreed to postpone it one week and meet on October
> _12th_, same time.  I’ll send a reminder.

Thanks a lot. The idea is great but I had to much to do t answer. I hope
I can attend.

juh
-- 
Autoren-Homepage: . http://literatur.hasecke.com
Satiren & Essays: . http://www.sudelbuch.de
Privater Blog:  http://www.hasecke.eu
Netzliteratur-Projekt:  http://www.generationenprojekt.de




signature.asc
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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