Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-15 Thread Alan Braslau
On Wed, 15 May 2019 14:27:21 +0200
"Jan U. Hasecke"  wrote:

> I understand that apa and aps are the only implemented styles. Is
> there any other style I can use?

You can write your own style, or your own modified style. Also, we can
implement more styles if (1) there is a need, and (2) there is a clear,
defined standard that can be followed.

Alan

--
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] Bibliography APS Style without unpublished

2019-05-15 Thread Alan Braslau
On Wed, 15 May 2019 14:27:21 +0200
"Jan U. Hasecke"  wrote:

> is there an option to eliminate the "unpublished" in aps bibliography?

I suppose you mean the APS setup when NO date field is given
("to be published" for an article, "in press" for a book, and
"unpublished" otherwise)?

You can redefine the setup btx:aps:nd (no date) to give something else,
but you might have to go further not to get empty parenthesis.

A better solution, using the APS specification is to have a correct
database. Maybe a different publication type category might be more
appropriate.

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


[NTG-context] fatal error with latest beta

2019-05-15 Thread Alan Bowen
The following:
\setupdirections[bidi=global]
\definefallbackfamily[mainface][serif][SBL
Hebrew][range={0591-05F4,FB1D-FB4F}]
\definefontfamily[mainface][serif][TeX Gyre Termes]
\setupbodyfont[mainface, 10pt]
\starttext
   \setupalign[rtl]{
ﬡﬡﬢ
}
\setupalign[ltr] 
\stoptext
 sets as it should with ConTeXt  ver: 2018.09.13,  LuaTeX, Version 1.09.0
(and several betas later).

But with ConTeXt  ver: 2019.05.12, LuaTeX, Version 1.10.1
it complains with:
lua error   > lua error on line 8 in file ...test-03.tex:

...eXt/tex/texmf-context/tex/context/base/mkiv/font-oup.lua:1317: bad
argument #1 to 'concat' (table expected, got number)

 1 \setupdirections[bidi=global]
 2
 3 \definefallbackfamily[mainface][serif][SBL
Hebrew][range={0591-05F4,FB1D-FB4F}]
 4
 5 \definefontfamily[mainface][serif][TeX Gyre Termes]
 6
 7 \setupbodyfont[mainface, 10pt]
 8 >>
 9 \starttext
10    \setupalign[rtl]{
11 ﬡﬡﬢ
12 }
13 \setupalign[ltr] 
14
15 \stoptext
16

mtx-context | fatal error: return code: 256

Has something changed in how such l2r fonts should be invoked?

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] XML roundtripping

2019-05-15 Thread Denis Maier
Hans Hagen  schrieb am Mi., 15. Mai 2019, 18:32:

> On 5/15/2019 4:35 PM, Denis Maier wrote:
> > Our workflow is not settled yet; we're still discussing options. All
> > depends upon what is possible ...
> >
> > That being said, for the purpose of displaying the articles online we'll
> > need every article in a separate XML file. The question is if and how we
> > will produce a PDF version containing a whole volume (we'll probably
> > need one PDF for the whole volume and also PDFs for each article).
> >
> > One option would be:
> > - merge the articles into a single XML,
> > - typeset from there
> > - split the PDF
> > (Hence my question here,
> > https://mailman.ntg.nl/pipermail/ntg-context/2019/095011.html).
>
> you can create a master xml file with includes and process the lots in
> one go ... this is quite convenient when you assemble for instance books
> from chapters that are split into sections ... you can make a xml file
> per chapter that includes the sections and then a book file that loads
> them all ... files can have a processing instruction telling what styel
> to load and you can run individual files or assemblies ... all the stuff
> needed to do that is there (and probably also documented someplace)
>

Ok. Sounds good. How can I call the style in the xml files? I know that I
can process a file with \xmlprocessfile or call it from the command line
with --env=, and in a normal tex-file I could obviously use \environment
for this,  but how does this work with xml?



> anyway, you can always save '\lastpage' during a run ... or you can have
> some shared lua file with chapters/pagenumbers that gets updated by the
> current run
>
> all this is workflow dependent but all can be done without too much hassle
>
> (fwiw: we have some cases where for one projects hundreds of xml files
> get merged runtime and then processed ... the overhead is neglectable to
> the run)
>
> > Another option could be:
> > - Typeset each article individually.
> > - Get the last page number => in the next article, set the first page
> > number to this + 1
> > (So, we do not necessarily need to write the page numbers back to the
> > XML, but we'll somehow need to pass the page number to the next article
> > in the chain.)
> >
> >
> > Am Mi., 15. Mai 2019 um 14:46 Uhr schrieb Hans Hagen  > >:
> >
> > On 5/15/2019 12:57 PM, Denis Maier wrote:
> >  > Hmm, getting the page number back from the tuc file sound
> > feasible. I'll
> >  > have to look into this.
> >  >
> >  > But how would I write the information back to the XML? Is this
> > explained
> >  > somewhere?
> > all depends on the workflow ... why does it need to be written back?
> >
> >
> > -
> > 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] issues with rotated paper size

2019-05-15 Thread Pablo Rodriguez
On 5/15/19 8:59 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 14.05.2019 um 21:39:
>> [...]
>> I see that a more complex method is deployed to get the box sizes.
>>
>> I simply thought that this could be a bug.
>
> What is the reason for this page rotation, maybe there is a better
> solution for this?

I want to avoid enabling auto rotate in the screens where these
documents are viewed.

In any case, as long as I use "\setupinteractionscreen[option={none,
max}]", everything works as expected.

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


Re: [NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-15 Thread Felipe de Jesús Molina Bravo
>*> generate my pdf with it new version
*>*>
*>*> How wan resolve this problem? please guide me!!
*>broad effectively uses hsize so 39 times the hsize is larger than tex
>likes dealing with ... can't you use fit instead?

ok, i tried with it. Thanks! :)

OFF-TOPIC:

I have a problem with the mailing list; the posts that I start I do
not receive them as well as the answers to these posts...why?

thnks for all!!
___
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] issues with rotated paper size

2019-05-15 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 14.05.2019 um 21:39:

On 5/14/19 8:05 PM, Wolfgang Schuster wrote:

Pablo Rodriguez schrieb am 14.05.2019 um 18:51:

[...]
I think it might be a bug.

When you add \setupinteractionscreen to your document ConTeXt uses a
more complex method to save the page size which includes calculations
for the different box types. Part of these calculations are the width
and height of the document and paper but when you rotate one of them you
get unexpected values for them.

Many thanks for your reply, Wolfgang.

I see that a more complex method is deployed to get the box sizes.

I simply thought that this could be a bug.
What is the reason for this page rotation, maybe there is a better 
solution for this?


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] filling page to bottom

2019-05-15 Thread Wolfgang Schuster

Hans van der Meer schrieb am 15.05.2019 um 09:24:
I find that the current (default) settings tend to break pages early, 
leaving a fairly large amount of whitespace at the bottom of the 
pages. Obviously in order to avoid breaking paragraphs or to avoid 
small parts of a paragraph at the top of the page.


What parameters do I have to tweak to fill the pages more completely? 
Because I planned already to examine all pages individually for their 
appearance, inserting breaks by hand is not the problem here.


You have to change the penalty values for orphans, widows etc.

\startsetups [hvdm]
  \directsetup{*reset}
  \nopenalties
\stopsetups

\showgrid

\starttext

\dorecurse{10}{\samplefile{knuth}}

\page

\setuplayout[setups=hvdm]

\dorecurse{10}{\samplefile{knuth}}

\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] XML roundtripping

2019-05-15 Thread nyssus

On 15/05/2019 15:35, Denis Maier wrote:
> Another option could be:
> - Typeset each article individually.
> - Get the last page number => in the next article, set the first page
> number to this + 1
> (So, we do not necessarily need to write the page numbers back to the XML,
> but we'll somehow need to pass the page number to the next article in the
> chain.)
Shouldn't products, components, and environments provide a way of doing
that from the ConTeXt side?
___
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] XML roundtripping

2019-05-15 Thread Mica Semrick
If your web requirement is single XML files per article, you should be able to 
feed ConTeXt multiple XML files and typeset them as one PDF.

On May 15, 2019 7:35:47 AM PDT, Denis Maier  wrote:
>Our workflow is not settled yet; we're still discussing options. All
>depends upon what is possible ...
>
>That being said, for the purpose of displaying the articles online
>we'll
>need every article in a separate XML file. The question is if and how
>we
>will produce a PDF version containing a whole volume (we'll probably
>need
>one PDF for the whole volume and also PDFs for each article).
>
>One option would be:
>- merge the articles into a single XML,
>- typeset from there
>- split the PDF
>(Hence my question here,
>https://mailman.ntg.nl/pipermail/ntg-context/2019/095011.html).
>
>Another option could be:
>- Typeset each article individually.
>- Get the last page number => in the next article, set the first page
>number to this + 1
>(So, we do not necessarily need to write the page numbers back to the
>XML,
>but we'll somehow need to pass the page number to the next article in
>the
>chain.)
>
>
>Am Mi., 15. Mai 2019 um 14:46 Uhr schrieb Hans Hagen
>:
>
>> On 5/15/2019 12:57 PM, Denis Maier wrote:
>> > Hmm, getting the page number back from the tuc file sound feasible.
>I'll
>> > have to look into this.
>> >
>> > But how would I write the information back to the XML? Is this
>explained
>> > somewhere?
>> all depends on the workflow ... why does it need to be written back?
>>
>>
>> -
>>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] XML roundtripping

2019-05-15 Thread Hans Hagen

On 5/15/2019 4:35 PM, Denis Maier wrote:
Our workflow is not settled yet; we're still discussing options. All 
depends upon what is possible ...


That being said, for the purpose of displaying the articles online we'll 
need every article in a separate XML file. The question is if and how we 
will produce a PDF version containing a whole volume (we'll probably 
need one PDF for the whole volume and also PDFs for each article).


One option would be:
- merge the articles into a single XML,
- typeset from there
- split the PDF
(Hence my question here, 
https://mailman.ntg.nl/pipermail/ntg-context/2019/095011.html).


you can create a master xml file with includes and process the lots in 
one go ... this is quite convenient when you assemble for instance books 
from chapters that are split into sections ... you can make a xml file 
per chapter that includes the sections and then a book file that loads 
them all ... files can have a processing instruction telling what styel 
to load and you can run individual files or assemblies ... all the stuff 
needed to do that is there (and probably also documented someplace)


anyway, you can always save '\lastpage' during a run ... or you can have 
some shared lua file with chapters/pagenumbers that gets updated by the 
current run


all this is workflow dependent but all can be done without too much hassle

(fwiw: we have some cases where for one projects hundreds of xml files 
get merged runtime and then processed ... the overhead is neglectable to 
the run)



Another option could be:
- Typeset each article individually.
- Get the last page number => in the next article, set the first page 
number to this + 1
(So, we do not necessarily need to write the page numbers back to the 
XML, but we'll somehow need to pass the page number to the next article 
in the chain.)



Am Mi., 15. Mai 2019 um 14:46 Uhr schrieb Hans Hagen >:


On 5/15/2019 12:57 PM, Denis Maier wrote:
 > Hmm, getting the page number back from the tuc file sound
feasible. I'll
 > have to look into this.
 >
 > But how would I write the information back to the XML? Is this
explained
 > somewhere?
all depends on the workflow ... why does it need to be written back?


-
                                            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] XML roundtripping

2019-05-15 Thread Denis Maier
Our workflow is not settled yet; we're still discussing options. All
depends upon what is possible ...

That being said, for the purpose of displaying the articles online we'll
need every article in a separate XML file. The question is if and how we
will produce a PDF version containing a whole volume (we'll probably need
one PDF for the whole volume and also PDFs for each article).

One option would be:
- merge the articles into a single XML,
- typeset from there
- split the PDF
(Hence my question here,
https://mailman.ntg.nl/pipermail/ntg-context/2019/095011.html).

Another option could be:
- Typeset each article individually.
- Get the last page number => in the next article, set the first page
number to this + 1
(So, we do not necessarily need to write the page numbers back to the XML,
but we'll somehow need to pass the page number to the next article in the
chain.)


Am Mi., 15. Mai 2019 um 14:46 Uhr schrieb Hans Hagen :

> On 5/15/2019 12:57 PM, Denis Maier wrote:
> > Hmm, getting the page number back from the tuc file sound feasible. I'll
> > have to look into this.
> >
> > But how would I write the information back to the XML? Is this explained
> > somewhere?
> all depends on the workflow ... why does it need to be written back?
>
>
> -
>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] XML roundtripping

2019-05-15 Thread Hans Hagen

On 5/15/2019 12:57 PM, Denis Maier wrote:
Hmm, getting the page number back from the tuc file sound feasible. I'll 
have to look into this.


But how would I write the information back to the XML? Is this explained 
somewhere?

all depends on the workflow ... why does it need to be written back?


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


[NTG-context] Bibliography APS Style without unpublished

2019-05-15 Thread Jan U. Hasecke
Hi all,

is there an option to eliminate the "unpublished" in aps bibliography?

I understand that apa and aps are the only implemented styles. Is there
any other style I can use?

TIA
juh
___
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] Split up PDF a certain

2019-05-15 Thread Denis Maier
Hi,

is there a way to split up a PDF a certain points, e.g. at every
\startsection?
(I am thinking of a way to produce both one PDF for a complete journal
issue and for each individual articles. Or should I better use an external
tool to post-process the resulting PDF?)

Best,
Denis
___
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] XML roundtripping

2019-05-15 Thread Denis Maier
Hmm, getting the page number back from the tuc file sound feasible. I'll
have to look into this.

But how would I write the information back to the XML? Is this explained
somewhere?

Am Mi., 15. Mai 2019 um 09:19 Uhr schrieb Hans Hagen :

> On 5/14/2019 9:38 AM, Denis Maier wrote:
> > Hi everyone
> >
> > I am setting up a workflow for a journal where we will be using JATS XML
> > as an input format. PDFs should be typeset via ConTeXt. Is roundtripping
> > possible with ConTeXt? I will perhaps need to write page numbers back to
> > a XML file (either to the input file or to a new file.).
> it all depends on where the number comes from; saving a number is a file
> that later gets loaded by something else is no big deal
>
> also, there is always the tuc file one can analyze
>
> 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] Compiling multiple files without master document

2019-05-15 Thread Denis Maier
Ok, so no all-files-as-one option at the moment? Do you think this would be
useful?

Am Mi., 15. Mai 2019 um 09:20 Uhr schrieb Hans Hagen :

> On 5/14/2019 9:58 AM, Denis Maier wrote:
>
> > context file1 file2 file3 --environment=mydefs
> this will process three files not three-as-one
>
> 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
___


[NTG-context] Difference between the pagecolumns mechanism vs newcolumnsets/pagegrids?

2019-05-15 Thread SPIT
Complete beginner with ConTeXt, just confused about the difference between the 
difference between mechanisms due to the similar naming? Is it just a 
difference in float handling? ___
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] Questions on columnsetspan (and grids and backgrounds)

2019-05-15 Thread Hans Hagen

On 5/14/2019 11:36 AM, Mikael P. Sundqvist wrote:

On Tue, May 14, 2019 at 10:39 AM Hans Hagen  wrote:


On 5/13/2019 5:59 PM, Mikael P. Sundqvist wrote:

Den lör 11 maj 2019 10:28Mikael P. Sundqvist mailto:mic...@gmail.com>> skrev:

 Hi,

 I have for some hours tried to understand how to work with
 columnsetspans (I'm trying with an updated lmtx), and have some
 questions.

 1) Is it only the floats that has the long list of placement options
 (given on p. 18 in the columnsets manual), or should they also apply
 to columnsetspans and columnsetareas? (I cannot get it to work with
 "default=fxtb:2*10" and similar options for other elements than
 floats). It would be useful to have it for other type of elements as
 well.

 2) What is the current correct way to get back on grid after formulas?
 The only key that had lead me to something that seems to work in
 \setupformulas is "option=depth". Is that the way to go?

 3) This is a bit unrelated, but is it possible to set page backgrounds
 on specific page. Something like \setupbackgrounds[page][page=3, ...]
 (I cannot find any keys for this in setup-en.pdf). Right now I can set
 it for an odd and an even page, but then if I want a background on the
 page after that, I have to put that code at the place where it will be
 used. (I got an error with \startpostponing[+1] ... \stoppostponing)

 4) To be a bit more concrete on the first issue: In the example below,
 how can I place the columnsetspan at the bottom right? Second and
 third column, 10 lines down? I attach the result of running this file.

 /Mikael

 \setuplayout[grid=yes]
 \showgrid
 \definecolumnset[three][n=3]

 \definecolumnsetspan[two][
 n=2,
 background=color,
 backgroundcolor=lightgray,
 ]

 \starttext
 \startcolumnset[three]
 \samplefile{knuth}

 \startcolumnsetspan[two][default=btrl]
 \samplefile{ward}
 \stopcolumnsetspan

 \dorecurse{5}{\samplefile{knuth}\par}
 \stopcolumnset
 \stoptext


Hi!

I have looked more carefully at the columnsets manual, and it looks like
(parts of) the columnsets mechanism is somehow broken at the moment,
since some of the examples there are not showing what they are supposed to.


the mkii mechanism has been replaced by a new one but it's not
completely compatible (these placements are actually for floats and
spans were just a special kind abusing that mechanism)


Can this be confirmed? Is there a plan to get it to work soon again?

i'll put it on the todo list

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


Hi!

Many thanks for your reply! Then I stop my playing with it now
(several things work and it looks quite nice!).

I really appreciate any effort in this direction, since I think this
grid+column functionality is a very nice feature to have!!

this will work in a next upload (watch out: columnsets operate on a spread)

\setuppagenumbering[alternative={doublesided}]

\showgrid

\setupalign[verytolerant] \dontcomplain

\definecolumnset[three][n=3]

\definecolumnsetspan[two]
  [n=2,
   background=color,
   backgroundcolor=lightgray]

\starttext

\page[left]

\startcolumnset[three]

\startcolumnsetspan[two][c=1,r=5]
\samplefile{ward}
\stopcolumnsetspan

\startcolumnsetspan[two][method=btlr,c=2,r=3]
\samplefile{ward}
\stopcolumnsetspan

\dorecurse{6}{\samplefile{knuth}\par}

\stopcolumnset

\stoptext

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


[NTG-context] filling page to bottom

2019-05-15 Thread Hans van der Meer
I find that the current (default) settings tend to break pages early, leaving a 
fairly large amount of whitespace at the bottom of the pages. Obviously in 
order to avoid breaking paragraphs or to avoid small parts of a paragraph at 
the top of the page.

What parameters do I have to tweak to fill the pages more completely? Because I 
planned already to examine all pages individually for their appearance, 
inserting breaks by hand is not the problem here.

dr. Hans van der Meer


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

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


Re: [NTG-context] Compiling multiple files without master document

2019-05-15 Thread Hans Hagen

On 5/14/2019 9:58 AM, Denis Maier wrote:


context file1 file2 file3 --environment=mydefs

this will process three files not three-as-one

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] XML roundtripping

2019-05-15 Thread Hans Hagen

On 5/14/2019 9:38 AM, Denis Maier wrote:

Hi everyone

I am setting up a workflow for a journal where we will be using JATS XML 
as an input format. PDFs should be typeset via ConTeXt. Is roundtripping 
possible with ConTeXt? I will perhaps need to write page numbers back to 
a XML file (either to the input file or to a new file.).
it all depends on where the number comes from; saving a number is a file 
that later gets loaded by something else is no big deal


also, there is always the tuc file one can analyze

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] Which math font for LinLibertine family?

2019-05-15 Thread Mikael P. Sundqvist
On Wed, May 15, 2019 at 8:40 AM Tomas Hala  wrote:
>
> Hi all,
>
> the font family LinLibertine (ConTeXt from TL2018 and older) does not
> contain any math font.
>
> On the file type-imp-libertine.mkiv there is a (disabled) line joining math
> from times family. Is the times math the best for LinLibertine or
> would you recommend me something else (from the design point of view)?
>
> What is the best way how to add math to the existing typescript?
> (I would like to avoid changing the file from the installation.)
>
> Best wishes
>
> Tomáš
>
> ___
> 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
> ___

Hi,

Is this an option?

https://github.com/alif-type/libertinus

/Mikael
___
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] Which math font for LinLibertine family?

2019-05-15 Thread Tomas Hala
Hi all,

the font family LinLibertine (ConTeXt from TL2018 and older) does not
contain any math font. 

On the file type-imp-libertine.mkiv there is a (disabled) line joining math
from times family. Is the times math the best for LinLibertine or
would you recommend me something else (from the design point of view)?

What is the best way how to add math to the existing typescript?
(I would like to avoid changing the file from the installation.)

Best wishes

Tomáš

___
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] \includeonly and ConTeXt components

2019-05-15 Thread Denis Maier
Hi again,

last question for the moment ;-)

With LaTeX we can use  `\includeonly` for partial compilation. The good
thing is that we can still refer to labels from other files, have a
complete TOC, and correct page numbers.
In ConTeXt the project structure is supposed to be used for partial
compilation. But it does not seem to have those features, right? Having
correct page numbers across the individual components would be especially
helpful. Any ways to get this?

Best,
Denis
___
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] Questions regarding project structure

2019-05-15 Thread Denis Maier
Hi,

I am just testing out the project structure. Let's suppose I have these
files:

- test_env.tex
```
\startenvironment *

\setuphead
[section]
[textstyle=\bf]

\stopenvironment
```

- test_project
```
\startproject *
\environment test_env

\product test_prod

\stopproject
```

- test_prod.tex
```
\startproduct *
\project test

\startalignment[middle]
HEY
\stopalignment

\component test_comp

\stopproduct
```

- test_comp.tex
```
\startcomponent *
\product test_prod
% \project test_project % uncomment this to use the

\section{Test}
\input ward

\stopcomponent
```

>From the documentation [https://wiki.contextgarden.net/Project_structure] I
would assume two things
1. The environment should be used in the component via project=>product.
2. Everything in the product that is not in a component should be used in
the component as well.

Both assumptions seem not be correct. Any hints about this? Am I missing
something? Am I doing something wrong? Or is there a bug somewhere?
Documentation errors?

Best,
Denis
___
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] Compiling multiple files without master document

2019-05-15 Thread Denis Maier
Hi,

Currently it is possible to process a file with an external environment
file specified via the command line.

```
context file --environment=mydefs
```

Very nice.

Is it possible to process multiple files from the command line without a
master document? Like so:

```
context file1 file2 file3 --environment=mydefs
```

Or should I just use `cat file1 file2 file3 > file` before processing?

Best,
Denis
___
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] XML roundtripping

2019-05-15 Thread Denis Maier
Hi everyone

I am setting up a workflow for a journal where we will be using JATS XML as
an input format. PDFs should be typeset via ConTeXt. Is roundtripping
possible with ConTeXt? I will perhaps need to write page numbers back to a
XML file (either to the input file or to a new file.).

Best,
Denis
___
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
___