[NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-18 Thread Jaroslav Hajtmar
Hello ConTeXtist,
I saw the opportunity to insert an Asymptote picture into Context source code 
(due filter).
For example here: https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html

Is there a way to pass the ConTeXt parameter which influenced the creation of 
the Asymptote image? My point eg. the ability to define macros, which gave its 
parameters to Asymptote procedure or function and depending on these 
parameters, the image created by Asymptote looked differently.

Before starting work on an illustrative example I am asking, whether it makes 
sense to deal with such a thing ... I suppose the impossibility of combining 
asymptote code and such Lua code (or not?).

There is a similar possibility, at least in Metapost? For simpler pictures it 
would probably suffice 

Thanx
Jaroslav Hajtmar

___
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] \setupfooter[color=red]: red color spills with float over next page

2016-12-18 Thread Pablo Rodriguez
On 12/18/2016 11:00 PM, Benjamin Buchmuller wrote:
> Hi Hans,
> 
> I finally managed to make a MWE. The issue is related to me using
> \clip{…} onto external figures I would like to crop in conjunction with
> a colored footer set-up:

Hallo Benjamin,

my question may be stupid, but what happens if you don’t use \clip?

Pablo

> \starttext
> 
> \setupfooter[color=red]
>   
> \setupfootertexts
>   []
>   []
>   [any text] % issue related to put something in footer ...
>   []
> 
> \input knuth
> 
> \input knuth
> 
> \input knuth
> 
> % … and moving to the top of the next page
> 
> \startplacefigure
>   [
>   width=fit,
>   title={
> \input bryson
>   },
>   ]
>   \clip[height=7.0cm]{ % issue related to clip
>   \externalfigure[fig_4.jpg][height=7.0cm, width=\textwidth]
>   }
> \stopplacefigure
> 
> \stoptext
> 
> Thank you for your help.
> 
> 
> Benjamin
> ___
> 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
> ___
> 


-- 
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] \setupfooter[color=red]: red color spills with float over next page

2016-12-18 Thread Benjamin Buchmuller
Hi Hans,

I finally managed to make a MWE. The issue is related to me using \clip{…} onto 
external figures I would like to crop in conjunction with a colored footer 
set-up:

\starttext

\setupfooter[color=red]

\setupfootertexts
[]
[]
[any text] % issue related to put something in footer ...
[]

\input knuth

\input knuth

\input knuth

% … and moving to the top of the next page

\startplacefigure
[
width=fit,
title={
\input bryson
},
]
\clip[height=7.0cm]{ % issue related to clip
\externalfigure[fig_4.jpg][height=7.0cm, width=\textwidth]
}
\stopplacefigure

\stoptext

Thank you for your help.


Benjamin
___
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] professional looking tables

2016-12-18 Thread Pablo Rodriguez
On 12/18/2016 07:19 PM, Csikos Bela wrote:
> Dear context users:
> [...]
> I see that context offers several table environments. Which one of them
> is suitable for making  professional (publication quality) tables?
> [...]
> Is this feasible in current context?

Dear Csikos,

http://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf is your
friend here.

No sample, no code as reply ;-).


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] Different column modes and NAW

2016-12-18 Thread Mikael P. Sundqvist
Dear list,

I just realized that the very nice articles in "Nieuw archief voor
Wiskunde" (see 
http://www.nieuwarchief.nl/serie5/index.php?deel=17=4=1
) are typeset with ConTeXt (at least it says so at
http://www.nieuwarchief.nl/homeitems.php?onderwerp=2=1).

I get curious. Does anyone here know what column mode (i.e.
\startcolumn \stopcolumn, \startmixedcolumn\stopmixedcolumn,
columnsets or even the new module newcolumnsets?) they use, and how
they get mathematics to play with it without breaking the grid?

Also, if I start to write a new document with two columns today (it
will contain lots of images and lots of formulas and enumerations),
which column mode is the preferred one? Is there any documentation
(except the source) for the newcolumnsets? I want to be able to have
images span both columns and it would be nice if it played well with
sections as well.

Best regards, 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] professional looking tables

2016-12-18 Thread Csikos Bela
Dear context users:

In latex I could make professional looking tables using booktabs module.
Using longtable package I could make nice looking multipage tables.

I see that context offers several table environments. Which one of them
is suitable for making  professional (publication quality) tables?

The requirements for such tables are the follows:

- Only horizontal rules are needed
- Ability to set the rule's thickness for top rule, bottom rule, middle rule
- Ability to set the distance between rules and table content
- Ability to set rule length shorter than cell or row width on both left and 
right sides
- Ability to set rules for spanning only some of the columns

In addition, for multipage tables:

- head row at the start of table
- head rows at top on every page (possibly including first page)
- foot row ate the end of table
- foot rows at the end of every page (possibly including last page)

Is this feasible in current context?

Thank you in advance,

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