Re: [NTG-context] Biblatex \crossref equivalent in bibliographies

2019-09-15 Thread Aditya Mahajan

On Wed, 4 Sep 2019, Damien Thiriet wrote:


With biblatex I was using crossref to shorten my .bib files, as can be
seen in this MWE

@periodical{DebatMem2002,
   title = {Le Débat},
   number = {122},
   langid = {french},
   date = {2002}
   }
@article{ChartiersurRicoeur2002,
   author = {Roger Chartier},
   title = {Le passé au présent},
   crossref = {DebatMem2002},
   pages = {4--11}
   }

Which keys should I use to achieve the same under ConTeXt? I found xcrossref
and percentcrossref keys "Bibliographies.  The ConTeXt way" but could'nt figure 
out
how to use them. Here is my ConTeXt MWE
as a starting point


There is the following code related to crossref in 
publ-imp-definitions.mkiv


\startxmlsetups btx:format:crossref
\cite[\btxfield{crossref}]
\stopxmlsetups

but this doesn't seem to be trigger and doesn't feel like the correct way 
to handle crossrefs.


Aditya___
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] special book layout problem in ConTeXt

2019-09-15 Thread Henning Hraban Ramm

> Am 2019-09-15 um 13:52 schrieb Wolfgang Schuster 
> :
> 
> Nicolas Mondon schrieb am 12.09.2019 um 18:55:
>> 
>> Dear ConText Hepers,
>> 
>> I'm not sure I'm writing at the good email adress, or even the good place; 
>> but sorry, I didn't find any online forum or othr hep centers, so I try. 
>> Please tell me if I have to write to someone else.
>> 
> This is the right place for your questions.
>> 
>> I'd like to edit a thesis (so, as a book), with the text only on even pages, 
>> and tables and figure only on odd pages, in front of the paragraph wich 
>> comment them. I try to do this automatically by writing the text, make a 
>> reference to the figure in the paragraph, and then the layout appears 
>> correctly...
>> 
> If the figures/tables should appear before the text you want on a even (left 
> side) page while the text would appear only on odd (right side) pages. A few 
> questions remain before a certain answer can be given, e.g. should the left 
> page be empty when there are no figures/tables for the following right page 
> and should the float appear at the same vertical position as the reference.
>> 
>> I have the impression this is possible to do in ConText, but I havn't find 
>> how yet. Is it possibel to force, in the setups, the text to be on the right 
>> pages, and the figures on the left pages?
>> 
> There is no easy solution for this yet and it also depends on your 
> requirements mentioned above. The easiest way to achieve such a layout is to 
> to increase the paper width to twice the normal layout and use the left half 
> for a very big margin area where you can place the tables/graphics.
> 
> In a first step you create a normal document with this unusual layout. 
> Afterwards you split each page in half and create two separate pages from one 
> single page which can be done with a loop (can be done theoretically with the 
> imposition mechanism but a separate document is easier).

Wouldn’t it make sense to use streams 
(https://wiki.contextgarden.net/Columns#Streams)?


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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] special book layout problem in ConTeXt

2019-09-15 Thread Wolfgang Schuster

Nicolas Mondon schrieb am 12.09.2019 um 18:55:


Dear ConText Hepers,

I'm not sure I'm writing at the good email adress, or even the good 
place; but sorry, I didn't find any online forum or othr hep centers, 
so I try. Please tell me if I have to write to someone else.



This is the right place for your questions.


I'd like to edit a thesis (so, as a book), with the text only on even 
pages, and tables and figure only on odd pages, in front of the 
paragraph wich comment them. I try to do this automatically by writing 
the text, make a reference to the figure in the paragraph, and then 
the layout appears correctly...


If the figures/tables should appear before the text you want on a even 
(left side) page while the text would appear only on odd (right side) 
pages. A few questions remain before a certain answer can be given, e.g. 
should the left page be empty when there are no figures/tables for the 
following right page and should the float appear at the same vertical 
position as the reference.


I have the impression this is possible to do in ConText, but I havn't 
find how yet. Is it possibel to force, in the setups, the text to be 
on the right pages, and the figures on the left pages?


There is no easy solution for this yet and it also depends on your 
requirements mentioned above. The easiest way to achieve such a layout 
is to to increase the paper width to twice the normal layout and use the 
left half for a very big margin area where you can place the 
tables/graphics.


In a first step you create a normal document with this unusual layout. 
Afterwards you split each page in half and create two separate pages 
from one single page which can be done with a loop (can be done 
theoretically with the imposition mechanism but a separate document is 
easier).


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] Sidefloats inside framed

2019-09-15 Thread Wolfgang Schuster

Henri Menke schrieb am 15.09.2019 um 05:05:

Dear list,

Is there a way to get sidefloats working inside a frame?  I'm currently
designing a conference poster and I'm manually placing blocks using
\setlayerframed where inside those blocks I'd like to have sidefloats.  MWE is
below.

Cheers, Henri

---

\starttext

\startplacefigure[location={none,right}]
   \externalfigure[cow][width=.5\hsize]
\stopplacefigure
\samplefile{lorem}

\startframed
   [height=20\lineheight,
width=\hsize,
offset=0pt,
align=width]
   \startplacefigure[location={none,right}]
 \externalfigure[cow][width=.5\hsize]
   \stopplacefigure
   \samplefile{lorem}
\stopframed

\stoptext

\starttext

\startframed[align={width,tolerant},width=max,lines=20,offset=0pt]
    \starthanging{\externalfigure[dummy][width=.5\hsize]}
    \samplefile{lorem}
    \stophanging
\stopframed

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