Re: [NTG-context] wrong bookmark destinations in PDF files

2014-03-29 Thread Pablo Rodriguez
On 03/27/2014 08:07 PM, Hans Hagen wrote:
 On 3/27/2014 7:13 PM, Pablo Rodriguez wrote:
 Hans,

 I’m afraid that bookmark destinations are wrong in latest beta from
 2014.03.25 16:58.
 [...]
 
 fixed (hopefully)

Many thanks for the fast fix, Hans.

I’m experiencing two other issues with bookmarks, but I’ll report them
in another message.


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

[NTG-context] PDF bookmarks don’t follow sectionconversionset

2014-03-29 Thread Pablo Rodriguez
Hans,

I’m afraid that PDF bookmarks don’t follow sectionconversionset option
from \setuphead.

Here is the sample:

\setupinteraction[state=start]
\placebookmarks[chapter,section]
\definestructureconversionset[sectionnumbers][0,I,A,n,g][n]
\definestructureconversionset[appendix:sectionnumbers][0,A,n,g,a][n]
\setupheads[sectionconversionset=sectionnumbers]

\starttext
\startbodymatter
\chapter{Chapter in bodymatter}
\section{Section in bodymatter}
\stopbodymatter

\startappendices
\chapter{Chapter in appendices}
\section{Section in appendices}
\stopappendices
\stoptext

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] PDF bookmarks issue with heads

2014-03-29 Thread Pablo Rodriguez
Hans,

just accidentally, I discovered that adding a head (the content list
itself) before the front matter disorders PDF bookmarks (bodymatter is
before frontmatter).

Here is a sample

\setupinteraction[state=start]
\placebookmarks[chapter,section]

\starttext
\completecontent
%~ \title{Contents}
%~ \chapter{Contents}

\startfrontmatter
\dorecurse{3}{\chapter{Chapter in frontmatter}
\section{Section in frontmatter}}
\stopfrontmatter

\startbodymatter
\dorecurse{3}{\chapter{Chapter in bodymatter}
\section{Section in bodymatter}}
\stopbodymatter
\stoptext

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Table next to a text in an environment of type list

2014-03-29 Thread Fabrice Couvreur
Hi,
How to improve this code to make the table to the right of the text in the
environment list ?

\midaligned{\tfb Cadres en entreprise}
\blank
On compte 67 femmes dans une entreprise de 160 personnes.

Parmi les personnes de cette entreprise, il y a 32 cadres dont 15 femmes.
\startitemize[n][stopper=),style=bold]
\item Recopier le tableau ci-contre.

\startitemize[n][stopper=),style=bold]
\setuphanging[location=right]
\starthanging{%
\bTABLE[align={middle,lohi}]
\bTR\bTD {} \eTD \bTD {\bf Femmes} \eTD \bTD {\bf Hommes} \eTD \bTD {\bf
Total} \eTD \eTR
\bTR \bTD {\bf Cadres} \eTD  \bTD {15} \eTD \bTD {} \eTD \bTD {32} \eTD
\bTR  \bTD {\bf Autres employés} \eTD \bTD {} \eTD \bTD {} \eTD \bTD {}
\eTD  \eTR
\bTR  \bTD {\bf Total} \eTD \bTD {67} \eTD \bTD {} \eTD \bTD 160{} \eTD
\eTR
\eTABLE}
\stophanging
\item Parmi les 160 personnes de cette entreprise, on en choisit une au
hasard.

On considère les événements suivants :
\startitemize[2]
\item F : \quotation{la personne choisie est une femme} ;
\item C : \quotation{la personne choisie est un cadre}.
\stopitemize
\startitemize[a][stopper=),style=bold]
\item Définir par une phrase les événements \math{\overline{C}}, \math{F
\cap C} et \math{F\cap\overline{C}}.
\item Calculer les probabilités \math{P(F)}, \math{P(C)},
\math{P(\overline{C})}, \math{P(F \cap C)} et \math{P(F \cap
\overline{C})}.
\stopitemize
\item \startitemize[a][stopper=),style=bold]
\item La personne choisie est un cadre de l'entreprise. Quelle est la
probabilité que ce soit une femme ?

{\it On note \math{P_{C}(F)} cette probabilité.}
\item Calculer \math{\dfrac{P(F \cap C)}{P(C)}}. Que constate-t-on ?
\stopitemize
\item \startitemize[a][stopper=),style=bold]
\item On choisit une femme parmi les personnes de l'entreprise. Quelle est
la probabilité qu'elle soit cadre ?

{\it On note \math{P_{F}(C)} cette probabilité.}
\item Exmpliquer pourquoi on obtient le résultat de la question précédente
en calculant  \math{\dfrac{P(C \cap F)}{P(F)}}.
\stopitemize
\item Que représentent en termes de probabilités les quotients
\math{\dfrac{52}{67}} et \math{\dfrac{52}{128}} ?
\stopitemize

\stoptext

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] bizarre error message

2014-03-29 Thread Thomas A. Schmitz

Hi,

I haven't yet been able to reproduce this in a minimal example, but I'm 
trying to place some images within a mixedcolumns environment, and I get 
an error message I have never seen before:


pagesflushing realpage 5, userpage 5
Node 1150 has an attribute list that is free already
Node 1406 has an attribute list that is free already
Node 1373 has an attribute list that is free already
Node 1228 has an attribute list that is free already
Node 1195 has an attribute list that is free already
Node 1114 has an attribute list that is free already
Node 1127 has an attribute list that is free already
Node 1074 has an attribute list that is free already
Node 2011 has an attribute list that is free already
Node 2268 has an attribute list that is free already
Node 2116 has an attribute list that is free already
Node 2030 has an attribute list that is free already
Node 1981 has an attribute list that is free already
Node 1953 has an attribute list that is free already
Node 3055 has an attribute list that is free already
Node 2889 has an attribute list that is free already
luatex: ../../../source/texk/web2c/luatexdir/tex/texnodes.w:1985: 
delete_attribute_ref: Assertion 
`varmem[(b)].hh.u.B0==attribute_list_node' failed.


mtx-context | fatal error: no return code, message: luatex: 
execution interrupted%


This is with context 2014.03.28 15:04 and luatex 0.78.2 on linux 64-bit. 
The error does not appear with a beta version from january 2014. Any 
idea where this might come from?


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bizarre error message

2014-03-29 Thread Hans Hagen

On 3/29/2014 4:02 PM, Thomas A. Schmitz wrote:

Hi,

I haven't yet been able to reproduce this in a minimal example, but I'm
trying to place some images within a mixedcolumns environment, and I get
an error message I have never seen before:

pagesflushing realpage 5, userpage 5
Node 1150 has an attribute list that is free already
Node 1406 has an attribute list that is free already
Node 1373 has an attribute list that is free already
Node 1228 has an attribute list that is free already
Node 1195 has an attribute list that is free already
Node 1114 has an attribute list that is free already
Node 1127 has an attribute list that is free already
Node 1074 has an attribute list that is free already
Node 2011 has an attribute list that is free already
Node 2268 has an attribute list that is free already
Node 2116 has an attribute list that is free already
Node 2030 has an attribute list that is free already
Node 1981 has an attribute list that is free already
Node 1953 has an attribute list that is free already
Node 3055 has an attribute list that is free already
Node 2889 has an attribute list that is free already
luatex: ../../../source/texk/web2c/luatexdir/tex/texnodes.w:1985:
delete_attribute_ref: Assertion
`varmem[(b)].hh.u.B0==attribute_list_node' failed.

mtx-context | fatal error: no return code, message: luatex:
execution interrupted%

This is with context 2014.03.28 15:04 and luatex 0.78.2 on linux 64-bit.
The error does not appear with a beta version from january 2014. Any
idea where this might come from?


Ok, we need indeed some example of this so that we can test. It can for 
instance relate to some prev pointer still not being ok (which can 
result in such errors). This means that when context looks back at some 
node that happens to be a head node, we can get weird effects. In due 
time this will be sorted out but the more tests we have the sooner.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___


[NTG-context] TLS and externalfigure

2014-03-29 Thread Thangalin
Hi,

I have images hosted on a local web server using a self-signed
certificate. For example:

https://localhost/images/.../file.png

When using ConTeXt, the image cannot be retrieved; a verified signed
certificate works as expected.

Using wget, self-signed certificates can be forced:

wget --no-check-certificate https://localhost/images/.../file.png

Does ConTeXt have a way to ignore/bypass certificate validation? If so, how?

(Note: the certificate's common name is currently blank, which does
not match 'localhost' -- I can fix that if required...)

Thank you!
___
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
___