[NTG-context] Re: manuals

2024-02-16 Thread Tommaso Gordini
I add to the list the articles on ConTeXt that have appeared in TUGboat
issues over the years.

https://tug.org/TUGboat/Contents/listkeyword.html#CatTAGConTeXt

Ciao
Tommaso

Il giorno gio 15 feb 2024 alle ore 17:39 Alain Delmotte <
alain.delmo...@leliseron.org> ha scritto:

> One could also have a look at
>
> https://www.lesfichesabebert.fr/TeX/TeX.html
>
> It is website introducing Context in French.
> The author was using LaTeX, but he switched to Context for his work
> maintaining a regular publication.
>
> Note: the site is now under reworking, but it is very interesting.
>
> Alain
> Le 14-02-24 à 23:25, Hans Hagen via ntg-context a écrit :
>
> There's also:
>
> https://github.com/contextgarden/not-so-short-introduction-to-context
>
> 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
> ___
>
>
>
> ___
> 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: An announcement of my new book.

2024-02-15 Thread Tommaso Gordini
Thanks everyone for the suggestions on the manuals. I knew the resource
reported by Alain and, of course, that of Joaquín, whose translation into
Italian I have completed, but not yet refined.

However, I didn't know the file reported by Mikael, which I found to be an
excellent tutorial to get started with.

The documentation on ConTeXt is copious, and we know it: just look at the
manuals on Contextgarden. But it is decidedly fragmented, and this
disorientates the user.

I believe, therefore, that what the community misses is a
tutorial/reference manual/complete guide that comes *directly* from the
ConTeXt team (Hans, Wolfgang, etc). And, above all, that it is up to date:
on Contextgarden many ‘valid’ manuals date back to many years ago, and the
obsolescence of the software guides could make people say something like
«well, stuff from years ago, I don't trust it».

A manual in a single file that has, in short, the seal of officiality: the
various resources in circulation are just as many excellent efforts by
individuals, who however have put their own approach to ConTeXt into their
work. Perhaps there is a more correct approach than others, more essential,
which is worth knowing.

I am speaking to you as a LaTeX user, and therefore I may have written a
lot of nonsense in my message.
I conclude by saying that, in the end, the ConTeXt team may not be
interested in all this, and therefore our discussions are pure academic. :)

Ciao
Tommaso

Il giorno gio 15 feb 2024 alle ore 12:13 Aditya Mahajan 
ha scritto:

> On Thu, 15 Feb 2024, Mikael Sundqvist wrote:
>
> > Hi,
> >
> > This small example from BachoTeX 2023 could perhaps be useful for
> > someone: https://github.com/mpsmath/stepbystep
>
> For tutorials, I had played around with using a git repo as a tutorial:
>
> https://github.com/adityam/context-slides-example/commits
>
> The following page is generated automatically from the git commit log:
> https://adityam.github.io/context-blog/post/presentation-40-commits-redux/
>
> 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
>
> ___
>
___
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: An announcement of my new book.

2024-02-15 Thread Tommaso Gordini
Thank you, Mikael,

excellent tutorial, for me.

Ciao
Tommaso

Il giorno gio 15 feb 2024 alle ore 09:29 Mikael Sundqvist 
ha scritto:

> Hi,
>
> This small example from BachoTeX 2023 could perhaps be useful for
> someone: https://github.com/mpsmath/stepbystep
>
> /Mikael
>
> On Thu, Feb 15, 2024 at 8:31 AM Jan Ulrich Hasecke via ntg-context
>  wrote:
> >
> > Hi,
> >
> > Am 14.02.24 um 19:45 schrieb Sir Coleman via ntg-context:
> >
> > I wanted to create more of a reference, a complete reference, and one
> that's of course not meant to be read from cover to cover.
> >
> >
> > I think that setup-en.pdf is a good starting point for a complete
> reference as it contains the commands and their options. With added
> explanations and examples it would be a great reference to beginners.
> >
> > juh
> >
> >
> ___
> > 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
>
> ___
>
___
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
___


Re: [NTG-context] Problem with LMTX on macOS: no format file given, quitting

2023-02-12 Thread Tommaso Gordini via ntg-context
Thanks, Pablo.  Can I write to you privately?  My problem may not matter to
everyone.

Tommaso

Il dom 12 feb 2023, 17:56 Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> ha scritto:

> On 2/12/23 17:34, Pablo Rodriguez via ntg-context wrote:
> > On 2/12/23 16:28, Tommaso Gordini via ntg-context wrote:
> >> [...]
> >> Do you have any idea where I might have gone wrong?
> >
> > My guess is that when you invoke ConTeXt, you are running it from TeX
> > Live (or from other than the wiki installation).
>
> Hi Tommaso,
>
> I forgot to mention, to avoid path clashes, you may invoke ConTeXt in
> the following way (it is only one line and there is no space between
> lines):
>
> export PATH=~/Documents/ConTeXt/ConTeXt-LMTX/\
> tex/texmf-osx-arm64/bin/:$PATH && context source-file.tex
>
> Just in case it might help,
>
> Pablo
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Problem with LMTX on macOS: no format file given, quitting

2023-02-12 Thread Tommaso Gordini via ntg-context
Hello list,

I am writing to you about a problem with ConTeXt LMTX and TeXShop 5.11 on
macOS 12.6.3 (MacBook Air M2).

Yesterday I installed LMTX on my computer following the instructions here:

https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS

The LMTX tree is correctly installed in the directory I've chosen:

charlie@Air-di-Tommaso ~ % which luametatex
/Users/charlie/Documents/ConTeXt/ConTeXt-LMTX/tex/texmf-osx-arm64/bin/luametatex
charlie@Air-di-Tommaso ~ % type luametatex
luametatex is
/Users/charlie/Documents/ConTeXt/ConTeXt-LMTX/tex/texmf-osx-arm64/bin/luametatex
charlie@Air-di-Tommaso ~ % luametatex --version
This is LuaMetaTeX, Version 2.10.06

Execute 'luametatex --credits' for credits and version details.

There is NO warranty. Redistribution of this software is covered by the
terms
of the GNU General Public License, version 2 or (at your option) any later
version. For more information about these matters, see the file named
COPYING
and the LuaMetaTeX source.

Functionality : level 20230126
Support : cont...@ntg.nl
Copyright : The Lua(Meta)TeX Team(s) (2005-2022+)

The LuaMetaTeX project is related to ConTeXt development. This macro package
tightly integrates TeX and MetaPost in close cooperation with Lua. Updates
will
happen in sync with ConTeXt and when needed. Don't be fooled by unchanged
dates:
long-term stability is the objective.

However, I also get this:

charlie@Air-di-Tommaso ~ % luametatex
startup error : no format file given, quitting

Also, I created the TeXShop engine as indicated on the page (I've done it
before with no problems).
However, now when I run LMTX from editor to compose a source, the source is
compiled with MkIV Standalone, which I have in another folder (
/Users/charlie/Documents/ConTeXt/ConTeXt-MkIV). LMTX doesn't even work from
a terminal, of course.

The curious thing is that even by launching the ConTeXt present in TeX
Live, what really works is always MkIV Standalone.

Do you have any idea where I might have gone wrong?

Thank you very much
Tommaso
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Tommaso Gordini via ntg-context
Hello Mojca:

uname -a

Darwin MacBook-Air-di-Tommaso.local 21.6.0 Darwin Kernel Version 21.6.0:
Mon Aug 22 20:20:07 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8110
arm64


uname-m

arm64

Tommaso



Il giorno lun 10 ott 2022 alle ore 08:49 Mojca Miklavec <
mojca.miklavec.li...@gmail.com> ha scritto:

> On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
> >
> > Hello list,
> >
> > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey
> and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV
> folder (where I install Standalone) on the disk weighs only 7MB (the tex
> tree is created, but its folders are empty).
> > I've never had a problem installing it on my old computer (Intel
> processor).
> >
> > Do you know if it is a known problem?
>
> It should work, at least in theory. I'll check later today on our M1
> machine.
> If that doesn't work, it should be some trivial problem (that should
> be straightforward to fix).
> If that works, it could be that "uname" reports something different
> than "arm64" on M2. That should hopefully be easy to fix as well.
>
> What does "uname -m" (and "uname -a") report on your mac?
>
> Mojca
>

Il giorno lun 10 ott 2022 alle ore 08:49 Mojca Miklavec <
mojca.miklavec.li...@gmail.com> ha scritto:

> On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
> >
> > Hello list,
> >
> > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey
> and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV
> folder (where I install Standalone) on the disk weighs only 7MB (the tex
> tree is created, but its folders are empty).
> > I've never had a problem installing it on my old computer (Intel
> processor).
> >
> > Do you know if it is a known problem?
>
> It should work, at least in theory. I'll check later today on our M1
> machine.
> If that doesn't work, it should be some trivial problem (that should
> be straightforward to fix).
> If that works, it could be that "uname" reports something different
> than "arm64" on M2. That should hopefully be easy to fix as well.
>
> What does "uname -m" (and "uname -a") report on your mac?
>
> Mojca
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Tommaso Gordini via ntg-context
While waiting for Mojca's attempts, for the moment I solved it by simply
copying the folder of the old Mac in which I had installed the Standalone
to the Mac M2.
I have slightly modified the TeXShop scripts and everything works.

The log tells me:

This is LuaTeX, Version 1.13.0 (TeX Live 2021)

Compiling with LMTX, i read:

ConTeXt  ver:  2022.09.11 20:44 LMTX

And compiling with MkIV (of the TeX Live 2022):

This is LuaTeX, Version 1.15.0 (TeX live 2022)

Tommaso

Il giorno dom 9 ott 2022 alle ore 09:23 Tommaso Gordini <
illinguista1...@gmail.com> ha scritto:

> Hello list,
>
> I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey
> and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV
> folder (where I install Standalone) on the disk weighs only 7MB (the tex
> tree is created, but its folders are empty).
> I've never had a problem installing it on my old computer (Intel
> processor).
>
> Do you know if it is a known problem?
>
> These are the commands I used (taken from the wiki):
>
> rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
> sh ./first-setup.sh --modules = all --fonts = all --goodies = all
> --context = latest --engine = luatex
>
> Where am I wrong?
>
> LMTX installation, on the other hand, should be successful (the folder
> weighs 297.8 MB, as much as the Standalone one should weigh).
>
> Thanks in advance.
> Tommaso
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-09 Thread Tommaso Gordini via ntg-context
Hello list,

I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and
Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder
(where I install Standalone) on the disk weighs only 7MB (the tex tree is
created, but its folders are empty).
I've never had a problem installing it on my old computer (Intel processor).

Do you know if it is a known problem?

These are the commands I used (taken from the wiki):

rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
sh ./first-setup.sh --modules = all --fonts = all --goodies = all --context
= latest --engine = luatex

Where am I wrong?

LMTX installation, on the other hand, should be successful (the folder
weighs 297.8 MB, as much as the Standalone one should weigh).

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

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


Re: [NTG-context] Mark IV or LuaMetaTeX?

2022-05-26 Thread Tommaso Gordini via ntg-context
Thank you, Keith!

Everything works fine, except Synctex.

So, between MkIV and LMTX you recommend LMTX. Perfect.

Tommaso

Il gio 26 mag 2022, 17:55 Keith McKay via ntg-context 
ha scritto:

> Hi Tommaso
>
>  I use TeXworks with ConText stand alone LMTX. To set it up to run context
> do the following.
>
> Open TexWorks and then click on TexWorks in the menu bar then Preferences.
> The TexWorks Preference window will open up.
>
> Click on the Typesetting tab and you will see two panes. One marked "Paths
> for TeX and related Programs" and another marked "Processing Tools".
>
> Next to Processing Tools is a + button. Click on this and a "Tool
> Configuration" window appears. This is where you enter the details for
> processing by ConTeXt and this is how I have set this up on my mac mini M1.
>
> Name: LMTX
>
> % Here you need to use the Browse button to get to the mtxrun. On my mac
> it is the path to the directory tex  which contains the file mtxrun as
> shown below. Yours may be different. Since mtxrun is an alias for
> luametatex it substitutes luametatex. I edited this to, mtxrun.
>
> Program:
> /Users/HomeDirectory/data/contextmacosarm64/tex/texmf-osx-arm64/bin/mtxrun
>
> % Next enter the arguments as follows using the + button.
>
> Arguments: --autogenerate
>
> --script
>
> context
>
> --autopdf
>
> $fullname
>
> Click OK. This takes you back to the TeXworks Prefences window (which has
> stayed open anyway). You may have to enter some more paths to the Paths
> pane. I added
> /Users/HomeDirectory/data/contextmacosarm64/tex/texmf-osx-arm64/bin just to
> be on the safe side but it may not be needed.
>
> If I have made any mistakes I'm sure the great and the good in the ConTeXt
> community will correct me.
>
> I also use TeXshop but prefer TeXworks but to be honest with with you
> there is not much of a difference between the two in my ConTeXt use. I'm
> experimenting with atom but that is a wee bit more complicated since I have
> to use the console to run context.
>
> Hope this helps
>
> Best Wishes
>
> Keith McKay
>
> On 26/05/2022 13:53, Tommaso Gordini via ntg-context wrote:
>
> Hello list,
> forgive me if my question is too general and trivial and without a minimum
> code.
>
> In the current state of ConTeXt development, which engine do you recommend
> to use *definitively*? ConTeXt MkIV or LMTX?
>
> I use macOS 10.15.7, on which I have MacTeX-2022, ConTeXt Standalone and
> ConTeXt LMTX. My editor is TeXShop 4.72 (the last one), even if Synctex
> doesn't work too well: source to PDF is almost OK, but PDF to source is
> still very inaccurate, not to mention that to activate the direct and
> reverse search you have to write such a thing as
>
> %! TEX TS-program = ConTeXt2021
> %! TEX useAlternatePath
> %! TEX useConTeXtSyncParser
>
> \setupsynctex [state=start, method=min]
>
> \starttext
> ...
> \stoptext
>
> I also have the latest TeXworks on board, but I don't understand how to
> set it up. If you think that for ConTeXt is better than TeXShop and you
> want to teach me how to set it up, thank you.
>
> Tommaso
>
> ___
> 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
>
> ___
>
___
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] Mark IV or LuaMetaTeX?

2022-05-26 Thread Tommaso Gordini via ntg-context
Hello list,
forgive me if my question is too general and trivial and without a minimum
code.

In the current state of ConTeXt development, which engine do you recommend
to use *definitively*? ConTeXt MkIV or LMTX?

I use macOS 10.15.7, on which I have MacTeX-2022, ConTeXt Standalone and
ConTeXt LMTX. My editor is TeXShop 4.72 (the last one), even if Synctex
doesn't work too well: source to PDF is almost OK, but PDF to source is
still very inaccurate, not to mention that to activate the direct and
reverse search you have to write such a thing as

%! TEX TS-program = ConTeXt2021
%! TEX useAlternatePath
%! TEX useConTeXtSyncParser

\setupsynctex [state=start, method=min]

\starttext
...
\stoptext

I also have the latest TeXworks on board, but I don't understand how to set
it up. If you think that for ConTeXt is better than TeXShop and you want to
teach me how to set it up, thank you.

Tommaso
___
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] Microtipography

2022-05-25 Thread Tommaso Gordini via ntg-context
Thank you, Henri!

Tommaso

Il mer 25 mag 2022, 16:59 Henri Menke via ntg-context 
ha scritto:

> On Wed, 2022-05-25 at 15:51 +0200, Tommaso Gordini via ntg-context
> wrote:
> > Hello list,
> >
> > here and there on the Net there are slightly different ways to
> > activate the
> > microtypography functionality in a ConTeXt document.
> >
> >  My question is: what is the most correct and clean way to do it?
>
> I do not claim that this is the cleanest way. Probably it's better to
> define a separate font feature for microtypography rather than
> overwriting the default set, but this definitely works:
>
>\definefontfeature[default][default]
>  [protrusion=quality,
>   expansion=quality]
>
>\setupbodyfont[modern] % or whatever
>
>\setupalign[hz,hanging]
>
> Unfortunately the global alignment settings do not propagate into
> certain structures. For example itemizations, captions, and
> bibliographies just reset it and need special treatment:
>
>\setupitemize[each][align={hz,hanging}]
>\setupbtxlist[align={hz,hanging,tolerant}]
>\setupcaption[figure][align={justified,hz,hanging}]
>
> I think captions are not justified by default, so that might or might
> not matter to you. Bibliographies are usually full or names and
> academic words that do not hyphenate well, so adding tolerant relaxes
> that a little bit.
>
> Cheers, Henri
>
> >
> > Thanks in advance
> > Tommaso
> > _
> > __
> > 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
>
> ___
>
___
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] Microtipography

2022-05-25 Thread Tommaso Gordini via ntg-context
Hello list,

here and there on the Net there are slightly different ways to activate the
microtypography functionality in a ConTeXt document.

 My question is: what is the most correct and clean way to do it?

Thanks in advance
Tommaso
___
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] Side-by-side environment

2021-05-31 Thread Tommaso Gordini
Hello everybody.

Some time ago, Wolfgang helped me write an environment to have code above
and typeset output below.
I'll glue you a MWE below.

\mainlanguage [it]

\setupbodyfont [modern]


\defineuserdata

  [example]

  [alternative=example]


\defineuserdataalternative

  [example]

  [renderingsetup=userdata:example]


\startsetups [userdata:example]

  \blank

  \startembeddedxtable
[width=\textwidth,strut=no,offset=1ex,framecolor=black,rulethickness=0.5pt]

\startxrow [corner=03,align=normal]

  \startxcell

\typebuffer [userdata] [option=tex]

  \stopxcell

\stopxrow

\startxrow [corner=01,align=normal]

  \startxcell

\getuserdata

  \stopxcell

\stopxrow

  \stopembeddedxtable

  \blank

\stopsetups


\starttext


\startuserdata [example]

\starttext

  C’era una volta un re\dots

\stoptext

\stopuserdata


\stoptext


Now, the question: Can the code to be improved? How can I modify the code
to have the example typeset to the right of the box? I would like the box
to be 0.5\textwidth wide.

Thanks in advance
Tommy
___
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] Font protrusion and expansion

2020-11-07 Thread Tommaso Gordini
Thanks Hans and thanks Pablo.  So, \usetypescript is not needed?

Tommaso

Il sab 7 nov 2020, 21:24 Pablo Rodriguez  ha scritto:

> On 11/7/20 7:54 PM, Tommaso Gordini wrote:
> > Hello to all.
> >
> > I am writing to you just to know if the following code, with which I
> > would like to activate the protrusion and expansion of characters in my
> > document, is correct. Is the command order okay?
> >
> > If I wanted to use another font, are there other things to write?
>
> Hi Tommaso,
>
> in the next sample, replace TeX Gyre Pagella with the font family name
> and it will work fine:
>
>   \definefontfeature
> [default]
> [default]
> [expansion=quality,protrusion=quality]
>   \definefontfamily[mainface][rm][TeX Gyre Pagella]
>   \setupbodyfont[mainface]
>   \setupalign[hz,hanging]
>   \starttext
>   \input{zapf}
>   \stoptext
>
> Pablo
> --
> http://www.ousia.tk
>
> ___
> 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] Font protrusion and expansion

2020-11-07 Thread Tommaso Gordini
Hello to all.

I am writing to you just to know if the following code, with which I would
like to activate the protrusion and expansion of characters in my document,
is correct. Is the command order okay?

If I wanted to use another font, are there other things to write?

Thank you in advance
Tommaso

The code:



\mainlanguage[it]


\definefontfeature

  [default]

  [default]

  [expansion=quality,protrusion=quality]


\usetypescript[modern-base]


\setupalign[hz,hanging]


\setupbodyfont[modern]


\starttext


...


\stoptext
___
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] Modules installation in a ConTeXt LMTX distribution

2020-10-18 Thread Tommaso Gordini
Hello everybody,

on my computers (a MacBook Pro with macOS 10.13.6 and a Mac mini with macOS
10.15) I have installed a ConTeXt Standalone distribution and a ConTeXt
LMTX distribution.

However, while following the directions contained here

https://wiki.contextgarden.net/Modules#ConTeXt_LMTX

the procedure to install the modules in the LMTX is not successful.

Are the indications correct? Do any of you want to write them here?

Thank you very much!
Tommaso
___
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] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
I have found this, that works, buy I don't know if there's a possibility of
using less code:

% !TEX encoding = UTF-8 Unicode

% !TEX TS-program = ConTeXt-MkIV


% questo codice centra il blocco dei versi sulla pagina

\defineframedtext

  [poemframed]

  [width=\textwidth,

   autowidth=force,

   align=flushleft,

   before=,

   after=,

   frame=off]


\definenarrower[poemnarrower]


\definelines

  [poemlines]

  [before={\startpoemnarrower[left]},

   after=\stoppoemnarrower]


\definebuffer[poem]


\def\stoppoem{\setups{poems:buffer}}


\startsetups poems:buffer

  \setupnarrower[poemnarrower][left=0pt]

  \setbox\scratchbox\vbox

{\poemframed

{\startpoemlines

   \getpoem

  \stoppoemlines}}

  \edef\poemhsize{\the\dimexpr(\hsize-\wd\scratchbox)/2\relax}

  \setupnarrower[poemnarrower][left=\poemhsize]

  \startpoemlines

\getpoem

  \stoppoemlines

\stopsetups


% questo codice rientra ogni secondo e terzo verso

\unprotect

\installindentingmethod {three} {\c_spac_indentation_toggle_state\plusthree}


\unexpanded\def\spac_indentation_tri_toggle_indeed

  {\glet\checkindentation\spac_indentation_tri_toggle}


\unexpanded\def\spac_indentation_tri_toggle

  {\gdef\checkindentation

  {\spac_indentation_remove

   \gdef\checkindentation{\spac_indentation_tri_toggle_indeed}}}


% this next macro is redefinition of a core macro!

\def\spac_indentation_check_toggle

 {\ifcase\c_spac_indentation_toggle_state

% nothing

  \or

\spac_indentation_no_toggle

  \or

\spac_indentation_do_toggle

  \or

\spac_indentation_tri_toggle

  \fi}

\protect


% questo codice attiva il rientro

\setupindenting[yes,1em]

\setuplines[indenting=three]


\starttext


\startpoem

Per correr miglior acque alza le vele

omai la navicella del mio ingegno,

che lascia dietro a sé mar sì crudele;

e canterò di quel secondo regno

dove l'umano spirito si purga

e di salire al ciel diventa degno.

Ma qui la morta poesì resurga,

o sante Muse, poi che vostro sono;

e qui Calïopè alquanto surga,

seguitando il mio canto con quel suono

di cui le Piche misere sentiro

lo colpo tal, che disperar perdono.
\stoppoem

\stoptext

Il giorno gio 2 lug 2020 alle ore 17:14 Tommaso Gordini <
illinguista1...@gmail.com> ha scritto:

> Thanks, Wolfgang. Your example works, but the verse indentation (
> \setuplines[indenting=three]) is lost.
> There's a way to preserve it?
>
> Tommy
>
>
___
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] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
Thanks, Wolfgang. Your example works, but the verse indentation (
\setuplines[indenting=three]) is lost.
There's a way to preserve it?

Tommy
___
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] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
Taco, this works!
Thank you!

Now (last question), it's possibile to centering in the middle of the page
the whole verse block ?

Tommy

Il giorno gio 2 lug 2020 alle ore 15:56 Taco Hoekwater 
ha scritto:

>
> I was having fun with this as well while Hans was writing his generic
> solution.
>
> Here is an explicit ‘indent each 2nd and 3rd line’:
>
> 
> \unprotect
>
> \installindentingmethod {three}
> {\c_spac_indentation_toggle_state\plusthree}
>
> \unexpanded\def\spac_indentation_tri_toggle_indeed
>   {\glet\checkindentation\spac_indentation_tri_toggle}
>
> \unexpanded\def\spac_indentation_tri_toggle
>   {\gdef\checkindentation
>   {\spac_indentation_remove
>\gdef\checkindentation{\spac_indentation_tri_toggle_indeed}}}
>
> % this next macro is redefinition of a core macro !
> \def\spac_indentation_check_toggle
>  {\ifcase\c_spac_indentation_toggle_state
> % nothing
>   \or
> \spac_indentation_no_toggle
>   \or
> \spac_indentation_do_toggle
>   \or
> \spac_indentation_tri_toggle
>   \fi}
> \protect
> %%
>
> to be used with:
>
>   \setuplines[indenting=three]
>
>
> Best wishes,
> Taco
>
> > On 2 Jul 2020, at 15:01, Tommaso Gordini 
> wrote:
> >
> > \starttext
> >
> > \setupindenting[yes,1em]
> > \setuplines[indenting=even]
> >
> > \startlines
> > Per correr miglior acque alza le vele
> > omai la navicella del mio ingegno,
> > che lascia dietro a sé mar sì crudele;
> > e canterò di quel secondo regno
> > dove l'umano spirito si purga
> > e di salire al ciel diventa degno.
> > \stoplines
> >
> > \stoptext
>
> Taco Hoekwater
> Elvenkind BV
>
>
>
>
>
> ___
> 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] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
Hi everyone.

I am typesetting a poetry text in triplets and I would like the second and
third lines of each triplet to be indented (i.e., in the next example,
verse no. 2, 3, 5, and 6).

Is it possible to get what I ask for with ConTeXt?

The most I managed to do is this:

\starttext

\setupindenting[yes,1em]
\setuplines[indenting=even]

\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì crudele;
e canterò di quel secondo regno
dove l'umano spirito si purga
e di salire al ciel diventa degno.
\stoplines

\stoptext

but that's not what I want.

Thank you very much in advance?
Tommy
___
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] Sources of Tutorial.text.pdf

2018-11-28 Thread Tommaso Gordini
Thank you, Willi!

I hope my ConTeXt guide will be a great work.

here in Padua Luigi Scarso also lives, with whom I have known for years.

Thanks again
Tommy

Il gio 29 nov 2018, 08:06 Willi Egger  ha scritto:

> Aditya, no problem, I was of the same idea as you, but I thought it to be
> correct to ask. But I am fine with you sending the sources to Tommaso!
>
> Best
> Willi
>
> > On 28 Nov 2018, at 18:58, Aditya Mahajan  wrote:
> >
> > On Wed, 28 Nov 2018, Willi Egger wrote:
> >
> >> As being one of the authors, yes I have these file still here. — When
> the second author agrees I can deliver them to you. — However there is a
> warning to be made, that the project is 10 years old and was built in
> pdfTeX/ConTeXt MKII.
> >
> > Hi Willi,
> >
> > I sent the files to Thomas (without asking you I am afraid as I never
> thought that it would be an issue).
> >
> >
> Aditya___
> > 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
>
> ___
___
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] Sources of Tutorial.text.pdf

2018-11-28 Thread Tommaso Gordini
Hi everyone,
looking here and there on the Internet, I found a very interesting document
by Aditya Mahajan and Willi Egger: *Beginners Tutorial. ConTeXt *(
Tutorial-text.pdf), written in 2008 for the 2nd International ConTeXt User
Meeting in Bohinj, Slovenia.

This is a very interesting booklet, for me, congratulations to the authors!

Are there also the sources of it, somewhere?
I'd like to get some ideas for the ConTeXt guide in Italian that I'm
planning.
In particular, I appreciated the way in which the commands are presented:
«do you need to do this? well, the commands that are useful to you are this
and that». I really appreciated that. :-)

Thank you in advance
Thomas
___
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] Problems with setups module

2018-11-26 Thread Tommaso Gordini
Sorry, the correct code is the following:

\usemodule [setups]


\starttext


\startbuffer

\framed [width=3cm,height=1cm] {testo}

\stopbuffer


\typebuffer

\getbuffer


\cmdfullsetup [setuppapersize]


\startbuffer[foo]

\framed [width=3cm,height=1cm] {testo}

\stopbuffer


\typebuffer[foo]

\getbuffer[foo]


\cmdfullsetup [setuppapersize]


\stoptext

Il giorno lun 26 nov 2018 alle ore 11:08 Tommaso Gordini <
illinguista1...@gmail.com> ha scritto:

> Hi everyone.
>
> The following code gives different results by commenting and decommending
> the indicated lines.
>
> Could it be a problem with the setups module?
>
> Thanks in advance
> Tommy
>
> \usemodule [setups]
>
>
> \starttext
>
>
> %\startbuffer
>
> %\framed [width=3cm,height=1cm] {testo}
>
> %\stopbuffer
>
> %
>
> %\typebuffer
>
> %\getbuffer
>
>
> \cmdfullsetup [setuppapersize]
>
>
> \stoptext
>
___
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] Problems with setups module

2018-11-26 Thread Tommaso Gordini
Hi everyone.

The following code gives different results by commenting and decommending
the indicated lines.

Could it be a problem with the setups module?

Thanks in advance
Tommy

\usemodule [setups]


\starttext


%\startbuffer

%\framed [width=3cm,height=1cm] {testo}

%\stopbuffer

%

%\typebuffer

%\getbuffer


\cmdfullsetup [setuppapersize]


\stoptext
___
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] Which commands to use to show setups?

2018-11-25 Thread Tommaso Gordini
Hi Wolfgang,

thank you very much for your code, which works very well.
I still have a few doubts about one thing: is it possible that the commands
you suggested to me do not work with all ConTeXt commands?

For example, if I write

\usemodule [setups]

\starttext

\showdefinition [starttyping]

\stoptext

I get in the PDF

missing: starttyping

It's correct?

The second question concerns the \definition command.
As you can see in the attached PDF, a «and 1» appears below the definition.
It's correct?

Thank you in advance

Il giorno sab 24 nov 2018 alle ore 12:29 Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> ha scritto:

>
>
> Tommaso Gordini schrieb am 24.11.18 um 11:45:
> > Hello, list.
> >
> > In my ConTeXt guide, I need to show the syntax of ConTeXt commands.
> >
> > Below I paste a MWE showing the different possible commands, but I do
> > not know if there are others.
> > I see, however, that the result is different depending on the command
> > used.
> >
> > Do you have any advice to give to me? Which of the commands in the
> > code should I use in a guide? Or better: do they have to be used
> > according to needs?
> >
> > Are there other commands of this kind?
>
> \usemodule[setups]
>
> \starttext
>
> When you describe a command, e.g.
> \type{\startdescription{\cmdbasicsetup[...]} ... \stopdescription}:
>
> \startbuffer [basicsetup]
> \cmdbasicsetup [startxtable]
> \stopbuffer
>
> \typebuffer [basicsetup]
> \getbuffer  [basicsetup]
>
> When you show the syntax of a command without the options:
>
> \startbuffer [shortsetup]
> \cmdshortsetup [startxtable]
> \stopbuffer
>
> \typebuffer [shortsetup]
> \getbuffer  [shortsetup]
>
> When you show the syntax of a command with the options:
>
> \startbuffer [fullsetup]
> \cmdfullsetup [startxtable]
> \stopbuffer
>
> \typebuffer [fullsetup]
> \getbuffer  [fullsetup]
>
> When you want to show the name of a command (similar to \tex{type}):
>
> \startbuffer [internal]
> \cmdinternal {startxtable}
> \stopbuffer
>
> \typebuffer [internal]
> \getbuffer  [internal]
>
> When you want to show the syntax of a command as a float:
>
> \startbuffer [showdefinition]
> \showdefinition [startxtable]
> \stopbuffer
>
> \typebuffer [showdefinition]
> \getbuffer  [showdefinition]
>
> When you want to refer to the definition:
>
> \startbuffer [definition]
> \definition [startxtable]
> %\definition [startxtable,startembeddedxtable]
> \stopbuffer
>
> \typebuffer [definition]
> \getbuffer  [definition]
>
> \page
>
> When you have a generated command (e.g. \tex {placefigure}):
>
> \startbuffer [instance]
> \cmdbasicsetupinstance {placefloat} {figure}
> \cmdshortsetupinstance {placefloat} {figure}
> \cmdfullsetupinstance  {placefloat} {figure}
> \stopbuffer
>
> \typebuffer [instance]
> \getbuffer  [instance]
>
> \stoptext
>
>
> Wolfgang
>


setups-1.tex
Description: TeX document


setups-1.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
___

[NTG-context] Which commands to use to show setups?

2018-11-24 Thread Tommaso Gordini
Hello, list.

In my ConTeXt guide, I need to show the syntax of ConTeXt commands.

Below I paste a MWE showing the different possible commands, but I do not
know if there are others.
I see, however, that the result is different depending on the command used.

Do you have any advice to give to me? Which of the commands in the code
should I use in a guide? Or better: do they have to be used according to
needs?

Are there other commands of this kind?

Thank you in advance
Tommy

\usemodule[x-setups-basics]

\loadsetups[context-en]


\starttext


\showsetup[centerline]


\showsetup[starttyping:instance]


\showsetup[starttyping:instance:typing]


\cmdfullsetup{section:instance}


\cmdfullsetup{section:instance:chapter}


\cmdfullsetup{section:instance:ownnumber:chapter}


\cmdfullsetup{section:instance}


\cmdfullsetup{section:instance:chapter}


\cmdfullsetup{section:instance:ownnumber:chapter}


\showrootvalues[head]


\showinstancevalues[head][chapter]


\stoptext
___
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] A ConTeXt Guide in Italian

2018-11-21 Thread Tommaso Gordini
Hello everyone!
This is my first message here.

I'm trying to write a ConTeXt guide in Italian.

The LaTeX *tcolorbox* package defines an environment dedicated to LaTeX
examples: above (or on the left) the source is written, and below (or on
the right) the typeset result.

Is there something similar for ConTeXt? Does it make sense, in your
opinion, to showing examples of source code with the related outputs in
this way?

Thanks in advance for any advice on this aspect of the guide and for any
suggestions.

Tommy
___
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
___