Re: [NTG-context] win64 : luatex is not recognize as an internal command

2016-05-24 Thread Hans Hagen

On 5/24/2016 7:55 PM, Alan BRASLAU wrote:

On Tue, 24 May 2016 18:56:44 +0200
Hans Hagen  wrote:


or is your console slow (if you
run a lot from the console it makes sense to use 'conemu' as consoles
- on any os - take some runtime due to the way tex flushes)


On any OS??

I believe that conemu is a Windows-specific terminal emulator.


i meant that writing data to the console (from tex) can be responsible 
for additional runtime; it depends (sometimes) on the font used on the 
console (osx), ansi control sequence interception, and buffering (the 
standard wondows console doesn't buffer, conemu on windows does, on 
other operating systems it depends) .. tex writes in chunks (no line 
buffering) because it's often progress info (although context does bit 
of optimization)


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
___

Re: [NTG-context] win64 : luatex is not recognize as an internal command

2016-05-24 Thread Hans Hagen

On 5/25/2016 12:10 AM, Jean-Pierre Delange wrote:

I answer to Hans, Alan and me. In order to install Context on Windows 10, don't 
forget to restart the system when you have installed ConTeXt MK IV (Standalone) 
and set all the stuff (PATH, etc.).
I used to know about restarting the opsys on Windows, but I've forgotten it...


normally you only need to restart the process that needs the adapted 
path (console or editor)



To Hans : total runtime for 'context --make' = 13,513 s.


ok, that's better (still twice the time than an i7 with ssd)


Thanks

- Mail original -
De: "Jean-Pierre Delange" 
À: "mailing list for ConTeXt users" 
Envoyé: Mardi 24 Mai 2016 20:29:04
Objet: Re: [NTG-context] win64 : luatex is not recognize as an internal command

Hi Hans and others,

1) Yes, I have set the PATH to /context/tex/texmf-win64/bin (set PATH=%PATH%).
For this ConTeXt installation, I run ConteXt on Windows x64, on an Intel 
i5Core, with 8Go RAM on a 500Go Barracuda 7200t/mn hard drive. I'll try it on a 
Mac OS X Mavericks or Yosemite (in virtualization).
I use to test ConTeXT on a Intel i3Core Lenovo Laptop, where ConTeXt is 
installed on Ubuntu and Windows 10 and run without any problem.

2) Each time I do a 'context --generate' on the Intel i5Core, the process is 
quick (less than 10 s.), but with 'context --make', the proces takes more or 
less than 35 sec.

JP

- Mail original -
De: "Hans Hagen" 
À: "mailing list for ConTeXt users" 
Envoyé: Mardi 24 Mai 2016 18:56:44
Objet: Re: [NTG-context] win64 : luatex is not recognize as an internal command

On 5/24/2016 5:57 PM, Jean-Pierre Delange wrote:


Dear list,

I am currently testing and experimenting such things as a brand new 
installation (Context Process 0.63 2016.05.22 15:18) on a Windows x64 computer.
I have made a new installation of ConTeXt Standalone (with TeXWorks), 
downloading the *.zip file, etc.

1) Download the context-mswin.zip in C:\[...]\Documents;
2) mkdir 'context' => cd 'context'
3) Unzip it and launch context-setup.bat in the new C:\[...]Documents\context
4) Then, go to \context\tex and launch 'setuptex';
5) Then again, cd \context\tex\texmf-win64\bin and do : 'context --generate', 
and 'context --make'.

As a result, the compilation after context --generate is 0,988 s. (and much 
more than 1 sec with 'context --make' command, which needs usually more than 30 
sec. to compile) and after context --make I obtain a \dumpdump message with 
this cryptic sentence (in French) : 'luatex' is not recognized as an internal 
or external command, an executable program or a command file.

And when I try to do this :
\ starttext
\startsection[title={Testing ConTeXt}]
This is my {\em first} ConTeXt document.
\stopsection
\stoptext

Here is the result : mtx-context | fatal error: no return code, message: 
luatex: No such file or directory

I have missed something ... but what is it ?


is there a texmf-win64 directory someplace?

btw, 30 sec for making a format sounds a lot to me (normally it takes me
around 4.5 sec for one format including generating the file database, a
few year old laptop but with an ssd) ... or is your console slow (if you
run a lot from the console it makes sense to use 'conemu' as consoles -
on any os - take some runtime due to the way tex flushes)

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

Re: [NTG-context] win64 : luatex is not recognize as an internal command

2016-05-24 Thread L.S.-Soc

There are three things which I don't fully understand either:

1. Why are there three files on " 
http://standalone.contextgarden.net/setup/ " which is reachable via the 
" Download ConTeXt " link?

There are

[ ] 	context-setup-mswin.zip 
 
2016-05-23 22:36 	21M 	
[ ] 	context-setup-win32.zip 
 
2016-05-23 22:36 	21M 	
[ ] 	context-setup-win64.zip 
 
2016-05-23 22:36 	21M 	



Wouldn't *win32* and *win64* files alone suffice? I am wondering what 
the *mswin* files is for. It is a little bit confusing.
Especially because there is also another folder  " [...] 
contextgarden.net/setup2/ ".

Again with

[ ] 	context-setup-win32.zip 
 
2016-05-23 22:36 	21M 	
[ ] 	context-setup-win64.zip 
 
2016-05-23 22:37 	21M 	



2. Is the " setup2 " folder really necessary?

Last thing is about the problem with finding lua...

In your description you don't mention using " first-setup.bat ":

1) Download the context-mswin.zip in C:\[...]\Documents;
2) mkdir 'context' => cd 'context'
3) Unzip it and launch context-setup.bat in the new C:\[...]Documents\context
4) Then, go to \context\tex and launch 'setuptex';
5) Then again, cd \context\tex\texmf-win64\bin and do : 'context --generate', 
and 'context --make'.


I mean I see your point that you want to use it standalone. So...


3. Why don't you try it the simple way? I am on Win10 x64, but this 
should work for every supported Win system:


0. I donwloaded context-setup-win32.zip 
 from 
" setup " folder.
1. Extracted " context " anywhere. I used short paths: " 
C:\context " or " D:\context ". Renamed to ConTeXt for readability.
2. Used command (cmd.exe ideally as Admin) and went to my CTX 
path: " D:\ConTeXt\ "
3. Entered first-setup.bat-> I also added " 
--modules=all ". CTX is around 400 MB now. I am sure it's fully worth it!
4. After download finished I navigated deeper to: " 
tex\texmf-win64\bin " like " D:\ConTeXt\tex\texmf-win64\bin "

5. Created a document " test.tex " right inside " bin " folder.
6. Edited it with editor and only enterd: " \starttext Hello 
world \stoptext "

7. Save the document
8. Entered " context test.tex "
9. And finished was my first PDF.


Maybe you could try the same...


Greeting, Seba
___
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] win64 : luatex is not recognize as an internal command

2016-05-24 Thread L.S.-Soc
context-setup-win64.zip 
 was 
what i downloaded of course.



Am 25.05.2016 um 00:48 schrieb L.S.-Soc:


3. Why don't you try it the simple way? I am on Win10 x64, but this 
should work for every supported Win system:


0. I donwloaded context-setup-win32.zip 
 
from " setup " folder.
1. Extracted " context " anywhere. I used short paths: " 
C:\context " or " D:\context ". Renamed to ConTeXt for readability.
2. Used command (cmd.exe ideally as Admin) and went to my CTX 
path: " D:\ConTeXt\ "
3. Entered first-setup.bat-> I also added " 
--modules=all ". CTX is around 400 MB now. I am sure it's fully worth it!
4. After download finished I navigated deeper to: " 
tex\texmf-win64\bin " like " D:\ConTeXt\tex\texmf-win64\bin "

5. Created a document " test.tex " right inside " bin " folder.
6. Edited it with editor and only enterd: " \starttext Hello 
world \stoptext "

7. Save the document
8. Entered " context test.tex "
9. And finished was my first PDF.


Maybe you could try the same...


Greeting, Seba


___
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] Bugs with minimals 2015.05.24 12:42

2016-05-24 Thread Meer, Hans van der

> On 02 Jun 2015, at 14:51, Hans Hagen  wrote:
> 
> If you install extra fonts and files, you should put them in
> 
> tex/texmf-fonts
> tex/texmf-project
> 
> as these are left untouched. That has always been the recommendation. The 
> other trees will be synchronized in an update and that also includes deleting 
> obsolete files.

I guess the same applies to /tex/texmf-local?

And how is that with tex/texmf-modules? I am asking because there is also a 
modules directory:
context/tex/texmf-context/tex/context/modules 
It would be nice if I safely can put my modules there instead of burying them 
somewhere else in the trees.

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
___

Re: [NTG-context] Bugs with minimals 2015.05.24 12:42

2016-05-24 Thread Mojca Miklavec
On 24 May 2016 at 12:06, Meer, Hans van der wrote:
>> On 02 Jun 2015, at 14:51, Hans Hagen wrote:
>>
>> If you install extra fonts and files, you should put them in
>>
>> tex/texmf-fonts
>> tex/texmf-project
>>
>> as these are left untouched. That has always been the recommendation. The 
>> other trees will be synchronized in an update and that also includes 
>> deleting obsolete files.
>
> I guess the same applies to /tex/texmf-local?
>
> And how is that with tex/texmf-modules? I am asking because there is also a 
> modules directory:
> context/tex/texmf-context/tex/context/modules
> It would be nice if I safely can put my modules there instead of burying them 
> somewhere else in the trees.

If you put files under texmf-context, they will be removed
automatically with next update. You can install official modules with
"--modules=t-tikz" for example and those will stay. But if you want
your own unrelated modules, you should not use texmf-modules unless
you remove the "--delete" flag for rsync (but then you'll end up with
other obsolete files).

The trees texmf-local, texmf-fonts, texmf-projects are all fine.

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
___

[NTG-context] fontsize changes not understood

2016-05-24 Thread Meer, Hans van der

Can someone explain to me the changes in fontsize in the following example?
Enclosing the fontswitches in a group did not change the behaviour.

\setupbodyfont[dejavu,12pt]
\def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red 
Master\egroup}}
\def\MarkMasterB{\inmargin[location=left]{\bgroup\usebodyfont[9pt]\red 
Master\egroup}}
\starttext
\startsection[title=\MarkMasterA First title]
\input hawking
\MarkMasterA
\input hawking
\stopsection
\startsection[title=\MarkMasterB First title]
\input hawking
\MarkMasterB
\input hawking
\blank
contextversion=\contextversion
\stopsection
\stoptext

In the first section the absolute value of 9 pt appears not to be honoured but 
it looks as if there is a reduction relative to the surrounding font.
In the second section the size does not change and looks even bigger than the 
first one above.

I am baffled and do not understand why not all fontsizes are the same absolute 
9pt as requested?

Hans van der Meer






marginfontsize.pdf
Description: marginfontsize.pdf
___
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] Underbar offset

2016-05-24 Thread Hans Hagen

On 5/24/2016 1:54 AM, Mojca Miklavec wrote:

Hi,

I would like to add a continuous underbar under a paragraph or a title as in:

\setupbar
[color=red,offset=10pt]
\starttext
\underbar{Test this \high{\tfxx ®}}
\stoptext

... but I'm confused about two aspects:

- How can I prevent \high{} from shifting the underbar?


i need to think about it .. maybe an option


- How can I add more offset?


underbar is derived from the parent but has its own offset and an offset 
is relative to the baseline and a fraction of th eunit (normally the ex 
of a font)


\setupbar[underbar][color=red,offset=-.5]

\starttext

\underbar{Test this \high{\tfxx ®}}

\stoptext


The color keyword works, but offset doesn't seem to have any effect
even though it's listed in the reference.

I was able to address the second problem (adding more offset) with
something like
\definebar[BarU][offset=-0.7]
\startbar[BarU] ... \stopbar
but I wasn't able to get rid of the shift (and the bar had a different
thickness when a smaller font was used).

I can find ugly workarounds with frames, but it would be ideal if I
could get one of the underbar mechanisms to work "out-of-the-box".


just see how underbar is defined ... if you want fixed dimensions you 
should used a fixed unit (not one derived from the current font)


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
___

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Wolfgang Schuster

Meer, Hans van der 
24. Mai 2016 um 15:04

Can someone explain to me the changes in fontsize in the following 
example?

Enclosing the fontswitches in a group did not change the behaviour.

\setupbodyfont[dejavu,12pt]
\def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red 
Master\egroup}}
\def\MarkMasterB{\inmargin[location=left]{\bgroup\usebodyfont[9pt]\red 
Master\egroup}}

\starttext
\startsection[title=\MarkMasterA First title]
\input hawking
\MarkMasterA
\input hawking
\stopsection
\startsection[title=\MarkMasterB First title]
\input hawking
\MarkMasterB
\input hawking
\blank
contextversion=\contextversion
\stopsection
\stoptext

In the first section the absolute value of 9 pt appears not to be 
honoured but it looks as if there is a reduction relative to the 
surrounding font.
In the second section the size does not change and looks even bigger 
than the first one above.


I am baffled and do not understand why not all fontsizes are the same 
absolute 9pt as requested?
When you flush the margin text in the heading its style (e.g. \tfa) is 
added to your font size for the margin text.


To get rid of the size change from \section in your example you can add 
the "reset" keyword to \switchtobodyfont.


\def\MarkMasterA{\margindata[inleft][style={\switchtobodyfont[reset,9pt]},color=red]{Master}}

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
___

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Hans Hagen

On 5/24/2016 3:04 PM, Meer, Hans van der wrote:


Can someone explain to me the changes in fontsize in the following example?
Enclosing the fontswitches in a group did not change the behaviour.

\setupbodyfont[dejavu,12pt]
\def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red
Master\egroup}}
\def\MarkMasterB{\inmargin[location=left]{\bgroup\usebodyfont[9pt]\red
Master\egroup}}
\starttext
\startsection[title=\MarkMasterA First title]
\input hawking
\MarkMasterA
\input hawking
\stopsection
\startsection[title=\MarkMasterB First title]
\input hawking
\MarkMasterB
\input hawking
\blank
contextversion=\contextversion
\stopsection
\stoptext

In the first section the absolute value of 9 pt appears not to be
honoured but it looks as if there is a reduction relative to the
surrounding font.
In the second section the size does not change and looks even bigger
than the first one above.

I am baffled and do not understand why not all fontsizes are the same
absolute 9pt as requested?


inmargin also has a style parameter that can be set (and maybe it is)

\setupbodyfont is a global font switch that should be used local (as it 
affects the headers footers, spacing etc



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

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Meer, Hans van der

> On 24 May 2016, at 15:57, Wolfgang Schuster  
> wrote:
> 
>> Meer, Hans van der  24. Mai 2016 um 15:04
>> 
>> Can someone explain to me the changes in fontsize in the following example?
>> Enclosing the fontswitches in a group did not change the behaviour.
>> 
>> \setupbodyfont[dejavu,12pt]
>> \def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red 
>> Master\egroup}}
>> \def\MarkMasterB{\inmargin[location=left]{\bgroup\usebodyfont[9pt]\red 
>> Master\egroup}}
>> \starttext
>> \startsection[title=\MarkMasterA First title]
>> \input hawking
>> \MarkMasterA
>> \input hawking
>> \stopsection
>> \startsection[title=\MarkMasterB First title]
>> \input hawking
>> \MarkMasterB
>> \input hawking
>> \blank
>> contextversion=\contextversion
>> \stopsection
>> \stoptext
>> 
>> In the first section the absolute value of 9 pt appears not to be honoured 
>> but it looks as if there is a reduction relative to the surrounding font.
>> In the second section the size does not change and looks even bigger than 
>> the first one above.
>> 
>> I am baffled and do not understand why not all fontsizes are the same 
>> absolute 9pt as requested?
> When you flush the margin text in the heading its style (e.g. \tfa) is added 
> to your font size for the margin text.
> 
> To get rid of the size change from \section in your example you can add the 
> "reset" keyword to \switchtobodyfont.

Thanks, I really didn't know that, it could not spot it in my copy of "Fonts in 
Context".

But although reset works for \switchtobodyfont, it is not working in 
\usebodyfont[reset,9pt] in the second section. There it keeps the size derived 
from the section title. Both commands however, are reported to inherit from 
\setupbodyfont (where the reset is named). Should that be correct?

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
___

Re: [NTG-context] Sorting index register

2016-05-24 Thread Wolfgang Schuster

Manuel Conzelmann 
24. Mai 2016 um 16:10
How can i sort the register alphabetically, so that all indexes are 
sorted under max. 26 entries (a-z) instead of the default behaviour: 
sorted alphabetically per page order?

At the moment it looks like

GATKABF instead of ABFGKT


1. Create a new thread for your problem.

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

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Wolfgang Schuster

Meer, Hans van der 
24. Mai 2016 um 16:28

Thanks, I really didn't know that, it could not spot it in my copy of 
"Fonts in Context".


But although reset works for \switchtobodyfont, it is not working in 
\usebodyfont[reset,9pt] in the second section.
Why do you think \usebodyfont can be used to change the font size in 
your document, is this mentioned in a manual?
There it keeps the size derived from the section title. Both commands 
however, are reported to inherit from \setupbodyfont (where the reset 
is named). Should that be correct?
IIRC \usebodyfont can be used to preload a typeface at the begin of a 
document which make switching to it later in the document with 
\switchtobodyfont or \setupbodyfont faster but this also means settings 
like the font size have no effect. The reference manual shows "inherits 
from XXX" in such a case because a) it is true that the command inherits 
its values from another command b) it’s faster to document (can be 
changed but one has to check which arguments are valid).


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
___

[NTG-context] Sorting index register

2016-05-24 Thread Manuel Conzelmann
How can i sort the register alphabetically, so that all indexes are sorted 
under max. 26 entries (a-z) instead of the default behaviour: sorted 
alphabetically per page order?
At the moment it looks like

GATKABF instead of ABFGKT

Thx!

Am 24.05.2016 15:08 schrieb "Meer, Hans van der" :

Can someone explain to me the changes in fontsize in the following example?
Enclosing the fontswitches in a group did not change the behaviour.

\setupbodyfont[dejavu,12pt]
\def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red 
Master\egroup}}
\def\MarkMasterB{\inmargin[location=left]{\bgroup\usebodyfont[9pt]\red 
Master\egroup}}
\starttext
\startsection[title=\MarkMasterA First title]
\input hawking
\MarkMasterA
\input hawking
\stopsection
\startsection[title=\MarkMasterB First title]
\input hawking
\MarkMasterB
\input hawking
\blank
contextversion=\contextversion
\stopsection
\stoptext

In the first section the absolute value of 9 pt appears not to be honoured but 
it looks as if there is a reduction relative to the surrounding font.
In the second section the size does not change and looks even bigger than the 
first one above.

I am baffled and do not understand why not all fontsizes are the same absolute 
9pt as requested?

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
___

Re: [NTG-context] win64 : luatex is not recognize as an internal command

2016-05-24 Thread Jean-Pierre Delange

Dear list,

I am currently testing and experimenting such things as a brand new 
installation (Context Process 0.63 2016.05.22 15:18) on a Windows x64 computer.
I have made a new installation of ConTeXt Standalone (with TeXWorks), 
downloading the *.zip file, etc.

1) Download the context-mswin.zip in C:\[...]\Documents;
2) mkdir 'context' => cd 'context'
3) Unzip it and launch context-setup.bat in the new C:\[...]Documents\context
4) Then, go to \context\tex and launch 'setuptex';
5) Then again, cd \context\tex\texmf-win64\bin and do : 'context --generate', 
and 'context --make'.

As a result, the compilation after context --generate is 0,988 s. (and much 
more than 1 sec with 'context --make' command, which needs usually more than 30 
sec. to compile) and after context --make I obtain a \dumpdump message with 
this cryptic sentence (in French) : 'luatex' is not recognized as an internal 
or external command, an executable program or a command file.

And when I try to do this :
\ starttext
\startsection[title={Testing ConTeXt}]
This is my {\em first} ConTeXt document.
\stopsection
\stoptext

Here is the result : mtx-context | fatal error: no return code, message: 
luatex: No such file or directory

I have missed something ... but what is it ?
I am deeply sorry to bother you with this question, but I don't clearly see 
when, where and what I have missed. Maybe I'm tired ...
JP
___
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] fontsize changes not understood

2016-05-24 Thread Jean-Pierre Delange
Hi HansvdMeer,

There are many ways to answer your question. Maybe, the first and simple one is 
that we may want to have some narrow paragraphs in the middle of our work, as 
quotations, for example, or whatever you want. So, it is a question of method : 
to put it in the preamble as \setupbodyfont, and \switchbodyfont on demand is 
probably easier than populate your code with numerous other commands. See here 
the 3.11.2 paragraph of this Wikibook in French : 
https://fr.wikibooks.org/wiki/ConTeXt#D.C3.A9finir_une_police_et_changer_de_police_dans_un_m.C3.AAme_document)
JP

- Mail original -
De: "Hans van der Meer" 
À: "NTG ConTeXt" 
Envoyé: Mardi 24 Mai 2016 17:47:19
Objet: Re: [NTG-context] fontsize changes not understood







On 24 May 2016, at 17:00, Wolfgang Schuster < schuster.wolfg...@gmail.com > 
wrote: 





Meer, Hans van der 
24. Mai 2016 um 16:28 







Thanks, I really didn't know that, it could not spot it in my copy of "Fonts in 
Context". 

But although reset works for \switchtobodyfont, it is not working in 
\usebodyfont[reset,9pt] in the second section. Why do you think \usebodyfont 
can be used to change the font size in your document, is this mentioned in a 
manual? 




There it keeps the size derived from the section title. Both commands however, 
are reported to inherit from \setupbodyfont (where the reset is named). Should 
that be correct? 
IIRC \usebodyfont can be used to preload a typeface at the begin of a document 
which make switching to it later in the document with \switchtobodyfont or 
\setupbodyfont faster but this also means settings like the font size have no 
effect. The reference manual shows "inherits from XXX" in such a case because 
a) it is true that the command inherits its values from another command b) it’s 
faster to document (can be changed but one has to check which arguments are 
valid). 



Never too old to learn something I didn't fully understood before. Thanks. 

met vriendelijke groet 
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
___

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Meer, Hans van der

On 24 May 2016, at 17:00, Wolfgang Schuster 
> wrote:

Meer, Hans van der
24. Mai 2016 um 16:28

Thanks, I really didn't know that, it could not spot it in my copy of "Fonts in 
Context".

But although reset works for \switchtobodyfont, it is not working in 
\usebodyfont[reset,9pt] in the second section.
Why do you think \usebodyfont can be used to change the font size in your 
document, is this mentioned in a manual?
There it keeps the size derived from the section title. Both commands however, 
are reported to inherit from \setupbodyfont (where the reset is named). Should 
that be correct?
IIRC \usebodyfont can be used to preload a typeface at the begin of a document 
which make switching to it later in the document with \switchtobodyfont or 
\setupbodyfont faster but this also means settings like the font size have no 
effect. The reference manual shows "inherits from XXX" in such a case because 
a) it is true that the command inherits its values from another command b) it’s 
faster to document (can be changed but one has to check which arguments are 
valid).


Never too old to learn something I didn't fully understood before. Thanks.

met vriendelijke groet
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
___

Re: [NTG-context] win64 : luatex is not recognize as an internal command

2016-05-24 Thread Jean-Pierre Delange
Hi Hans and others,

1) Yes, I have set the PATH to /context/tex/texmf-win64/bin (set PATH=%PATH%).
For this ConTeXt installation, I run ConteXt on Windows x64, on an Intel 
i5Core, with 8Go RAM on a 500Go Barracuda 7200t/mn hard drive. I'll try it on a 
Mac OS X Mavericks or Yosemite (in virtualization).
I use to test ConTeXT on a Intel i3Core Lenovo Laptop, where ConTeXt is 
installed on Ubuntu and Windows 10 and run without any problem.

2) Each time I do a 'context --generate' on the Intel i5Core, the process is 
quick (less than 10 s.), but with 'context --make', the proces takes more or 
less than 35 sec.

JP

- Mail original -
De: "Hans Hagen" 
À: "mailing list for ConTeXt users" 
Envoyé: Mardi 24 Mai 2016 18:56:44
Objet: Re: [NTG-context] win64 : luatex is not recognize as an internal command

On 5/24/2016 5:57 PM, Jean-Pierre Delange wrote:
>
> Dear list,
>
> I am currently testing and experimenting such things as a brand new 
> installation (Context Process 0.63 2016.05.22 15:18) on a Windows x64 
> computer.
> I have made a new installation of ConTeXt Standalone (with TeXWorks), 
> downloading the *.zip file, etc.
>
> 1) Download the context-mswin.zip in C:\[...]\Documents;
> 2) mkdir 'context' => cd 'context'
> 3) Unzip it and launch context-setup.bat in the new C:\[...]Documents\context
> 4) Then, go to \context\tex and launch 'setuptex';
> 5) Then again, cd \context\tex\texmf-win64\bin and do : 'context --generate', 
> and 'context --make'.
>
> As a result, the compilation after context --generate is 0,988 s. (and much 
> more than 1 sec with 'context --make' command, which needs usually more than 
> 30 sec. to compile) and after context --make I obtain a \dumpdump message 
> with this cryptic sentence (in French) : 'luatex' is not recognized as an 
> internal or external command, an executable program or a command file.
>
> And when I try to do this :
> \ starttext
> \startsection[title={Testing ConTeXt}]
> This is my {\em first} ConTeXt document.
> \stopsection
> \stoptext
>
> Here is the result : mtx-context | fatal error: no return code, message: 
> luatex: No such file or directory
>
> I have missed something ... but what is it ?

is there a texmf-win64 directory someplace?

btw, 30 sec for making a format sounds a lot to me (normally it takes me 
around 4.5 sec for one format including generating the file database, a 
few year old laptop but with an ssd) ... or is your console slow (if you 
run a lot from the console it makes sense to use 'conemu' as consoles - 
on any os - take some runtime due to the way tex flushes)

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] win64 : luatex is not recognize as an internal command

2016-05-24 Thread josephcanedo
Hello Jean Pierre,


Have you added C:\context\tex\texmf-win64\bin (or whatever dir you installed 
ConTeXt) directory to PATH env variable ? 

Best regards


Joseph Canedo





From: Jean-Pierre Delange
Sent: ‎Tuesday‎, ‎May‎ ‎24‎, ‎2016 ‎5‎:‎57‎ ‎PM
To: ntg-context@ntg.nl






Dear list,

I am currently testing and experimenting such things as a brand new 
installation (Context Process 0.63 2016.05.22 15:18) on a Windows x64 computer.
I have made a new installation of ConTeXt Standalone (with TeXWorks), 
downloading the *.zip file, etc.

1) Download the context-mswin.zip in C:\[...]\Documents;
2) mkdir 'context' => cd 'context'
3) Unzip it and launch context-setup.bat in the new C:\[...]Documents\context
4) Then, go to \context\tex and launch 'setuptex';
5) Then again, cd \context\tex\texmf-win64\bin and do : 'context --generate', 
and 'context --make'.

As a result, the compilation after context --generate is 0,988 s. (and much 
more than 1 sec with 'context --make' command, which needs usually more than 30 
sec. to compile) and after context --make I obtain a \dumpdump message with 
this cryptic sentence (in French) : 'luatex' is not recognized as an internal 
or external command, an executable program or a command file.

And when I try to do this :
\ starttext
\startsection[title={Testing ConTeXt}]
This is my {\em first} ConTeXt document.
\stopsection
\stoptext

Here is the result : mtx-context | fatal error: no return code, message: 
luatex: No such file or directory

I have missed something ... but what is it ?
I am deeply sorry to bother you with this question, but I don't clearly see 
when, where and what I have missed. Maybe I'm tired ...
JP
___
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] win64 : luatex is not recognize as an internal command

2016-05-24 Thread Hans Hagen

On 5/24/2016 5:57 PM, Jean-Pierre Delange wrote:


Dear list,

I am currently testing and experimenting such things as a brand new 
installation (Context Process 0.63 2016.05.22 15:18) on a Windows x64 computer.
I have made a new installation of ConTeXt Standalone (with TeXWorks), 
downloading the *.zip file, etc.

1) Download the context-mswin.zip in C:\[...]\Documents;
2) mkdir 'context' => cd 'context'
3) Unzip it and launch context-setup.bat in the new C:\[...]Documents\context
4) Then, go to \context\tex and launch 'setuptex';
5) Then again, cd \context\tex\texmf-win64\bin and do : 'context --generate', 
and 'context --make'.

As a result, the compilation after context --generate is 0,988 s. (and much 
more than 1 sec with 'context --make' command, which needs usually more than 30 
sec. to compile) and after context --make I obtain a \dumpdump message with 
this cryptic sentence (in French) : 'luatex' is not recognized as an internal 
or external command, an executable program or a command file.

And when I try to do this :
\ starttext
\startsection[title={Testing ConTeXt}]
This is my {\em first} ConTeXt document.
\stopsection
\stoptext

Here is the result : mtx-context | fatal error: no return code, message: 
luatex: No such file or directory

I have missed something ... but what is it ?


is there a texmf-win64 directory someplace?

btw, 30 sec for making a format sounds a lot to me (normally it takes me 
around 4.5 sec for one format including generating the file database, a 
few year old laptop but with an ssd) ... or is your console slow (if you 
run a lot from the console it makes sense to use 'conemu' as consoles - 
on any os - take some runtime due to the way tex flushes)


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
___

Re: [NTG-context] win64 : luatex is not recognize as an internal command

2016-05-24 Thread Alan BRASLAU
On Tue, 24 May 2016 18:56:44 +0200
Hans Hagen  wrote:

> or is your console slow (if you 
> run a lot from the console it makes sense to use 'conemu' as consoles
> - on any os - take some runtime due to the way tex flushes)

On any OS??

I believe that conemu is a Windows-specific terminal emulator.

Alan
___
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] win64 : luatex is not recognize as an internal command

2016-05-24 Thread Jean-Pierre Delange
I answer to Hans, Alan and me. In order to install Context on Windows 10, don't 
forget to restart the system when you have installed ConTeXt MK IV (Standalone) 
and set all the stuff (PATH, etc.).
I used to know about restarting the opsys on Windows, but I've forgotten it...

To Hans : total runtime for 'context --make' = 13,513 s.

Thanks

- Mail original -
De: "Jean-Pierre Delange" 
À: "mailing list for ConTeXt users" 
Envoyé: Mardi 24 Mai 2016 20:29:04
Objet: Re: [NTG-context] win64 : luatex is not recognize as an internal command

Hi Hans and others,

1) Yes, I have set the PATH to /context/tex/texmf-win64/bin (set PATH=%PATH%).
For this ConTeXt installation, I run ConteXt on Windows x64, on an Intel 
i5Core, with 8Go RAM on a 500Go Barracuda 7200t/mn hard drive. I'll try it on a 
Mac OS X Mavericks or Yosemite (in virtualization).
I use to test ConTeXT on a Intel i3Core Lenovo Laptop, where ConTeXt is 
installed on Ubuntu and Windows 10 and run without any problem.

2) Each time I do a 'context --generate' on the Intel i5Core, the process is 
quick (less than 10 s.), but with 'context --make', the proces takes more or 
less than 35 sec.

JP

- Mail original -
De: "Hans Hagen" 
À: "mailing list for ConTeXt users" 
Envoyé: Mardi 24 Mai 2016 18:56:44
Objet: Re: [NTG-context] win64 : luatex is not recognize as an internal command

On 5/24/2016 5:57 PM, Jean-Pierre Delange wrote:
>
> Dear list,
>
> I am currently testing and experimenting such things as a brand new 
> installation (Context Process 0.63 2016.05.22 15:18) on a Windows x64 
> computer.
> I have made a new installation of ConTeXt Standalone (with TeXWorks), 
> downloading the *.zip file, etc.
>
> 1) Download the context-mswin.zip in C:\[...]\Documents;
> 2) mkdir 'context' => cd 'context'
> 3) Unzip it and launch context-setup.bat in the new C:\[...]Documents\context
> 4) Then, go to \context\tex and launch 'setuptex';
> 5) Then again, cd \context\tex\texmf-win64\bin and do : 'context --generate', 
> and 'context --make'.
>
> As a result, the compilation after context --generate is 0,988 s. (and much 
> more than 1 sec with 'context --make' command, which needs usually more than 
> 30 sec. to compile) and after context --make I obtain a \dumpdump message 
> with this cryptic sentence (in French) : 'luatex' is not recognized as an 
> internal or external command, an executable program or a command file.
>
> And when I try to do this :
> \ starttext
> \startsection[title={Testing ConTeXt}]
> This is my {\em first} ConTeXt document.
> \stopsection
> \stoptext
>
> Here is the result : mtx-context | fatal error: no return code, message: 
> luatex: No such file or directory
>
> I have missed something ... but what is it ?

is there a texmf-win64 directory someplace?

btw, 30 sec for making a format sounds a lot to me (normally it takes me 
around 4.5 sec for one format including generating the file database, a 
few year old laptop but with an ssd) ... or is your console slow (if you 
run a lot from the console it makes sense to use 'conemu' as consoles - 
on any os - take some runtime due to the way tex flushes)

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