Re: [NTG-context] upload

2020-11-17 Thread Willi Egger
Hans,

I was looking trough your new manuals. Chapeau! Very interesting and good 
reading! — I wonder whether your day still has 24 hours ;-) — Thank you so much!

Willi

> On 17 Nov 2020, at 12:55, Hans Hagen  wrote:
> 
> Hi,
> 
> I uploaded a new version of lmtx (and mkiv). We're still in the process of 
> migrating code from mkiv to lmtx (using new features). Anyway, I also 
> uploaded a few more (preliminary) 'manuals'
> 
> http://www.pragma-ade.com/general/manuals/lowlevel-macros.pdf
> http://www.pragma-ade.com/general/manuals/lowlevel-security.pdf
> http://www.pragma-ade.com/general/manuals/lowlevel-conditionals.pdf
> http://www.pragma-ade.com/general/manuals/lowlevel-boxes.pdf
> 
> but some is work in progress. It shows a bit how things evolve(d) and what ws 
> and i are dealing with now.  More (details) in due time.
> 
> 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
> ___

___
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] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Willi Egger
Hi Garulfo!

Now! — You  managed do do a nice job! :-)

Willi

> On 15 Nov 2020, at 19:53, Garulfo  wrote:
> 
> Hi,
> 
> finally I made some progress and uploaded files to the wiki in "Reports and 
> articles" Samples section (https://wiki.contextgarden.net/Sample_documents)
> 
> Initial PDF document:
>> https://www.hautconseilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf
>>  
> 
> ConTeXt output :
>> https://wiki.contextgarden.net/images/4/45/2020_hcc_rapport_maitriser-l-empreinte-carbone-de-la-france.pdf
> 
> ConTeXt input files (build with pdftotext > markdown > pandoc > manual work 
> and inkscape):
>> https://wiki.contextgarden.net/images/4/45/2020_hcc_rapport_maitriser-l-empreinte-carbone-de-la-france.pdf
> 
> Any feedback is welcome (even if source code is not really clean)
> 
> I learned a lot, and I definitely recommend such an exercise for document 
> design with ConTeXt :
> - take a PDF file with a design you appreciate
> - extract the content
> - try to reproduce the design with ConTeXt
> 
> 
> 
>> I would like to learn "how to ConTeXt" complex titles styles like the one 
>> seen in the following document:
>> - https://wiki.contextgarden.net/images/f/f1/Screenshot_20201103_220818.png
>> - source document: 
>> https://www.hautconseilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf
>>  1. doublesided document
>> 2. on both side, section title are underlined by a red rule, always "left 
>> aligned" in the text area, shifted to the right by the same distance than it 
>> is done for the text of the title, which ends at the right border of the page
>> 3. on the left page : section title are overlined by a "second red rule", 
>> which starts "left aligned" in the text area, and goes across the whole page 
>> width
>> 4. on the right page : the "second red rule" starts from the left border of 
>> the page, and terminates at the end of the text area
> ___
> 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-22 Thread Willi Egger
Thank you Wolfgang! — In the meantime i was indeed able to setup what i needed 
with \blackrule

Kind regards

Willi

> On 22 Oct 2020, at 22:09, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 15.10.2020 um 21:59:
>> Hoi,
>> 
>> In earlier times we had something like \definerule[…][…] and 
>> \setuprule[…][…]. This made it possible to create lines of a define width.
> 
> I'm sorry but I'm unable to find any code or proper example for the command.
> 
>> So what I found is the fillers, which apparently are not meant for the 
>> purpose I am looking for.
> 
> You can try the \blackrule command to add a custom rule after your title.
> 
> 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
___


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] Filler rules

2020-10-14 Thread Willi Egger
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.

Now with the following setup, I would expect a 50mm line placed centered. 
Hoewever this seems not to work in this way. 
What am I missing?

kind regards

Willi

\definefiller
 [Titlerule]
 [alternative=rule,
  left=\hfil,
  right=\hfil,
  method=local,
  width=50mm,
  height=2pt,
  leftmargin=1pt,
  rightmargin=1pt,
  align=middle]

\starttext

\midaligned{Some text}

\filler[Titlerule]

\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] help with forced page break in TOC

2020-10-05 Thread Willi Egger
Hello Julian,

the mechanism does not work in the typesetting of the TOC.

Whatt you is the following, when the book is in a final stage:

run the file with \showinjector. This will give you in the left margin the 
numbers of the different TOC-entries.

Now you can say

\setinjector[list] [“the number of the injector where the break must take 
place][\page]


I hope that this is solving your issue.
Kind regards

Willi
> On 5 Oct 2020, at 04:53, jbf  wrote:
> 
> I am unable to adapt the example given in 
> https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break to my 
> situation:
> 
> In my case, the ToC has no chapters per se, but uses a defined \mytitle. This 
> produces a series of unnumbered items in the ToC.
> 
> The example in contextgarden tells me to first define the break, which I have 
> done:
> 
> \definelistextra[page][before=\page]
> It then tells me to call this in where I \placecontent (in my case I am using 
> my own defined  \placecombined list[content]). The example given in the wiki 
> is:
> 
> \placecontent[extras={6=page}]
> But I have unnumbered items which are titles (mytitles), so I am not sure 
> what to replace '6' with. I tried:
> 
> \placecombinedlist[content][extras={mytitle title={Elements of 
> Reading}=page}] since 'Elements of reading' is the title before which I want 
> the page break to occur. This does not work. I tried variation of it, e.g. 
> since it is the third such title I tried ][extras={3=page}] but that does 
> nothing either.
> 
> Any clues as to how I can resolve this small problem?
> 
> Julian
> 
> ___
> 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] VisualStudioCode on Linux

2020-09-25 Thread Willi Egger
Hi Mikael,

thank you so much for your instructions and tasks.json!

Indeed it works!

Kind regards

Willi

> On 25 Sep 2020, at 07:50, Mikael Sundqvist  wrote:
> 
> Hi,
> 
> I got help from the list, and in the end I did the following (I have ConTeXt 
> installed in $HOME/ConTeXt-lmtx/). I hope it is complete.
> 
> ln -s 
> $HOME/ConTeXt-lmtx/tex/texmf-context/context/data/vscode/extensions/context 
> $HOME/.vscode/extensions/
> 
> Then I added a task file (also essentially found here, I think):
> 
> %%% Begin of file $HOME/.config/Code/User/tasks.json
> {
> "name" : "context",
> "tasks" : [
>{
>"label": "ConTeXt LuaMetaTeX",
>"type": "shell",
>"command": "export 
> PATH=$HOME/ConTeXt-lmtx/tex/texmf-linux-64/bin/:$PATH;mtxrun --autogenerate 
> --script context '${file}'",
>"args": [],
>"options": {
>"cwd": "${fileDirname}"
>},
>"group": {
>"kind": "build",
>"isDefault": true
>},
>"problemMatcher": []
>}
> ]
> }
> %%% End of file
> 
> Then, in the extension setting inside code, I had to enable the color scheme 
> for context.
> 
> Then it works to compile with ctrl+shift+B.
> 
> /Mikael
> 
> PS I also have some add-on for LaTeX installed, and for that reason I have 
> started to use the file extension .mkiv for ConTeXt. Then the add-ons don't 
> clash.
> 
> On Thu, Sep 24, 2020 at 11:30 PM Willi Egger  wrote:
> Hello Linux users!
> 
> Can somebody tell me how to get the extension for ConTeXt to be installed for 
> VisualStudioCode?
> 
> Thani you in advance!
> Kind regards
> 
> Willi
> 
> ___
> 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] VisualStudioCode on Linux

2020-09-24 Thread Willi Egger
Hello Linux users!

Can somebody tell me how to get the extension for ConTeXt to be installed for 
VisualStudioCode?

Thani you in advance!
Kind regards

Willi

___
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] \checkpage in the TOC

2020-08-12 Thread Willi Egger
Beste Hans!

thank you so much for your solution!

After plying I will remember your last statement in your answer :-)

Kind regards

Willi

> On 12 Aug 2020, at 02:04, Hans Hagen  wrote:
> 
> On 8/10/2020 11:02 PM, Willi Egger wrote:
>> Hello!
>> humble, in another book I am trying to improve the list of contents. On 
>> different places occur page breaks which should be addressed and corrected.
>> I tried to use the method \checkpage[][], however my attempts are not 
>> succesful.
>> For your reference I include a screenshot of the problematic pagebreak.
>> \definepagechecker
>>   [willi]
>>   [method=1,before=,after=,inbetween={\page}]
>> \setuplist
>> [chapter]
>> [prefix=no,
>> sectionnumber=no,
>> headnumber=no,
>>   alternative=command,
>>   command=\Mychaptercommand,
>>  inbetween={\checkpage[willi][lines=4]}
>> Thank you for advice!
>> Kind regards
>> Willi
>> ]
> Here's an example of an actually already quite old mechanism ..
> 
> \showinjector
> 
> \setinjector[register][3][\column]
> \setinjector[list][2][{\blank[3*big]}]
> 
> \starttext
>   \placelist[section][criterium=text]
>   \blank[3*big]
>   \placeregister[index][criterium=text]
>   \page
>   \startsection[title=Alpha] first  \index{first}  \stopsection
>   \startsection[title=Beta]  second \index{second} \stopsection
>   \startsection[title=Gamma] third  \index{third}  \stopsection
>   \startsection[title=Delta] fourth \index{fourth} \stopsection
> \stoptext
> 
> .. so you now have something to wikify ..
> 
> 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
> ___

___
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] \checkpage in the TOC

2020-08-11 Thread Willi Egger
Hello!

humble, in another book I am trying to improve the list of contents. On 
different places occur page breaks which should be addressed and corrected.

I tried to use the method \checkpage[][], however my attempts are not succesful.

For your reference I include a screenshot of the problematic pagebreak.

\definepagechecker
   [willi]
   [method=1,before=,after=,inbetween={\page}]
 
\setuplist
[chapter]
[prefix=no,
sectionnumber=no,
headnumber=no,
   alternative=command,
   command=\Mychaptercommand,
  inbetween={\checkpage[willi][lines=4]}

Thank you for advice!
Kind regards
Willi
]___
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] Header bottom line vanishing after 87 pages

2020-08-06 Thread Willi Egger
Hello good morning,

I encounter a strange problem when compiling my project. The book has 252 
pages, compilation runs without errors. But after 87 pages the bottom frame of 
the header is turned off. The \setupbackgrounds command is given only once in 
the preamble. — So I am curious what that can be.
I tried to reproduce the problem by a simple 255 page loop, but there the issue 
does not appear.

There is no difference between MKIV and LMTX, no difference in older version 
and yesteray evening’s version of ConTeXt.

My question is whether anybody has an idea how to track down this issue.

Kind regards

Willi
___
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] Placing a section ending depending on odd/even sectionnumber

2020-08-05 Thread Willi Egger
Wolfgang, thank you so much for your help!

Hm, when reading your explanation I start to understand my short cut in 
thinking about solving the problem.

I will build it into my project…

Thanks and kind regards
Willi

> On 4 Aug 2020, at 19:46, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 04.08.2020 um 18:56:
>> Hi,
>> now I have another hurdle to be taken :-) — Depending on the odd or even 
>> number of the section I have to place an ornament at the end of the section.
>> I have sofar the following setup:
>> [...]
>> However the the evaluation of the sectionnumber results always in “false”, 
>> having therefore always odd as a sectionending.
> 
> You have two problem:
> 
> 1. To get the current value for \currentheadnumber you have use 
> \determineheadnumber[section] before you use it but the example below shows a 
> better method.
> 
> 2. What you do with \doifelse{...}{even} is to compare the numeric value of 
> the section with the string "even" which is always false. To check whether 
> the value is odd or even you have to use the \ifodd command.
> 
>> What to change in order to get the desired result?
> 
>  begin example
> \startsetups [section:odd]
> \vfill
> \bold {End of odd numbered section}
> \stopsetups
> 
> \startsetups [section:even]
> \vfill
> \bold {End of even numbered section}
> \stopsetups
> 
> \startsetups [section:end]
> \ifodd\namedheadnumber{section}
>  \directsetup{section:odd}
> \else
>  \directsetup{section:even}
> \fi
> \stopsetups
> 
> \setuphead
> [section]
> [aftersection=\directsetup{section:end}]
> 
> \starttext
> 
> \startsection[title=Ward]
> \input ward
> \stopsection
> 
> \page
> 
> \startsection[title=Knuth]
> \input knuth
> \stopsection
> 
> \stoptext
>  end example
> 
> 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] Placing a section ending depending on odd/even sectionnumber

2020-08-04 Thread Willi Egger
Hi,

now I have another hurdle to be taken :-) — Depending on the odd or even number 
of the section I have to place an ornament at the end of the section.

I have sofar the following setup:

\define\stopmysection
  {\setups{endsection}}
 

\startsetups endsection
\doifelse
{\currentheadnumber} %{\headnumber[section][current]}{odd}
{even}
{\vfil
{\bf End of even numbered section}
\stopsection%
}
{\vfil
{\bf End of odd numbered section}
\stopsection%
}
\stopsetups

\starttext

\startsection[title=Ward]

\setuppagenumbering[conversion=romannumerals]

\input ward
\stopmysection

\startsection[title=Knuth]
\setuppagenumbering[conversion=numbers]

\input knuth

\stopmysection

\stoptext

However the the evaluation of the sectionnumber results always in “false”, 
having therefore always odd as a sectionending.

What to change in order to get the desired result?

Kind regards

Willi
___
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] About testing rest of space on a page

2020-07-30 Thread Willi Egger
Hello Taco and Wolfgang!

Thank you both for the reply and input. — I am going to play :-)

Kind regards

Willi

> On 30 Jul 2020, at 21:25, Wolfgang Schuster 
>  wrote:
> 
> Taco Hoekwater schrieb am 30.07.2020 um 09:05:
>>> On 29 Jul 2020, at 23:08, Willi Egger  wrote:
>>> 
>>> Good evening!
>>> 
>>> I have a bookproject in which sections are ended with a small graphical 
>>> element. Now as usual this graphic might be moved to a new page which is of 
>>> course unwanted.
>>> 
>>> At this moment I have:
>>> 
>>> \startsetups endsection
>>> \vfil
>>> \placefigure[middle,none][]{}{\externalfigure[ornament2][height=2\lineheight]}
>>> \stopsection
>>> \stopsetups
>>> 
>>> \def\stopmysection{\setups{endsection}}
>>> 
>>> I use then instead of \stopsection the \stopmysection. This works except 
>>> that the ornament is in some cases placed on the next page. — My question 
>>> is whether it is possible to do a \testpage and evaluate the result hereof 
>>> and then using either the placement of the ornament and stop the section or 
>>> just end the section without ornament?
>> You can put your setups *inside* the test:
>> 
>>  \definepagechecker
>>[willi]
>>[method=1,before=,after=,inbetween={\setups{endsection}}]
>> 
>>  \def\stopmysection
>>{\checkpage[willi][lines=4]}
>> 
>> The before=/after= pair is used when a page break is forced by the test, 
>> inbetween= is used if there is no forced break.
>> 
>> (\testpage is a wrapper around \checkpage:
>> https://source.contextgarden.net/page-brk.mkiv?search=testpage#l564 )
> 
> No need for a new \stop command.
> 
> \setuphead
>  [section]
>  [aftersection={\checkpage[willi][lines=4]}]
> 
> 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] About testing rest of space on a page

2020-07-29 Thread Willi Egger
Good evening!

I have a bookproject in which sections are ended with a small graphical 
element. Now as usual this graphic might be moved to a new page which is of 
course unwanted.

At this moment I have:

\startsetups endsection
  \vfil
  \placefigure[middle,none][]{}{\externalfigure[ornament2][height=2\lineheight]}
  \stopsection
\stopsetups

\def\stopmysection{\setups{endsection}}

I use then instead of \stopsection the \stopmysection. This works except that 
the ornament is in some cases placed on the next page. — My question is whether 
it is possible to do a \testpage and evaluate the result hereof and then using 
either the placement of the ornament and stop the section or just end the 
section without ornament?

Kind regards

Willi
___
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] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Willi Egger
Good evening!

I am trying to make use of the userpagenumber counter. I have a book at hand, 
where I need to adjust the start of the pagenumbering.

It appears to me, that the \setupcounter[userpagenumber[state=stop] and later 
the \setupcounter[userpagenumber][state=start,start=7] is not giving the 
expected result.

MWE:

% Context file

\mainlanguage[en]

\usetypescript[termes]
\setupbodyfont[termes,9pt]

\setuppapersize [A5][A5]


\setuppagenumbering[location=,alternative=doublesided]

\setupheadertexts
[text]
[]
[\userpagenumber]
[\userpagenumber]
[{\getmarking[chapter]}]

\setupfootertexts
[]
[\pagenumber]
[\pagenumber]
[]

\setupmakeup[standard][top=,bottom=,doublesided=yes]

\setupcounter[userpagenumber][state=stop]

\starttext

\startstandardmakeup[page=yes,doublesided=yes]
\strut
\godown[.2\textheight]
\rightaligned{Bramble-Bees}
\stopstandardmakeup

\startstandardmakeup[doublesided=yes,page=yes]
\strut
\godown[.1\textheight]
\startalignment[middle]
{\bfb BRAMBLE-BEES AND OTHER} 
\blank[line]
{\bfa by J. HENRI FABRE}
\stopalignment
\vfill
\startalignment[middle]
{TRANSLATED BY ALEXANDER TEIXEIRA DE MATTOS, F.Z.S.}
\stopalignment
\stopstandardmakeup


\starttitle[title={TRANSLATOR'S NOTE.}]
\input ward
\stoptitle


\setupcounter[userpagenumber][state=start,number=7]

\starttitle[title=Contents]
\placelist[chapter]
\stoptitle

\startchapter[title=Ward]
\input ward
\stopchapter

\startchapter[title=Knuth]
\input knuth
\stopchapter

\stoptext


Is this a bug or do I miss something?

Kind regards

Willi
___
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] Using \defineoverlay for a framed text

2020-06-16 Thread Willi Egger
Hi Marco,

thank you! :-)

Willi

> On 16 Jun 2020, at 14:44, Marco Patzer  wrote:
> 
> On Tue, 16 Jun 2020 14:37:17 +0200
> Marco Patzer  wrote:
> 
>> On Tue, 16 Jun 2020 14:17:09 +0200
>> Willi Egger  wrote:
>> 
>>> I try to use a Metapost drawing as a background to a framed text. —
>>> I can not make it working though…
>>> 
>>> \startuniqueMPgraphic{Markings}
>>> %{Markings:\overlaywidth:\overlayheight} fill OverlayBox enlarged
>>> 5mm withcolor blue; \stopuniqueMPgraphic
>>> 
>>> \defineoverlay[Marks]{\useMPgraphic{Markings}}  
>> 
>> \defineoverlay[Marks][{\useMPgraphic{Markings}}]
> 
> Better:
> 
> \defineoverlay[Marks][\useMPgraphic{Markings}]
> 
> Marco
> ___
> 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] Using \defineoverlay for a framed text

2020-06-16 Thread Willi Egger
Hello listmembers,


I try to use a Metapost drawing as a background to a framed text. — I can not 
make it working though…

\startuniqueMPgraphic{Markings} %{Markings:\overlaywidth:\overlayheight}
fill OverlayBox enlarged 5mm withcolor blue;
\stopuniqueMPgraphic

\defineoverlay[Marks]{\useMPgraphic{Markings}}

\setupframed[background=Marks]

\setupframedtexts
[frame=on,
 background=Marks]  

\starttext
\framedtext{Hello World!}
\blank
\framed{Hello World!}
\stoptext

What is wrong with this code?

Kind regards

Willi
___
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] ConTeXt source browser website update

2020-06-10 Thread Willi Egger
This is really a nice interface! Thank you so much for all this work!

Willi

> On 7 Jun 2020, at 16:25, Taco Hoekwater  wrote:
> 
> Hi all,
> 
> I just replaced the software of https://source.contextgarden.net/ by a Lua 
> implementation that uses Hans Hagen’s SciTE lexers for syntax highlighting 
> and a Lua-generated search index.
> 
> There is no official documentation yet (because I may want to change some 
> stuff still) but here is some relevant information:
> 
> * The search field uses a Lua string pattern to match a single word (no 
> multi-word search as of yet). 
> 
> See https://www.lua.org/manual/5.3/manual.html#6.4.1 for the syntax of lua 
> string patterns.
> 
> * The search index only contains 7-bit ASCII ‘words’ that contain at least 
> one of 'a-zA-Z’ (writing an LPEG for unicode matching is a tricky and 
> probably would be quite slow even if I could make it work). 
> 
> Still, this should be ok-ish because most of the ConTeXt source is ASCII, 
> except for the interface files.
> 
> * The files context-en.xml, mtxrun{.lua}, and all of the files in the 
> tex/context/patterns subtree are skipped in the search index. Also skipped 
> are words shorter than 3 bytes, lua keywords, and words having more than 
> (approx) 1500 hits
> 
> * On the plus side, because of the SciTE lexer, “contextversion’ and 
> “\contextversion” are separate entries in the search index. And you can 
> search for “\@@kldirection”.
> 
> * For text file types that have no SciTE lexer there is no syntax 
> highlighting, and binary files are ignored altogether.
> 
> The rest of the interface should be self-explanatory.
> 
> Suggestions for improvements are welcome.
> 
> 
> Index statistics:
> 
> 4085 files processed, 178 skipped, 3744 with matches
> 120733 words found
> 119154 words exported to word.idx
> 37928 comment words found
> 36880 words exported to comment.idx
> 26756 documentation words found
> 26018 words exported to docs.idx
> 
> The word.idx is roughly 11 megabytes.
> 
> Have fun,
> 
> Taco
> 
> 
> 
> 
> ___
> 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] macOS

2020-03-31 Thread Willi Egger
If I understand the policy of Apple correctly, then it is that \usr is not 
meant to be a directory to be used by the user and therefore spotlight by 
default will not index anything in that directory. When opening Finder then the 
mentioned folder is not even shown i.e. it is hidden and spotlight will 
accordingly not index such directories.

Willi

> On 31 Mar 2020, at 10:44, Gerben Wierda  wrote:
> 
> I already had done all of that including command line versions like ‘sudo 
> mdutil -E’
> 
> It turns out macOS apparently excludes /usr (amongst other things) and I 
> haven’t found a way to configure that. So, when ConTeXt is installed in 
> /usr/local (which is pretty typical), SpotLight doesn’t find the manuals, 
> whereas when it has been installed in — say — /Applications, it will find 
> them.
> 
> G
> 
>> On 31 Mar 2020, at 06:21, janerik.hagglof  wrote:
>> 
>> Maybe this is the solution, haven't tried it myself.
>> 
>> https://support.apple.com/en-us/HT201716
>> 
>> Janne
>> 
>> 
>> 
>> Med Vänlig Hälsning 
>> 
>> Jan-Erik Hägglöf
>> 
>> 
>>  Originalmeddelande 
>> Från: Gerben Wierda 
>> Datum: 2020-03-30 23:52 (GMT+01:00)
>> Till: mailing list for ConTeXt users 
>> Ämne: [NTG-context] macOS
>> 
>> Spotlight on macOS can help me to find the right documentation. 
>> 
>> When I copy the contents of the folder (the manuals for ConTeXt) from its 
>> original location 
>> /usr/local/context-osx-64/tex/texmf-context/doc/context/documents/general/manuals
>>  to ~/Downloads/TestFolder they are indexed and found by Spotlight.
>> 
>> But not in their original location. Why? And how do I fix this, because I 
>> want the manuals and such in /usr/local to be found.
>> 
>> Any Mac user who knows?
>> 
>> G
>> ___
>> 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
> ___

___
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] Box of certain width (and height?) containing a paragraph of text?

2020-03-30 Thread Willi Egger
Gerben,

did you think about using \framedtext, setting the frame off?

Willi

> On 30 Mar 2020, at 21:45, Gerben Wierda  wrote:
> 
> Does ConTeXt have a command to create a (non framed) box from a line of text, 
> where the text is typeset as a paragraph inside a box of certain size?
> 
> G
> ___
> 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] Problem with \setuparranging

2020-02-26 Thread Willi Egger
When looking at your setup, then it appears, that you start arranging two 
times. This is not how arranging works. — Context will first compile the whole 
document as single pages and only after all is ok, it will loop over the pages 
and arrange them. So it is not possible to mix e.g. A4 portrait pages with A3 
landscape pages in an imposition run.

Willi

> On 13 Feb 2020, at 15:13, cont...@vivaldi.net wrote:
> 
> Hello,
> 
> I missed to write my code:
> 
> \starttext
> \pagefigure[A3.pdf]
> 
> \start
>  \setuppapersize[A4,portrait][A3,landscape]
>  \setuparranging[2SIDE]
>\pagefigure[A4.pdf]
>\input knuth
> \stop
> 
> \pagefigure[A3.pdf]
> 
> \start
>  \setuppapersize[A4,portrait][A3,landscape]
>  \setuparranging[2SIDE]
>\pagefigure[A4.pdf]
>\input knuth
> \stop
> \stoptext
> 
> Any idea what I am doing wrong?
> 
> Best regards,
> 
> Lukas
> 
> On 2020-02-13 10:38, cont...@vivaldi.net wrote:
>> Hello,
>> I need to create a document where page arranging is mixed somhow - so
>> that some pages are to be typeset "normally", some other placed "2
>> pages onto 1 page". All pages should appear as A3 size.
>> A simplified code follows; its goal is:
>> - page 1: to be one external figure of size A3 (red),
>> - page 2: to be composed of one page of size A4 (green) on the left
>> half, some text on the right half,
>> - page 3: to be one external figure of size A3 (the same as on page 1)
>> - page 4: to be composed of one page of size A4 on the left half, some
>> text on the right half (as on page 2).
>> The (unwanted) result is:
>> - page 1: as expected,
>> - page 2: as expected,
>> - page 3: surprisignly A4 (red) (whilst the figure is of A3),
>> - page 4: surprisingly A3, but some text on the left half, and no green A4.
>> Is \setuparranging limited somehow or intended for another use?
>> How to generate "Goal.pdf" instead of "t.pdf"?
>> Best regards,
>> Lukas
> ___
> 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] \setupitemgroup[itemize],/setupitemize

2019-12-23 Thread Willi Egger
Wolfgang, thank you for this expalantion.

Kind regards

Willi

> On 18 Dec 2019, at 23:15, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 18.12.2019 um 19:58:
>> Wolfgans, Hraban,
>> 
>> thank you very much for this instruction!
>> 
>> - In the real itemlist I have of course \startitemize (sorry for the 
>> ommission in the MWE
>> - I misinterpreted the Wiki. There is no mentioning in the red section that 
>> n is possible. However the n in the green section must be used as the symbol 
>> with n=123 or symbol=2.
> 
> The n-key is used to set the number of columns when you set your items in 
> multiple columns and it has the same effect as the two, three etc. keywords.
> 
> The way how numbered items work is different. To change the symbol for the 
> bullets or use numbers instead ConTeXt checks if the applies keywords include 
> the name of a symbol (something you create with \definesymbol) or the name of 
> a number conversion (something you create with \defineconversion) and applies 
> it to the current entry.
> 
> This check also you to create your own symbols or numbers orders by simply 
> creating a new symbol and conversion.
> 
> 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] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Willi Egger
Hello everybody,

I just wanted to typeset a simple file with a adaptet itemization. Howewer none 
of the options have effect. Do I miss somehting or is itemize broken?


MWE:
% \setupitemize[packed][n,left={Step~},n]

\setupitemgroup[itemize][1][packed][left={Step~},n]

\starttext
\startitem
Start with this\dots
\stopitem
\startitem
Proceed with that\dots
\stopitem
\startitem
End with the following\dots
\stopitem
\stoptext

Kind regards

Willi
___
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] Cross referencing by using \useexternaldoument

2019-08-18 Thread Willi Egger
Hello Wolfgang!

Thank you again for your explanation. Indeed the thing is the availability of 
the tuc-file of the referenced file. — I will add a note on this on the Wiki.


Willi

> On 18 Aug 2019, at 18:07, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 18.08.2019 um 17:30:
>> Hi all,
>> 
>> there is an old thread concerning this issue from september 2015. It appears 
>> unfortunately, that this issue persists.
>> 
>> You can reference to places inside a document, but references to an outside 
>> document are broken. The links do not work and no page numbers or texts are 
>> typeset from the external document.
>> 
>> Can someone help me to solve this?
> I tried your example and had no problem to get the page and section numbers
> from the other document. What you have to ensure is that the tuc-file for the
> other document you want to refer dies exist because context uses it to get
> the values for the numbers etc.
> 
> 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
___


Re: [NTG-context] Cross referencing by using \useexternaldoument

2019-08-18 Thread Willi Egger
Hello Wolfgang!

thank you so much for your quick reply! I will test and see!

Thanks!

Willi

> On 18 Aug 2019, at 18:07, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 18.08.2019 um 17:30:
>> Hi all,
>> 
>> there is an old thread concerning this issue from september 2015. It appears 
>> unfortunately, that this issue persists.
>> 
>> You can reference to places inside a document, but references to an outside 
>> document are broken. The links do not work and no page numbers or texts are 
>> typeset from the external document.
>> 
>> Can someone help me to solve this?
> I tried your example and had no problem to get the page and section numbers
> from the other document. What you have to ensure is that the tuc-file for the
> other document you want to refer dies exist because context uses it to get
> the values for the numbers etc.
> 
> 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] Cross referencing by using \useexternaldoument

2019-08-18 Thread Willi Egger
Hi all,

there is an old thread concerning this issue from september 2015. It appears 
unfortunately, that this issue persists. 

You can reference to places inside a document, but references to an outside 
document are broken. The links do not work and no page numbers or texts are 
typeset from the external document.

Can someone help me to solve this?

Kind regards

Willi

MWE
File: one.tex

\enabletrackers[structures.referencing.analyzing]

\setupinteraction[state=start]

\starttext

\starttabulate[|l|l|l|]
\NC First document  \NC \in{Chapter}[sec:first]   \NC \at{Page}[sec:first]  
 \NC\NR
\NC Second document \NC \in{Chapter}[two::sec:second] \NC 
\at{Page}[two::sec:second] \NC\NR
\stoptabulate

\dorecurse{3}{\page[empty]}

\chapter[sec:first]{First document}

\stoptext


File; two.tex

\enabletrackers[structures.referencing.analyzing]

\setupinteraction[state=start]

\starttext

\starttabulate[|l|l|l|]
\NC First document  \NC \in{Chapter}[one::sec:first] \NC 
\at{Page}[one::sec:first] \NC\NR
\NC Second document \NC \in{Chapter}[sec:second] \NC \at{Page}[sec:second]  
   \NC\NR
\stoptabulate

\dorecurse{2}{\page[empty]}

\chapter[sec:second]{Second document}

\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] Typesetting hebrew in a table...

2019-08-12 Thread Willi Egger
Hello Taco,

thank you so much. - Indeed this looks good! The option with 
‘verytolerant,stretch’ works but does not look that nice, some words are really 
far from each other…
So the way to go is “{r2l,right}”

Thanks!

Willi

> On 12 Aug 2019, at 15:36, Taco Hoekwater  wrote:
> 
> 
> 
>> On 12 Aug 2019, at 15:08, Willi Egger  wrote:
>> 
>> Hi all,
>> 
>> my brother is studying Ifrith and wants to have a dictionary. The idea is to 
>> typeset left German and right Ifrith in a /bTABLE…\eTABLE environment.
>> 
>> When trying to typeset the Ifrith text is not broken into lines correctly 
>> i.e. it is leaping into the cell reserved for the German text. — How to 
>> correct this behaviour?
> 
> Either use:
> 
> \setupTABLE[column][2][align={r2l,right},width=42mm]
> 
> or:
> 
> \setupTABLE[column][2][align={r2l,verytolerant,stretch},width=42mm]
> 
> since a bare ‘r2l’ is like “normal” except for the writing direction. 
> 
> 
> Best wishes,
> Taco
> 
> ___
> 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 hebrew in a table...

2019-08-12 Thread Willi Egger
Hi all,

my brother is studying Ifrith and wants to have a dictionary. The idea is to 
typeset left German and right Ifrith in a /bTABLE…\eTABLE environment.

When trying to typeset the Ifrith text is not broken into lines correctly i.e. 
it is leaping into the cell reserved for the German text. — How to correct this 
behaviour?

I attach a rather minimal sample.

Kind regards!

Willi



test-hebrew.tex
Description: Binary data


test-hebrew.pdf
Description: Adobe PDF document


test-paal.dat
Description: Binary data
___
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] Spacing after combination

2019-07-16 Thread Willi Egger
Marco,

there is a \setupcombination command:

\setupcombination [...,...] [..,..=..,..]
1 NAME
2 nx
ny
width height location distance alternative align continue before after 
inbetween style
color
OPT
= NUMBER
= NUMBER
= fit DIMENSION
= fit DIMENSION
= left middle right top bottom = DIMENSION
= label text
= inherits: \setupalign
= yes no
= COMMAND
= COMMAND
= COMMAND
= STYLE COMMAND
= COLOR

I hope this will enable you to get what you want.

Willi

> On 16 Jul 2019, at 17:08, Marco Patzer  wrote:
> 
> Hi!
> 
> Is there a way to influence the spacing after a combination is
> placed?
> 
> \useMPlibrary [dum]
> 
> \starttext
> 
> \startcombination [2*2]
>  \startcontent \externalfigure  \stopcontent
>  \startcaption Foo\stopcaption
>  \startcontent \externalfigure  \stopcontent
>  \startcaption Bar\stopcaption
>  \startcontent \externalfigure  \stopcontent
>  \startcaption Lorem  \stopcaption
>  \startcontent \externalfigure  \stopcontent
>  \startcaption Ipsum  \stopcaption
> \stopcombination
> 
> \samplefile{knuth}
> 
> \stoptext
> 
> I know I could wrap it in a float and use the float to control the
> spacing, but it would be great if I could do without that float.
> 
> Marco
> ___
> 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] aligning rotated text in a natural table

2019-06-12 Thread Willi Egger
Martin, did you try to add [align=lohi]?

Willi

> On 12 Jun 2019, at 13:11, Martin Althoff  wrote:
> 
> I am trying to align rotated text horizontally and vertically in a table 
> cell. Vertically
> is no problem, horizontally it fails. Non-rotated text is, of course, fine.
> 
> What can I do to fix the problem? Thanks for suggestions.
> 
> Martin
> 
> using: mtx-context | current version: 2019.05.18 10:42
> PDF of my output is attached.
> 
> MWE:
> 
> \starttext
> \setupTABLE[c][1][width=7mm]
> \setupTABLE[c][2][width=30mm]
> \setupTABLE[r][each][align={lohi,middle},height= 50mm]
> 
> \bTABLE
> \bTR
> \bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
> \bTD blah \eTD
> \eTR
> 
> \eTABLE
> \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
> ___

___
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] https://wiki.contextgarden.net/Fraktur_fonts

2019-05-22 Thread Willi Egger
Hi Rudolf,

I looked at your work on the wiki. It looks very nice, well-structured.

I wanted to try to upload the pictures. However if I understand the help 
correctly, then one needs privileges to upload files?

Kind regards

Willi

> On 12 May 2019, at 19:56, Rudolf Bahr  wrote:
> 
> Hello All,
> 
> I wrote the wiki page "https://wiki.contextgarden.net/Fraktur_fonts; on my
> experiences of ConTeXt and three Fraktur fonts.
> 
> 4 result images are still missing. I didn't succeed in uploading them to the 
> server in
> reasonable time. Could somebody, who has already uploaded images, please, do 
> it for me?
> The 4 images are appended here.
> 
> Best wishes,
> 
> Rudolf___
> 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] How to write a wiki page?

2019-04-30 Thread Willi Egger
Hello Rudolf,

the ConTeXt wiki kan be extended by everybody. What you should do is make your 
account and then you can start. 

I would be glad to be involved in this page, because I have written an article, 
which will be published in the next issue of the ConTexT journal. It is dealing 
with the Maguntia font.

Kind regards

Willi

> On 24 Apr 2019, at 16:44, Rudolf Bahr  wrote:
> 
> 
> Hello All!
> 
> I'd like to write a wiki page on special Fraktur fonts, but I don't know how 
> to begin
> technically. Are there rules? Certanly, but where? To whom would I send the 
> result to
> correct it with respect to format, ConTeXt commands, English language, 
> bringing it into
> the ConTeXt wiki and so on?
> 
> Greetings,
> 
> Rudolf
> ___
> 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] Manipulating the pagenumber in the TOC

2019-04-21 Thread Willi Egger
Hi all,

"when manipulating in one area you will have to manipulate also in other aeras” 
I must confess.

I asked some time ago about manipulating the pagenumber. Wolfgang provide me 
the following approach:


\cldcontext{“\letterpercent.0f”,(\pagenumber+1)/2}

This works indeed fine. However now I am confronted with the fact, that in the 
TOC the manipulated pagenumbers should be taken into account. 

Wolfgang’s approach does not help and ends in an error:

TOC-pagenumber-test.tex
Description: Binary data


\define[1]\SectionTOCPagenumber{
\cldcontext{“\letterpercent.0f”,(\pagenumber+1)/2}}

\setuplist
[section]
[pagecommand=\SectionTOCPagenumber]

My question is: is there a way to manipulate the pagenumber in the TOC such, 
that it reflects the pagenumbers in the document?


Kind regards

Willi___
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] Troubles with the \cldcontext command

2019-04-02 Thread Willi Egger
Dear Wolfgang!


thank you so much for your reply. I tried the test file and it works. tomorrow 
I will look further in a bigger environment.

Thanks and good night!

Willi

> On 2 Apr 2019, at 21:17, Willi Egger  wrote:
> 
> Hello!
> 
> I have the following code, which should manipulate the page number. However I 
> get an error:
> 
> 
> MWE:
> 
> \setuppapersize [A6] [A6]
> 
> \setuppagenumbering[location=none]
> 
> \startsetups [Pagenumber]
>  \doifrightpageelse
>{\cldcontext{"\letterpercent d",(\pagenumber+1)/2}}
>{}
> \stopsetups
> 
> \setupfootertexts [\directsetup{Pagenumber}]
> 
> \setupbodyfont [pagella,9pt]
> 
> 
> \starttext
> 
> \startstandardmakeup
>  Hello world!
> \stopstandardmakeup
> 
> \dorecurse{3}{TEST\page}
> 
> \stoptext
> 
> 
> Error:
> 
> 
> \cldcontext #1->\directlua {context(#1)}
> 
>  \ignorecrlf \directsetup {Pagenumber}
> {}{}{}
> \secondoftwoarguments #1#2->#2
> 
> \page_layouts_process_element_single_indeed ...#4}
>  \fi \endgroup 
> \page_layouts_process_element_single ...#1#2#3{#4}
>  \fi 
>  ...th {\hss \layoutelementparameter \c!middletext 
>  \hss }\kern -\makeupwidth ...
> 
> 
> What do i miss here? I am stumid…
> 
> Willi
> ___
> 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] Troubles with the \cldcontext command

2019-04-02 Thread Willi Egger
Hello!

I have the following code, which should manipulate the page number. However I 
get an error:


MWE:

\setuppapersize [A6] [A6]

\setuppagenumbering[location=none]

\startsetups [Pagenumber]
  \doifrightpageelse
{\cldcontext{"\letterpercent d",(\pagenumber+1)/2}}
{}
\stopsetups

\setupfootertexts [\directsetup{Pagenumber}]

\setupbodyfont [pagella,9pt]


\starttext

\startstandardmakeup
  Hello world!
\stopstandardmakeup

\dorecurse{3}{TEST\page}

\stoptext


Error:


\cldcontext #1->\directlua {context(#1)}

 \ignorecrlf \directsetup {Pagenumber}
 {}{}{}
\secondoftwoarguments #1#2->#2
  
\page_layouts_process_element_single_indeed ...#4}
  \fi \endgroup 
\page_layouts_process_element_single ...#1#2#3{#4}
  \fi 
 ...th {\hss \layoutelementparameter \c!middletext 
  \hss }\kern -\makeupwidth ...


What do i miss here? I am stumid…

Willi
___
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] Write your own module?

2019-03-28 Thread Willi Egger
Hi Gerard,

the easiest is probably to put such a module into the texmf-tree i.e in 
../texmf-project/tec/context/third/yourmodulename

Do not to forget to regenerate the filedatabase.


Willi

> On 26 Mar 2019, at 12:20, Geert Verhaag  wrote:
> 
> Hi,
> 
> I'd like to start writing a module, and test it using ConTeXt MkIV standalone 
> installation.
> 
> Dived into wiki.contextgarden.net but was unable to find a basic tutorial on 
> how to tackle this.
> 
> Yes, I did find a module template, but can't figure out where the module 
> should go such that ConTeXt can find and load it.
> 
> Any hint would be very helpful.
> 
> Thanks in advance!
> 
> Regards,
> Gerard
> ___
> 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] Small pages and large framed texts

2019-03-21 Thread Willi Egger
Gosh Wolfgang! Thank you so much for your piece of code! — It starts to look 
nicer and nicer in my little project :-)

Kindest regards

Willi

> On 20 Mar 2019, at 22:31, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 20.03.19 um 22:11:
>> It’s me again…
>> I appears that I was not clear enough, though I am happy about the 
>> possibility of using textbackground.
>> What I must do is to prepare a list of ConTeXt commands on a very small 
>> page. So the specific question is, how I can influence the 
>> \placelistofsorts[texcommand] in such a way, that the framed pieces break 
>> over the page.
> 
> \usemodule [setups]
> 
> \setuppapersize [A6] [A6]
> 
> \setupbodyfont [pagella,9pt]
> 
> \definetextbackground
>  [SetupsParameter]
>  [before=\blank,
>   after=\blank,
>   topoffset=10pt,
>   leftoffset=10pt,
>   location=paragraph,
>   frame=on]
> 
> \startsetups [xml:setups:start]
>  \starttextbackground [SetupsParameter]
> \stopsetups
> 
> \startsetups [xml:setups:stop]
>  \stoptextbackground
> \stopsetups
> 
> \starttext
> 
> \startsection[title={Short Version of the Command}]
> 
>  \cmdshortsetup [setupframed]
>  \cmdshortsetup [setupinteraction]
> 
> \stopsection
> 
> \startsection[title={\TEX-commands}]
> 
>  \placesetup
> 
> \stopsection
> 
> \stoptext
> 
> 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
___


Re: [NTG-context] Small pages and large framed texts

2019-03-20 Thread Willi Egger
It’s me again…

I appears that I was not clear enough, though I am happy about the possibility 
of using textbackground.

What I must do is to prepare a list of ConTeXt commands on a very small page. 
So the specific question is, how I can influence the 
\placelistofsorts[texcommand] in such a way, that the framed pieces break over 
the page.

\usemodule[x][set-11]
\loadsetups[i-context]

\setuppapersize[A6][A6]

\setupbodyfont[pagella,rm,10pt]


\starttext

\startsection[title=hSort Version of the Command]

\shortsetup{setupframed}
\shortsetup{setupinteraction}

\stopsection

\startsection[title=\TEX -commands]

\placelistofsorts[texcommand]

\stopsection

\stoptext


Willi

> On 20 Mar 2019, at 20:48, Willi Egger  wrote:
> 
> Thank you Wolfgang, I will try this!
> 
> Willi
> 
>> On 20 Mar 2019, at 18:26, Willi Egger  wrote:
>> 
>> Hi,
>> 
>> I deal with a small project, in which I should be able to make a framed text 
>> break over the page. — Does anyone have an idea how to achieve this?
>> 
>> \setuppapersize[A6][A6]
>> 
>> \setupbodyfont[pagella,rm,10pt]
>> 
>> 
>> \starttext
>>  \framedtext
>>  {\dorecurse{3}{\input ward\blank}}
>> \stoptext
>> 
>> 
>> Any hints would be welcome
>> 
>> Willi
>> ___
>> 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
___


Re: [NTG-context] Small pages and large framed texts

2019-03-20 Thread Willi Egger
Thank you Wolfgang, I will try this!

Willi

> On 20 Mar 2019, at 18:26, Willi Egger  wrote:
> 
> Hi,
> 
> I deal with a small project, in which I should be able to make a framed text 
> break over the page. — Does anyone have an idea how to achieve this?
> 
> \setuppapersize[A6][A6]
> 
> \setupbodyfont[pagella,rm,10pt]
> 
> 
> \starttext
>   \framedtext
>   {\dorecurse{3}{\input ward\blank}}
> \stoptext
> 
> 
> Any hints would be welcome
> 
> Willi
> ___
> 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] Small pages and large framed texts

2019-03-20 Thread Willi Egger
Hi,

I deal with a small project, in which I should be able to make a framed text 
break over the page. — Does anyone have an idea how to achieve this?

\setuppapersize[A6][A6]

\setupbodyfont[pagella,rm,10pt]


\starttext
\framedtext
{\dorecurse{3}{\input ward\blank}}
\stoptext


Any hints would be welcome

Willi
___
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] Blogging about ConTeXt at Hostsharing

2019-03-16 Thread Willi Egger
Thank you for sharing, nice blog, and nice flyers too!

Willi

> On 15 Mar 2019, at 16:46, Jan U. Hasecke  wrote:
> 
> Dear all,
> 
> with your kind help I was able to establish an inhouse workflow to
> produce print material for my hosting cooperative Hostsharing.
> 
> We are going to use ConTeXt for flyers, writing pads, business cards,
> posters and published documents such as sustainability reports.
> 
> Many thanks to all who supported me in this mailing list.
> 
> Being still a novice in ConTeXt I am going to blog about our experiences
> starting today with this post.
> 
> https://www.hasecke.eu/post/werbemittel-mit-context-gestalten/
> 
> The text is in German only. I hope to find the time to write an English
> version in the near future.
> 
> If anyone of you is visiting the Chemnitzer Linux-Tage this weekend join
> us at our Hostsharing booth to see the printed results. Our booth is not
> far away from the DANTE booth.
> 
> https://chemnitzer.linux-tage.de/2019/de/programm/live
> 
> Thanks a lot and a happy weekend
> juh
> 
> -- 
> Hostsharing eG – die Hosting-Genossenschaft
> Souveränität – Nachhaltigkeit – Exzellenz
> https://www.hostsharing.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
___


Re: [NTG-context] lua-error when asking for the fontame

2019-03-09 Thread Willi Egger
Thank you Hans!


> On 9 Mar 2019, at 10:12, Hans Hagen  wrote:
> 
> On 3/8/2019 11:16 PM, Willi Egger wrote:
>> \setupbodyfont[pagella,rm,12pt]
>> \starttext
>> This text is written in  \font\fontname
>> \stoptext
> 
> > This text is written in  \fontname\font
> 
> 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
> ___

___
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] lua-error when asking for the fontame

2019-03-08 Thread Willi Egger
Hello,


today I updated ConTeXt to the version of 2019-03-05.

While testing a type-script I got an error, when I ask for the font name.

lua error   > lua error on line 1 in file /test.tex:

...ext/tex/texmf-context/tex/context/base/mkiv/font-syn.lua:519: bad argument 
#1 to 'lower' (string expected, got nil)

MWE:

\setupbodyfont[pagella,rm,12pt]
\starttext
This text is written in  \font\fontname
\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] ARIAL and hebrew

2019-03-04 Thread Willi Egger
Thank you Arthur for your reply,

Looking at your result it is indeed ok. On my laptop (MacOS) and my brother’s 
(Ubuntu), the described problem occurs. -- I thought already, it is related to 
the font itself. I tried in the meantime Liberation-Regular-Sans which gives 
the right result.

Thank you for your input!

Willi

> On 4 Mar 2019, at 08:12, Arthur Reutenauer  
> wrote:
> 
> On Sun, Mar 03, 2019 at 11:47:24PM +0100, Willi Egger wrote:
>> I have a little project for preparing a vocabulary for an Ivrith student. — 
>> The text should be typeset with Arial. However, when I try to use it I get 
>> the vowel points   between the glyphs instead of thereunder.
> 
>  Example, please :-)
> 
>  The following, adapted from 
> https://wiki.contextgarden.net/Arabic_and_Hebrew#Hebrew,
> works well from me:
> 
>  cut before
> \starttext
> 
> \definedfont[name:arial*hebrew]
> Hello, World!
> 
> \setupalign[r2l]
> בְּרֵאשִׁית, בָּרָא אֱלֹהִים, אֵת הַשָּׁמַיִם, וְאֵת הָאָרֶץ.  וְהָאָרֶץ, 
> הָיְתָה תֹהוּ וָבֹהוּ, וְחֹשֶׁךְ, עַל-פְּנֵי תְהוֹם; וְרוּחַ אֱלֹהִים, 
> מְרַחֶפֶת עַל-פְּנֵי הַמָּיִם.  וַיֹּאמֶר אֱלֹהִים, יְהִי אוֹר; וַיְהִי-אוֹר. 
>  וַיַּרְא אֱלֹהִים אֶת-הָאוֹר, כִּי-טוֹב; וַיַּבְדֵּל אֱלֹהִים, בֵּין הָאוֹר 
> וּבֵין הַחֹשֶׁךְ.  וַיִּקְרָא אֱלֹהִים לָאוֹר יוֹם, וְלַחֹשֶׁךְ קָרָא 
> לָיְלָה; וַיְהִי-עֶרֶב וַיְהִי-בֹקֶר, יוֹם אֶחָד.
> 
> \stoptext
>  cut after
> 
>   Best,
> 
>   ARrthur
> ___
> 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] ARIAL and hebrew

2019-03-03 Thread Willi Egger
Good evening!

I have a little project for preparing a vocabulary for an Ivrith student. — The 
text should be typeset with Arial. However, when I try to use it I get the 
vowel points   between the glyphs instead of thereunder. — So my question is, 
does anybody have experience with the use of Arial for typesetting Hebrew?

Kinde regards

Willi
___
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] Latest changes in some size registers

2019-02-27 Thread Willi Egger
Wolfgang I would like to have your capacity of remembering things… Thank you so 
much!

Willi

> On 25 Feb 2019, at 23:30, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 25.02.19 um 22:44:
>> Hi Wolfgang,
>> 
>> that is a nice coincidence! I was stuck just today with this very issue! 
>> Thank you for this information.
> 
> You can try the two solutions (“grid=no” or “strut=no”) from this old thread: 
> https://mailman.ntg.nl/pipermail/ntg-context/2018/093250.html
> 
> 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
___


Re: [NTG-context] Latest changes in some size registers

2019-02-25 Thread Willi Egger
Hi Wolfgang,

that is a nice coincidence! I was stuck just today with this very issue! Thank 
you for this information.

Best

Willi

> On 25 Feb 2019, at 18:39, Wolfgang Schuster 
>  wrote:
> 
> Martin Bruchanov schrieb am 22.02.19 um 04:37:
>> Hi all,
>> 
>> I have some very condensed documents which should fit on one page:
>> 
>> http://gnulinux.guru/bash_cheatsheet.pdf
>> 
>> Without any major change in style definition, there is more space around 
>> sections or itemize:
>> 
>> http://gnulinux.guru/bash_cheatsheet_diff.pdf
>> 
>> Source code is here:
>> 
>> https://github.com/BruXy/gnulinux.guru/tree/master/bash_tahak
>> 
>> Did I miss some update which has introduced some different length settings?
>> 
>> I have version: 2019.02.14 16:57
> 
> The columns-environment uses now the newer mixedcolumns code
> which create by default different spaces around section titles.
> 
> The old columns code can be loaded as a module with
> \usemodule[old-multicolumns]
> 
> 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] A strange request...

2019-02-20 Thread Willi Egger
Hi all,

I am siting with a project of making a “dwarsligger”, you know these books, 
printed on bible-thin-printing paper, which are about  12 x 8 cm. One opens 
them while holding them ‘landscape’ with the spine on the top…

Now there is of course a little struggle with the page numbering. The reading 
page consists out of the even page together with the following uneven page. It 
is easy to print on the uneven page a page number, however this will result in 
uneven page numbers only throughout the book. 

My question is, whether there is an algorithm to print page numbers as follows:


1  2  3  4  5  6  7  8  9 (this is the ordinary numbering)
1 2 3 4 5 (this is the requested numbering)

Does someone have an idea how to solve this?

Any hints are most appreciated!

Willi 
___
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] New logo proposal

2019-01-30 Thread Willi Egger
Hi,

here my humble personal thoughts:

I would say, that the multicolor version is dissecting the word ConTeXT to 
unidentifiable crumbles. It is to my taste to less connected to typesetting, 
herewith agreeing partly with Clyde.
The experiment of Taco however, has some charm. It includes the basic color of 
the associations blue and it shows nicely the word TeX. - I have no objection 
against a horizontal version, however in that case one might have to think to 
put TeX in its original version. Although we ow all thanks to Don Knuth, I 
believe that we use, as Hans mentions, the TeX logo in typesetting. It is 
therefore not obligatory to reflect this also in the ConTeXt group logo. 


I would welcome the version Taco prepared as a logo on the Wiki.

Kind regards

Willi

> On 29 Jan 2019, at 11:32, Taco Hoekwater  wrote:
> 
> Hi Paul,
> 
> Nice idea, and I actually like the multi-color version although it is a 
> bit too informal for some uses (but could be nice for the wiki).
> 
> It would be more coherent if the color of the squares and the color of 
> the letters trailed each other around the 7 options in the writing order 
> for the word “CONTEXT” (C = orange+blue, O = blue+green, N = green+red 
> etc.) But perhaps that is not what you wanted? 
> 
> On the blue logo I tried a little experiment myself, using the
> colors of http://group.contextgarden.net:
> 
> 
> 
> 
> WDYT?
> 
> Side note: I like what gitlab does with the logo in the circle crop
> for its project icon. I believe it would be neat if that could be 
> formalised into the logo itself, but a simple circle crop does not
> quite look right, and more advanced options like distorting the actual
> squares are outside of my inkscape knowledge. And it may not look 
> that good in the end, anyway …
> 
> I’ll be pleased to replace the current green logo on the wiki with
> your multi-color one, assuming there is a some agreement and no
> strong objections.
> 
> Best wishes,
> Taco
> 
> 
>> On 29 Jan 2019, at 00:18, Paul Schalck  wrote:
>> 
>> Dear ConTeXt users and developers,
>> 
>> I want to submit a new ConTeXt logo to you (link to GitLab project):
>> 
>> https://gitlab.com/schickele/new-context-logo
>> 
>> I made this logo in February 2018. At the time, I was planning to do some 
>> video tutorials on ConTeXt (still work in progress), and I wanted a nice 
>> looking visual clue for the thumbnails. Recently, I made a few minor tweaks 
>> and thought it would be the right time to put it out there.
>> 
>> The logo comes in two different layouts (hexagonal and horizontal), and each 
>> layout comes in two color variations (multicolored and blue).
>> 
>> The hexagonal layout is borrowed from the unofficial ConTeXt logo that has 
>> been around for some time. I like the idea of a clean geometrical form, and 
>> the hexagon reminds me of chemistry formulas -- one of the many application 
>> fields of ConTeXt.
>> 
>> The seven colors have mainly an esthetic purpose. They also denote the 
>> flexibility of ConTeXt. I've added a monochromatic blue version because 
>> shiny, saturated colors are not suitable for every case, and blue is 
>> strongly associated with ConTeXt to me. Blue is also a reminder of Mark IV 
>> and LuaTeX.
>> 
>> The letters are set in Din17 EF, which I've licensed. I like its simple 
>> shapes combined with a round and soft touch. It avoids consciously the very 
>> connoted Computer Modern and can be seen as a modernized and also 
>> Europeanized interpretation of the TeX tradition.
>> 
>> This logo is just a humble proposal. Perhaps it is of some use to someone. 
>> It could also make someone else want to create and share his or her logo -- 
>> that would be great.
>> 
>> I'm using ConTeXt since 2006/07 for almost everything that contains text: 
>> letters, presentations, invitations, résumés, certificates, manuals, 
>> reports, flyers, university papers, book typesetting, exercise sheets, song 
>> sheets, and I'm still amazed by how powerful, flexible and reliable it is. 
>> Thanks to the whole community -- and particularly to the Dutch wizard -- for 
>> making this possible!
>> 
>> Greetings from Leimen, Germany
>> 
>> Paul Schalck
>> ___
>> 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
>> ___
> 
> 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 / 

Re: [NTG-context] Sources of Tutorial.text.pdf

2018-11-28 Thread Willi Egger
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
___

Re: [NTG-context] Sources of Tutorial.text.pdf

2018-11-28 Thread Willi Egger
Hello Tommaso,

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.

Kind regards

Willi

> On 28 Nov 2018, at 17:42, Tommaso Gordini  wrote:
> 
> 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
> ___

___
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] TEST

2018-11-25 Thread Willi Egger
Hello, sorry for this mail, this is a test for my new provider.

Happy TeXing!

Willi
___
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] Unifraktur Maguntia features

2018-11-12 Thread Willi Egger
Hi all,

is there somebody among the ConTeXt users, who has experience with the font 
UnifrakturMaguntja (http://unifraktur.sourceforge.net/maguntia.html#)?

I tried all kind of approaches to get the font switching between lnum, tnum 
pnum and onum. — I come to the conclusion that I am unable to subtract and add 
features. I appreciate any help.

Please refer to the appended tex file.

Kind regards

willi


test-font-maguntia.tex
Description: Binary data
___
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] Problem installing a new font

2018-11-12 Thread Willi Egger
Hi Taco,


Thank you so much!

1. yes  forgot that /fonts piece in the given path.

2. Indeed mtxrun —generate is the key!

And 3 : it works!

Bedankt en groet

Willi

> On 12 Nov 2018, at 16:26, Taco Hoekwater  wrote:
> 
> Hi,
> 
>> On 12 Nov 2018, at 15:39, Willi Egger  wrote:
>> 
>> I downloaded the font and put all *afm and *.pfb files into 
>> ../texmf-fonts/data/public/aurical
> 
> Not sure about that path. Should that not be 
> ../texmf-fonts/fonts/data/public/aurical ?
> 
> Nevertheless, the most important missing ingredient is
> 
>   mtxrun --generate
> 
> Since ‘mtxrun —script fonts —reload’ does not scan the disk of the standard 
> folders,
> it just queries the file cache.
> 
> So the right order is:
> 
>  unzip 
>  mtxrun —generate
>  mtxrun —script fonts —reload
> 
> That works for me. 
> 
> I just unzipped the CTAN download into my texmf-fonts, so I have
> 
> hamster:texmf-fonts taco$ mtxrun LukasSvatbaSlant.afm
>  
> /Users/taco/context/tex/texmf-fonts/fonts/afm/public/aurical/LukasSvatbaSlant.afm
> 
> hamster:texmf-fonts taco$ mtxrun --script font --list --file 
> --pattern=LukasSvatbaSlant.afm
>  familynameweight   stylewidthvariant   fontname 
> filename   subfont   fontweight
>  lukassvatba   normal   italic   normal   normallukassvatbaoblique   
> LukasSvatbaSlant.afm conflict: oblique
> 
> And it works:
> 
> hamster:Downloads taco$ pdffonts HW.pdf
> name type  encoding emb 
> sub uni object ID
>  -  --- 
> --- --- -
> WIPANP+LMRoman12-Regular CID Type 0C   Identity-H   yes 
> yes yes 10  0
> SRZNPW+Lukas-Svatba  CID Type 0C   Identity-H   yes 
> yes yes 11  0
> 
> Best wishes,
> Taco
> 
> 
> 
> 
> ___
> 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] Problem installing a new font

2018-11-12 Thread Willi Egger
Hi,

I downloaded the font and put all *afm and *.pfb files into 
../texmf-fonts/data/public/aurical

I reloaded the database with mtxrun —script fonts —roload.

Then I was looking for the font in the database:

 mtxrun --script font --list --file --pattern=LukasSvatbaSlant.afm

Strange enough I get no result.

I tried to find the new cache I generated with the reload command. I can not 
find a new cache in ,,/texmf-cache/luatex-cache/context, what I see there is 
only a cache which has a date from 2013… I am puzzled, Where does Context 
nowadays deposit the cache files? 

Of course under these conditions Lukáš’s example does not work. — I think that 
the mechanism for loading type1 fonts works, I tried Lukáš’s MWE with Dolly and 
that does  work nicely.

Best wishs

Willi

> On 10 Nov 2018, at 21:56, Procházka Lukáš Ing.  wrote:
> 
> Hello,
> 
> probably one of the basic questions and skills in ConTeXt, but the first case 
> for me: how to install a (downloaded third-party) font into ConTeXt:
> 
> I downloaded font source files from 
> https://www.ctan.org/tex-archive/fonts/aurical/ and I unpacked the .zip 
> content, so I have now (see FileList.txt for full info):
> 
> 
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\FileList.txt
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\map
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\tfm
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\type1
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical\AmiciLogo.afm
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical\AmiciLogoBold.afm
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical\AmiciLogoBoldRslant.afm
> ...
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\type1\public\aurical\LukasSvatbaSlant.pfb
> 
> 
> Trying to install the font the easiest way, I also copied files into my 
> ConTeXt dir, so I have also (see FileList2.txt):
> 
> 
> d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogo.afm
> d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogoBold.afm
> d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogoBoldRslant.afm
> d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogoBoldSlant.afm
> ...
> d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogo.pfb
> d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogoBold.pfb
> d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogoBoldRslant.pfb
> d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogoBoldSlant.pfb
> ...
> 
> 
> I tried to follow instructions in 'mfonts.pdf' mentioned at 
> https://wiki.contextgarden.net/Fonts, but early I failed with (unknown) 
> "texfont" command cited here frequently.
> 
> I also experimented somehow with "mtxrun --make --generate" and "mtxrun 
> script --font --reload --force" and with a simple show-font file which starts 
> with:
> 
> 
> \definefont[FONT][AmiciLogo.afm]
> ...
> 
> 
> but the result is not written by AmiciLogo font.
> 
> So - how to make ConTeXt aware of a third-party font and how to use the font 
> in the document?
> 
> Best regards,
> 
> Lukas
> 
> 
> -- 
> Ing. Lukáš Procházka | mailto:l...@pontex.cz
> Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
> IDDS:nrpt3sn
> Bezová 1658
> 147 14 Praha 4
> 
> Mob.: +420 702 033 
> 396___
> 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] Problem installing a new font

2018-11-11 Thread Willi Egger
I think, that for a type 1 font you will need to setup a set of typescripts, 
because you need to tell also the encoding to be used. A source of such 
typescripts can be looked up in the MKII environment.

Willi

> On 11 Nov 2018, at 15:28, Procházka Lukáš Ing.  wrote:
> 
> Hello,
> 
> -- all attachments packed into one .zip --
> 
> probably one of the basic questions and skills in ConTeXt, but the first case 
> for me: how to install a (downloaded third-party) font into ConTeXt:
> 
> I downloaded font source files from 
> https://www.ctan.org/tex-archive/fonts/aurical/ and I unpacked the .zip 
> content, so I have now (see FileList.txt for full info):
> 
> 
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\FileList.txt
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\map
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\tfm
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\type1
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical\AmiciLogo.afm
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical\AmiciLogoBold.afm
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical\AmiciLogoBoldRslant.afm
> ...
> d:\Lukas\ConTeXt\Fonts\Aurical\fonts\type1\public\aurical\LukasSvatbaSlant.pfb
> 
> 
> Trying to install the font the easiest way, I also copied files into my 
> ConTeXt dir, so I have also (see FileList2.txt):
> 
> 
> d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogo.afm
> d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogoBold.afm
> d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogoBoldRslant.afm
> d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogoBoldSlant.afm
> ...
> d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogo.pfb
> d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogoBold.pfb
> d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogoBoldRslant.pfb
> d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogoBoldSlant.pfb
> ...
> 
> 
> I tried to follow instructions in 'mfonts.pdf' mentioned at 
> https://wiki.contextgarden.net/Fonts, but early I failed with (unknown) 
> "texfont" command cited here frequently.
> 
> I also experimented somehow with "mtxrun --make --generate" and "mtxrun 
> script --font --reload --force" and with a simple show-font file which starts 
> with:
> 
> 
> \definefont[FONT][AmiciLogo.afm]
> ...
> 
> 
> but the result is not written by AmiciLogo font.
> 
> So - how to make ConTeXt aware of a third-party font and how to use the font 
> in the document?
> 
> Best regards,
> 
> Lukas
> 
> 
> -- 
> Ing. Lukáš Procházka | mailto:l...@pontex.cz
> Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
> IDDS:nrpt3sn
> Bezová 1658
> 147 14 Praha 4
> 
> Mob.: +420 702 033 396
> 
> ___
> 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] Font Awesome

2018-08-30 Thread Willi Egger
Hraban, thank you! I got it working.

Willi

> On 30 Aug 2018, at 12:44, Henning Hraban Ramm  wrote:
> 
> Am 2018-08-30 um 11:13 schrieb Willi Egger :
> 
>> I would like to use symbols form the Font Awesome. However I see that in 
>> symb-imp-fontawesome.mkiv all symbols except the [wheelchair] are commented. 
>> - What is the reason?
> 
> Ah, that’s why they don’t work anymore. I didn’t look into that file...
> 
> You can use my version that works with current Fontawesome 5.1.1 fonts:
> https://github.com/fiee/ConTeXt/tree/master/symbols
> Download the fonts from https://fontawesome.com/
> 
> Greetlings, Hraban
> ---
> https://www.fiee.net
> http://wiki.contextgarden.net
> https://www.dreiviertelhaus.de
> GPG Key ID 1C9B22FD
> 
> ___
> 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] Font Awesome

2018-08-30 Thread Willi Egger
oeps, yes thats it!

Thank you Arthur

> On 30 Aug 2018, at 16:32, Arthur Reutenauer 
>  wrote:
> 
> On Thu, Aug 30, 2018 at 01:52:54PM +0200, Willi Egger wrote:
>> I am sorry but I do not understand what you wrote: from the name sin the 
>> font?
> 
>  From the names in the font :-)
> 
>   Arthur
> ___
> 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] Font Awesome

2018-08-30 Thread Willi Egger
Hello Hans,

I am sorry but I do not understand what you wrote: from the name sin the font?

Willi

> On 30 Aug 2018, at 13:40, Hans Hagen  wrote:
> 
> On 8/30/2018 11:13 AM, Willi Egger wrote:
>> Good morning!
>> I would like to use symbols form the Font Awesome. However I see that in 
>> symb-imp-fontawesome.mkiv all symbols except the [wheelchair] are commented. 
>> - What is the reason?
> they are picked up from the name sin the font
> 
> -
>  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
> ___

___
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] Table of contents setup

2018-08-30 Thread Willi Egger
Hello,

I am busy to typeset a book with Maguntia.ttf.

I should prepare the TOC with leaders. However how can I get ConTeXT to use the 
same leader-size on all levels which need leaders? As in the given example the 
leaders are adapted to the size of the font.
Secondly I would like to have the page numbers all in the same size, 
irrespective from the level.
Thirdly, I would love to adapt the distance between the leader-dots to a bigger 
size. How to do that?


Kind regards

Willi
___
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 Awesome

2018-08-30 Thread Willi Egger
Good morning!

I would like to use symbols form the Font Awesome. However I see that in 
symb-imp-fontawesome.mkiv all symbols except the [wheelchair] are commented. - 
What is the reason?

Best

Willi
___
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] Upcoming 12th ConTeXt Meeting in the Czech Republic

2018-05-22 Thread Willi Egger
Hello all!

I would like to point you to the upcoming 12th ConTeXt-meeting. Details can be 
found on the ConTeXt-Wiki! (http://meeting.contextgarden.net/).

The registration is open. Early bird registrations will be accepted until 1 of 
July.

The 12th ConTeXt Meeting will take place in Sibřina, Czech Republic on 
September 2–8, 2018. 

Everybody is welcome!

Kind regards

Willi Egger
cg-secretary
___
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] imposition with some rotated pages

2017-08-02 Thread Willi Egger
Hi Pablo,

hm, it seems that this is a special issue.

As I understand it you should separate the pages which are rotated. Then rotate 
them into another file. Finally use the [2UP] arranging for reassembling all 
pages.

The built in impositioning tool in Context is typesetting first all pages 
upright. In an other run the pages are impositioned and rotaded as needed 
according the the schema chosen. There is therefore no way to make a booklet 
from your source directly,


I hope you will find a way to separate the rotated pages!

Best regards


Willi
> On 30 Jul 2017, at 20:55, Pablo Rodriguez  wrote:
> 
> Dear list,
> 
> I have a PDF document in A4 paper size with some rotated pages.
> 
> I would like to make a booklet of it:
> 
>\setuppapersize [A5][A4, landscape]
>\setuparranging [2UP]
>\setuplayout
>  [backspace=0pt,
>topspace=0pt,
>   width=middle,
>  height=middle,
>location=middle,
>  header=0pt,
>  footer=0pt]
>\setupinteractionscreen[option={landscape, paper}, copies=1]
>\starttext
>\filterpages[report.pdf][1:25][width=0pt]
>\filterpages[report.pdf][27:30][width=0pt]%they are rotated
>\filterpages[report.pdf][31:100][width=0pt]
>\stoptext
> 
> The rotated pages in the source PDF document are a problem here.
> 
> The wiki contains the info that \filterpages may be rotated with
> [orientation=90]. But this seems to be old, since it doesn’t work.
> 
> If I add
> \rotate[rotation=90]{\filterpages[report.pdf][27:30][width=0pt]},
> automatic scaling doesn’t work. And all pages will be considered as a
> single image.
> 
> Is there any way to have rotation for some pages in the source document
> to get the right imposition?
> 
> I’m afraid rotation comes from the source PDF document in this case.
> 
> Many thanks for your help,
> 
> 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
___

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Willi Egger
Hi,

I am not a guru, but I think that you should setup your pagesize properly. For 
the calculation of the paper-width margin widths are not used. The elements for 
calculations are the backspace and makeupwidth and the rest to sum up to the 
paperwidth as given in the definition of the papersize. Margins are kind of 
virtual. If text spills out of the margin then the backspace and the margin 
have to be adjusted.

e.g. 
\setuplayout
[location=middle,
 topspace=1.5cm,
 backspace=2cm,
 margin=18mm,
 width=middle]

Location=middle tells only, that the lettersized paper should placed centered 
onto the lettersized paper, oversized.

When I comment the line with insidesection= I get a consistent result i.e. that 
the text of the sections with start\stop in the text body starts one line to 
low compared to the traditional way of coding. 
Otherwise with this insidesection={\blank[-line]}  it appears, that the text 
next uneven section numbers is typeset at the expected place, where text next 
to even section numbers is not. — This might indeed be something which Hans 
should look at.


Best

Will
> On 29 Jul 2017, at 16:52, Rik  wrote:
> 
> Bump.
> 
> The problem persists two updates later.
> 
> In the picture below, the green line represents the edge of the page.
> 
> 
> 
> Does anyone else get the same result? 
> -- 
> Rik
> 
> On 2017-07-23 15:48, Rik Kabel wrote:
>> The following example demonstrates two problems with alternative=margintext 
>> in \setuphead:
>>  • When used with start/stop sectioning, text following the title may be 
>> set on the wrong line.
>>  • Without regard to the type of sectioning, margintext titles may spill 
>> over the left edge of the margin and beyond the page frame.
>> \setuppapersize
>> [letter]
>> [letter,oversized]
>> \setuplayout
>> [location={middle,middle}]
>> \showframe
>> \setuphead
>> [chapter]
>> [number=no,
>>  alternative=inmargin]
>> \setuphead
>> [section]
>> [
>>  alternative=margintext,
>>  insidesection={\blank[-line]},
>> ]
>> \starttext
>>   \starttitle
>>   [title={Problem description}]
>>   \bgroup
>>   \setupwhitespace[medium]
>>   \startparagraph
>>   This demonstrates two problems with
>>   \type{alternative=margintext} in \tex{setuphead}:
>>   \startitemize[packed,n]
>>   \startitem
>> When used with start/stop sectioning, text following the
>> title may be set on the wrong line.
>>   \stopitem
>>   \startitem
>> Without regard to the type of sectioning, \type{margintext}
>> titles may spill over the left edge of the margin and beyond
>> the page frame. (Oddly, \tex{paperwidth} is less than the
>> sum of \tex{makeupwidth} and the margin widths and
>> distances for both letter and A4 paper.)
>>   \stopitem
>>   \stopitemize
>>   \stopparagraph
>>   \startparagraph
>>   With start/stop sectioning, the text following the section
>>   title may begin one line below the start of the title. That
>>   can be remedied if there is no whitespace between paragraphs
>>   with \type{insidesection={\blank[-line]}}, but the remedy
>>   fails when there is whitespace, and increasing the correction
>>   has no effect. With traditional sectioning, the text appears
>>   baseline|-|aligned with the heading, as expected. The
>>   the correction has no effect in any case with traditional
>>   sectioning.
>>   \stopparagraph
>>   \startparagraph
>>   It makes no difference in any test how the paragraphs are
>>   delimited—blank lines, \tex{bpar}/\tex{epar},
>>   \tex{startparagraph}/\tex{stopparagraph}, or \tex{par}.
>>   \stopparagraph
>>   \startparagraph
>>   Tested with standalone beta 2017.07.17 00:20.
>>   \stopparagraph
>>   \egroup
>>   \page
>>   \startchapter
>>   [title={Start/stop sectioning}]
>>   \startsection[title={Mis\-cel\-la\-neous quo\-ta\-tions}]
>>   \startparagraph
>>   \input jojomayer
>>   \stopparagraph
>>   \startparagraph
>>   \input carrol \wordright{No indent no whitespace.}
>>   \stopparagraph
>>   \stopsection
>>   \bgroup
>>   \setupwhitespace[medium]
>>   \startsection[title={Miscellaneous quotations}]
>>   \startparagraph
>>   \input jojomayer
>>   \stopparagraph
>>   \startparagraph
>>   \input carrol \wordright{No indent medium whitespace.}
>>   \stopparagraph
>>   \stopsection
>>   \egroup
>>   \bgroup
>>   \setupindenting[yes,small]
>>   \startsection[title={Miscellaneous quotations}]
>>   \startparagraph
>>   \input jojomayer
>>   \stopparagraph
>>   \startparagraph
>>   \input carrol \wordright{Small indent no whitespace.}
>>   \stopparagraph
>>   \stopsection
>>   \egroup
>>   \bgroup
>>   \setupwhitespace[medium]
>>   \setupindenting[yes,small]
>>   \startsection[title={Miscellaneous quotations}]
>>   \startparagraph
>>   \input jojomayer
>>   \stopparagraph
>>   

Re: [NTG-context] Teletype in tabulate

2017-04-20 Thread Willi Egger
Ah, stupid me, should have known that. Thank you Hans!

Willi
> On 20 Apr 2017, at 17:17, Hans Hagen <pra...@wxs.nl> wrote:
> 
> On 4/20/2017 4:53 PM, Willi Egger wrote:
>> Hi all,
>> 
>> I have the context version 2017.04.16 12:32.
>> 
>> Now I detect that here the tabulate environment throws an error when using 
>> the T key for teletype in the preamble.
>> 
>> I am stuck…
>> 
>> /Users/willi/Documents/TEXdata/lezingenMAPSNTG/Bachotex2017/test.tex: ! 
>> Missing number, treated as zero
>> 
>> 
>> \unskip
>> \tabl_tabulate_column_normal #1->\unskip
>> \aligntab \ifconditional 
>> \c_tabl_ta...
>> \tabl_tabulate_insert_body ...NC \paperheight \NC
>>  29.000cm \NC \NR
>> \tabl_tabulate_insert_content ...late_insert_body
>>  
>> \tabl_tabulate_insert_foot...
>> \tabl_tabulate_process ...tabulate_insert_content
>>  \crcr 
>> }}\anch_backgrounds_...
>> l.14 \stoptabulate
>> 
>> 
>> \starttext
>> \starttabulate[|lT|r|]
>>  \NC \paperheight \NC 29.000cm \NC\NR
>> \stoptabulate
>> 
>> \stoptext
> 
> because T is not \type
> 
>   \NC \type{\paperheight} \NC 29.000cm \NC\NR
> 
> or
> 
>   \NC \string\paperheight \NC 29.000cm \NC\NR
> 
> -
>  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
> ___

___
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] Teletype in tabulate

2017-04-20 Thread Willi Egger
Hi all,

I have the context version 2017.04.16 12:32.

Now I detect that here the tabulate environment throws an error when using the 
T key for teletype in the preamble.

I am stuck…

/Users/willi/Documents/TEXdata/lezingenMAPSNTG/Bachotex2017/test.tex: ! Missing 
number, treated as zero

 
\unskip 
\tabl_tabulate_column_normal #1->\unskip 
 \aligntab \ifconditional \c_tabl_ta...
\tabl_tabulate_insert_body ...NC \paperheight \NC 
  29.000cm \NC \NR 
\tabl_tabulate_insert_content ...late_insert_body 
  \tabl_tabulate_insert_foot...
\tabl_tabulate_process ...tabulate_insert_content 
  \crcr }}\anch_backgrounds_...
l.14 \stoptabulate


\starttext
\starttabulate[|lT|r|]
\NC \paperheight \NC 29.000cm \NC\NR
\stoptabulate

\stoptext


Kind regards

Willi
___
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] Additional documentation/

2017-01-26 Thread Willi Egger
Hello John,

are you referring to the Columns manual? - Hans posted a message on February 9 
last year, where he told about the reimplementation of columnsets. — I do not 
know what the status is and in how far the new implementation works differently 
from what is described in the columns manual.

There is  quite some info on columns and related stuff on 
http://wiki.contextgarden.net/Columns


Kind regards

Willi
> On 19 Jan 2017, at 23:11, John Culleton  wrote:
> 
> I have been away from context for a few years and my memory is fading in
> any case. I do remember a short tutorial that described how one could
> insert a text block in between two text columns or at the side of a
> column etc. I have downloaded the big manual today but that little
> tutorial would help. My questions:
> 
> 1.Do you recall what I am referring to?
> 2. If so, what is its name?
> 3. Is it current enough to be useful today?
> 
> Blessings on all who respond.
> -- 
> John Culleton
> Wexfordpress
> Book design and indexing.
> 
> 
> ___
> 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] Overlays and layers documentation?

2016-12-06 Thread Willi Egger
Apart from the link given you might also read the Metafun manual and parts of 
the Details manual.

Willi
> On 22 Nov 2016, at 14:04, Henri Menke  wrote:
> 
> On 11/21/2016 07:44 PM, Jaroslav Hajtmar wrote:
>> Hello ConTeXist.
>> 
>> Is there any documentation or manual, where I could read some details about 
>> using of overlays and layers in ConTeXt? I see on the Internet and wiki 
>> ConTeXtgarden some examples, but I would be interested in details relating 
>> to the default layers and their names, their order. Are there any 
>> restrictions (number, name, etc.)
> 
> https://github.com/contextgarden/context-mirror/blob/beta/tex/context/base/mkiv/pack-box.mkiv
> 
> Ctrl+F definelayer
> 
> Documentation is provided inline.
> 
>> 
>> Thanx
>> 
>> Jaroslav Hajtmar
>> 
>> 
>> 
>> ___
>> 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
___

Re: [NTG-context] Strange behaviour of itemize inside tabulate

2016-11-21 Thread Willi Egger
Thank you Herbert, this indeed solves the problem.

Willi
> On 20 Nov 2016, at 20:45, Herbert Voss <herbert.v...@fu-berlin.de> wrote:
> 
> Am 20.11.2016 um 20:25 schrieb Willi Egger:
> 
>> I have the following minimal example
>> 
>> % \setupitemgroup
>> %[itemize]
>> %[each]
>> %[autointro,packed]
>> %[symbol=2]
> 
> Use
> 
> \setupitemgroup
>   [itemize]
>   [each]
>   [packed]
>   [symbol=2]
> 
> 
> Herbert
> 
> 
>> 
>> \starttext
>> \starttabulate[|l|p|]
>>  \NC \bf Druk procedé  \NC \bf Opmerking \NC\NR
>>  \NC Offset  \NC \strut weinig problemen als onverpakt\crlf 
>> \NC\NR
>>  \NC Digitaal\NC beduidend lager i.v.m. warmte fixatie.
>>  
>>  \startitemize
>>  \startitem
>>  zo snel 
>> mogelijk weer verpakken na het printen.
>>  \stopitem
>>  \stopitemize\par
>>   \NC\NR
>> \stoptabulate
>> \stoptext
>> 
>> When not uncommenting the setupitemgroup the tabulate appears as expected. 
>> However with the setupitemgroup enabled the row containing the itemize is 
>> shifted up and overlays the first row…
>> 
>> Do I miss something?
>> 
>> Thank you for looking at this. Kind regards
>> 
>> Willi
>> ___
>> 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] Strange behaviour of itemize inside tabulate

2016-11-20 Thread Willi Egger
Hello,

I have the following minimal example

% \setupitemgroup
%   [itemize]
%   [each]
%   [autointro,packed]
%   [symbol=2]

\starttext
\starttabulate[|l|p|]
\NC \bf Druk procedé  \NC \bf Opmerking \NC\NR
\NC Offset  \NC \strut weinig problemen als onverpakt\crlf 
\NC\NR
\NC Digitaal\NC beduidend lager i.v.m. warmte fixatie.

\startitemize
\startitem  
zo snel 
mogelijk weer verpakken na het printen.
\stopitem
\stopitemize\par
 \NC\NR
\stoptabulate
\stoptext

When not uncommenting the setupitemgroup the tabulate appears as expected. 
However with the setupitemgroup enabled the row containing the itemize is 
shifted up and overlays the first row… 

Do I miss something?

Thank you for looking at this. Kind regards

Willi
___
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] Chemical reaction...

2016-11-08 Thread Willi Egger
I am busy to edit an older article in which there are a couple of chemical 
fromulas and reactions.

However, I am stuck because the following throws me an error when uncommenting 
the line with “\chemical{2H^\oplus}{~waterstof (zuur)}” (something with $ 
inserted…)

Another aspect is, that the {DEZ} does not appear. Further the {zinkion} and 
{ethan} appear not as text under the formula but as text next to it.

\starttext 
\placeformula 
  \startformula 
\chemical{(C_2H_5)_2Zn}{DEZ} 
\chemical{PLUS} 
% \chemical{2H^\oplus} {waterstof (zuur)} 
\chemical{GIVES}
\chemical{Zn^{2\oplus}}{zinkion} 
\chemical{PLUS} 
\chemical{2(C_2H_6)}{ethan} 
  \stopformula 
\stoptext

Thank you for hints, what I am missing here…

Kind regards

Willi
___
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] Clickable question/answer numbers (Otared Kavian)

2016-11-07 Thread Willi Egger
Otared,

thank you for this nice example!

Willi
> On 7 Nov 2016, at 04:21, Otared Kavian  wrote:
> 
> Dear Dalyoung,
> 
> I guess you are typesetting the wrong file, or you have put the last code I 
> sent into a file which contains something of the previous codes…
> Indeed in the last file I sent (which I am sending again at the end of this 
> reply) does not contain the command \myanswer… which appears in your error 
> message.
> 
> Please test the code below and let me know if you encunter a problem.
> 
> Best regards: OK
>  begin interactive-question-answer.tex
>  Here, following Wolfgang Schuster's ideas, 
>  we define some macros allowing to couple
>  Questions and Answers in an automatic way
>  Upon clicking on an interactive title for Question or Answer
>  one goes to the corresponding Answer or Question
> 
> \setupinteraction[state=start]
> 
> % We define two counters which follow the numbers
> % appearing in Question and Answer
> 
> \newcounter\QuestionCounter
> \newcounter\AnswerCounter
> 
> % We create two commands to be used in the
> % enumeration environments
> % Note that the check for trial typestting 
> % \doifnotmode{*trialtypesetting}
> % is necessary in order to avoid unwanted incrementation
> \define[1]\QuestionTextCommand
>   {\doifnotmode{*trialtypesetting}
>  {\doglobal\increment\QuestionCounter
>   \pagereference[question:\QuestionCounter]}%
>\doifreferencefoundelse{answer:\QuestionCounter}
>  {\goto{#1}[answer:\QuestionCounter]}
>  {#1}}
> 
> \define[1]\AnswerTextCommand
>   {\doifnotmode{*trialtypesetting}
>  {\doglobal\increment\AnswerCounter
>   \pagereference[answer:\AnswerCounter]}%
>\doifreferencefoundelse{question:\AnswerCounter}
>  {\goto{#1}[question:\AnswerCounter]}
>  {#1}}
> 
> % We define here two enumeration environments for
> % Questions and Answers
> \defineenumeration[question]
>   [text=Question,
>   headcommand=\QuestionTextCommand,
>   number=yes,
>   prefix=yes,
>   prefixsegments=chapter,
>   coupling=answer]
> 
> \defineenumeration[answer]
>   [text=Answer,
>   headcommand=\AnswerTextCommand,
>   number=yes,
>   prefix=yes,
>   prefixsegments=chapter,
>   coupling=question]
> 
> % Each question is followed immediately by its answer.
> % The answers are put in a block which will be used later
> \defineblock[answer]
> \hideblocks[answer]
> 
> % We define a command used after a  
> % Question for which no Answer is provided
> % Since the block commands 
> % \beginanswer ... \endanswer
> % cannot be used directly in a macro definition
> % we use a trick...
> % In the buffer the two counters associated to Answer
> % are incremented...
> \startbuffer[noanswer]
> \beginanswer
> \doglobal\increment\AnswerCounter
> \incrementcounter[answer]
> \endanswer
> \stopbuffer
> 
> % ...and then the above buffer is invoked
> \define\noanswer
>   {\getbuffer[noanswer]}
> 
> % example of use:
> \starttext
> \startchapter[title=Questions]
> 
> \startquestion[q:1]
> Prove that ${\rm e}\sim 2.73$ is irrational.
> 
> This is the first question, with its own reference, for later use.
> \stopquestion
> 
> \beginanswer
> \startanswer
> This is the answer to the first question (to \in{Question}[q:1]).
> \stopanswer
> \endanswer
> 
> \startquestion 
> This is the second question, without its own reference.
> \stopquestion
> 
> \beginanswer
> \startanswer[a:Test]
> This is the answer to the second question. 
> 
> (Note that this answer has a reference named \type{a:Test}).
> \stopanswer
> \endanswer
> 
> \startquestion[q:Obvious]
> This is the third question, an easy one, without a given solution.
> \stopquestion
> 
> % we increment here the counters for Answer
> \noanswer
> 
> \startquestion[q:2]
> This is the fourth question with its own reference.
> \stopquestion
> 
> \beginanswer
> \startanswer
> This is the answer to the fourth question: use the result of 
> \in{Question}[q:1].
> \stopanswer
> \endanswer
> 
> \startquestion 
> This is the fifth question, without its own reference. 
> 
> ({\it Hint:} look again at \in{Question}[q:Obvious]).
> \stopquestion
> 
> \beginanswer
> \startanswer
> This is the answer to the fifth question. Read again \in{Answer}[a:Test].
> \stopanswer
> \endanswer  
> 
> \stopchapter
> 
> % Here we say ownnumber=1, in order to match the prefix 
> % of numbers associated to Answer
> \startchapter[ownnumber=1,title=Answers and solutions]
> \useblocks[answer]
> \stopchapter
> 
> \stoptext
>  end interactive-question-answer.tex
> 
> 
> 
> 
>> On 6 Nov 2016, at 23:43, Jeong Dal  wrote:
>> 
>> Dear Otared,
>> 
>> Hi,
>> I run the given  code and got an error message as following.
>> 
>> tex error   > tex error on line 1 in file virtual://block.answer.2: ! 
>> Undefined control sequence
>> 
>> l.1 \myanswer
>>[Q:test]
>> 
>> 
>> 
>> Would you please tell me how to avoid 

Re: [NTG-context] Creeps (binding gutter / margin correction in imposition)

2016-11-07 Thread Willi Egger
Hi Hraban,

I am not sure about what you say. The page shifting/creep correction is added 
individually per spread. If this is done correctly then the typeset area is on 
all pages the same width and has after folding and cutting  the same outer 
margin. 
As Wolfgang reports look into \definepageshift cum suis.


Kind regards

Willi

> On 7 Nov 2016, at 08:33, Henning Hraban Ramm  wrote:
> 
> Hi together,
> 
> this is not really a practical request, but an interesting (I think) idea...
> 
> ConTeXt can do simple imposition (arranging pages on sheets, see 
> \setuparranging), but in professional imposition you need to compensate for 
> the paper thickness in folds to keep pages readable - you can move the outer 
> pages of a fold out of the gutter (spine), or move the inner pages to the 
> spine. (This is called creep in English, Bundversatz in German.) That means, 
> your outer margin will have different width, depending on the position of the 
> page in its fold.
> 
> See e.g. https://helpx.adobe.com/indesign/using/printing-booklets.html
> 
> A guy on the LilyPond mailing list had the interesting idea to adapt the line 
> width to this creep, to keep an even outer margin - it would mean that TeX 
> needs to know about imposition while breaking lines.
> 
> What do you think?
> 
> 
> Greetlings, Hraban
> ---
> http://www.fiee.net
> http://wiki.contextgarden.net
> GPG Key ID 1C9B22FD
> 
> ___
> 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] Remove files that are not needed (Metafun)

2016-07-12 Thread Willi Egger
context —purgeall is your friend. The pdfs you will have to delete manually.

Willi
> On 12 jul. 2016, at 12:44, Fabrice Couvreur  
> wrote:
> 
> 
> Hello,
> One of my command uses a macro build from Metafun. The compilation generates 
> many files.
> How to delete files in the formats mpgraph.log, mpgraph.mpy, mpgraph.pdf, 
> mpgraph.tex and mpgraph.tuc ?
> thank you,
> Fabrice
> ___
> 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
> ___

___
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] A rather special case of a chapter-start

2016-06-05 Thread Willi Egger
Thank you Wolfgang,

indeed, that was the problem!

Kind regrards 

Willi
> On 5 jun. 2016, at 20:44, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:
> 
>> Willi Egger 5. Juni 2016 um 20:30
>> Indeed in the example it is stated header=empty, however in no case I get 
>> the header with text.
> You set different texts for left/right pages with no text for even numbered 
> pages which you now get in your example.
> 
> \setupheadertexts[Why not visible?][][][]
> 
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] A rather special case of a chapter-start

2016-06-05 Thread Willi Egger
Indeed in the example it is stated header=empty, however in no case I get the 
header with text.

In the meantime I chose another approach:

\setuppagenumbering[location=]
\setuplayout
[header=0pt]

\starttext

\start
\setuphead[chapter][page=no]
\midaligned{\bf TEXT before chapter title}
\startchapter[title=test]
\input knuth
\stopchapter
\stop
\startchapter[title=Normal chapter start]
\input knuth
\stopchapter
\stoptext

Thanks for looking at this!

Kind regards

Willi
> On 5 jun. 2016, at 19:35, Hans Hagen <pra...@wxs.nl> wrote:
> 
> On 6/5/2016 2:10 PM, Willi Egger wrote:
>> Dear list!
>> 
>> I have a book, in which I should repeat the title of the book on top of the 
>> first chapter title. - I thought that should be solvable with playing with 
>> the headertexts. However it seems, that it is not possible to force ConTeXt 
>> to place the headertexts-contents for a chapter, yes it displays the header 
>> space (header=empty} or removes the header space (header=high) in 
>> \setuphead[chapter].
>> 
>> MWE:
>> \setuppagenumbering[location=]
>> \setuplayout
>>  [header=40pt,
>>  headerdistance=10pt]
>> \setupheader
>>  [state=normal]
>> \setupheadertexts
>>  [Why not visible?][][][]
>> \setuphead
>>  [chapter]
>>  [header=empty]
>> \setupbackgrounds
>>  [header]
>>  [frame=on]
>> 
>> \starttext
>>  \input ward
>> 
>>  \page
>>  
>>  \startchapter[title=test]
>>  \input knuth
>>  \page
>>  \input ward
>>  \stopchapter
>> \stoptext
>> 
>> Hints would be welcome!
> 
> because you say
> 
> header=empty
> 
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] A rather special case of a chapter-start

2016-06-05 Thread Willi Egger
Dear list!

I have a book, in which I should repeat the title of the book on top of the 
first chapter title. - I thought that should be solvable with playing with the 
headertexts. However it seems, that it is not possible to force ConTeXt to 
place the headertexts-contents for a chapter, yes it displays the header space 
(header=empty} or removes the header space (header=high) in \setuphead[chapter].

MWE:
\setuppagenumbering[location=]
\setuplayout
[header=40pt,
headerdistance=10pt]
\setupheader
[state=normal]
\setupheadertexts
[Why not visible?][][][]
\setuphead
[chapter]
[header=empty]
\setupbackgrounds
[header]
[frame=on]

\starttext
\input ward

\page

\startchapter[title=test]
\input knuth
\page
\input ward
\stopchapter
\stoptext 

Hints would be welcome!

Kind regards

Willi
___
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] [dante-ev] Kooperation mit der PDF Association

2016-04-21 Thread Willi Egger
I suppose that it is fine that Dante is a member of that association. We will 
lift on their possibilities to fetch info and being involved with it. I think, 
that the ConTeXt group as such has little to profit from a membership…

Best wishes

Willi
> On 21 apr. 2016, at 20:15, Mojca Miklavec  
> wrote:
> 
> On 21 April 2016 at 19:24, Hans Hagen wrote:
>> On 4/21/2016 6:28 PM, Henning Hraban Ramm wrote:
>>> 
>>> Hello ConTeXt group activists!
>>> 
>>> DANTE just became a partner organization of PDF association, see message
>>> below.
>>> Wouldn’t it make sense for our group (and NTG and TUG etc.) to do the
>>> same?
>> 
>> I suppose that Dante, the largest tex user group being around, being a
>> member of that group means that the rest of the user groups can save
>> themselves the trouble and money ...
> 
> The website says:
>"Non-profit organizations can become members without charge as
> Partner Organizations."
> 
> So maybe the ConTeXt Group could indeed apply for membership?
> 
> If we would have to pay the fee, there is no way we could afford it anyway.
> 
> Mojca
> ___
> 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
> ___

___
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] adding font feature tnum in the TOC

2016-03-30 Thread Willi Egger
Thank you Hans,

I think we will keep such things with fonts as before. So I am happy about the 
solution I got from Wolfgang and it works for me here…The latter is the most 
important.

Kind regards

Willi
> On 30 mrt. 2016, at 08:26, Hans Hagen <pra...@wxs.nl> wrote:
> 
> On 3/29/2016 8:38 PM, Willi Egger wrote:
>> I underrstand this, however then I do not get tabular figures…
> 
> These things also depend on the font. Some fonts (maybe taken from type ones) 
> have old styles in the regular digit slots so effectively they always have 
> onum=yes hardcoded and maybe alternatives that kick in when you choose 
> another *num (turning onum off doesn't help then). (The same can be true for 
> other features; unfortunately it's a bit of a mess out there. And if needed 
> we can fix such things in lfg files for specific fonts.)
> 
> Hans
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
Hello Wolfgang,

indeed if one uses pagella it is true what you say.
If I use Seravek, which has oldstuyle figures also, then it does not work in 
the same way.

I tested with \addfeature[oldstyle] which is defined as 
\definefontfeature[oldstyle][default][sript=latn,onum=yes]

With this feature enabled I get oldstyle figures in the text but proportional 
numbers in de TOC, not oldstyle.

Normally I have oldstyle not enabled. So when i use the + instead of the = then 
I get tabular figures.

May be that there is something organized differently in the two fonts?

Thank you for your solution.

Willi

> On 29 mrt. 2016, at 20:36, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:
> 
>> Willi Egger 29. März 2016 um 20:29
>> Hello Wolfgang,
>> 
>> I used your solution. However I think instead of an “=“ it should be “+”.
> No, the = was intentional because I had to get rid of the onum setting.
> 
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
I underrstand this, however then I do not get tabular figures…

Willi
> On 29 mrt. 2016, at 20:36, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:
> 
>> Willi Egger 29. März 2016 um 20:29
>> Hello Wolfgang,
>> 
>> I used your solution. However I think instead of an “=“ it should be “+”.
> No, the = was intentional because I had to get rid of the onum setting.
> 
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
Hello Wolfgang,

I used your solution. However I think instead of an “=“ it should be “+”.

I wikified this issue.

Kind regards

Willi
> On 29 mrt. 2016, at 17:48, Willi Egger <cont...@boede.nl> wrote:
> 
> Wolfgang!
> 
> Many thanks for this! - I get the result I wanted to.
> 
> Kind regards
> 
> Willi
>> On 29 mrt. 2016, at 17:33, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
>> wrote:
>> 
>>> Willi Egger  29. März 2016 um 15:11
>>> Hi,
>>> 
>>> hm, I am a little puzzled…
>>> 
>>> If I am correct then one should be able to enable the font feature tnum for 
>>> the page-numbers with “pagecommand=“.
>>> 
>>> I have 
>>> 
>>> \setuphead
>>> [section]
>>> [aftersection=\page, textstyle=\bfd, numberstyle=\bfd, align=middle, 
>>> after={\godown[-1\lineheight]}, number=no]
>>> 
>>> \setuplist[section][pagecommand={\addfeature[tnum]#1\subtractfeature[tnum]}]
>>> 
>>> However if I do this then I get the pagenumber prefixed with ‘section’ e.g. 
>>> 
>>> bbb bar buch bühne section3
>>> 
>>> What am I doing in the wrong way?
>> \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}]
>> 
>> \definefontfeature[default][default][onum=yes]
>> 
>> \setupbodyfont[pagella]
>> 
>> \starttext
>> 
>> \setcounter[userpage][100]
>> 
>> \completecontent
>> 
>> \dorecurse{20}{\expanded{\chapter{Chapter \recurselevel}}}
>> 
>> \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://tex.aanhet.net
>> archive  : http://foundry.supelec.fr/projects/contextrev/
>> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
Wolfgang!

Many thanks for this! - I get the result I wanted to.

Kind regards

Willi
> On 29 mrt. 2016, at 17:33, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:
> 
>> Willi Egger  29. März 2016 um 15:11
>> Hi,
>> 
>> hm, I am a little puzzled…
>> 
>> If I am correct then one should be able to enable the font feature tnum for 
>> the page-numbers with “pagecommand=“.
>> 
>> I have 
>> 
>> \setuphead
>> [section]
>> [aftersection=\page, textstyle=\bfd, numberstyle=\bfd, align=middle, 
>> after={\godown[-1\lineheight]}, number=no]
>> 
>> \setuplist[section][pagecommand={\addfeature[tnum]#1\subtractfeature[tnum]}]
>> 
>> However if I do this then I get the pagenumber prefixed with ‘section’ e.g. 
>> 
>> bbb bar buch bühne section3
>> 
>> What am I doing in the wrong way?
> \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}]
> 
> \definefontfeature[default][default][onum=yes]
> 
> \setupbodyfont[pagella]
> 
> \starttext
> 
> \setcounter[userpage][100]
> 
> \completecontent
> 
> \dorecurse{20}{\expanded{\chapter{Chapter \recurselevel}}}
> 
> \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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
Hi,

hm, I am a little puzzled…

If I am correct then one should be able to enable the font feature tnum for the 
page-numbers with “pagecommand=“.

I have 

\setuphead
[section]
[aftersection=\page, textstyle=\bfd, numberstyle=\bfd, align=middle, 
after={\godown[-1\lineheight]}, number=no]

\setuplist[section][pagecommand={\addfeature[tnum]#1\subtractfeature[tnum]}]

However if I do this then I get the pagenumber prefixed with ‘section’ e.g. 

bbb bar buch bühne  section3

What am I doing in the wrong way?


Kind regards

Willi
___
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] What is wrong with PocketDiary module?

2016-03-19 Thread Willi Egger
Hi,

did you try to use another font? Seravek is a commercial font, so you might use 
Pagella.

I tested the module here with Pagella and Seravek and it works fine with 
ConTeXt version  2016.03.13 23:40.

WIlli
> On 17 mrt. 2016, at 17:10, DesdeChaves  wrote:
> 
> PocketDiary module don't works anymore with the actual Context version. 
> 
> 
> What is wrong? Why this module isn't more supported?
> 
> 
> Thanks
> 
> Jorge 
> 
> context PocketDiary.tex 
> 
> mtx-context | run 1: luatex 
> --fmt="/Applications/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
>  --jobname="PocketDiary" 
> --lua="/Applications/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
>  --no-parse-first-line --c:currentrun=1 --c:fulljobname="./PocketDiary.tex" 
> --c:input="./PocketDiary.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
> This is LuaTeX, Version beta-0.89.4 (TeX Live 2016/dev) 
>  system commands enabled.
> open source > 1 > 1 > 
> /Applications/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv
> 
> ConTeXt  ver: 2016.03.13 23:40 MKIV beta  fmt: 2016.3.14  int: english/english
> 
> system  > 'cont-new.mkiv' loaded
> open source > 2 > 2 > 
> /Applications/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
> close source> 2 > 2 > 
> /Applications/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
> system  > files > jobname 'PocketDiary', input './PocketDiary', 
> result 'PocketDiary'
> fonts   > latin modern fonts are not preloaded
> languages   > language 'en' is active
> open source > 2 > 3 > 
> /Users/jorgem/Desktop/t-scancsv_ConTeXt_module/PocketDiary.tex
> resolvers   > modules > 'pocketdiary' is loaded
> open source > 3 > 4 > t-pocketdiary.tex
> resolvers   > lua > loading file 't-calendar.lua' succeeded
> loading > ConTeXt User Module / PocketDiary
> open source > 4 > 5 > 
> /Applications/context/tex/texmf-context/tex/context/base/mkiv/symb-imp-mvs.mkiv
> close source> 4 > 5 > 
> /Applications/context/tex/texmf-context/tex/context/base/mkiv/symb-imp-mvs.mkiv
> fonts   > symbols > library 'mvs' loaded
> colors  > 'rgb' color space is supported
> colors  > 'cmyk' color space is supported
> close source> 3 > 5 > t-pocketdiary.tex
> fonts   > typescripts > unknown library 'seravek'
> fonts   > typescripts > unknown library 'Seravek'
> fonts   > preloading latin modern fonts (third stage)
> fonts   > 'fallback modern-designsize ss 9pt' is loaded
> system  > '1.1' arranged at '1'
> 
> tex error   > tex error on line 147 in file virtual://buffer.Week.2: ! 
> You can't use `\prevdepth' in restricted horizontal mode
> 
> 
> \nointerlineskip ->\prevdepth 
>   -\thousandpoint 
> \tabl_ntb_row_align_stop_inject ...ointerlineskip 
>   \ifenableTBLbreak 
> \tabl_nt...
> \tabl_ntb_flush_content ...table \the \t_tabl_ntb 
>   \dostoptagged 
> \tabl_ntb_table_stop ...g \tabl_ntb_flush_content 
>   }\ifcase 
> \tabl_ntb_get_gal...
> \eTABLE ...oveunwantedspaces \tabl_ntb_table_stop 
>   \stopTBLprocessing \fi 
> \po...
> l.147 \eTABLE
>
> ...
> l.12 ...ary}{Week}}{\getvariable{PocketDiary}{Year}}
>   
> 
> 
> 
> 
> ___
> 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
> ___

___
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] placefigure and listoffigures

2016-03-15 Thread Willi Egger
I would define another float and assign this not to be listed float to this new 
float-type something like \definefloat[Notlisted][figure] and then
\startplaceNotlisted
\externalf…
\stopplaceNotlisted

Best wishes

Willi
> On 15 mrt. 2016, at 21:43, Alan BRASLAU  wrote:
> 
> Hi,
> 
> How can one suppress the addition of a placed figure to the
> listoffigures?
> 
> In the following MWE, list=no places "no" as an alternative to the
> (blank) title.
> 
> Alan
> 
> 
> \starttext
> 
> \startplacefigure [location=inmargin,number=no,list=no]
>  \externalfigure [cow] [width=1cm]
> \stopplacefigure
> \input knuth
> 
> \blank
> 
> \placelistoffigures [criterium=all]
> 
> \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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Struggling with new version of ConTeXt

2016-03-04 Thread Willi Egger
Hans, thank you for fixing this so quickly!

Willi
> On 4 mrt. 2016, at 10:42, Hans Hagen <pra...@wxs.nl> wrote:
> 
> On 3/4/2016 6:03 AM, Willi Egger wrote:
>> With version :ConTeXt  ver: 2016.02.17 11:11 MKIV beta the following code 
>> worked:
>> 
>> \define[2]\Illustration{%
>>  \startplacefigure
>>  [title=#2,reference=fig:#1]
>>  \externalfigure[#1][height=.25\textheight]
>>  \stopplacefigure}
>> 
>> \starttext
>> 
>>  \Illustration{cow}{A Frisian cow}
>> 
>> \stoptext
>> 
>> With ConTeXt  ver: 2016.03.03 23:31 MKIV beta I get a fatal error:
>> 
>> ...test.tex: ! Extra }, or forgotten \endgroup
>> 
>> \strc_counters_register_component_list ...focus 
>> }}titledata{label{\detokeniz...
>> \strc_counters_register_component ...}{#3}{#4}{#9}\else \ifx 
>> \currentstructu...
>> \strc_floats_place_packaged_boxes_indeed ... ][#1]\globallet 
>> \previousfloatn...
>> \strc_floats_finish_placement ...e_packaged_boxes\dostoptagged \global 
>> \d_p...
>> l.30 \Illustration{cow}{A Frisian cow}
> 
> fixed, btw you can also say:
> 
> \starttexdefinition Illustration #1#2
>\startplacefigure[title=#2,reference=fig:#1]
>\externalfigure[#1][height=.25\textheight]
>\stopplacefigure
> \stoptexdefinition
> 
> 
> 
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Willi Egger
Hans, thank you for your tip!

Willi
> On 4 mrt. 2016, at 12:08, Hans Hagen <pra...@wxs.nl> wrote:
> 
> On 3/4/2016 5:37 AM, Willi Egger wrote:
>> Hi all,
>> 
>> I need to write to a list, however it appears that the second argument from 
>> \writetolist[name]{number}{ext} does not end up in the list. — What do I 
>> miss?
>> 
>> \starttext
>>  \startsubject[title=Contents]
>>  \placelist[section][criterium=all]
>>  \stopsubject
>> 
>>  \startsubject[title=A Paragraph as Subject]
>>  \writetolist[section]{1}{Writetolist: Subject title}
>>  \stopsubject
>> \stoptext
> 
> headnumber=always
> 
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Struggling with new version of ConTeXt

2016-03-03 Thread Willi Egger
With version :ConTeXt  ver: 2016.02.17 11:11 MKIV beta the following code 
worked:

\define[2]\Illustration{%
\startplacefigure
[title=#2,reference=fig:#1]
\externalfigure[#1][height=.25\textheight]
\stopplacefigure}

\starttext

\Illustration{cow}{A Frisian cow}

\stoptext

With ConTeXt  ver: 2016.03.03 23:31 MKIV beta I get a fatal error:

...test.tex: ! Extra }, or forgotten \endgroup

\strc_counters_register_component_list ...focus }}titledata{label{\detokeniz...
\strc_counters_register_component ...}{#3}{#4}{#9}\else \ifx \currentstructu...
\strc_floats_place_packaged_boxes_indeed ... ][#1]\globallet \previousfloatn...
\strc_floats_finish_placement ...e_packaged_boxes\dostoptagged \global \d_p...
l.30 \Illustration{cow}{A Frisian cow} 

Kind regards

Willi
___
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] \writetolist command...

2016-03-03 Thread Willi Egger
Hi all,

I need to write to a list, however it appears that the second argument from 
\writetolist[name]{number}{ext} does not end up in the list. — What do I miss?

\starttext
\startsubject[title=Contents]
\placelist[section][criterium=all]
\stopsubject

\startsubject[title=A Paragraph as Subject]
\writetolist[section]{1}{Writetolist: Subject title}
\stopsubject
\stoptext

Kind regards

Willi
___
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] goto

2015-11-28 Thread Willi Egger
Hello Hans,

I read your post today ;-|

In the past, that is in the pdfTeX time, I used this feature as follows:

\useexternaldocument[Taptones][c_tap-tones.pdf][Chapter about using tap-tones]

\starttext

This is a test to jump to another file
\goto{Jump to tap-tones}[Taptones::]

\stoptext

I tested it with a recent version of MKIV and it works.

I hope this can help you setup your project successfully.

Willi

On 18 okt. 2015, at 11:49, Meer, Hans van der  wrote:
> 
> I would like to be able to go directly to a local document by an interaction 
> statement. The \goto command seems to be meant for this.
> However, the descriptions in the command reference and the Wiki do not 
> explain all of its parameters:
> In \goto{1}{2}[3] parameters 1 and 2 are marked CONTEXT and 3 is marked 
> REFERENCE. I could find parameter {1} typeset in the text and [3] as the 
> reference in for example a \placefigure.
> 
> What is {2} supposed to do? \goto{}Something}[] does not places Something to 
> find.
> 
> I tried to effect the jump to a document on my system with
> \goto{local-doc}[/Volumes/Users/myhome/Documents/myfigure.jpg]
> but this does not works as I hoped.
> 
> How to?
> 
> Hans van der Meer
> 
> 
> 
> 
> ___
> 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
> ___

___
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] Fonts... bold smallcaps

2015-10-08 Thread Willi Egger
Hi all,

sorry for bothering you with this.

I have a font Seravek-Regular.otf and Seravek-Bold.otf. It is actually my 
company font.

Now I needed to use bold-smallcaps. But I can not get it working, though 
otfinfo tells, that in the bold font there are smallcaps

In my typescript file I have the following two lines, from which the Regular 
variant works perfectly well.

 \definefontsynonym [SansCaps]  [Seravek-Regular]
[features=smallcaps]
 \definefontsynonym [SansBoldCaps]  [Seravek-Bold]   
[features=smallcaps]

I tried to get bold smallcaps with \bf\sc but without success.

Can anyone point me what to do?

Kind regards

Willi


___
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] Fonts... bold smallcaps

2015-10-08 Thread Willi Egger
Wolfgang and Taco,

thank you for this!

Tac, the font Seravek I have is a bought font from processtype.

Willi
> On 8 okt. 2015, at 12:24, Taco Hoekwater <t...@elvenkind.com> wrote:
> 
>> 
>> On 08 Oct 2015, at 12:09, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
>> wrote:
>> 
>>> Willi Egger  8. Oktober 2015 um 11:40
>>> Hi all,
>>> 
>>> sorry for bothering you with this.
>>> 
>>> I have a font Seravek-Regular.otf and Seravek-Bold.otf. It is actually my 
>>> company font.
>>> 
>>> Now I needed to use bold-smallcaps. But I can not get it working, though 
>>> otfinfo tells, that in the bold font there are smallcaps
>>> 
>>> In my typescript file I have the following two lines, from which the 
>>> Regular variant works perfectly well.
>>> 
>>> \definefontsynonym [SansCaps] [Seravek-Regular] [features=smallcaps]
>>> \definefontsynonym [SansBoldCaps] [Seravek-Bold] [features=smallcaps]
>>> 
>>> I tried to get bold smallcaps with \bf\sc but without success.
> 
> SansBoldCaps does not have a ‘short form’, afaik.
> 
>>> Can anyone point me what to do?
>> \bf\setsmallcaps
> 
> (or \let\sc\setsmallcaps, somewhere in the setup section, which is what I 
> usually do).
> 
> Note that this method does not need nor use the SansCaps and SansBoldCaps 
> synonyms in the typescript, and that it only works for well-behaved opentype 
> fonts. Oh, and it may give you italic smallcaps, something the old ’SansCaps’ 
> based method never did.
> 
> Best wishes,
> Taco
> 
> 
> 
> ___
> 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
> ___

___
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] \setupitemgroup...

2015-10-07 Thread Willi Egger
Hi all,

I tried to setup itemization on three levels. However I do not get the desired 
result. The setup does not make level one numbered, level two a-b-c and level 
three with center-dot.

What am I missing?

Kind regards

Willi

\setupitemgroup
[itemize]
[1]
[packed]
[n,after=]

\setupitemgroup
[itemize]
[2]
[packed]
[a,after=]

\setupitemgroup
[itemize]
[3]
[packed,after=]
[1]

\starttext
\startitemize
\startitem
Level 1
\startitemize
Level 2
\stopitemize
\startitemize
Level 2
\startitemize
\startitem
Level 3
\stopitem
\startitem
Level 3
\stopitem
\stopitemize
\stopitemize
\stopitem
\startitem
Level 1
\stopitem
\stopitemize
More text \dots
\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \setupitemgroup...

2015-10-07 Thread Willi Egger
Wolfgan and Otared,

thanks! - stupid me, this version i had before, but then I concentrated on the 
level two and  messed it up.

It appears, that the level two does not accept any symbol like 1,r,a. 

Kind regards

Willi
> On 7 okt. 2015, at 11:45, Wolfgang Schuster  
> wrote:
> 
>> Otared Kavian 7. Oktober 2015 um 11:27
>> Hi Wolfgang and Willi,
>> 
>> Indeed the observation made by Wolfgang is correct, but even upon following 
>> those instructions, somehow the level 2 does not work as expected:
>> 
> You forgot the \item for the second level entries.
> 
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \setupitemgroup...

2015-10-07 Thread Willi Egger
Hi Otared and Wolfgang,

Gosh! Indeed, my structure was amiss. Sorry for the noise and thank you for 
pointing this out to me!

Kind regards

Willi
> On 7 okt. 2015, at 12:36, Otared Kavian  wrote:
> 
> \starttext
>   \startitemize
>   \startitem
>   Level 1
>   \startitemize
>   \startitem
>   Level 2
>   \stopitem
>   \startitem
>   Level 2
>   \stopitem
>   \startitemize
>   \startitem
>   Level 3
>   \stopitem
>   \startitem
>   Level 3
>   \stopitem
>   \stopitemize
>   \stopitemize
>   \stopitem
>   \startitem
>   Level 1
>   \stopitem
>   \stopitemize
>   More text \dots
> \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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Struggling with alignment inside tabulate...

2015-08-07 Thread Willi Egger
Hi Wolfgang!

Thank you so much for this!

Willi
 On 6 aug. 2015, at 23:56, Wolfgang Schuster schuster.wolfg...@gmail.com 
 wrote:
 
 Willi Egger  6. August 2015 23:47
 Hi all,
 
 what kind of trickry is necessary to get the following minimal example to 
 give correct output? As given it generates a single line out of the itemize 
 part…
 You need a p (paragraph) column.
 Kind regards
 
 Will
 
 \starttext
 \starttabulate[|l|r|r|]
 \starttabulate[|l|r|p|]
 
 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Struggling with alignment inside tabulate...

2015-08-06 Thread Willi Egger
Hi all,

what kind of trickry is necessary to get the following minimal example to give 
correct output? As given it generates a single line out of the itemize part…

Kind regards

Will

\starttext
\starttabulate[|l|r|r|]
\NC \strut \NC {\bf Rohmass} \NC {\bf Fertigmass} \NC\NR
\NC Höhe Mittelteil  \NC -- \NC \unit{12 milli meter}\NC\NR
\NC Höhe bei den Enden \NC --   \NC Vor dem Einleimen: \par 



\startitemize

\startitem

Enden \unit{8.5 milli meter} 

\stopitem

\startitem

Mitte innen: \unit{16.5 milli meter}

\stopitem

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

  1   2   3   4   5   6   7   8   9   >