Re: [NTG-context] Text wrapped with an ornement

2018-08-18 Thread Fabrice Couvreur
Hi Palbo,
In fact I want the text '' Coming back ... '' to start on the same baseline
as the title of the ornament as in the photo.
Thanks.
Fabrice

Info  Coming back ...
blablablablabla

Le sam. 18 août 2018 à 13:26, Pablo Rodriguez  a écrit :

> On 08/18/2018 11:11 AM, Fabrice Couvreur wrote:
> > Hi Pablo,
> > These options are to be added to \defineframedtext [] [] ?
> > Without success at home !
>
> Hi Fabrice,
>
> your sample should read:
>
> \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784]
> \definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00]
>
> \defineornament
> [FrameTitle]
> [preset=lefttop]
> [
>   frame=off,
>   foregroundstyle=\bfx\ss,
>   foregroundcolor=white,
>   background=color,
>   backgroundcolor=MyColorB,
> ]
>
> \defineframedtext
>   [FramedText]
>   [
> offset=0.6em,
> style=\ss,
> toffset=\lineheight,
> background=color,
> backgroundcolor=MyColorA,
> foregroundstyle={\switchtobodyfont[10pt]},
> align={right, broad},
> frame=off,
> corner=round,
> radius=1.5em,
> width=10cm,
>   ]
>
> \showframe
>
> \starttext
>
>\FrameTitle{Info}{%
>\startFramedText%
>   \input zapf
> \stopFramedText}
>
> \stoptext
>
> The width option works now, because I didn’t realize that your sample
> had it right after the "\startFramedText" command.
>
> I hope it helps now. If anything is not working as you expect, please
> explain what should be different.
>
> 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] structures.lists.ordered empty in latest beta

2018-08-18 Thread Wolfgang Schuster



Hans Hagen schrieb am 18.08.18 um 15:22:

On 8/18/2018 2:41 PM, Joseph Canedo wrote:
I see in pdf (created using MWE Wolfgang kindly provided and latest 
Context beta) page 2:


Section 16 appears on page 1.

Should read I think

Section 16 appears on page 2.


hm, not here, so question for wolfgang:

can you run the test with

\showmakeup[whatsit]

and see if there are lateluas shown


The visualizer for section 16 appears one the first page but the section 
itself is moved to the second page.


Wolfgang

resolvers   > trees > analyzing 'home:texmf'

open source > level 1, order 1, name 
'/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system  > 
system  > ConTeXt  ver: 2018.08.18 15:14 MKIV beta  fmt: 2018.8.18  
int: english/english
system  > 
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'test', input './test', result 'test'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name '/Users/wolf/Dropbox/tex/test/test.tex'
visualize   > enabled
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
structure   > sectioning > section @ level 3 : 0.0.1 -> Section 1
structure   > sectioning > section @ level 3 : 0.0.2 -> Section 2
structure   > sectioning > section @ level 3 : 0.0.3 -> Section 3
structure   > sectioning > section @ level 3 : 0.0.4 -> Section 4
structure   > sectioning > section @ level 3 : 0.0.5 -> Section 5
structure   > sectioning > section @ level 3 : 0.0.6 -> Section 6
structure   > sectioning > section @ level 3 : 0.0.7 -> Section 7
structure   > sectioning > section @ level 3 : 0.0.8 -> Section 8
structure   > sectioning > section @ level 3 : 0.0.9 -> Section 9
structure   > sectioning > section @ level 3 : 0.0.10 -> Section 10
structure   > sectioning > section @ level 3 : 0.0.11 -> Section 11
structure   > sectioning > section @ level 3 : 0.0.12 -> Section 12
structure   > sectioning > section @ level 3 : 0.0.13 -> Section 13
structure   > sectioning > section @ level 3 : 0.0.14 -> Section 14
structure   > sectioning > section @ level 3 : 0.0.15 -> Section 15
structure   > sectioning > section @ level 3 : 0.0.16 -> Section 16
structure   > sectioning > section @ level 3 : 0.0.17 -> Section 17
structure   > sectioning > section @ level 3 : 0.0.18 -> Section 18
structure   > sectioning > section @ level 3 : 0.0.19 -> Section 19
backend > xmp > using file 
'/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages   > flushing realpage 1, userpage 1, subpage 1
structure   > sectioning > section @ level 3 : 0.0.20 -> Section 20
pages   > flushing realpage 2, userpage 2
close source> level 2, order 3, name '/Users/wolf/Dropbox/tex/test/test.tex'
close source> level 1, order 3, name 
'/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system  > start used files

system  > text: test

system  > stop used files


system  > start used files

system  >1: filename=char-prv.lua filetype=tex format=tex 
foundname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/char-prv.lua
 
fullname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/char-prv.lua
 usedmethod=database
system  >2: filename=cont-yes.mkiv filetype=tex 
foundname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv
 
fullname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv
 usedmethod=database
system  >3: filename=publ-imp-default.lua filetype=scripts 
foundname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua
 
fullname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua
 usedmethod=database
system  >4: filename=cont-new.mkiv filetype=tex 
foundname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
 
fullname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
 usedmethod=database
system  >5: filename=lang-exc.lua filetype=scripts 
foundname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua
 
fullname=/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua
 usedmethod=database
system  >6: filename=lang-us.lua filetype=scripts 

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Hans Hagen

On 8/18/2018 2:41 PM, Joseph Canedo wrote:
I see in pdf (created using MWE Wolfgang kindly provided and latest 
Context beta) page 2:


Section 16 appears on page 1.

Should read I think

Section 16 appears on page 2.


hm, not here, so question for wolfgang:

can you run the test with

\showmakeup[whatsit]

and see if there are lateluas shown

(beta on ftp)



Joseph

*De : *Hans Hagen 
*Envoyé le :*samedi 18 août 2018 13:48
*À : *mailing list for ConTeXt users ; 
Wolfgang Schuster ; Joseph 
Canedo 

*Objet :*Re: [NTG-context] structures.lists.ordered empty in latest beta

On 8/18/2018 10:11 AM, Wolfgang Schuster wrote:

 > Here is your minimal example.

 >

 >

 > \starttext

 >

 > \dorecurse{20}{\section[sec:#1]{Section #1}}

 >

 > Section \in[sec:16] appears on page \at[sec:16].

 >

 > Section \in[sec:17] appears on page \at[sec:17].

 >

 > \stoptext

Goes ok here.

-

    Hans Hagen | PRAGMA ADE

    Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

     tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

-




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Joseph Canedo
I see in pdf (created using MWE Wolfgang kindly provided and latest Context 
beta) page 2:

Section 16 appears on page 1.

Should read I think

Section 16 appears on page 2.

Joseph

De : Hans Hagen
Envoyé le :samedi 18 août 2018 13:48
À : mailing list for ConTeXt users; Wolfgang Schuster; Joseph Canedo
Objet :Re: [NTG-context] structures.lists.ordered empty in latest beta

On 8/18/2018 10:11 AM, Wolfgang Schuster wrote:
> Here is your minimal example.
> 
> 
> \starttext
> 
> \dorecurse{20}{\section[sec:#1]{Section #1}}
> 
> Section \in[sec:16] appears on page \at[sec:16].
> 
> Section \in[sec:17] appears on page \at[sec:17].
> 
> \stoptext
Goes ok here.

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-



test_section_page.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] fontloader fails with "bad argument #1 to 'for iterator"

2018-08-18 Thread Ulrike Fischer
Am Sat, 18 Aug 2018 13:47:32 +0200 schrieb Hans Hagen:

>> On the luaotfload tracker was a bug report that the loading of a
>> font failed if too many character variant were requested
>> 
>> https://github.com/lualatex/luaotfload/issues/424
>> 
>> I wanted to check if the problem still exist with a current
>> fontloader. Here (both context and latex) the loading of this fonts
>> fails even if no character variants at all are requested:
 
> What are character variants? Anyway, if it's "features" there is no 
> relation between choosing features and loading a font.

As far as I got it they are open type features to select variants of
characters and are used as any other open type feature:

;+cv01=0;+cv02=0;+cv03=0;+cv04=0;+cv05=0;+cv06=0;...

In the bug report the problem seemed to be that the user used so
many of this features that some string got too long. 

But due to the other error I couldn't look at it yet.


>> it is in the 07-iosevka-type-slab-2.0.0.zip.
> Hm, another of these N x M instance fonts generated from a common 
> source? I can catch the bad coverage table but it will never render okay.

Thanks. And I will forwared the warning ;-).

-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/

___
If your question 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] structures.lists.ordered empty in latest beta

2018-08-18 Thread Hans Hagen

On 8/18/2018 10:11 AM, Wolfgang Schuster wrote:

Here is your minimal example.


\starttext

\dorecurse{20}{\section[sec:#1]{Section #1}}

Section \in[sec:16] appears on page \at[sec:16].

Section \in[sec:17] appears on page \at[sec:17].

\stoptext

Goes ok here.

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] fontloader fails with "bad argument #1 to 'for iterator"

2018-08-18 Thread Hans Hagen

On 8/18/2018 1:17 PM, Ulrike Fischer wrote:


On the luaotfload tracker was a bug report that the loading of a
font failed if too many character variant were requested

https://github.com/lualatex/luaotfload/issues/424

I wanted to check if the problem still exist with a current
fontloader. Here (both context and latex) the loading of this fonts
fails even if no character variants at all are requested:


What are character variants? Anyway, if it's "features" there is no 
relation between choosing features and loading a font.



\starttext

\font\x={file:iosevka-type-slab-regular.ttf}
\x

ablub
\stoptext


gives
...ext/tex/texmf-context/tex/context/base/mkiv/font-oup.lua:2137:
bad argument #1 to 'for iterator' (table expected, got nil)


The font can be get from

https://github.com/be5invis/Iosevka/releases

it is in the 07-iosevka-type-slab-2.0.0.zip.
Hm, another of these N x M instance fonts generated from a common 
source? I can catch the bad coverage table but it will never render okay.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Text wrapped with an ornement

2018-08-18 Thread Pablo Rodriguez
On 08/18/2018 11:11 AM, Fabrice Couvreur wrote:
> Hi Pablo,
> These options are to be added to \defineframedtext [] [] ?
> Without success at home !

Hi Fabrice,

your sample should read:

\definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784]
\definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00]

\defineornament
[FrameTitle]
[preset=lefttop]
[
  frame=off,
  foregroundstyle=\bfx\ss,
  foregroundcolor=white,
  background=color,
  backgroundcolor=MyColorB,
]

\defineframedtext
  [FramedText]
  [
offset=0.6em,
style=\ss,
toffset=\lineheight,
background=color,
backgroundcolor=MyColorA,
foregroundstyle={\switchtobodyfont[10pt]},
align={right, broad},
frame=off,
corner=round,
radius=1.5em,
width=10cm,
  ]

\showframe

\starttext

   \FrameTitle{Info}{%
   \startFramedText%
  \input zapf
\stopFramedText}

\stoptext

The width option works now, because I didn’t realize that your sample
had it right after the "\startFramedText" command.

I hope it helps now. If anything is not working as you expect, please
explain what should be different.

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
___

[NTG-context] fontloader fails with "bad argument #1 to 'for iterator"

2018-08-18 Thread Ulrike Fischer

On the luaotfload tracker was a bug report that the loading of a
font failed if too many character variant were requested

https://github.com/lualatex/luaotfload/issues/424

I wanted to check if the problem still exist with a current
fontloader. Here (both context and latex) the loading of this fonts
fails even if no character variants at all are requested:

\starttext

\font\x={file:iosevka-type-slab-regular.ttf}
\x

ablub
\stoptext 


gives 
...ext/tex/texmf-context/tex/context/base/mkiv/font-oup.lua:2137:
bad argument #1 to 'for iterator' (table expected, got nil)


The font can be get from 

https://github.com/be5invis/Iosevka/releases

it is in the 07-iosevka-type-slab-2.0.0.zip.



-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/

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

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

Re: [NTG-context] Text wrapped with an ornement

2018-08-18 Thread Fabrice Couvreur
Hi Pablo,
These options are to be added to \defineframedtext [] [] ?
Without success at home !
Fabrice

Le sam. 18 août 2018 à 10:17, Pablo Rodriguez  a écrit :

> On 08/18/2018 01:08 AM, Fabrice Couvreur wrote:
> > Hello,
> > That's true Wolfgang, I just checked right now, sorry!
> > What I would like to do is on the image below.
>
> Hi Fabrice,
>
> you should use the following commands:
>
>align={right, broad},
>radius=2em,
>
> And I don’t know why the width option doesn’t work here.
>
> 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] Text wrapped with an ornement

2018-08-18 Thread Pablo Rodriguez
On 08/18/2018 01:08 AM, Fabrice Couvreur wrote:
> Hello,
> That's true Wolfgang, I just checked right now, sorry!
> What I would like to do is on the image below.

Hi Fabrice,

you should use the following commands:

   align={right, broad},
   radius=2em,

And I don’t know why the width option doesn’t work here.

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
___

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Wolfgang Schuster

Here is your minimal example.


\starttext

\dorecurse{20}{\section[sec:#1]{Section #1}}

Section \in[sec:16] appears on page \at[sec:16].

Section \in[sec:17] appears on page \at[sec:17].

\stoptext


Wolfgang


Joseph Canedo schrieb am 17.08.18 um 23:08:


The latelua functions seems fixed with 2018-08-16 beta but in some 
occurrences the realpage information for some sections is wrong, being 
set to page before the actual page the section title appears in pdf. 
This seems to happen when the title of section is first at top of page.


If needed I can try working on a MWE.

Thanks

Joseph

From .tuc file.

{

  ["metadata"]=129,

["numberdata"]=133,

  ["references"]={

   ["block"]="bodypart",

["internal"]=5,

   ["realpage"]=3, -- this should be 4

   ["section"]=5,

   ["used"]="width",

  },

  ["titledata"]={

["bookmark"]="Chapitre .iiij.",

["label"]="subsection",

["marking"]="Chapitre",

   ["title"]="Chapitre \\LeftDot \\RM {4}.",

  },

  ["userdata"]={

["blank_after_chapter"]="none",

["blank_before_chapter"]="none",

  },

*De : *Joseph Canedo 
*Envoyé le :*mercredi 15 août 2018 23:46
*À : *mailing list for ConTeXt users 
*Objet :*RE: [NTG-context] structures.lists.ordered empty in latest beta

I also noticed that (at least some) latelua functions do not seem 
called (They output stuff in the log and these are no longer present).


*De : *Hans Hagen 
*Envoyé le :*mercredi 15 août 2018 23:32
*À : *ntg-context@ntg.nl >> mailing list for ConTeXt users 


*Objet :*Re: [NTG-context] structures.lists.ordered empty in latest beta

On 8/15/2018 10:37 PM, Joseph Canedo wrote:

> Hi,

>

> I use the global lua table ConTeXt provides called :

> structures.lists.ordered to perform some manipulations with sections

> (using structures.lists.ordered.section which is itself a lua table),

> but from latest beta it seems that that variable (a lua table) is now

> completely empty. Is this expected ?

afaik nothing changed

-

   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
___


___
If your question 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
___