Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-15 Thread Joaquín Ataz López
Thank you very much for your comments. I will take them in consideration 
and, along with others that are sent to me, I will prepare a version 1.5 
of the guide.


As my introduction, being written in Spanish, excludes many members from 
the list, from now on, and in order not to bore too much those who are 
not interested in this matter, I will answer the mails related to my 
introduction exclusively to the sender, and not to the list, unless I 
think the matter is of more general interest.


Thank you all very much for the good reception of my introduction. I 
already said that it would certainly have errors, I am a beginner at 
ConTeXt.


El 15/10/20 a las 23:25, Willi Egger escribió:

Good evening Joaquin,

first of all congratulations for your initiative, this is really an impressive 
piece of work!

Without wanting to critisize I think, that in general MKIV documents should be 
made up with \start”elment” … \stop”element”. This will be important for all 
those, who also need to produce xml.

I encountred two things in your book:

page 96 at the bottom. You write that the “height” is header + headerdistance + 
textheight + bottomdistance + bottom. This should be footerdistance and footer. 
— The graphic showing the areas however is correct.

page 139 at the top: \chapter[title=…,reference=..]. This should be 
\startchapter[title=…,reference=…] … \stopchapter

Again, thank you for all your work! — Sorry “no hablo Espaniol”…

Saludos cordiales


--
Joaquín Ataz López
Derecho Civil
Universidad de Murcia

___
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] A Spanish introduction to ConTeXt Mark IV

2020-10-15 Thread Willi Egger
Good evening Joaquin,

first of all congratulations for your initiative, this is really an impressive 
piece of work!

Without wanting to critisize I think, that in general MKIV documents should be 
made up with \start”elment” … \stop”element”. This will be important for all 
those, who also need to produce xml. 

I encountred two things in your book:

page 96 at the bottom. You write that the “height” is header + headerdistance + 
textheight + bottomdistance + bottom. This should be footerdistance and footer. 
— The graphic showing the areas however is correct.

page 139 at the top: \chapter[title=…,reference=..]. This should be 
\startchapter[title=…,reference=…] … \stopchapter

Again, thank you for all your work! — Sorry “no hablo Espaniol”…

Saludos cordiales

Willi

> On 14 Oct 2020, at 06:27, Joaquín Ataz López  wrote:
> 
> Sorry. By mistake I sent the message as a reply to another one, when in fact 
> I was trying to start a new thread with it. I'm sending it again (I think 
> I'll do it right now):
> 
> -
> 
> Good morning to everyone.
> 
> Although I guess it will not be of interest to most of the list members, I 
> wanted to communicate that I have written an introduction to ConTeXt Mark IV 
> in Spanish, which can be downloaded at 
> https://webs.um.es/jal/docs/introCTX.pdf. Its title is "An Introduction (not 
> too short) to ConTeXt Mark IV".
> 
> ConTeXt is a wonderful document composition system, but there is not much 
> literature to help you get into it, hence my initiative. The problem is that 
> I've only been using ConTeXt for a short time and still have many doubts, so 
> it's possible that the introduction may contain errors. As it has been 
> written in Spanish I don't think many of you will be able to read it, but I 
> would appreciate, of course, any suggestions for improvement. The document 
> is, on the other hand, free and anyone who wants to include it in any ConTeXt 
> distribution can, of course, do so. Also, if anyone wants the source files, I 
> have no problem providing them.
> 
> I have not based my introduction on LMTX because I think that for beginners a 
> more stable system, like LuaTeX, is preferable.
> 
> Finally, I apologize for my bad English level. I read it reasonably well, but 
> expressing myself in it is much harder for me.
> 
> -- 
> Joaquín Ataz López
> Derecho Civil
> Universidad de Murcia
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

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

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


Re: [NTG-context] Filler rules

2020-10-15 Thread Willi Egger
Hoi,

In earlier times we had something like \definerule[…][…] and \setuprule[…][…]. 
This made it possible to create lines of a define width. — So what I found is 
the fillers, which apparently are not meant for the purpose I am looking for.

Kind regards

Willi

> On 14 Oct 2020, at 16:33, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 14.10.2020 um 15:48:
>> Good afternoon!
>> 
>> I am dealing with a book, which has a short black rule under the title of 
>> the chapters.
>> 
>> I see, that the old rule mechanisms are no more available in LMTX and are 
>> replaced by fillers.
> 
> What mechanism do you mean, fillers are just a high level interface to 
> leaders.
> 
> Wolfgang
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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] expansion / hz

2020-10-15 Thread Hans Hagen

Hi,

Because I'll probably forget to mention if, here is some new features 
(upcoming lmtx only):


\definefontfeature[default][default,quality]
\setupbodyfont[pagella]

\starttext

{whatever we want to achieve} \input tufte

\setupalign[tolerant,stretch,hz]

{whatever we want to achieve} \input tufte

{\noexpansion whatever we want to achieve} \input tufte

\stoptext

That is: one can mark text to *not* use font expansion in an otherwise 
expansion (hz) context. I have no clue how useful it is.


So, the first paragraph has no expansion., the second one has while the 
third one has except for the first 5 words. And yes, there's also 
similar trickery for protrusion, \noprotrusion, but i didn't test it.


This is in addition the the already mentioned \nokerning and 
\noligaturing features that also obey grouping.


All this in the perspective of (luameta)tex giving detailed control over 
matters.


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 / 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] text surrounding graphic in columns

2020-10-15 Thread Jan U. Hasecke
Thanks a lot for this hint, Hans!

On 15.10.20 09:15, Hans Hagen wrote:
> \starttext
> 
> \setupbodyfont[plex,10pt]
> \setupalign[tolerant,stretch]
> \useMPlibrary[dum]
> 
> \startpagecolumns[n=2]
>     \dorecurse {10} {
>     \startplacefigure[location={left,none}]
>     \externalfigure[dummy][width=3em]
>     \stopplacefigure
> 
>     \dorecurse {4} {
>     \samplefile{ward}\par
>     }
>     }
> \stoppagecolumns
> 
> \stoptext
> 
> don't tell Hraban

I promise. ;-)

I can't test it thoroughly, but I've got these issues.

I have problems with the grid on such a page. The last column of three
does not align the lines at the grid. With columnsets the grid is ok.

These columnsets as described in the manual looked very promising to me
as I could change the column layout on the page. The columnsetspan
feature is nice to make elements spread over multiple columns. Areas
also looks promising but I did not try them.

I had some problems while using columnsets with respect to switch this
span feature on and off. But I managed it kind of. The last thing I
couldn't get to work were images with location left of the text.

I'll have a deeper look at the examples in
./tex/texmf-context/doc/context/sources/general/manuals/columnsets

Thanks a lot for these features.
juh

juh
___
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] text surrounding graphic in columns

2020-10-15 Thread Herbert Voss

Am 15.10.20 um 09:15 schrieb Hans Hagen:

experimental (already there for a while but i need top pickup on it):

\starttext

\setupbodyfont[plex,10pt]
\setupalign[tolerant,stretch]
\useMPlibrary[dum]

\startpagecolumns[n=2]
     \dorecurse {10} {
     \startplacefigure[location={left,none}]
     \externalfigure[dummy][width=3em]


using width=13em gives funny output ...

Herbert




\stopplacefigure

     \dorecurse {4} {
     \samplefile{ward}\par
     }
     }
\stoppagecolumns

\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] text surrounding graphic in columns

2020-10-15 Thread Jan U. Hasecke
Thanks Hraban!

On 14.10.20 19:36, Henning Hraban Ramm wrote:
>> how can I get a graphic that floats left or right from the text in
>> columns or columnsets?
> 
> You can’t, sorry.

I feared that. I changed my layout a bit and use tables now.

juh
___
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] A Spanish introduction to ConTeXt Mark IV

2020-10-15 Thread BPJ
Den ons 14 okt. 2020 06:14Joaquín Ataz López  skrev:

> Good morning to everyone.
>
> Although I guess it will not be of interest to most of the list members,
> I wanted to communicate that I have written an introduction to ConTeXt
> Mark IV in Spanish, which can be downloaded at
> https://webs.um.es/jal/docs/introCTX.pdf. Its title is "An Introduction
> (not too short) to ConTeXt Mark IV".
>

Although I make my way through Spanish text with the help of half-forgotten
"high school" Latin and Italian from 35 years ago plus Wiktionary this is
the book I have been needing! Thank you very much!

This could really become the "lshort" of ConTeXt. The "lshort" was
originally written in German but has been translated into multiple
languages through community effort: <
https://ctan.org/tex-archive/info/lshort>. I'm thinking that in this age of
distributed version control it would be feasible to have multiple people
working on each version.
Since I periodically work as a documentation translator I'm immediately
seized by a desire to translate it into English, and why not also Swedish,
my native language? I would need to improve my Spanish considerably though,
and probably also to invent the 28-hour day! So I'm thinking why not create
a GitHub/GitLab repository (or even organization) for this so that anybody
can help translating it into other languages? Those who know Spanish well
could do the initial translation and then those who know English (or any
other language into which some part(s) have been translated) can do the
proof reading (which is where I really can show my muscle since
proofing/editing is what I mostly do for a living! :-) Then when there
exist more versions anyone can make secondary translations between pairs of
languages which they know.

Cheers,

/Benct
___
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] text surrounding graphic in columns

2020-10-15 Thread Hans Hagen

On 10/14/2020 6:58 PM, Jan U. Hasecke wrote:


Hi,

how can I get a graphic that floats left or right from the text in
columns or columnsets?

\starttext
\startcolumns[2]

\placefigure[left, high, none]{}
 {\externalfigure[dummy][width=3em]}
 \input ward

 \input ward
\stopcolumns

\blank

\placefigure[left, high, none]{}
 {\externalfigure[dummy][width=3em]}
 Without columns it works.
 \input ward

 \input ward

\stoptext

experimental (already there for a while but i need top pickup on it):

\starttext

\setupbodyfont[plex,10pt]
\setupalign[tolerant,stretch]
\useMPlibrary[dum]

\startpagecolumns[n=2]
\dorecurse {10} {
\startplacefigure[location={left,none}]
\externalfigure[dummy][width=3em]
\stopplacefigure

\dorecurse {4} {
\samplefile{ward}\par
}
}
\stoppagecolumns

\stoptext

don't tell Hraban

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