[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Hans Hagen

On 6/16/2024 12:04 AM, Gerion Entrup wrote:


Hmm, you are right, like a little frayed. 02713 and 02714 are similar.
I guess, this should look like they were drawn with a brush.
none of the other glyphs has that (afaiks in fontforge) ... more looks 
like some conversion error, also because a brush doesn't look like that 
(control points wrong)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Gerion Entrup
Am Samstag, 15. Juni 2024, 12:19:37 MESZ schrieb Hans Hagen:
> On 6/15/2024 11:02 AM, Gerion Entrup wrote:
> > Am Freitag, 13. Oktober 2023, 14:33:24 MESZ schrieb Gerion Entrup:
> >> Hi,
> >>
> >> I recently tried to typeset a table with checkmarks and x marks.
> >> \checkmark exists but is there a predefined x mark symbol (\xmark does
> >> not work)?
> >>
> >> In general: For LaTeX there exists the very helpful comprehensive LaTeX 
> >> symbol list [1].
> >> Is there a similar documentation for ConTeXt somewhere?
> >>
> >> Best,
> >> Gerion
> >>
> >> [1] https://www.ctan.org/pkg/comprehensive
> >>
> > 
> > Just as an info. I'm using Noto symbols now:
> > ```
> > \definefont[symbolFont][name:notosanssymbols2regular*default at 11pt]
> > \define{\yes}{{\symbolFont\utfchar{0x1f5f8}}}
> > \define{\no}{{\symbolFont\utfchar{0x1f5f4}}}
> > 
> > \starttext
> > \yes and \no.
> > \stoptext
> fwiw: 1F5F8 looks pretty bad (in otf) (i checked as i though it was a 
> bug in lmtx)

Hmm, you are right, like a little frayed. 02713 and 02714 are similar.
I guess, this should look like they were drawn with a brush.

Gerion



signature.asc
Description: This is a digitally signed message part.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Michael Guravage
Bruce,

Yes, I remember encountering this problem. The two files you need are:
sun-MP.tex and moons-MP.tex. I don't recall where I found them so I've
attached them below. Drop them into their respective pocketdiary
directories Solar and Moonphase and run mtxrun --generate.

Your suggestion of the Day key was the first thing I tried myself.
Unfortunately, it has no effect.

Thanks for thinking along.

With kind regards,

Michael



On Sat, Jun 15, 2024 at 10:51 PM Bruce Horrocks  wrote:

>
>
> > On 15 Jun 2024, at 17:55, Michael Guravage <
> gurav...@literatesolutions.com> wrote:
> >
> > Hi,
> >
> > I am trying to use the Pocket Diary module to create a photo calendar as
> described in the Calendar Examples. The examples work fine. By default
> weeks begin on Monday. Does anyone know how to specify that weeks begin on
> Sunday? I have searched through all the setvariable assignments, but
> nothing seems applicable.
> >
> > I have attached an example file so you needn't retrieve all the
> examples. Any help would be appreciated.
>
> Your example didn't work for me - I didn't have PocketDiary installed and
> then after installing it I got an error about Moons.tex. Life's too short
> to faff trying to fix it so this suggestion is untested.
>
> The variables setting allows a Day= value so try experimenting with
>
> \setvariables
>   [PocketDiary]
>   [Year=2025,
>Day=7]
>
> as the default value is 1 which I assume is Monday.
>
> —
> 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 /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
>
> ___
>
% Metafun
% filename: moons.tex
% Boede 2021

% \setupbodyfont[plex,ss,14pt]

\defineMPinstance
	[Moon]
	[metafun]
  []
	
\startMPinclusions[]{Moon}
	numeric w,h;
	path p[];
	pair ip[];
	
	w = OverlayWidth;
	h = OverlayHeight;
	
	p[1] := fullcircle scaled h;
	p[2] := p[1] shifted (0.2 w,0);
	
	ip[1] := p[1] intersectionpoint p[2];
	ip[2] := reverse p[1] intersectionpoint p[2];

	p[3] := p[1] cutbefore ip[1] cutafter ip[2];	
	p[4] := p[2] cutbefore ip[1] cutafter ip[2];
	
  drawoptions (withpen pencircle scaled 2pt);
	
\stopMPinclusions

\startuniqueMPgraphic{Moon::Waning_moon}
  draw  p[3] ;
	draw  p[4] ;
\stopuniqueMPgraphic

\startuniqueMPgraphic{Moon::Growing_moon}
  draw  p[3] ;
	draw  p[4] ;
	currentpicture := (currentpicture reflectedabout (ip[1],ip[2]));
\stopuniqueMPgraphic

\startuniqueMPgraphic{Moon::Fullmoon}
	draw p[1];
\stopuniqueMPgraphic

\startuniqueMPgraphic{Moon::Newmoon}
	fill p[1] withcolor 0.625 white;
	draw p[1];
\stopuniqueMPgraphic


\defineoverlay[waningmoon][\useMPgraphic{Moon::Waning_moon}]
\defineoverlay[growingmoon][\useMPgraphic{Moon::Growing_moon}]
\defineoverlay[newmoon][\useMPgraphic{Moon::Newmoon}]
\defineoverlay[fullmoon][\useMPgraphic{Moon::Fullmoon}]

\defineframed
	[Moon]
	[height=\bodyfontsize,
	 width=\bodyfontsize,
 	 frame=off]


% \starttext
% Results with \type{framed}
%
% \blank
%
%  Heute ist abnehmender Mond	{\Moon[background=waningmoon]{\strut}}
%
%  Heute ist Vollmond \Moon[background=fullmoon]{}
%
%  Heute haben wir Neumond \Moon[background=newmoon]{}
%
%  Und heute haben wir zunehmenden Mond \Moon[background=growingmoon]{}
%
% \stoptext% Metafun
% filename: moons.tex
% Boede 2021

% \setupbodyfont[plex,ss,14pt]

\defineMPinstance
	[Sun]
	[metafun]
  []
	
\startMPinclusions[]{Sun}
	numeric w,h;
	path p[];
	pair ip[];
	
	w = OverlayWidth;
	h = OverlayHeight;
	
	p[1]  := fullcircle scaled h;
	p[100] := tcircle scaled 0.5h; %h
	p[2] := tcircle scaled 0.6h;  %1.2h;
	p[3] := tcircle scaled 0.75h; %1.6h;
	p[4] := tcircle scaled h; %2h;
	p[5] := (0,0)--point 1 of p[4] ;
	p[6] := p[5] cutbefore point .3 of p[5];
	p[7] := p[6] rotatedaround (center p[1],18);
	 
  ip[1] :=  p[2] intersectionpoint p[7];
  ip[2] :=  p[3] intersectionpoint p[7];
	
  p[10] := ip[1]--ip[2];

	ip[3] :=  ip[1];
	ip[4] :=  point 1 of p[7];

	p[11] := ip[3]--ip[4];
	
  drawoptions (withpen pencircle scaled 0.25pt withcolor red);
	
\stopMPinclusions

\startreusableMPgraphic{Sun::Sunrise}
  drawoptions (withpen pencircle scaled 0.25pt withcolor red);
  draw p[100];
	for i = 36 step 36 until 154  :
	  draw p[10] rotatedaround (center p[1],i-18);
	endfor;
	for i = 18 step 36 until 180  :
	  draw p[11] rotatedaround (center p[1],i-18);
 endfor;
 drawarrow ((0,0)--(0,h)) shifted (0,-0.05h);
\stopreusableMPgraphic

\startreusableMPgraphic{Sun::Sunset}
  drawoptions (withpen pencircle scaled 0.25pt withcolor red);
  draw p[100];
	for i = 36 step 36 until 154  :
	  draw p[10] rotatedaround (center p[1],i-18);
	

[NTG-context] Re: Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Bruce Horrocks


> On 15 Jun 2024, at 17:55, Michael Guravage  
> wrote:
> 
> Hi,
> 
> I am trying to use the Pocket Diary module to create a photo calendar as 
> described in the Calendar Examples. The examples work fine. By default weeks 
> begin on Monday. Does anyone know how to specify that weeks begin on Sunday? 
> I have searched through all the setvariable assignments, but nothing seems 
> applicable. 
> 
> I have attached an example file so you needn't retrieve all the examples. Any 
> help would be appreciated.

Your example didn't work for me - I didn't have PocketDiary installed and then 
after installing it I got an error about Moons.tex. Life's too short to faff 
trying to fix it so this suggestion is untested.

The variables setting allows a Day= value so try experimenting with

\setvariables
  [PocketDiary]
  [Year=2025,
   Day=7]

as the default value is 1 which I assume is Monday.

—
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 / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes

2024-06-15 Thread Kip Warner
Hello list,

I recently upgraded my distro release to Ubuntu Noble on one of my
machines. The ConTeXt packages that were previously for
2021.03.05.20230120 were upgraded to 2023.05.05.20230730.

Since the upgrade I've noticed my BibTeX footnotes that previously
looked like this:

   https://imgur.com/vg7Xjd3.png

Now look like this:

   https://imgur.com/I3hq6bM.png

I haven't changed anything in the source of my document. This is how I
typeset in my Environment.tex:

   % Select References.bib and name it the main database...
   \usebtxdataset[main][./References.bib]
   
   % Citation style...
   \usebtxdefinitions[apa]
   
   % Use our main dataset for citations...
   \setupbtx[dataset=main]
   
   \definebtxrendering[main][apa][dataset=main]
   
   % When listing all references use APS style...
   \definebtxrendering
   [list_all_references]
   [aps]
   [dataset=main,
   group=examples]
   
   \setupbtxrendering[main][
   pagestate=start,
   continue=yes,
   numbering=yes]
   
   % Macro to put the citations as footnotes...
   \unexpanded\def\footnotecite{\dodoubleempty\domycite}
   \def\domycite[#1][#2]%
   {\ifsecondargument
   \footnote{\cite[alternative=entry,#1][main::#2]}%
   \else
   \footnote{\cite[alternative=entry][main::#1]}%
   \fi}

Any help appreciated!

-- 
Kip Warner
OpenPGP signed/encrypted mail preferred
https://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Michael Guravage
Hi,

I am trying to use the Pocket Diary
 module to create a photo
calendar as described in the Calendar Examples
. The examples work fine.
By default weeks begin on Monday. Does anyone know how to specify that
weeks begin on Sunday? I have searched through all the setvariable
assignments, but nothing seems applicable.

I have attached an example file so you needn't retrieve all the examples.
Any help would be appreciated.

-- 
With kind regards,

Michael



\usemodule[pocketdiary]

%D Choose and setup the font to be used
\setupbodyfont[ibmplex,ss,12pt]

% Supported languages: EN,DE,NL,FR,IT,ES
\mainlanguage[nl]

% Switch off the page numbering
\setuppagenumbering[location=]

% Setup the paper size
\setuppapersize[A4,portrait][A4,portrait]

% Adjust the layout of the page
\setuplayout
  [topspace=20mm,
  backspace=8.6mm,
  header=0pt,
  footer=0pt,
  height=middle,
  width=middle]

% Setup the path where to find the calendar pictures
\setupexternalfigures [directory={., ./graphics, ../graphics, ./MyPhotoDirectory}]
\setupexternalfigures [location={local,global,default}]

\def\testimage {cow} % dolly.png
% Give pictures symbolic names for using in a loop
\useexternalfigure [1] [\testimage]
\useexternalfigure [2] [\testimage]
\useexternalfigure [3] [\testimage]
\useexternalfigure [4] [\testimage]
\useexternalfigure [5] [\testimage]
\useexternalfigure [6] [\testimage]
\useexternalfigure [7] [\testimage]
\useexternalfigure [8] [\testimage]
\useexternalfigure [9] [\testimage]
\useexternalfigure [10] [\testimage]
\useexternalfigure [11] [\testimage]
\useexternalfigure [12] [\testimage]
\useexternalfigure [13] [\testimage]

% Setup the variables for the Pocket diary, only year is used for the calculations.
\setvariables
  [PocketDiary]
  [Year=2025]

% Let the header and the footer be empty:
\setupheadertexts[][]
\setupfootertexts[][]

% Add some label texts for the international interfaces:
\setuplabeltext[en][fotocal={Photo Calendar}]
\setuplabeltext[nl][fotocal=Fotokalender]
\setuplabeltext[de][fotocal=Fotokalender]
\setuplabeltext[fr][fotocal={Calendrier photo}]
\setuplabeltext[it][fotocal={Calendario fotografico}]
\setuplabeltext[es][fotocal={Calendario fotográfico}]

%D Let lua is perform the magic:
\startluacode
  local report = logs.reporter("Photo calendar")

  function thirddata.calendar.Photo_calendar_page(y)

report("Working in function: calendar.Foto_calendar_page")

local year = y
--local path = file.dirname("./Fotokalender-fotos/")
for i = 1,12 do

  local monthname = string.lower(os.date("%B",
os.time{year=year,month=i,day=1}))

  context.startplacefigure({number="",title=""})
 context.externalfigure({i}, {width = "0.8\\textwidth"})
  context.stopplacefigure()
  context.strut()
  context("\\vfill")
  context.startalign({"middle"})
context("\\bfa")
context.labeltext(monthname)
context("~")
context(year)
  context.stopalign()
  context.blank()

  thirddata.diary.monthtableH(i,year)

  context.page()
end
  end
\stopluacode


% Setup of the month table
\startsetups table:month
   \setupTABLE[c]
  [each]
  [width=\dimexpr\textwidth/7,
   frame=on,
   style=\tfa]
   \setupTABLE[r][each][height=1.8\lineheight,align={center,lohi}]
   \setupTABLE[c][7][foregroundcolor=red]
\stopsetups

% Define the macro for calling lua
\define[1]\Photocalendarpages
  {\ctxlua{thirddata.calendar.Photo_calendar_page(#1)}}

% Setup the \TEX\ side of the document
\starttext

  % Add a title page
  \startstandardmakeup[page=yes,doublesided=yes]
\startplacefigure
  [location=middle,
   title=,
   number=]
  {\externalfigure[13][width=\paperwidth]}
\stopplacefigure
\midaligned{\bfc \labeltext{fotocal}~\getvariable{PocketDiary}{Year}}
  \stopstandardmakeup

  % Call the defined macro
  \Photocalendarpages{\getvariable{PocketDiary}{Year}}

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Math manual

2024-06-15 Thread Jeong Dal via ntg-context
Dear Hans and Mikael,

I appreciate for all the efforts to make a nicer math output and for the math 
manual.
I hope that a few problems in math are gone away in this new version.

The math writing in ConTeXt was getting better and better to this point.
I’ll learn many things from this manual.

Thanks again and have a nice weekend.

Best regards,

Dalyoung



> 2024. 6. 15. 오전 6:22, Otared Kavian  작성:
> 
> Hi Hans and Mikael,
> 
> I just could update to the latest ConTeXt (after afew hassles with xattr on 
> MacOS…), and went straight to find mathincontext-screen.pdf.
> Thank you so much for this superbe manual! It is really wonderful in all 
> aspects!
> 
> As Aditya says, there is no excuse for mathematicians not to use ConTeXt 
> (apart the usual laziness in many of my colleagues…).
> 
> Best regards: Otared
> 
>> On 14 Jun 2024, at 09:46, Mikael Sundqvist > > wrote:
>> 
>> Hi!
>> 
>> Hans just uploaded a new version. I am not writing about the news in
>> that version (although there are some fun things!), but rather to
>> announce that the math manual is finally included.
>> 
>> We have been working on and off since 2021 on math and therefore also
>> on this document, and we finally believe that both math and the
>> document are now in a state that should be sufficiently useful and not
>> too confusing. You can find a screen and a paper version:
>> 
>> ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf
>> ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-paper.pdf
>> 
>> The versions are generated from the same tex files, so the content
>> (except for some chapter pages only available in the screen version)
>> should be the same.
>> 
>> We hope that this will be useful for all of you who use math in your
>> documents. If you have any questions, find any errors, or miss
>> something, please let us know. We consider the document not to be
>> finished, so there will be updates. Also, we will also at some point
>> include the tex files, but that will have to wait a bit.
>> 
>> /Hans and Mikael
>> ___
>> If your question is of interest to others as well, please add an entry to 
>> the Wiki!
>> 
>> maillist : ntg-context@ntg.nl  / 
>> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl 
>> 
>> webpage  : https://www.pragma-ade.nl  / 
>> https://context.aanhet.net  (mirror)
>> archive  : https://github.com/contextgarden/context 
>> 
>> wiki : https://wiki.contextgarden.net 
>> ___
> 
> Otared Kavian
> e-mail: ota...@gmail.com 
> Phone: +33 6 88 26 70 95
> 
> 
> 
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Math manual

2024-06-15 Thread Jethro Djan
Hi Hans and Mikael,

The manual is great. Solves most of my challenges. Very handy as I am also
writing a math thesis in it. Off topic but does anyone have a source for a
RECENT math presentation they wrote using ConTeXt they can share?  Would be
very helpful.

Thanks for your hard work.

Jethro

On Fri, 14 Jun 2024 at 9:23 PM, Otared Kavian  wrote:

> Hi Hans and Mikael,
>
> I just could update to the latest ConTeXt (after afew hassles with xattr
> on MacOS…), and went straight to find mathincontext-screen.pdf.
> Thank you so much for this superbe manual! It is really wonderful in all
> aspects!
>
> As Aditya says, there is no excuse for mathematicians not to use ConTeXt
> (apart the usual laziness in many of my colleagues…).
>
> Best regards: Otared
>
>
> On 14 Jun 2024, at 09:46, Mikael Sundqvist  wrote:
>
> Hi!
>
> Hans just uploaded a new version. I am not writing about the news in
> that version (although there are some fun things!), but rather to
> announce that the math manual is finally included.
>
> We have been working on and off since 2021 on math and therefore also
> on this document, and we finally believe that both math and the
> document are now in a state that should be sufficiently useful and not
> too confusing. You can find a screen and a paper version:
>
>
> ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf
>
> ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-paper.pdf
>
> The versions are generated from the same tex files, so the content
> (except for some chapter pages only available in the screen version)
> should be the same.
>
> We hope that this will be useful for all of you who use math in your
> documents. If you have any questions, find any errors, or miss
> something, please let us know. We consider the document not to be
> finished, so there will be updates. Also, we will also at some point
> include the tex files, but that will have to wait a bit.
>
> /Hans and Mikael
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
>
> ___
>
>
> Otared Kavian
> e-mail: ota...@gmail.com 
> Phone: +33 6 88 26 70 95
>
>
>
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Hans Hagen

On 6/15/2024 11:02 AM, Gerion Entrup wrote:

Am Freitag, 13. Oktober 2023, 14:33:24 MESZ schrieb Gerion Entrup:

Hi,

I recently tried to typeset a table with checkmarks and x marks.
\checkmark exists but is there a predefined x mark symbol (\xmark does
not work)?

In general: For LaTeX there exists the very helpful comprehensive LaTeX symbol 
list [1].
Is there a similar documentation for ConTeXt somewhere?

Best,
Gerion

[1] https://www.ctan.org/pkg/comprehensive



Just as an info. I'm using Noto symbols now:
```
\definefont[symbolFont][name:notosanssymbols2regular*default at 11pt]
\define{\yes}{{\symbolFont\utfchar{0x1f5f8}}}
\define{\no}{{\symbolFont\utfchar{0x1f5f4}}}

\starttext
\yes and \no.
\stoptext
fwiw: 1F5F8 looks pretty bad (in otf) (i checked as i though it was a 
bug in lmtx)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-15 Thread Hans Hagen via ntg-context

On 6/15/2024 10:59 AM, ralph.2...@email-postfach.info wrote:

Hi,

thank you all for your replies so far. I guess I’ll have to live with that for 
now (of course this isn’t really a problem, but a bit unpleasant to look at 
when you’re used to the straight lines in LaTeX). Just wanted to add that I can 
see this artifacts quite clearly on a 13 inch 1080p screen in the PDF viewer 
(depends on zoom level, on some zoom levels I see nothing) and not only when 
enlarging a screenshot. After all, it’s visible in my attached screenshots even 
if displayed in their original resolution. (Naming of my screenshots wasn’t 
very clear, zoomed.png is zoomed-in in the pdf viewer, not a zoomed-in 
screenshot.)
The "left radical + rule" isn't perfect either, because it depends on 
overlap. Depending on the font you can see issues at the connection 
(actually these might be obscured by aliasing at low res). You can try 
that outside lmtx with different fonts.


Also, because rules are often rendered differently from glyphs (and 
rules can use either a line or rectangle fill) it's always been an issue 
(which is also why engines have some heuristics for choosing one or the 
other method).


And, as mentioned, vertical extenders also use the same etechnology as 
we now use for radicals, it's just that there was never a concept like 
that in engines for radicals. Arrows sit in the same category and also 
use the same glyphs so there one can observe the same. Actually, even in 
traditional tex arrows are made from minusus and an arrowhead 
overlapping piecewise.


Maybe viewers will catch up.

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Gerion Entrup
Am Freitag, 13. Oktober 2023, 14:33:24 MESZ schrieb Gerion Entrup:
> Hi,
> 
> I recently tried to typeset a table with checkmarks and x marks.
> \checkmark exists but is there a predefined x mark symbol (\xmark does
> not work)?
> 
> In general: For LaTeX there exists the very helpful comprehensive LaTeX 
> symbol list [1].
> Is there a similar documentation for ConTeXt somewhere?
> 
> Best,
> Gerion
> 
> [1] https://www.ctan.org/pkg/comprehensive
> 

Just as an info. I'm using Noto symbols now:
```
\definefont[symbolFont][name:notosanssymbols2regular*default at 11pt]
\define{\yes}{{\symbolFont\utfchar{0x1f5f8}}}
\define{\no}{{\symbolFont\utfchar{0x1f5f4}}}

\starttext
\yes and \no.
\stoptext
```


signature.asc
Description: This is a digitally signed message part.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-15 Thread ralph . 2718
Hi,

thank you all for your replies so far. I guess I’ll have to live with that for 
now (of course this isn’t really a problem, but a bit unpleasant to look at 
when you’re used to the straight lines in LaTeX). Just wanted to add that I can 
see this artifacts quite clearly on a 13 inch 1080p screen in the PDF viewer 
(depends on zoom level, on some zoom levels I see nothing) and not only when 
enlarging a screenshot. After all, it’s visible in my attached screenshots even 
if displayed in their original resolution. (Naming of my screenshots wasn’t 
very clear, zoomed.png is zoomed-in in the pdf viewer, not a zoomed-in 
screenshot.)

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___