Re: [NTG-context] Footnotes being broken over two pages

2019-02-27 Thread Alan Braslau
On Tue, 26 Feb 2019 01:04:25 +0100
Lars  wrote:

> Hi there,
> 
> I've stumbled upon some behaviour that looks like a bug to me. Sometimes 
> longer footnotes are being broken over two pages. Please see the 
> attached picture:
> 
> As you can see the last footnote on p. 6 is being continued on p. 7. I 
> don't think it's a problem of too many footnote lines on one page as on 
> p. 17 there are more lines and the breaking is in order.
> 
> The code for all links that I create like this is:
> 
> \define\NytAsimov{
> \goto{
> \hyphenatedurl{
> https://www.nytimes.com/1992/04/12/business/technology-a-celebration-of-isaac-asimov.html}}
> [url(https://www.nytimes.com/1992/04/12/business/technology-a-celebration-of-isaac-asimov.html)]
> (Abrufdatum 12.12.2018)}
> 
> The line breaking I only did for readability. In my source all those 
> definitions are in single lines. Does anyone have an idea why this is 
> happening? If you need anything just let me know please.
> 
> Thanks in advance, Lars.
> 

Maybe try

\setupnote [footnote] [split=verystrict,scope=page]

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
Thanks Wolfgang.  This is exactly what I was looking for and thanks for the
explanatory notes on the inter-column width.  New knowledge is always good!
:-D

I put braces around the contents of the items to make them consistent with
\starthead command which does not seem to contain the headstyle setting in
\startitemize to the head block.

Do I need braces for \starthead but not for \startitem?

\showframe

\starttext
\startitemize[n,3*broad,repeat][headstyle={\bf}]
\starthead A header \stophead
\startitemize[n,3*broad]
\startitem
\input ward
\starttabulate[|cp(.25\localhsize)|cp|]
\HL
\NC Column A \NC Column B \NC \NR
\HL
\NC 1 \NC 2 \NC \NR
\NC 2 \NC 3 \NC \NR
\NC 3 \NC 4 \NC \NR
\NC 4 \NC 5 \NC \NR
\NC 5 \NC 6 \NC \NR
\BL
\stoptabulate
\input ward
\stopitem
\startitemize[n,3*broad]
\stopitemize
\stoptext



-Original Message-
From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] 
Sent: Thursday, February 28, 2019 12:13 AM
To: mailing list for ConTeXt users; Clyde Johnston
Subject: Re: [NTG-context] Setting tabulate table width with \textwidth
inside an item group

Clyde Johnston schrieb am 27.02.19 um 22:49:
> Dear List:
> 
> I have a tabulate table inside an indented item group and I would like 
> to set the width of the table to the \hbox size of the surrounding 
> text.  If I use \textwidth as a width parameter, the table spills into 
> the right margin (see attached).
> 
> What is the correct parameter to use to set the width of the table to 
> the width of the text in the item group?
> 
> _MWE_
> 
> \starttext
> 
> \showframe
> 
> \startitemize[n,3*broad]
> 
>      \startitem{%
> 
>      \input ward
> 
>      \starttabulate[|cp(.25\textwidth)|cp(.75\textwidth)|]
> 
>      \HL
> 
>      \NC Column A \NC Column B \NC \NR
> 
>      \HL
> 
>      \NC 1 \NC 2 \NC \NR
> 
>      \NC 2 \NC 3 \NC \NR
> 
>      \NC 3 \NC 4 \NC \NR
> 
>      \NC 4 \NC 5 \NC \NR
> 
>      \NC 5 \NC 6 \NC \NR
> 
>      \BL
> 
>      \stoptabulate
> 
>      \input ward
> 
>      }
> 
>      \stopitem
> 
> \stopitemize
> 
> \stoptext


1. There is a space between the columns which has to taken into account when
you set the width of the columns, in your example your tables has a width of
textwidth plus the distance between the columns.

2. \textwidth doesn’t in the argument for the items but you can use the
\localhsize length to get the current width of the text block.

3. You can let ConTeXt calculate the width of the second column which saves
you from guessing the needed value for the column width.

4. You don’t need braces around the content for the items.

\showframe

\starttext

\startitemize[n,3*broad]
 \startitem
 \input ward
 \starttabulate[|cp(.25\localhsize)|cp|]
 \FL
 \NC Column A \NC Column B \NC \NR
 \ML
 \NC 1 \NC 2 \NC \NR
 \NC 2 \NC 3 \NC \NR
 \NC 3 \NC 4 \NC \NR
 \NC 4 \NC 5 \NC \NR
 \NC 5 \NC 6 \NC \NR
 \LL
 \stoptabulate
 \input ward
 \stopitem
\stopitemize

\stoptext

Wolfgang


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

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


Re: [NTG-context] Footnotes being broken over two pages

2019-02-27 Thread Lars

Hi there,

Am 26/02/2019 um 16:06 schrieb Alan Braslau:

On Tue, 26 Feb 2019 01:04:25 +0100
Lars  wrote:


Hi there,

I've stumbled upon some behaviour that looks like a bug to me. Sometimes
longer footnotes are being broken over two pages. Please see the
attached picture:

As you can see the last footnote on p. 6 is being continued on p. 7. I
don't think it's a problem of too many footnote lines on one page as on
p. 17 there are more lines and the breaking is in order.

The code for all links that I create like this is:

\define\NytAsimov{
\goto{
\hyphenatedurl{
https://www.nytimes.com/1992/04/12/business/technology-a-celebration-of-isaac-asimov.html}}
[url(https://www.nytimes.com/1992/04/12/business/technology-a-celebration-of-isaac-asimov.html)]
(Abrufdatum 12.12.2018)}

The line breaking I only did for readability. In my source all those
definitions are in single lines. Does anyone have an idea why this is
happening? If you need anything just let me know please.

Thanks in advance, Lars.


Maybe try

\setupnote [footnote] [split=verystrict,scope=page]

Alan


The text shortened slightly due to correction. After that, the problem 
seems gone. But I will take your solution commented into my doc and will 
try it and report should it occur again.


Thank you!

Lars

___
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] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Wolfgang Schuster

Clyde Johnston schrieb am 27.02.19 um 22:49:

Dear List:

I have a tabulate table inside an indented item group and I would like 
to set the width of the table to the \hbox size of the surrounding 
text.  If I use \textwidth as a width parameter, the table spills into 
the right margin (see attached).


What is the correct parameter to use to set the width of the table to 
the width of the text in the item group?


_MWE_

\starttext

\showframe

\startitemize[n,3*broad]

     \startitem{%

     \input ward

     \starttabulate[|cp(.25\textwidth)|cp(.75\textwidth)|]

     \HL

     \NC Column A \NC Column B \NC \NR

     \HL

     \NC 1 \NC 2 \NC \NR

     \NC 2 \NC 3 \NC \NR

     \NC 3 \NC 4 \NC \NR

     \NC 4 \NC 5 \NC \NR

     \NC 5 \NC 6 \NC \NR

     \BL

     \stoptabulate

     \input ward

     }

     \stopitem

\stopitemize

\stoptext



1. There is a space between the columns which has to taken into account 
when you set the width of the columns, in your example your tables has a 
width of textwidth plus the distance between the columns.


2. \textwidth doesn’t in the argument for the items but you can use the 
\localhsize length to get the current width of the text block.


3. You can let ConTeXt calculate the width of the second column which 
saves you from guessing the needed value for the column width.


4. You don’t need braces around the content for the items.

\showframe

\starttext

\startitemize[n,3*broad]
\startitem
\input ward
\starttabulate[|cp(.25\localhsize)|cp|]
\FL
\NC Column A \NC Column B \NC \NR
\ML
\NC 1 \NC 2 \NC \NR
\NC 2 \NC 3 \NC \NR
\NC 3 \NC 4 \NC \NR
\NC 4 \NC 5 \NC \NR
\NC 5 \NC 6 \NC \NR
\LL
\stoptabulate
\input ward
\stopitem
\stopitemize

\stoptext

Wolfgang

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

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


[NTG-context] How to define a new language?

2019-02-27 Thread Paul Hoffman
I'm trying to define a new language for use in a bilingual document, but 
my hyphenation patterns are being ignored and I'm sure I must be doing 
something wrong.

I've devised a minimal example that should hyphenate between vowels but 
doesn't.  Here's the hyphenation patterns file:

- lang-foo.pat -
% Hyphenation patterns for Foo.
\begingroup
\patterns{
a1a a1e a1i a1o a1u
e1a e1e e1i e1o e1u
i1a i1e i1i i1o i1u
o1a o1e o1i o1o o1u
u1a u1e u1i u1o u1u
}
\endgroup


I tried to convert this to Lua code but couldn't figure out the right 
invocation of _mtxrun --script pattern --convert_.

Then I wrote a minimal Context file and hoped it would pick up 
lang-foo.pat anyhow:

- test-foo.tex -
\installlanguage[foo][
spacing=broad,
leftsentence=---,
rightsentence=---,
leftsubsentence=---,
rightsubsentence=---,
leftquote=\upperleftsinglesixquote,
rightquote=\upperrightsingleninequote,
leftquotation=\upperleftdoublesixquote,
rightquotation=\upperrightdoubleninequote,
date={month,\ ,day,{,\ },year},
state=stop,
]
\mainlanguage[foo]
\setuppapersize[A6]
\setupalign[hyphenated,morehyphenation,flushleft]
\starttext
umleoeoikaoukkoiiaaiewuewniimoaralkokolwwuiuirmlkipetnoaeteuntoilamm
uuuauemepokawpoieoomtkeaipeailloaukoiwaeuaewurawiueanwtaoaoemmuuonwleaue
mrtmuweokmikariurtlluiraapnkowuaueolmrneraiiioeauemmaamauiiolluwrltounte
aaaunnoitwueemwlniowotuauwomaupaapwtawiikiuolnrolouletouunwptoioououoael
kiitinouoeolopewourtuineuaermnmmioaiuienkewuiaaklinipprurainouioiomuwokr
koriiaieulkppwwieoemlipiakinppprnpaiaaekapnpatritotoeormaetualeonemlppau
earoeauoiimekoilliiuomirnrwarpupieiilaaueeoaekwriummikpatakeairolwpiaoaa
tniweuiineeetuiektpalukluanetoiklwnemutlonnuaalpnelpniiuiutmaoakmkoiomia
ineioporrieopatakomonipiuwuiwiiaueiueoluoeaaiootwuekinkwawrrwwppilewoioo
itroreraeonkeuiaawalunnueoreiaaeewknailaeomomilkruruekuonkaonwwiieunonow
\stoptext


It does seem to see lang-foo.pat:

$ context --pdf test-foo.tex | fgrep patterns
mkiv lua stats  > loaded patterns: en::2 foo::67, load time: 0.000

But in the resulting PDF, nothing is hyphenated.  (I'll post the PDF if 
anyone really wants to see it.)

Here's my _context --version_ output:

mtx-context | ConTeXt Process Management 1.02
mtx-context |
mtx-context | main context file: 
/usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2018.01.19 13:42

Can someone point me to my mistake?

Thanks in advance,

Paul.

-- 
Paul Hoffman 
___
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] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
Dear List:

 

I have a tabulate table inside an indented item group and I would like to
set the width of the table to the \hbox size of the surrounding text.  If I
use \textwidth as a width parameter, the table spills into the right margin
(see attached).

 

What is the correct parameter to use to set the width of the table to the
width of the text in the item group?

 

MWE

 

\starttext

\showframe

\startitemize[n,3*broad]

\startitem{%

\input ward

\starttabulate[|cp(.25\textwidth)|cp(.75\textwidth)|]

\HL

\NC Column A \NC Column B \NC \NR

\HL

\NC 1 \NC 2 \NC \NR

\NC 2 \NC 3 \NC \NR

\NC 3 \NC 4 \NC \NR

\NC 4 \NC 5 \NC \NR

\NC 5 \NC 6 \NC \NR

\BL

\stoptabulate

\input ward

}

\stopitem

\stopitemize

\stoptext

 

Thanks,

Clyde

 



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


[NTG-context] horizontal headalternatives ignore indentnext

2019-02-27 Thread Henri Menke
Dear list,

If I choose the headalternative to be of horizontal type, e.g. “text”, the head
placement will ignore the indentnext option.  This can be traced back to the
\strc_rendering_stop_placement macro where there is a check

   \ifconditional\headisdisplay
 \useindentnextparameter\headparameter
   \else
 \ignoreparskip
 \noindentation % recently added, was a bug
   \fi

If the headalternative is vertical, \headdisplay is true, if it is horizontal,
\headdisplay is false.  It is easy to see that indentnext is not treated on
equal footing for these two, in fact, indentation is generally ignored for
horizontal headalternatives.  Commenting out \noindentation at least gives
indentation in the following paragraph but that is not a proper solution.

Below you can find a MWE with the fix from above applied.  Try commenting in
and out the \noindentation and see what happens to the second paragraph after
the heading.

Cheers, Henri

---

\unprotect

\def\strc_rendering_stop_placement
  {\n_strc_rendering_hang_lines\zerocount
   \ifconditional\headisdisplay
 \strc_rendering_initialize_line_hang
 % kind of special, we want to snap heads also according to local specs 
local
 \setbox\b_strc_rendering_head\hbox
   
{\hskip\dimexpr\d_strc_rendering_local_leftoffset+\headparameter\c!margin\relax
\box\b_strc_rendering_head
\getheadsyncs % a latelua why not in the box
}%
 \ifgridsnapping
   \applygridmethod
 {\headparameter\c!grid}%
 {\ifconditional\headisdisplay

\strc_rendering_initialize_style_and_color_display\c!textstyle\c!textcolor
  \fi}%
 {\box\b_strc_rendering_head}
 \else
   \box\b_strc_rendering_head
 \fi
 \flushnotes % new, not really needed
 \endgraf
 \ifvmode
   \ifnum\n_strc_rendering_hang_lines>\zerocount
 
\dorecurse\n_strc_rendering_hang_lines{\nointerlineskip\dosomebreak\nobreak\strut\endgraf}%
 to be checked
   \fi
   \nointerlineskip
   \dosomebreak\nobreak
 \fi
%  \getheadsyncs % a latelua why not in the box
   \else
 % somehow this goes ok even when we push in the margin probably because we 
gobble pars
 % in the process of collecting index entries etc
 \strut
 \flushnotes % new, here since we're in par mode
 \unhbox\b_strc_rendering_head
 \getheadsyncs % a latelua
 \ifconditional\headissomewhere
   \strc_sectioning_stay_on_this_line % test case: alternative=margintext 
and \startparagraph ..
 \else
  
%\hskip\headnumberdistance\s!plus\headnumberdistance\s!minus.25\dimexpr\headnumberdistance\relax
   \hskip\headtextdistance\relax
   \strc_sectioning_inject_continuous_signal
 \fi
   \fi
   \ifconditional\headisdisplay
 \ifvmode
   \ifgridsnapping % important, font related depth, see comment
 \prevdepth\strutdp
   \else
 \prevdepth\d_strc_rendering_local_depth
   \fi
 \fi
   \fi
   \synctexpopline
   \egroup
   \egroup
   \ifconditional\headisdisplay
 \useindentnextparameter\headparameter
   \else
 \ignoreparskip
 % \noindentation % recently added, was a bug
   \fi}

\protect

\setupindenting[yes,big]
\setuphead[section][alternative=text,indentnext=yes]
\starttext
\section{Introduction}
\input knuth
\stoptext

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

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


Re: [NTG-context] Output problem with nodes.toutf utility function (latest beta 02.26.2019)

2019-02-27 Thread Rik Kabel

On 2/27/2019 11:53, Joseph Canedo wrote:


Dear list,

I use lua function nodes.toutf to print text being typeset in log 
output for debugging purposes etc… and I noticed output is now 
different for some characters/glyphs.


I use EB Garamond font, which might explain.

Before, for example output was :

user    > margin > margin box text Thareh.

Now it is :

user    > margin > margin box text areh.

The « Th » was replaced by some  placeholder perhaps for unknown 
character?


Please note that typeset text is not impacted, it seems correct.

Joseph

The dlig feature for EBGaramond causes "Th" to be replaced by a 
ligature. Look carefully at your typeset text and you will likely see 
that the "T" and "h" are joined.


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


[NTG-context] Output problem with nodes.toutf utility function (latest beta 02.26.2019)

2019-02-27 Thread Joseph Canedo
Dear list,

I use lua function nodes.toutf to print text being typeset in log output for 
debugging purposes etc… and I noticed output is now different for some 
characters/glyphs.
I use EB Garamond font, which might explain.

Before, for example output was :

user> margin > margin box text Thareh.

Now it is :

user> margin > margin box text areh.

The « Th » was replaced by some  placeholder perhaps for unknown character?

Please note that typeset text is not impacted, it seems correct.

Joseph

___
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] When newsizing an external figure by [width=], what will be its height in pt and viceversa?

2019-02-27 Thread Rudolf Bahr
On Wed, Feb 27, 2019 at 09:55:07AM +0100, Henning Hraban Ramm wrote:
> Am 2019-02-24 um 09:11 schrieb Rudolf Bahr :
> 
> > Yes, "~" was the reason for my failure. Its use seems to be linux specific 
> > only.
> 
> No, it’s not Linux specific, but ConTeXt doesn’t expand shell variables.
> 
> Greetlings, Hraban


Aha! Thank you.

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

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


Re: [NTG-context] environment variable for runtime

2019-02-27 Thread Hans Hagen

On 2/26/2019 5:14 PM, Thomas A. Schmitz wrote:

Hi,

I would like to typeset the runtime information that context displays at 
the end of typesetting:


mkiv lua stats  > runtime: 174.639 seconds, 913 processed pages, 913 
shipped pages, 5.228 pages/second

system  | total runtime: 526.583 seconds

Is this stored in any environment key? How could I access it?

it's in the log file:

local data= io.loaddata("oeps.log") or ""
local pattern = "> runtime: ([%d%.]+) seconds, ([%d]+) processed pages, 
([%d]+) shipped pages, ([%d%.]+) pages/second"


local r, n, s, p = string.match(data,pattern)

print(r,n,s,p)



-
  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] xtables rowspan

2019-02-27 Thread Otared Kavian
Hi Felipe,

Your code gives the result you want here on my machine (version 2019.02.26 
20:04 MKIV beta), so there is no error in your code.
Please see the attachment. 
Maybe you should update your installation of ConTeXt?

Best regards: OK


xtable-span.pdf
Description: Adobe PDF document
 

> On 26 Feb 2019, at 15:54, Felipe de Jesús Molina Bravo 
>  wrote:
> 
> Hi!!
> 
> I am begginer in "context" ( and "tex" too). I want to generate the next 
> table:
> 
> A.1   A.2 A.3 A.4
> B.3   B.4
> C.4
> 
> 
> I am using xtables and the code is the next:
> 
> 
> \starttext
> \startxtable[frame=on]
>   \startxtablehead
> \startxrow
>\startxcell[ny=3, nx=1] A.1 \stopxcell
>\startxcell[ny=3, nx=1] A.2 \stopxcell
>\startxcell[ny=1, nx=1] A.3 \stopxcell
>\startxcell[ny=1, nx=1] A.4 \stopxcell
> \stopxrow
> \startxrow
>\startxcell[ny=2, nx=1] B.3 \stopxcell
>\startxcell[ny=1, nx=1] B.4 \stopxcell
> \stopxrow
> \startxrow
>\startxcell[ny=1, nx=1] C.4 \stopxcell
> \stopxrow
>   \stopxtablehead
> \stopxtable
> \stoptext
> 
> and the result table (with above code) is:
> 
> 
> 
> 
> I don't find what is my errorcan anybody help me?
> 
> 
> thanks in advance!!
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

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

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


[NTG-context] environment variable for runtime

2019-02-27 Thread Thomas A. Schmitz

Hi,

I would like to typeset the runtime information that context displays at 
the end of typesetting:


mkiv lua stats  > runtime: 174.639 seconds, 913 processed pages, 913 
shipped pages, 5.228 pages/second

system  | total runtime: 526.583 seconds

Is this stored in any environment key? How could I access it?

Thanks

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

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


Re: [NTG-context] When newsizing an external figure by [width=], what will be its height in pt and viceversa?

2019-02-27 Thread Henning Hraban Ramm
Am 2019-02-24 um 09:11 schrieb Rudolf Bahr :

> Yes, "~" was the reason for my failure. Its use seems to be linux specific 
> only.

No, it’s not Linux specific, but ConTeXt doesn’t expand shell variables.

Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD


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

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


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

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

Willi

> On 25 Feb 2019, at 23:30, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 25.02.19 um 22:44:
>> Hi Wolfgang,
>> 
>> that is a nice coincidence! I was stuck just today with this very issue! 
>> Thank you for this information.
> 
> You can try the two solutions (“grid=no” or “strut=no”) from this old thread: 
> https://mailman.ntg.nl/pipermail/ntg-context/2018/093250.html
> 
> Wolfgang
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

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

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


[NTG-context] xtables rowspan

2019-02-27 Thread Felipe de Jesús Molina Bravo
Hi!!

I am begginer in "context" ( and "tex" too). I want to generate the next
table:

A.1 A.2 A.3 A.4
B.3 B.4
C.4


I am using xtables and the code is the next:


\starttext
\startxtable[frame=on]
  \startxtablehead
\startxrow
   \startxcell[ny=3, nx=1] A.1 \stopxcell
   \startxcell[ny=3, nx=1] A.2 \stopxcell
   \startxcell[ny=1, nx=1] A.3 \stopxcell
   \startxcell[ny=1, nx=1] A.4 \stopxcell
\stopxrow
\startxrow
   \startxcell[ny=2, nx=1] B.3 \stopxcell
   \startxcell[ny=1, nx=1] B.4 \stopxcell
\stopxrow
\startxrow
   \startxcell[ny=1, nx=1] C.4 \stopxcell
\stopxrow
  \stopxtablehead
\stopxtable
\stoptext

and the result table (with above code) is:


[image: image.png]

I don't find what is my errorcan anybody help me?


thanks in advance!!
___
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
___