Re: [NTG-context] problem with \startcolumns[distance=0pt]

2016-10-05 Thread Michael Witten
On Tue, 07 Aug 2012 00:22:08 +0200, Peter Muenster wrote:

> The distance is not 0pt here (MKIV):
> 
> --8<---cut here---start->8---
> \starttext
> \startcolumns[distance=0pt]
> \input tufte
> \stopcolumns
> \stoptext
> --8<---cut here---end--->8---

It would appear that this problem is still the case, as of the
following version:

  $ context --version | sed -n 2p\;5p
  mtx-context | ConTeXt Process Management 0.63
  mtx-context | current version: 2016.09.24 12:40

In particular, Peter's example produces something like the following:
(I'm assuming these 90-character-plus-CRLF lines made it through the
Internet; if they did not make it, then someone's email-processing
software is non-conformant, so shame on him!)

   We thrive  in  information-thick  worlds screen, pigeonhole, pick over, 
sort, inte-
   because  of  our  marvelous  and  every- grate, blend, inspect, filter, 
lump, skip,
   day capacity  to  select,  edit,  single smooth,   chunk,   average,   
approximate,
   out, structure, highlight, group,  pair, cluster,  aggregate,  outline,  
summarize,
   merge, harmonize, synthesize, focus, or- itemize, review, dip into,  
flip  through,
   ganize,  condense,  reduce,  boil  down, browse, glance into, leaf  
through,  skim,
   choose, categorize,  catalog,  classify, refine,   enumerate,   glean,   
synopsize,
   list, abstract, scan, look into,  ideal- winnow  the  wheat  from  the  
chaff   and
   ize, isolate, discriminate, distinguish, separate the sheep from  the  
goats. 

However, a person whose thoughts are governed by reasonable logic might
instead expect the result to look more like this:

   We thrive  in  information-thick  worldsscreen, pigeonhole, pick over, sort, 
inte-
   because  of  our  marvelous  and  every-grate, blend, inspect, filter, lump, 
skip,
   day capacity  to  select,  edit,  singlesmooth,   chunk,   average,   
approximate,
   out, structure, highlight, group,  pair,cluster,  aggregate,  outline,  
summarize,
   merge, harmonize, synthesize, focus, or-itemize, review, dip into,  flip  
through,
   ganize,  condense,  reduce,  boil  down,browse, glance into, leaf  through,  
skim,
   choose, categorize,  catalog,  classify,refine,   enumerate,   glean,   
synopsize,
   list, abstract, scan, look into,  ideal-winnow  the  wheat  from  the  chaff 
  and
   ize, isolate, discriminate, distinguish,separate the sheep from  the  goats. 


The ConTeXt facilities in question are [mostly] defined here:

   "$TEXROOT"/texmf-context/tex/context/base/mkiv/page-mul.mkiv

After a not-so-cursory review, it seems to me that the problem is a
result of [probably erroneous] references [in various calculations]
to the `offset' parameter, which is presumably a vestigial growth
inherited from `\setupframed'.

Fortunately, meddling by this `offset' parameter can be explicitly
nullfied via including `offset=0pt' in the setup parameters for the
`\startcolumns' command; that is, in order to get the results that
Peter expected, modify Peter's example to be this:

--8<---cut here---start->8---
\starttext
\startcolumns[offset=0pt,distance=0pt]
\input tufte
\stopcolumns
\stoptext
--8<---cut here---end--->8---

If you now include `rule=on', then you get:

   We thrive  in  information-thick  worlds|screen, pigeonhole, pick over, 
sort, inte-
   because  of  our  marvelous  and  every-|grate, blend, inspect, filter, 
lump, skip,
   day capacity  to  select,  edit,  single|smooth,   chunk,   average,   
approximate,
   out, structure, highlight, group,  pair,|cluster,  aggregate,  outline,  
summarize,
   merge, harmonize, synthesize, focus, or-|itemize, review, dip into,  flip  
through,
   ganize,  condense,  reduce,  boil  down,|browse, glance into, leaf  through, 
 skim,
   choose, categorize,  catalog,  classify,|refine,   enumerate,   glean,   
synopsize,
   list, abstract, scan, look into,  ideal-|winnow  the  wheat  from  the  
chaff   and
   ize, isolate, discriminate, distinguish,|separate the sheep from  the  
goats. 

If you now replace `distance=0pt' with `distance=2ex', then you get the
following (I chose `2ex', so as to be able to represent the results more
accurately in plain text):

   We thrive  in  information-thick  worlds | screen, pigeonhole, pick over, 
sort, inte-
   because  of  our  marvelous  and  every- | grate, blend, inspect, filter, 
lump, skip,
   day capacity  to  select,  edit,  single | smooth,   chunk,   average,   
approximate,
   out, structure, highlight, group,  pair, | cluster,  aggregate,  outline,  
summarize,
   merge, harmonize, synthesize, focus, or- | itemize, review, dip into,  flip  
through,
   ganize,  condense,  reduce,  boil  down, | browse, glance into, leaf  
through,  skim,
   choose, categorize,  catalog,  classify, | refine,   enumerate,   glean, 

Re: [NTG-context] Recommendations on presentations

2016-10-05 Thread Jan U. Hasecke
Am 05.10.2016 um 11:15 schrieb Nicola:
> On 2016-10-05 08:25:03 +, Otared Kavian said:

>>> Is it better to simply define the layout from scratch?
> 
> For me, yes. I have found this step-by-step guide good to start with:
> 
> https://github.com/adityam/context-slides-example

From a quick glance I'd say that this is a better start for me too. At
least I find my way through the code.

> I may send you my current template, adapted from the above, if you want
> (some things there are a bit outdated, if I remember correctly).

That would be really nice.

My design requirements are very simple but very different to the styles
I saw so far.

The only effect, I use, are bullet lists that appear step by step.

juh

-- 
Soziale Plastik. Die Kunst der Allmende
Essay zum 30. Todestag von Joseph Beuys
http://www.amazon.de/dp/1523458763/
Taschenbuch, 130 Seiten, EUR 9,90
___
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] marks on the first page only

2016-10-05 Thread Pablo Rodriguez
Hans,

would it be possible to have a "first" value added to the "marking" key
from \setuplayout that prints cut marks only on the first page of the
document?

In some cases, having cut marks in all pages is unnecessary. Or even
unpractical, because some printers slightly move the marks when printing
(they don’t print the text exactly on the same position on each page [it
happens in most copyshops]).

I would need this for the imposition I asked about yesterday
(https://mailman.ntg.nl/pipermail/ntg-context/2016/087038.html). Sorry
for insisting, but I need to solve the issues for something I have to
send to a copy shop today.

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
___

Re: [NTG-context] Bug in \usetikzlibrary{datavisualization}?

2016-10-05 Thread Hans Hagen

On 10/5/2016 9:51 PM, Florian Leupold wrote:

Dear list,

Sorry for posting a duplicate, but I guess my previous post got lost during the 
conference...

When one tries to load the TikZ data visualization library, the documents does 
not compile anymore. The error is “.../tikzlibrarydatavisualization.code.tex: ! 
Missing number, treated as zero”.

I have also tried this using ConTeXt online, to the same end:
http://live.contextgarden.net/cgi-bin/output.cgi?id=jSjLZO

\usemodule[tikz]
\usetikzlibrary{datavisualization}
\starttext
Hello world!
\stoptext

Is this a known bug or could I somehow fix this to get data visualization to 
work?


\unprotect
\usetikzlibrary{datavisualization}
\protect



Best,
Florian



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




--

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

[NTG-context] Underlining formulas and units

2016-10-05 Thread Florian Leupold
Dear list,

underbar behaves weirdly when it comes to indexes, exponents, and units:

\starttext
\underbar{$F_C=\unit{1e2 newton}$} or \underbar{\unit{1e2 newton}}
\stoptext

Am I doing something wrong? Is there maybe a setting to correct for this?

Thanks,
Florian


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] text–formula separation inside a frame

2016-10-05 Thread Wolfgang Schuster

Florian Leupold 
5. Oktober 2016 um 21:50
Dear list,

Sorry for posting a duplicate, but I guess my previous post got lost 
during the conference...


I have got a problem with spacing before a formula inside a frame. The 
text–formula separation somehow is bigger when it occurs in a frame 
(see MWE below). Is there an explanation, and/or (even better) a 
possible fix?
The space between the text and the formula inside and outside of the 
frame looks to be the same for me.


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

[NTG-context] Bug in \usetikzlibrary{datavisualization}?

2016-10-05 Thread Florian Leupold
Dear list,

Sorry for posting a duplicate, but I guess my previous post got lost during the 
conference...

When one tries to load the TikZ data visualization library, the documents does 
not compile anymore. The error is “.../tikzlibrarydatavisualization.code.tex: ! 
Missing number, treated as zero”.

I have also tried this using ConTeXt online, to the same end:
http://live.contextgarden.net/cgi-bin/output.cgi?id=jSjLZO

\usemodule[tikz]
\usetikzlibrary{datavisualization}
\starttext
Hello world!
\stoptext

Is this a known bug or could I somehow fix this to get data visualization to 
work?

Best,
Florian


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] text–formula separation inside a frame

2016-10-05 Thread Florian Leupold
Dear list,

Sorry for posting a duplicate, but I guess my previous post got lost during the 
conference...

I have got a problem with spacing before a formula inside a frame. The 
text–formula separation somehow is bigger when it occurs in a frame (see MWE 
below). Is there an explanation, and/or (even better) a possible fix?

Thanks a lot!
Florian

MWE:

\defineframed[Framed][width=\textwidth, height=5cm, align=normal]
\starttext
This formula is preceded by normal spacing:
\placeformula[-]\startformula
1+1=2
\stopformula
\Framed{
This formula somehow is preceded by too much spacing:
\placeformula[-]\startformula
1+1=2
\stopformula
}
\stoptext


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] floating figure hanging into the margin

2016-10-05 Thread Mikael P. Sundqvist
Hi!

I think it is explained well in the details manual how to do that, see page
34 at

http://www.pragma-ade.com/general/manuals/details.pdf

/Mikael

Den 5 okt. 2016 8:13 em skrev "Csikos Bela" :

> Dear list members:
>
> How can I make floating figures hang into the side margin area in context?
> That is, part of the figure in the text area and other part of the figure
> in the margin?
> Is it possible?
>
> I attach a pdf showing an example.
>
> I don't need compete solution, only a hint where to start.
>
> Thanks 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] floating figure hanging into the margin

2016-10-05 Thread Csikos Bela
Dear list members:

How can I make floating figures hang into the side margin area in context?
That is, part of the figure in the text area and other part of the figure in 
the margin?
Is it possible?

I attach a pdf showing an example.

I don't need compete solution, only a hint where to start.

Thanks in advance,

bcsikos

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

[NTG-context] imposition broken in latest beta?

2016-10-05 Thread Pablo Rodriguez
Dear list,

I’m using latest beta from 2016.09.24 12:40. I have the following sample:

\showframe
\setuppapersize [A5][A4]
\setuppagenumbering[alternative=doublesided]
\setuplayout
  [backspace=0pt,
topspace=0pt,
 marking=page,
location=doublesided,
  header=0pt,
  footer=0pt]
\starttext
\filterpages[setup-en.pdf][1:10][width=0cm]
\stoptext

The PDF document is i-context.pdf from the ConTeXt Suite
(tex/texmf-context/tex/context/interface/mkiv/i-context.pdf).

For some reason that I don’t understand, the imposed page suffers a size
reduction, as it is clearly displayed on the first page.

With "location=doublesided", even pages are misplaced on the inner
margin. Text is even cut (as displayed with this sample).

Am I missing something in my sample or have I hit a bug?

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
___

Re: [NTG-context] Footnotes inside and outside a framed text

2016-10-05 Thread Jean-Pierre Delange
Hi Pablo,

I'll try very soon your trick as I'll try Massi's.
Thank you very much.

- Mail original -
De: "Pablo Rodriguez" 
À: "mailing list for ConTeXt users" 
Envoyé: Mardi 4 Octobre 2016 20:44:05
Objet: Re: [NTG-context] Footnotes inside and outside a framed text

On 10/04/2016 05:36 PM, Jean-Pierre Delange wrote:
> Thank you Massi for your help !

Sorry for not having answered before, Jean-Pierre.

Last year, Hans replied to a question on the very same issue
(https://mailman.ntg.nl/pipermail/ntg-context/2015/083570.html), with
the following code:

\framed{three\postponenotes\footnote{3}}\flushnotes

I hope it helps,


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
___
___
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] Recommendations on presentations

2016-10-05 Thread Nicola

On 2016-10-05 08:25:03 +, Otared Kavian said:


On 5 Oct 2016, at 07:58, Jan U. Hasecke  wrote:

Hi all,

Keynote is the only software that ties me to MacOS X. I would like to
copy some of its presentations styles to ConTeXt (MKIV).

What is the best way to do this?

I read about simpleslides and looked into the code but I am unsure
whether I start from a simpleslides example.

Is it better to simply define the layout from scratch?


For me, yes. I have found this step-by-step guide good to start with:

https://github.com/adityam/context-slides-example

I may send you my current template, adapted from the above, if you want
(some things there are a bit outdated, if I remember correctly).

Nicola


___
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] [metapost] ANN: Updated Vim scripts for METAFONT/MetaPost

2016-10-05 Thread luigi scarso
On Wed, Oct 5, 2016 at 10:26 AM, Nicola  wrote:
> FYI:
> https://github.com/vim/vim/commit/2ec618c9feac4573b154510236ad8121c77d0eca
>
> Click on "changed files".
>
good.

Btw
http://www.guitex.org/home/meeting

-- 
luigi
___
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] Recommendations on presentations

2016-10-05 Thread Otared Kavian
Hi,

I use also MacOS and all my presentations are made with ConTeXt. The easiest 
thing to do is to take examples from simpleslides, or from the examples by Hans 
in the folder

tex/texmf-context/tex/context/modules/common

of the standalone tree, and then adapt them to your needs and your taste.

Best regards: OK

> On 5 Oct 2016, at 07:58, Jan U. Hasecke  wrote:
> 
> Hi all,
> 
> Keynote is the only software that ties me to MacOS X. I would like to
> copy some of its presentations styles to ConTeXt (MKIV).
> 
> What is the best way to do this?
> 
> I read about simpleslides and looked into the code but I am unsure
> whether I start from a simpleslides example.
> 
> Is it better to simply define the layout from scratch?
> 
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Luatex 1.0.0 announcement

2016-10-05 Thread Henning Hraban Ramm
> Version 1.0.0

Ahoi, I just saw that the LuaTeX website is a bit outdated. Would be good if 
you’d mention the current state.

Greetlings, Hraban
___
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
___