ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Re: New user here!
       [not found] <CAE0RQykp6g9YQoGT8tM_3-mXkPLJT5wKqh=nyNixYc9s3hs-0w@mail.gmail.com>
@ 2025-06-14 13:40 ` Pablo Rodriguez via ntg-context
  2025-06-14 14:03   ` Wolfgang Schuster
       [not found]   ` <CAE0RQy=_D=E-rSzwAOMALJSxjQyeQW+9hkaGzL5iiMbX7OroOQ@mail.gmail.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2025-06-14 13:40 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 6/14/25 12:37, John Was wrote:
> Good day, Contexters

Hi John,

welcome to the mailing list.

> I've been using plain TeX for many years (EmTeX, if anyone can remember
> that, and latterly XeTeX), but my motivation for getting acquainted with
> ConText, rather late in life, is the need to produce tagged PDFs that
> will be accessible to the visually impaired (generally using an audio
> reader), and I understand (or at least hope) that ConText can help with
> that.

PDF tagging is being added to ConTeXt. This means that some features may
need to be added yet.

> I'm only just getting started with the /Not so Short Introduction/, and
> of course have many questions which I think/hope I will be able to
> answer myself from the documentation:  I've not managed to load pstricks
> or edmac,

As for pstricks (never used it), I have just found that there is a
module `m-pstrick', but it doesn’t work with LuaMetaTeX.

I couldn’t make it work with LuaTeX either (sample from
https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/message/RJR7MRTPR7S35OH4KWAWIOAMY3CRF5UB/).

edmac is almost three decades old. If you want
https://raw.githubusercontent.com/wujastyk/edmac/refs/heads/main/Wujastyk%20and%20Lavagnino_Edmac317%20book_1996.pdf#page=84,
this should be achievable with ConTeXt (no modules needed).

> for example, but this must be possible, and some primitives
> such as \baselineskip seem to have disappeared

LuaMetaTeX happens to have a primitive with the same name,
https://www.pragma-ade.nl/general/manuals/luametatex.pdf#page=93.

> together with the fontcall system I'm used to:
> 
> \font\umirtenpointsevenfive = "MinionPro-Regular:+onum:mapping=tex-
> text:letterspace=1.6" at 10.75pt

Not clear to me what the second command (after `\font`) means in plain
English.

> [...] With my XeTeX-produced PDFs an audio
> reader will simply read all of the main text on a page, then the
> footnotes (the last of which may be split between pages), and then start
> again on the next page - clearly annoying and unacceptable to those who
> can't see the PDF.

This is probably due to a poorly tagged PDF document (my guess).

> I'd be most grateful to be pointed in the right direction - or is
> what I've outlined simply not achievable?

I think LuaLaTeX may achieve that too (for your info).

Not sure whether our tagging is that far now (with notes).

I hope it helps,

Pablo
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: New user here!
  2025-06-14 13:40 ` [NTG-context] Re: New user here! Pablo Rodriguez via ntg-context
@ 2025-06-14 14:03   ` Wolfgang Schuster
  2025-06-14 15:41     ` Pablo Rodriguez via ntg-context
       [not found]   ` <CAE0RQy=_D=E-rSzwAOMALJSxjQyeQW+9hkaGzL5iiMbX7OroOQ@mail.gmail.com>
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2025-06-14 14:03 UTC (permalink / raw)
  To: ntg-context

Am 14.06.2025 um 15:40 schrieb Pablo Rodriguez via ntg-context:
> On 6/14/25 12:37, John Was wrote:
>> Good day, Contexters
> 
> Hi John,
> 
> welcome to the mailing list.
> 
>> [...]
> 
> As for pstricks (never used it), I have just found that there is a
> module `m-pstrick', but it doesn’t work with LuaMetaTeX.
> 
> I couldn’t make it work with LuaTeX either (sample from
> https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/message/RJR7MRTPR7S35OH4KWAWIOAMY3CRF5UB/).

pstricks uses postscript which isn't supported with pdftex, luatex etc.

> edmac is almost three decades old. If you want
> https://raw.githubusercontent.com/wujastyk/edmac/refs/heads/main/Wujastyk%20and%20Lavagnino_Edmac317%20book_1996.pdf#page=84,
> this should be achievable with ConTeXt (no modules needed).
> 
>> for example, but this must be possible, and some primitives
>> such as \baselineskip seem to have disappeared
> 
> LuaMetaTeX happens to have a primitive with the same name,
> https://www.pragma-ade.nl/general/manuals/luametatex.pdf#page=93.

\baselineskip is the primitive used with \setupinterlinespace

>> together with the fontcall system I'm used to:
>>
>> \font\umirtenpointsevenfive = "MinionPro-Regular:+onum:mapping=tex-
>> text:letterspace=1.6" at 10.75pt
> 
> Not clear to me what the second command (after `\font`) means in plain
> English.

The context version is

\definefont [umirtenpointsevenfive] [file:MinionPro-Regular*<featureset> 
at 10.75pt]

and it creates the font switch \umirtenpointsevenfive like the xetex 
version.

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: New user here!
  2025-06-14 14:03   ` Wolfgang Schuster
@ 2025-06-14 15:41     ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2025-06-14 15:41 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 6/14/25 16:03, Wolfgang Schuster wrote:
> [...]
> pstricks uses postscript which isn't supported with pdftex, luatex etc.

Just as a general comment, Taco developed Escrito
(https://escrito.luatex.org/) in order to have pstricks in LuaTeX
(https://escrito.luatex.org/bt10/escritotalk.pdf#page=2).

But it clearly seems that he abandoned this project in the meantime.

Pablo
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: New user here!
       [not found]         ` <68563b53-d7f1-4fec-a027-da6865943a9c@xs4all.nl>
@ 2025-06-16 12:34           ` Aditya Mahajan
  0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2025-06-16 12:34 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Sat, 14 Jun 2025, Hans Hagen wrote:

> On 6/14/2025 4:32 PM, Aditya Mahajan wrote:
> > On Sat, 14 Jun 2025, Wolfgang Schuster wrote:
> > 
> >> The pstricks module isn't supported anymore and even in the past it worked
> >> only when you used postscript as output format.
> > 
> > The pstricks module created a temp file, processed it using texexec, and
> > converted the generated ps to pdf using ps2pdf. You could automate it using
> > filter module (by processing the figures using latex!)
> > 
> > Something along the lines of: https://tex.stackexchange.com/a/462257/323
> 
> Actually, there is a ps interpreter (m-escrito) that taco wrote a few decades
> ago when postscript was still hip and that I redid / optimized one decaded
> ago, which is still around .. you can run that file and get this tiger; i
> suppose I could actually optimize it a bit more and even integrate it with
> pstricks but i bet no one will revert back to pstricks so i never bothered.
> We keep it around for the fun of it and those who like to program in
> postscript.

Thanks. I'll check it. 

But I agree. Postscript is a really esoteric programming language and IMO the pstricks wrapper not very elegant. So there is very little value in providing a wrapper around it. 

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-16 12:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAE0RQykp6g9YQoGT8tM_3-mXkPLJT5wKqh=nyNixYc9s3hs-0w@mail.gmail.com>
2025-06-14 13:40 ` [NTG-context] Re: New user here! Pablo Rodriguez via ntg-context
2025-06-14 14:03   ` Wolfgang Schuster
2025-06-14 15:41     ` Pablo Rodriguez via ntg-context
     [not found]   ` <CAE0RQy=_D=E-rSzwAOMALJSxjQyeQW+9hkaGzL5iiMbX7OroOQ@mail.gmail.com>
     [not found]     ` <43fbdcc1-9639-4708-8592-3c16efc47501@gmail.com>
     [not found]       ` <rq3859os-6n94-441r-rp77-3883sq0710n5@hzvpu.rqh>
     [not found]         ` <68563b53-d7f1-4fec-a027-da6865943a9c@xs4all.nl>
2025-06-16 12:34           ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).