Re: [NTG-context] columnset and placefigure

2016-08-19 Thread Hans Hagen

On 8/19/2016 7:38 PM, Henri Menke wrote:

Bump

On 07/20/2016 11:24 AM, Henri Menke wrote:

Dear list,

I'm using columnsets to typeset stuff for a conference poster.  I can't
use paragraphs or columns, because these do not allow to set frames or
backgrounds.  Currently I do not use the column-spanning features, but I
might in the future.

The thing is, when I place a figure using `\placefigure` and the column
distance is too large (i.e. the columns too narrow), the figure is not
placed on spot but flushed to the next page.  I'm unsure what the exact
value for this threshold is and based on which criteria the figure is
flushed.  While this is not a problem in a normal document, it is for
sure for a poster (I have not seen any multi-page posters yet).

Please find below an example to illustrate my problem (with version
2016.05.17 19:20 from TL2016).

Cheers, Henri

---

\definecolumnset[threecolumn][n=3]
\startmode[bug]
  \setupcolumnset[threecolumn][each][distance=3cm,frame=on]
\stopmode
\startnotmode[bug]
  \setupcolumnset[threecolumn][each][distance=2.999cm,frame=on]
\stopnotmode
\setupcolumnset[threecolumn][1][distance=0pt]

\starttext

\startcolumnset[threecolumn]
  \placefigure[force,here]{}{\externalfigure[cow][width=\textwidth]}
\column
\stopcolumnset

\stoptext


best do your experiments with the new column sets (put this on top of 
your file for now:


\input page-cst.mkiv



--

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

Re: [NTG-context] columnset and placefigure

2016-08-19 Thread Henri Menke
Bump

On 07/20/2016 11:24 AM, Henri Menke wrote:
> Dear list,
> 
> I'm using columnsets to typeset stuff for a conference poster.  I can't
> use paragraphs or columns, because these do not allow to set frames or
> backgrounds.  Currently I do not use the column-spanning features, but I
> might in the future.
> 
> The thing is, when I place a figure using `\placefigure` and the column
> distance is too large (i.e. the columns too narrow), the figure is not
> placed on spot but flushed to the next page.  I'm unsure what the exact
> value for this threshold is and based on which criteria the figure is
> flushed.  While this is not a problem in a normal document, it is for
> sure for a poster (I have not seen any multi-page posters yet).
> 
> Please find below an example to illustrate my problem (with version
> 2016.05.17 19:20 from TL2016).
> 
> Cheers, Henri
> 
> ---
> 
> \definecolumnset[threecolumn][n=3]
> \startmode[bug]
>   \setupcolumnset[threecolumn][each][distance=3cm,frame=on]
> \stopmode
> \startnotmode[bug]
>   \setupcolumnset[threecolumn][each][distance=2.999cm,frame=on]
> \stopnotmode
> \setupcolumnset[threecolumn][1][distance=0pt]
> 
> \starttext
> 
> \startcolumnset[threecolumn]
>   \placefigure[force,here]{}{\externalfigure[cow][width=\textwidth]}
> \column
> \stopcolumnset
> 
> \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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] caption in margin

2016-08-19 Thread eidenbenz
I want to place the caption of floats in the margin. 
I thought the locationparameter of setupcaption can be used to do this. 
But it doesnt work.

What am I missing? Thanks Michael


\useMPlibrary[dum]

\starttext

\showframe

\setupcaption [figure][]
\placefloat[][]{default}{\externalfigure[dummy][]}

\setupcaption [figure][location=inner]
\placefloat[][]{inner}{\externalfigure[dummy][]}

\setupcaption [figure][location=outer]
\placefloat[][]{outer}{\externalfigure[dummy][]}

\setupcaption [figure][location=innermargin]
\placefloat[][]{innermargin}{\externalfigure[dummy][]}

\setupcaption [figure][location=outermargin]
\placefloat[][]{outermargin}{\externalfigure[dummy][]}

\setupcaption [figure][location=leftmargin]
\placefloat[][]{leftmargin}{\externalfigure[dummy][]}

\setupcaption [figure][location=rightmargin]
\placefloat[][]{rightmargin}{\externalfigure[dummy][]}

\setupcaption [figure][location=lefthanging]
\placefloat[][]{lefthanging}{\externalfigure[dummy][]}

\setupcaption [figure][location=righthanging]
\placefloat[][]{righthanging}{\externalfigure[dummy][]}

\setupcaption [figure][location=hang]
\placefloat[][]{hang}{\externalfigure[dummy][]}

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

Re: [NTG-context] Me once again, a little bit trouble here

2016-08-19 Thread eidenbenz
because you have method=dataset and your dataset is biblio.buffer for both 
renderings.

this should work:


\startbuffer[biblio]
@book{ErikssonBaaz2005,
  author ={Eriksson, Maria}
  title = {The Paternalism of Partnership. A Postcolonial Reader of Identity in 
Development Aid.},
  year = {2005},
}
@electronic{Truman1949,
  author = {Truman, Harry},
  title = {Inaugural Address},
  year = {1949},
  note = {Letzter Zugriff: 10.07.2013},
  url = {http:// www.presidency.ucsb.edu/ws/?pid=13282},
}
\stopbuffer

\usebtxdataset[allgemeine][biblio.buffer]
\usebtxdataset[ich][biblio.buffer]
\usebtxdefinitions[apa]
\definebtxrendering[allgemeine][apa][dataset=allgemeine]
\definebtxrendering[ich][apa][dataset=ich]
\setupbtxrendering[continue =yes]

\starttext
\startchapter[title={Einleitung:"Entwicklung" Behindern?}]
\startnarrower[left, right]
\en More than half the people of the world are living in conditions approaching 
misery. Their food is inadequate. They are victims of disease. Their economic 
life is primitive and stagnant. Their poverty is a handicap and a threat both 
to them and to more prosperous areas. For the first time in history, humanity 
possesses the knowledge and the skill to relieve the suffering of these 
people[...] I believe that we should make available to peace-loving peoples the 
benefit of our store of technical knowledge in order to help them realize their 
aspirations for a better 
life.\footnote{\cite[alternative=entry][allgemeine::Truman1949]}
\stopnarrower
Das vorangestellte Zitat der Amtsantrittsrede des 33. US-amerikanischen 
Präsidenten Harry S. Truman vom 20. Januar 1949 wird innerhalb der sich als 
kritisch verstehenden Entwicklungsforschung häufig als Beginn des modernen 
Entwicklungsdiskurses diskutiert, in der sich eine neue Diskursordnung im 
Sprechen und Denken über den globalen Süden 
formiert.\footnote{\cite[alternative=entry][ich::ErikssonBaaz2005]}
\stopchapter

\starttext
\startbackmatter
  \startchapter[title={Bibliography}]
\startsection[title={Allgemeine Literatur}]
\placelistofpublications[allgemeine][method=local]
\stopsection
\startsection[title={Ich}]
\placelistofpublications[ich][method=local]
\stopsection
 \stopchapter
\stopbackmatter
\stoptext 


> On 19 Aug 2016, at 15:07, Ursula Hermann  wrote:
> 
> Hallo Alan, and list!
>  
> Maybe someone has seen, what correspondence Henri Menke and i had. 
>  
> Now I have the following trouble:
>  
> As you can see, I have two sections in the backmatter. I did, like Henri 
> wrote to me, but I have two authors, which should be in two different 
> sections: Truman in the first section: Allgemeine Literatur 
> and Eriksson in an second section : Ich. 
>  
> Why are the titles in two sections? I’am sorry for the long text, but so you 
> can understand, what I mean. 
> Example: 
>  
> \startbuffer[biblio]
> @book{ErikssonBaaz2005,
>   author ={Eriksson, Maria}
>   title = {The Paternalism of Partnership. A Postcolonial Reader of Identity 
> in Development Aid.},
>   year = {2005},
> }
> @electronic{Truman1949,
>   author = {Truman, Harry},
>   title = {Inaugural Address},
>   year = {1949},
>   note = {Letzter Zugriff: 10.07.2013},
>   url = {http:// www.presidency.ucsb.edu/ws/?pid=13282 
> },
> }
> \stopbuffer
>  
> \usebtxdataset[eriksson][biblio.buffer]
> \usebtxdataset[truman][biblio.buffer]
> \usebtxdefinitions[apa]
> \definebtxrendering[eriksson][apa][dataset=eriksson]
> \definebtxrendering[truman][apa][dataset=truman]
> \setupbtxrendering[continue =yes]
> \starttext
> \startchapter[title={Einleitung:"Entwicklung" Behindern?}]
> \startnarrower[left, right]
> \en More than half the people of the world are living in conditions 
> approaching misery. Their food is inadequate. They are victims of disease. 
> Their economic life is primitive and stagnant. Their poverty is a handicap 
> and a threat both to them and to more prosperous areas. For the first time in 
> history, humanity possesses the knowledge and the skill to relieve the 
> suffering of these people[...] I believe that we should make available to 
> peace-loving peoples the benefit of our store of technical knowledge in order 
> to help them realize their aspirations for a better 
> life.\footnote{\cite[alternative=entry][eriksson::Truman1949]}
> \stopnarrower
> Das vorangestellte Zitat der Amtsantrittsrede des 33. US-amerikanischen 
> Präsidenten Harry S. Truman vom 20. Januar 1949 wird innerhalb der sich als 
> kritisch verstehenden Entwicklungsforschung häufig als Beginn des modernen 
> Entwicklungsdiskurses diskutiert, in der sich eine neue Diskursordnung im 
> Sprechen und Denken über den globalen Süden 
> formiert.\footnote{\cite[alternative=entry][eriksson::ErikssonBaaz2005]}
> \stopchapter
>  
> \starttext
> \startbackmatter
>   \startchapter[title={Bibliography}]
> \startsection[title={Allgemeine Literatur}]
>  

[NTG-context] Me once again, a little bit trouble here

2016-08-19 Thread Ursula Hermann
Hallo Alan, and list!

 

Maybe someone has seen, what correspondence Henri Menke and i had. 

 

Now I have the following trouble:

 

As you can see, I have two sections in the backmatter. I did, like Henri
wrote to me, but I have two authors, which should be in two different
sections: Truman in the first section: Allgemeine Literatur 

and Eriksson in an second section : Ich. 

 

Why are the titles in two sections? I’am sorry for the long text, but so you
can understand, what I mean. 

Example: 

 

\startbuffer[biblio]

@book{ErikssonBaaz2005,

  author ={Eriksson, Maria}

  title = {The Paternalism of Partnership. A Postcolonial Reader of Identity
in Development Aid.},

  year = {2005},

}

@electronic{Truman1949,

  author = {Truman, Harry},

  title = {Inaugural Address},

  year = {1949},

  note = {Letzter Zugriff: 10.07.2013},

  url = {http:// www.presidency.ucsb.edu/ws/?pid=13282},

}

\stopbuffer

 

\usebtxdataset[eriksson][biblio.buffer]

\usebtxdataset[truman][biblio.buffer]

\usebtxdefinitions[apa]

\definebtxrendering[eriksson][apa][dataset=eriksson]

\definebtxrendering[truman][apa][dataset=truman]

\setupbtxrendering[continue =yes]

\starttext

\startchapter[title={Einleitung:"Entwicklung" Behindern?}]

\startnarrower[left, right]

\en More than half the people of the world are living in conditions
approaching misery. Their food is inadequate. They are victims of disease.
Their economic life is primitive and stagnant. Their poverty is a handicap
and a threat both to them and to more prosperous areas. For the first time
in history, humanity possesses the knowledge and the skill to relieve the
suffering of these people[...] I believe that we should make available to
peace-loving peoples the benefit of our store of technical knowledge in
order to help them realize their aspirations for a better
life.\footnote{\cite[alternative=entry][eriksson::Truman1949]}

\stopnarrower

Das vorangestellte Zitat der Amtsantrittsrede des 33. US-amerikanischen
Präsidenten Harry S. Truman vom 20. Januar 1949 wird innerhalb der sich als
kritisch verstehenden Entwicklungsforschung häufig als Beginn des modernen
Entwicklungsdiskurses diskutiert, in der sich eine neue Diskursordnung im
Sprechen und Denken über den globalen Süden
formiert.\footnote{\cite[alternative=entry][eriksson::ErikssonBaaz2005]}

\stopchapter

 

\starttext

\startbackmatter

  \startchapter[title={Bibliography}]

\startsection[title={Allgemeine Literatur}]

\placelistofpublications[truman][method=dataset]

\stopsection

\startsection[title={Ich}]

\placelistofpublications[eriksson][method=dataset]

\stopsection

 \stopchapter

\stopbackmatter

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