[NTG-context] Recommendations on presentations

2016-10-04 Thread Jan U. Hasecke
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
___

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

2016-10-04 Thread Pablo Rodriguez
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
___

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

2016-10-04 Thread Jean-Pierre Delange
Thank you Massi for your help !

- Mail original -
De: "mf" 
À: ntg-context@ntg.nl
Envoyé: Lundi 3 Octobre 2016 00:47:56
Objet: Re: [NTG-context] Footnotes inside and outside a framed text

You should set the footnote text before the frame, with
\footnotetext[id]{text}.
In case you need to set more footnotes, set them in the order they will
be called in your frame (or float, like tables or formulas).

In case you define your own footnotes, use 
\setnotetext[yourfootnote][id]{text}.

\footnotetext[id]{text} is the same as
\setnotetext[footnote][id]{text}.

%% begin modified example
\defineframedtext
[MyFrame]
[before={\blank[3*big]},
 after={\blank[3*big]},
  frame=on,
  background=MyFrame,
  %width=\textwidth,
width=max,
height=fit,
style={\setupbodyfont[9pt]}]

 \starttext
 Here we place some text with a footnote\footnote{This is a first
footnote.} before the framed text in order to see how the footnotes are
printed by \ConTeXt.
 
 \input knuth

% we set the footnote text in advance
 \setnotetext[footnote][fn2]{This is a second footnote}
 \startMyFrame[Title=Attention !]
 This is a frame with no special paragraphs, 
 but a footnote\note[fn2] % we put only the footnote marker 
 inside the framed text that \ConTeXt  should print in the page footer.
 
 \input ward
 
 \stopMyFrame
 
 Here we place some text with another footnote\footnote{This is the
third footnote. Note that the second footnote in the frame is not
printed.} after the framed text in order to test how the footnotes are
printed by \ConTeXt ...
 
 \input knuth
 \stoptext
%% end modified example

Best regards,
Massi

> Dear List,
> 
> I am currently writing documents with some framed texts, sometimes
> with a few footnotes inside these framed texts. The frames are
> coloured ones using MPGraphic (but  there is no use of MPGraphic in
> the sample below). The issue is that only footnotes outside of the
> framed text are printed in the footer, using Windows 10 or Linux
> Ubuntu, with CTX current version 2016-07-01 or later. What is the way
> to print the footnote outside of the frame (alternatively, inside of
> the frame) ?
> 
> Thank you very much for your help.
> JP
> 
> See below the minimal sample :
> 
> \defineframedtext
> [MyFrame]
> [before={\blank[3*big]},
>  after={\blank[3*big]},
>   frame=on,
>   background=MyFrame,
>   %width=\textwidth,
> width=max,
> height=fit,
> style={\setupbodyfont[9pt]}]
> 
>  \starttext
>  Here we place some text with a footnote\footnote{This is a first
> footnote.} before the framed text in order to see how the footnotes
> are printed by \ConTeXt.
>  
>  \input knuth
>  \startMyFrame[Title=Attention !]
>  This is a frame with no special paragraphs, but a
> footnote\footnote{This is a second footnote} inside the framed text
> that \ConTeXt  should print in the page footer.
>  
>  \input ward
>  
>  \stopMyFrame
>  
>  Here we place some text with another footnote\footnote{This is the
> third footnote. Note that the second footnote in the frame is not
> printed.} after the framed text in order to test how the footnotes
> are printed by \ConTeXt ...
>  
>  \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/nt
> g-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
___
___
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] two questions on imposition

2016-10-04 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setuppapersize[A6,landscape]
\setupbodyfont[pagella, 12.1pt]
\starttext
\input knuth
\stoptext

I don’t get it imposed four times on a single A4 sheet:

\showframe
\setuppapersize [A6][A4, landscape]
\setuppaper[nx=2,ny=2]
\setuparranging [XY]
\setuplayout
  [backspace=0pt,
topspace=0pt,
  header=0pt,
  footer=0pt]
\starttext
\filterpages[knuth-card.pdf][1,1,1,1]
\stoptext

What am I missing here? Imposition is clearly wrong.

The second question is how can I do the whole process in a single file
using buffers.

\savebuffer might be the way to save the buffer, but how can I typeset
it to load the pages later with \filterpages?

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
___