Re: [NTG-context] Homebrew packaging for macOS

2018-10-06 Thread Andrew Dunning

> On 7 Oct 2018, at 01:32, Hans Hagen  wrote:
> 
> How do you now update? It's just one recall to first-setup.sh

Thanks for the response: to be more precise, my suggestion is more about 
building discoverability and trust for ConTeXt. Homebrew provides an extremely 
simple way of installing and uninstalling things along with any dependencies.

I think it might be possible to get the script version into Homebrew Cask as it 
stands, but it would be nicer if it could get directly into Homebrew if that is 
possible.

All best,

Andrew


___
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] Homebrew packaging for macOS

2018-10-06 Thread Andrew Dunning
Dear list,

Has anyone ever looked into packaging ConTeXt for Homebrew on macOS (see 
<https://brew.sh>)? Providing it as an installation option would make it far 
easier to obtain the latest version.

In looking into it myself, I immediately came across the problem of not being 
exactly sure where to find a versioned download link. See their guidelines at 
<https://docs.brew.sh/Acceptable-Formulae>.

All best,

Andrew Dunning

___
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] PDF/UA Support

2015-10-20 Thread Andrew Dunning

> On 20 Oct 2015, at 9:26 AM, Peter Rolf <indi...@gmx.net> wrote:
> 
> Will look into it (sorry, but I am kind of ignorant to new standards,
> that I don't use myself) :D

That’s hugely appreciated; I am not much of a programmer, but let me know if 
there is anything I can do to help.

All best,

Andrew Dunning
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] PDF/UA Support

2015-10-20 Thread Andrew Dunning

> On 20 Oct 2015, at 5:32 PM, Peter Rolf  wrote:
> 
> You are the first user of this feature, so your job will be to test it
> properly, once it's implemented. The programming work will exclusively
> be done by Hans. All I do is find out the formal definitions of the
> standard (needed XMP entries, supported PDF features, etc.). You and I
> do the boring part and he has all the fun ;-)

Brilliant; I have some friends who work for the Ontario School for the Blind, 
so that should be quite feasible. Thanks again!

All best,

Andrew

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] PDF/UA Support

2015-10-19 Thread Andrew Dunning
Dear list,

I am beginning to see increasing need for PDF/UA (ISO 14289) files. Earlier 
this year, the US Access Board announced an update to the rules for the 
accessibility of electronic documents produced by the government that embraces 
the standard, which I expect will make it much more prominent.

XeTeX cannot produce PDF/UA, and it seems unlikely that it ever will, but 
unless I am misreading the documentation it appears that ConTeXt has already 
implemented the necessary functionality. If this is so, it would be helpful to 
have a page discussing its use in parallel to 
<http://wiki.contextgarden.net/PDF/A>, and I would even suggest making PDF/UA 
the default for documents that do not have conflicting commands. The PDF 
Association seems to be pushing this as the future of the format; if this is 
so, this is an opportunity to bring ConTeXt to much greater prominence.

All best,

Andrew Dunning
PhD Candidate
Centre for Medieval Studies
University of Toronto
http://andrewdunning.ca

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Improving Pandoc Support for ConTeXt

2015-10-19 Thread Andrew Dunning
Dear list,

Pandoc, if you have not heard of it before, is a rather brilliant program for 
converting text between different markup languages: it allows, in essence, for 
technology-independent writing. It has been mentioned a few times on this list, 
with Pablo Rodríguez recently developing a set of templates for typesetting its 
XHTML output (at https://github.com/ousia/from-pandoc-to-context). One of its 
aims is to ease the process of producing a high-quality PDF; it has the 
strongest support for LaTeX at the moment, but it seems to me that ConTeXt 
would ultimately provide a more reliable and lightweight solution. The basic 
support is already in place; it only needs to be more thoroughly updated to 
take advantage of MkIV.

I am working on improving Pandoc's generic ConTeXt template, at 
<https://github.com/jgm/pandoc-templates/blob/master/default.context>; the 
initial proposal is at <https://github.com/jgm/pandoc-templates/pull/138>, 
which aims to show more of ConTeXt’s potential to the user through making 
variables available that configure its options. I am still new to ConTeXt 
(having used LaTeX for several years), and could not find a recent starter 
document. The example at <http://wiki.contextgarden.net/Detailed_Example> is 
from 2006, and clearly does not exhibit the system’s full potential. I would be 
grateful to know of any potential areas for improvement.

If you feel even more inclined to develop the Pandoc support for ConTeXt, its 
writer can be found at 
<https://github.com/jgm/pandoc/blob/master/src/Text/Pandoc/Writers/ConTeXt.hs>. 
In my experience, ConTeXt is much easier to use than LaTeX, but it is more 
difficult to get started with initially due to the lack of resources for new 
users; it is my hope that full support for it in Pandoc will provide one way of 
delving into it more deeply.

All best,

Andrew Dunning
PhD Candidate
Centre for Medieval Studies
University of Toronto
http://andrewdunning.ca

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] PDF/UA Support

2015-10-19 Thread Andrew Dunning

> On 19 Oct 2015, at 5:33 PM, Hans Hagen <pra...@wxs.nl> wrote:
> 
> Indeed context supports tagged pdf already for a while, although only acrobat 
> can do something with it. Making it default is not really an option as there 
> is overhead involved (a bit more runtime and much larger filesize) that makes 
> no sense when proofing documents and in workflows for print, but enabling is 
> easy with
> 
> \setuptagging[state=start]

Thank you! Would it also be possible to have something to the effect of 
`\setupbackend[format={pdf/ua:2014}` to set up the appropriate options?


> Btw, this feature relates to export to XML. Personally I wonder why this UA 
> is such a hype, probably because publishers are reluctant to embed the 
> document source in the pdf, which make much more sense when alternative 
> rendering is needed.

I agree that I would prefer to see PDFs given alongside good HTML, but the 
reality is that this will not happen for some time to come, and in the meantime 
PDFs remain inaccessible to anyone with a print disability (and inconvenient 
for the rest of us). If we can improve this situation, it is only right that we 
do so. If we can in the process encourage wider adoption of ConTeXt, even 
better.

All best,

Andrew Dunning

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___