* Compilation problem with the latest version of standalone context(Metafun)
@ 2018-07-16 14:24 Fabrice Couvreur
2018-07-16 17:27 ` Hans Hagen
2018-07-17 20:30 ` Rik
0 siblings, 2 replies; 13+ messages in thread
From: Fabrice Couvreur @ 2018-07-16 14:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 960 bytes --]
Hello,
The idea is to make a chapter header as with the "titlesec" package. My
code compiles under texlive context 2018 but does not compile with last
beta contest standalone.
Thank you
Fabrice
############################################
% macros=mkvi
\setuppagenumbering[location=footer]
\startusableMPgraphic{NumberHead}
draw outlinetext.f
("\bf\namedheadnumber{chapter}")
(withcolor "lightgray")
ysized 50pt ;
\stopusableMPgraphic
\unexpanded\def\processMPheadnumber#1%
{\useMPgraphic{NumberHead}}
\setuphead
[chapter]
[command=\HeadTitle,
headstyle=\ss,
numbercommand=\processMPheadnumber]
\unexpanded\def\HeadTitle#1#2%
{\framed
[frame=off,
bottomframe=on,
width=broad,
align={broad,nothyphenated,left}]
{#1\blank[nowhite]#2}}
\starttext
\dorecurse{6}{\startchapter
[title={Fist chapter}]
\input knuth
\stopchapter}
\stoptext
########################################
[-- Attachment #1.2: Type: text/html, Size: 2283 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-16 14:24 Compilation problem with the latest version of standalone context(Metafun) Fabrice Couvreur
@ 2018-07-16 17:27 ` Hans Hagen
2018-07-16 17:42 ` Fabrice Couvreur
2018-07-17 20:30 ` Rik
1 sibling, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2018-07-16 17:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 7/16/2018 4:24 PM, Fabrice Couvreur wrote:
> Hello,
> The idea is to make a chapter header as with the "titlesec" package. My
> code compiles under texlive context 2018 but does not compile with last
> beta contest standalone.
it processes on my machine so what fails?
> Thank you
> Fabrice
>
> ############################################
>
> % macros=mkvi
>
> \setuppagenumbering[location=footer]
>
> \startusableMPgraphic{NumberHead}
> draw outlinetext.f
> ("\bf\namedheadnumber{chapter}")
> (withcolor "lightgray")
> ysized 50pt ;
> \stopusableMPgraphic
>
>
> \unexpanded\def\processMPheadnumber#1%
> {\useMPgraphic{NumberHead}}
>
> \setuphead
> [chapter]
> [command=\HeadTitle,
> headstyle=\ss,
> numbercommand=\processMPheadnumber]
>
>
> \unexpanded\def\HeadTitle#1#2%
> {\framed
> [frame=off,
> bottomframe=on,
> width=broad,
> align={broad,nothyphenated,left}]
> {#1\blank[nowhite]#2}}
>
> \starttext
>
> \dorecurse{6}{\startchapter
> [title={Fist chapter}]
> \input knuth
> \stopchapter}
>
> \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
> ___________________________________________________________________________________
>
--
-----------------------------------------------------------------
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-16 17:27 ` Hans Hagen
@ 2018-07-16 17:42 ` Fabrice Couvreur
2018-07-17 10:36 ` Fabrice Couvreur
0 siblings, 1 reply; 13+ messages in thread
From: Fabrice Couvreur @ 2018-07-16 17:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2774 bytes --]
The chapter number does not appear. My editor is emacs and I compile with
Context Full.
2018-07-16 19:27 GMT+02:00 Hans Hagen <j.hagen@xs4all.nl>:
> On 7/16/2018 4:24 PM, Fabrice Couvreur wrote:
>
>> Hello,
>> The idea is to make a chapter header as with the "titlesec" package. My
>> code compiles under texlive context 2018 but does not compile with last
>> beta contest standalone.
>>
>
> it processes on my machine so what fails?
>
> Thank you
>> Fabrice
>>
>> ############################################
>>
>> % macros=mkvi
>>
>> \setuppagenumbering[location=footer]
>>
>> \startusableMPgraphic{NumberHead}
>> draw outlinetext.f
>> ("\bf\namedheadnumber{chapter}")
>> (withcolor "lightgray")
>> ysized 50pt ;
>> \stopusableMPgraphic
>>
>>
>> \unexpanded\def\processMPheadnumber#1%
>> {\useMPgraphic{NumberHead}}
>>
>> \setuphead
>> [chapter]
>> [command=\HeadTitle,
>> headstyle=\ss,
>> numbercommand=\processMPheadnumber]
>>
>>
>> \unexpanded\def\HeadTitle#1#2%
>> {\framed
>> [frame=off,
>> bottomframe=on,
>> width=broad,
>> align={broad,nothyphenated,left}]
>> {#1\blank[nowhite]#2}}
>>
>> \starttext
>>
>> \dorecurse{6}{\startchapter
>> [title={Fist chapter}]
>> \input knuth
>> \stopchapter}
>>
>> \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/list
>> info/ntg-context
>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> ____________________________________________________________
>> _______________________
>>
>>
>
> --
>
> -----------------------------------------------------------------
> 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/list
> info/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ____________________________________________________________
> _______________________
[-- Attachment #1.2: Type: text/html, Size: 5037 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-16 17:42 ` Fabrice Couvreur
@ 2018-07-17 10:36 ` Fabrice Couvreur
2018-07-17 15:43 ` Hans Hagen
2018-07-17 19:03 ` Pablo Rodriguez
0 siblings, 2 replies; 13+ messages in thread
From: Fabrice Couvreur @ 2018-07-17 10:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 3742 bytes --]
Hi Hans,
In fact, the file compiles well with the beta version but only from a
terminal by running the
/home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince
Test.pdf command.
On the other hand, if I compile with Emacs, the chapter number does not
appear.
I configured Emacs so that in context mode, the compilation is done with
the beta version. Here is a part of my ~/.emacs file :
;; SERVER Download (MELPA):
(when (> = emacs-major-version 24)
(require 'package)
(Add-to-list
Archive-Package
'("melpa". "http://melpa.org/packages/")
t)
(Package-initialize))
(setenv "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin: $ PATH" t)
(setq ConTeXt-mode-hook
(lambda () (setq TeX-command-extra-options "--purgeall")))
Thank you
Fabrice
2018-07-16 19:42 GMT+02:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>:
> The chapter number does not appear. My editor is emacs and I compile with
> Context Full.
>
> 2018-07-16 19:27 GMT+02:00 Hans Hagen <j.hagen@xs4all.nl>:
>
>> On 7/16/2018 4:24 PM, Fabrice Couvreur wrote:
>>
>>> Hello,
>>> The idea is to make a chapter header as with the "titlesec" package. My
>>> code compiles under texlive context 2018 but does not compile with last
>>> beta contest standalone.
>>>
>>
>> it processes on my machine so what fails?
>>
>> Thank you
>>> Fabrice
>>>
>>> ############################################
>>>
>>> % macros=mkvi
>>>
>>> \setuppagenumbering[location=footer]
>>>
>>> \startusableMPgraphic{NumberHead}
>>> draw outlinetext.f
>>> ("\bf\namedheadnumber{chapter}")
>>> (withcolor "lightgray")
>>> ysized 50pt ;
>>> \stopusableMPgraphic
>>>
>>>
>>> \unexpanded\def\processMPheadnumber#1%
>>> {\useMPgraphic{NumberHead}}
>>>
>>> \setuphead
>>> [chapter]
>>> [command=\HeadTitle,
>>> headstyle=\ss,
>>> numbercommand=\processMPheadnumber]
>>>
>>>
>>> \unexpanded\def\HeadTitle#1#2%
>>> {\framed
>>> [frame=off,
>>> bottomframe=on,
>>> width=broad,
>>> align={broad,nothyphenated,left}]
>>> {#1\blank[nowhite]#2}}
>>>
>>> \starttext
>>>
>>> \dorecurse{6}{\startchapter
>>> [title={Fist chapter}]
>>> \input knuth
>>> \stopchapter}
>>>
>>> \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/list
>>> info/ntg-context
>>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
>>> archive : https://bitbucket.org/phg/context-mirror/commits/
>>> wiki : http://contextgarden.net
>>> ____________________________________________________________
>>> _______________________
>>>
>>>
>>
>> --
>>
>> -----------------------------------------------------------------
>> 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/list
>> info/ntg-context
>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> ____________________________________________________________
>> _______________________
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 7147 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-17 10:36 ` Fabrice Couvreur
@ 2018-07-17 15:43 ` Hans Hagen
2018-07-17 19:03 ` Pablo Rodriguez
1 sibling, 0 replies; 13+ messages in thread
From: Hans Hagen @ 2018-07-17 15:43 UTC (permalink / raw)
To: mailing list for ConTeXt users, Fabrice Couvreur
On 7/17/2018 12:36 PM, Fabrice Couvreur wrote:
> Hi Hans,
> In fact, the file compiles well with the beta version but only from a
> terminal by running the
> /home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince
> Test.pdf command.
> On the other hand, if I compile with Emacs, the chapter number does not
> appear.
> I configured Emacs so that in context mode, the compilation is done with
> the beta version. Here is a part of my ~/.emacs file :
>
> ;; SERVER Download (MELPA):
> (when (> = emacs-major-version 24)
> (require 'package)
> (Add-to-list
> Archive-Package
> '("melpa". "http://melpa.org/packages/")
> t)
> (Package-initialize))
>
> (setenv "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin: $ PATH" t)
>
> (setq ConTeXt-mode-hook
> (lambda () (setq TeX-command-extra-options "--purgeall")))
I have no clue ... maybe a linux user knows or can confirm it.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-17 10:36 ` Fabrice Couvreur
2018-07-17 15:43 ` Hans Hagen
@ 2018-07-17 19:03 ` Pablo Rodriguez
2018-07-17 20:37 ` Fabrice Couvreur
1 sibling, 1 reply; 13+ messages in thread
From: Pablo Rodriguez @ 2018-07-17 19:03 UTC (permalink / raw)
To: ntg-context
On 07/17/2018 12:36 PM, Fabrice Couvreur wrote:
> Hi Hans,
> In fact, the file compiles well with the beta version but only from a
> terminal by running the
> /home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince
> Test.pdf command.
> On the other hand, if I compile with Emacs, the chapter number does not
> appear.
Hi Fabrice,
I’m on linux-64 and I don’t get the number in any way.
I tried a clean install and I didn’t get the number.
Have you tried with the latest beta for win64?
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-16 14:24 Compilation problem with the latest version of standalone context(Metafun) Fabrice Couvreur
2018-07-16 17:27 ` Hans Hagen
@ 2018-07-17 20:30 ` Rik
2018-07-17 20:40 ` Hans Hagen
1 sibling, 1 reply; 13+ messages in thread
From: Rik @ 2018-07-17 20:30 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1186 bytes --]
On 7/16/2018 10:24, Fabrice Couvreur wrote:
> % macros=mkvi
>
> \setuppagenumbering[location=footer]
>
> \startusableMPgraphic{NumberHead}
> draw outlinetext.f
> ("\bf\namedheadnumber{chapter}")
> (withcolor "lightgray")
> ysized 50pt ;
> \stopusableMPgraphic
>
>
> \unexpanded\def\processMPheadnumber#1%
> {\useMPgraphic{NumberHead}}
>
> \setuphead
> [chapter]
> [command=\HeadTitle,
> headstyle=\ss,
> numbercommand=\processMPheadnumber]
>
>
> \unexpanded\def\HeadTitle#1#2%
> {\framed
> [frame=off,
> bottomframe=on,
> width=broad,
> align={broad,nothyphenated,left}]
> {#1\blank[nowhite]#2}}
>
> \starttext
>
> \dorecurse{6}{\startchapter
> [title={Fist chapter}]
> \input knuth
> \stopchapter}
>
> \stoptext
Using TL18 on Win64 it produces a large chapter number on the right side
above the chapter name -- I do not know what it should look like, so I
won't say it works. It clearly fails with the 2018-07-13 beta, producing
an odd graphic where the MP-generated digit should be:
and fails in the same manner with the 2018-07-17 beta.
--
Rik
[-- Attachment #1.2.1: Type: text/html, Size: 2067 bytes --]
[-- Attachment #1.2.2: nlngeofgcdimbbgm.png --]
[-- Type: image/png, Size: 23983 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-17 19:03 ` Pablo Rodriguez
@ 2018-07-17 20:37 ` Fabrice Couvreur
0 siblings, 0 replies; 13+ messages in thread
From: Fabrice Couvreur @ 2018-07-17 20:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1536 bytes --]
Hi Pablo,
I do not have win64, sorry !
I installed texlive 2018 and the file compiles without problem but in a
console other than that of Emacs. I also get the expected result with the
latest version of context standalone but still in a console other than that
of Emacs. Should we conclude that the problem comes from Emacs ?
Fabrice
2018-07-17 21:03 GMT+02:00 Pablo Rodriguez <oinos@gmx.es>:
> On 07/17/2018 12:36 PM, Fabrice Couvreur wrote:
> > Hi Hans,
> > In fact, the file compiles well with the beta version but only from a
> > terminal by running the
> > /home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince
> > Test.pdf command.
> > On the other hand, if I compile with Emacs, the chapter number does not
> > appear.
>
> Hi Fabrice,
>
> I’m on linux-64 and I don’t get the number in any way.
>
> I tried a clean install and I didn’t get the number.
>
> Have you tried with the latest beta for win64?
>
> 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
> ____________________________________________________________
> _______________________
>
[-- Attachment #1.2: Type: text/html, Size: 2974 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-17 20:30 ` Rik
@ 2018-07-17 20:40 ` Hans Hagen
2018-07-17 20:46 ` Rik Kabel
0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2018-07-17 20:40 UTC (permalink / raw)
To: mailing list for ConTeXt users, Rik
On 7/17/2018 10:30 PM, Rik wrote:
> On 7/16/2018 10:24, Fabrice Couvreur wrote:
>> % macros=mkvi
>>
>> \setuppagenumbering[location=footer]
>>
>> \startusableMPgraphic{NumberHead}
>> draw outlinetext.f
>> ("\bf\namedheadnumber{chapter}")
>> (withcolor "lightgray")
>> ysized 50pt ;
>> \stopusableMPgraphic
>>
>>
>> \unexpanded\def\processMPheadnumber#1%
>> {\useMPgraphic{NumberHead}}
>>
>> \setuphead
>> [chapter]
>> [command=\HeadTitle,
>> headstyle=\ss,
>> numbercommand=\processMPheadnumber]
>>
>>
>> \unexpanded\def\HeadTitle#1#2%
>> {\framed
>> [frame=off,
>> bottomframe=on,
>> width=broad,
>> align={broad,nothyphenated,left}]
>> {#1\blank[nowhite]#2}}
>>
>> \starttext
>>
>> \dorecurse{6}{\startchapter
>> [title={Fist chapter}]
>> \input knuth
>> \stopchapter}
>>
>> \stoptext
>
> Using TL18 on Win64 it produces a large chapter number on the right side
> above the chapter name -- I do not know what it should look like, so I
> won't say it works. It clearly fails with the 2018-07-13 beta, producing
> an odd graphic where the MP-generated digit should be:
>
> and fails in the same manner with the 2018-07-17 beta.
define 'fails' ... a crash? can someone confirm it?
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-17 20:40 ` Hans Hagen
@ 2018-07-17 20:46 ` Rik Kabel
2018-07-17 21:00 ` Alan Braslau
0 siblings, 1 reply; 13+ messages in thread
From: Rik Kabel @ 2018-07-17 20:46 UTC (permalink / raw)
To: Hans Hagen, mailing list for ConTeXt users
On 7/17/2018 16:40, Hans Hagen wrote:
> On 7/17/2018 10:30 PM, Rik wrote:
>> On 7/16/2018 10:24, Fabrice Couvreur wrote:
>>> % macros=mkvi
>>>
>>> \setuppagenumbering[location=footer]
>>>
>>> \startusableMPgraphic{NumberHead}
>>> draw outlinetext.f
>>> ("\bf\namedheadnumber{chapter}")
>>> (withcolor "lightgray")
>>> ysized 50pt ;
>>> \stopusableMPgraphic
>>>
>>>
>>> \unexpanded\def\processMPheadnumber#1%
>>> {\useMPgraphic{NumberHead}}
>>>
>>> \setuphead
>>> [chapter]
>>> [command=\HeadTitle,
>>> headstyle=\ss,
>>> numbercommand=\processMPheadnumber]
>>>
>>>
>>> \unexpanded\def\HeadTitle#1#2%
>>> {\framed
>>> [frame=off,
>>> bottomframe=on,
>>> width=broad,
>>> align={broad,nothyphenated,left}]
>>> {#1\blank[nowhite]#2}}
>>>
>>> \starttext
>>>
>>> \dorecurse{6}{\startchapter
>>> [title={Fist chapter}]
>>> \input knuth
>>> \stopchapter}
>>>
>>> \stoptext
>>
>> Using TL18 on Win64 it produces a large chapter number on the right
>> side above the chapter name -- I do not know what it should look
>> like, so I won't say it works. It clearly fails with the 2018-07-13
>> beta, producing an odd graphic where the MP-generated digit should be:
>>
>> and fails in the same manner with the 2018-07-17 beta.
> define 'fails' ... a crash? can someone confirm it?
By failure, I meant that it produces the graphic I posted, a bold
outline around a small square in the area in which the enlarged digit is
expected. Not a crash.
--
Rik
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-17 20:46 ` Rik Kabel
@ 2018-07-17 21:00 ` Alan Braslau
2018-07-17 21:06 ` Hans Hagen
2018-07-18 8:35 ` Fabrice Couvreur
0 siblings, 2 replies; 13+ messages in thread
From: Alan Braslau @ 2018-07-17 21:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
\startusableMPgraphic ?
> On 17 Jul 2018, at 14:46, Rik Kabel <context@rik.users.panix.com> wrote:
>
> On 7/17/2018 16:40, Hans Hagen wrote:
>> On 7/17/2018 10:30 PM, Rik wrote:
>>> On 7/16/2018 10:24, Fabrice Couvreur wrote:
>>>> % macros=mkvi
>>>>
>>>> \setuppagenumbering[location=footer]
>>>>
>>>> \startusableMPgraphic{NumberHead}
>>>> draw outlinetext.f
>>>> ("\bf\namedheadnumber{chapter}")
>>>> (withcolor "lightgray")
>>>> ysized 50pt ;
>>>> \stopusableMPgraphic
>>>>
>>>>
>>>> \unexpanded\def\processMPheadnumber#1%
>>>> {\useMPgraphic{NumberHead}}
>>>>
>>>> \setuphead
>>>> [chapter]
>>>> [command=\HeadTitle,
>>>> headstyle=\ss,
>>>> numbercommand=\processMPheadnumber]
>>>>
>>>>
>>>> \unexpanded\def\HeadTitle#1#2%
>>>> {\framed
>>>> [frame=off,
>>>> bottomframe=on,
>>>> width=broad,
>>>> align={broad,nothyphenated,left}]
>>>> {#1\blank[nowhite]#2}}
>>>>
>>>> \starttext
>>>>
>>>> \dorecurse{6}{\startchapter
>>>> [title={Fist chapter}]
>>>> \input knuth
>>>> \stopchapter}
>>>>
>>>> \stoptext
>>>
>>> Using TL18 on Win64 it produces a large chapter number on the right side above the chapter name -- I do not know what it should look like, so I won't say it works. It clearly fails with the 2018-07-13 beta, producing an odd graphic where the MP-generated digit should be:
>>>
>>> and fails in the same manner with the 2018-07-17 beta.
>> define 'fails' ... a crash? can someone confirm it?
> By failure, I meant that it produces the graphic I posted, a bold outline around a small square in the area in which the enlarged digit is expected. Not a crash.
>
> --
> Rik
>
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-17 21:00 ` Alan Braslau
@ 2018-07-17 21:06 ` Hans Hagen
2018-07-18 8:35 ` Fabrice Couvreur
1 sibling, 0 replies; 13+ messages in thread
From: Hans Hagen @ 2018-07-17 21:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 7/17/2018 11:00 PM, Alan Braslau wrote:
> \setuppagenumbering[location=footer]
>
> \startusableMPgraphic{NumberHead}
> draw outlinetext.f
> ("\bf\namedheadnumber{chapter}")
> (withcolor "lightgray")
> ysized 50pt ;
> \stopusableMPgraphic
>
>
> \unexpanded\def\processMPheadnumber#1%
> {\useMPgraphic{NumberHead}}
>
> \setuphead
> [chapter]
> [command=\HeadTitle,
> headstyle=\ss,
> numbercommand=\processMPheadnumber]
>
>
> \unexpanded\def\HeadTitle#1#2%
> {\framed
> [frame=off,
> bottomframe=on,
> width=broad,
> align={broad,nothyphenated,left}]
> {#1\blank[nowhite]#2}}
>
> \starttext
>
> \dorecurse{6}{\startchapter
> [title={Fist chapter}]
> \input knuth
> \stopchapter}
>
> \stoptext
i assume you wiped the cache
--
-----------------------------------------------------------------
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Compilation problem with the latest version of standalone context(Metafun)
2018-07-17 21:00 ` Alan Braslau
2018-07-17 21:06 ` Hans Hagen
@ 2018-07-18 8:35 ` Fabrice Couvreur
1 sibling, 0 replies; 13+ messages in thread
From: Fabrice Couvreur @ 2018-07-18 8:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 3043 bytes --]
Hello,
I just compiled the file with gvim and the expected result is the right one
; the problem is Emacs or my ~/.emacs file.
Fabrice
2018-07-17 23:00 GMT+02:00 Alan Braslau <braslau.list@comcast.net>:
> \startusableMPgraphic ?
>
> > On 17 Jul 2018, at 14:46, Rik Kabel <context@rik.users.panix.com> wrote:
> >
> > On 7/17/2018 16:40, Hans Hagen wrote:
> >> On 7/17/2018 10:30 PM, Rik wrote:
> >>> On 7/16/2018 10:24, Fabrice Couvreur wrote:
> >>>> % macros=mkvi
> >>>>
> >>>> \setuppagenumbering[location=footer]
> >>>>
> >>>> \startusableMPgraphic{NumberHead}
> >>>> draw outlinetext.f
> >>>> ("\bf\namedheadnumber{chapter}")
> >>>> (withcolor "lightgray")
> >>>> ysized 50pt ;
> >>>> \stopusableMPgraphic
> >>>>
> >>>>
> >>>> \unexpanded\def\processMPheadnumber#1%
> >>>> {\useMPgraphic{NumberHead}}
> >>>>
> >>>> \setuphead
> >>>> [chapter]
> >>>> [command=\HeadTitle,
> >>>> headstyle=\ss,
> >>>> numbercommand=\processMPheadnumber]
> >>>>
> >>>>
> >>>> \unexpanded\def\HeadTitle#1#2%
> >>>> {\framed
> >>>> [frame=off,
> >>>> bottomframe=on,
> >>>> width=broad,
> >>>> align={broad,nothyphenated,left}]
> >>>> {#1\blank[nowhite]#2}}
> >>>>
> >>>> \starttext
> >>>>
> >>>> \dorecurse{6}{\startchapter
> >>>> [title={Fist chapter}]
> >>>> \input knuth
> >>>> \stopchapter}
> >>>>
> >>>> \stoptext
> >>>
> >>> Using TL18 on Win64 it produces a large chapter number on the right
> side above the chapter name -- I do not know what it should look like, so I
> won't say it works. It clearly fails with the 2018-07-13 beta, producing an
> odd graphic where the MP-generated digit should be:
> >>>
> >>> and fails in the same manner with the 2018-07-17 beta.
> >> define 'fails' ... a crash? can someone confirm it?
> > By failure, I meant that it produces the graphic I posted, a bold
> outline around a small square in the area in which the enlarged digit is
> expected. Not a crash.
> >
> > --
> > Rik
> >
> > ____________________________________________________________
> _______________________
> > 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
> ____________________________________________________________
> _______________________
>
[-- Attachment #1.2: Type: text/html, Size: 5815 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2018-07-18 8:35 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16 14:24 Compilation problem with the latest version of standalone context(Metafun) Fabrice Couvreur
2018-07-16 17:27 ` Hans Hagen
2018-07-16 17:42 ` Fabrice Couvreur
2018-07-17 10:36 ` Fabrice Couvreur
2018-07-17 15:43 ` Hans Hagen
2018-07-17 19:03 ` Pablo Rodriguez
2018-07-17 20:37 ` Fabrice Couvreur
2018-07-17 20:30 ` Rik
2018-07-17 20:40 ` Hans Hagen
2018-07-17 20:46 ` Rik Kabel
2018-07-17 21:00 ` Alan Braslau
2018-07-17 21:06 ` Hans Hagen
2018-07-18 8:35 ` Fabrice Couvreur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).