ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Delange <adeimantos@free.fr>
To: ntg-context@ntg.nl
Subject: Re: Interlining in a TwoColumns set
Date: Sat, 13 Aug 2016 11:32:33 +0200	[thread overview]
Message-ID: <763422be-7b2e-47f5-3e40-9af3d63c590d@free.fr> (raw)
In-Reply-To: <41d58f50-d747-3d3e-b5ed-6af506426f80@gmx.es>

Dear Pablo,

In order to understand which issues I was confronting to, I gave the 
whole stuff. I apologize if I have trespassed some rules I ought to know.

The only issue that matters is the place of the 
\setupinterlinespace[line=somenumber]command to manage the second 
column. Anyway, I'll try your sample.

Thank you very much for your help.

JP


Le 12/08/2016 à 17:21, Pablo Rodriguez a écrit :
> On 08/12/2016 03:50 PM, Jean-Pierre Delange wrote:
>> Dear List,
>>
>> In order to help somebody who wants to improve a kind presentation of
>> his own, I have set the sample below.
> Dear Jean-Pierre,
>
> we are happy to help, but samples should be minimal.
>
> Otherwise, the sample should be fixed first (to have something to play
> with).
>
> Sorrym I tried to compile your sample, but even the simple clipboard
> copy and paste adds extra blank lines to the code.
>
>> I am confronting to 2 issues :
>>
>> 1. In the second column it would be fine if one could play with the
>> interlining. But where to put this command :
>> \setupinterlinespace[line=2.8ex]}] which allow to define interlines
>> inside the 2nd column ?
> Do you want a different interline space in the second column?
>
>> 2. The Logo.svg picture (in /Images/Logo.svg within context repertory)
>> doesn't print : 'state: unknown'; is it an issue caused by a layer
>> definition ?
> You have to set it (see sample below).
>
>> % Select language
>>
>> \mainlanguage[fr]
>> \language[fr]
> \mainlanguage also selects the language for the document. The second
> command isn’t required.
>
>> % Normal A4 size paper
>>
>> \setuppapersize[A4][A4]
> Well, this is the default paper size in ConTeXt. No need to select it.
>
>> \setupcolors[state=start]
> I’d say this is not required (at least, I had to stop colors to get rid
> of them in one document).
>
>> \definelayer[logo_layer]
> [state=start] is to be added here (see
> http://wiki.contextgarden.net/Layers#State). Right after your closing
> bracket.
>
> And here you have a shorter sample:
>
>      \mainlanguage[fr]
>
>      \defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
>      \setupparagraphs[TwoColumns][1][width=200pt]
>      \setupparagraphs[TwoColumns][2]
>          [style={\setupinterlinespace[line=5ex]}]
>
>      \setupexternalfigure[location=default]
>
>      \definelayer[logo_layer][state=start]
>
>      \setlayer[logo_layer][preset=lefttop, y=.01\paperheight,
>          x=.82\paperwidth]{\externalfigure[spider][height=0.2\textwidth]}
>
>      \setupbackgrounds[page][background={logo_layer}]
>
>      \starttext
>
>      \dorecurse{5}{\startTwoColumns
>
>      \input knuth
>
>      \TwoColumns
>
>      \input tufte
>      \stopTwoColumns}
>      \stoptext
>
> Interline spacing is set in an unorthodox way (to put it fine), but
> there is no "setups" key for \setupparagraphs (or it doesn’t work).
>
> Let us know whether you find more issues.
>
> I hope it helps,
>
>
> Pablo

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

      parent reply	other threads:[~2016-08-13  9:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-11 19:42 Problems with old style figures and particular font Martin Oppegaard
2016-08-12 10:08 ` Wolfgang Schuster
2016-08-12 13:50   ` Interlining in a TwoColumns set Jean-Pierre Delange
2016-08-12 15:21     ` Pablo Rodriguez
2016-08-13  6:52       ` Wolfgang Schuster
2016-08-13 10:45         ` Jean-Pierre Delange
2016-08-14 11:47           ` Pablo Rodriguez
2016-08-14 14:06             ` Jean-Pierre Delange
2016-08-14 15:42               ` Pablo Rodriguez
2016-08-14 15:50               ` Wolfgang Schuster
2016-08-14 14:13             ` Jean-Pierre Delange
2016-08-14 15:55               ` Wolfgang Schuster
2016-08-15  8:39                 ` Jean-Pierre Delange
2016-08-15 10:16                   ` Pablo Rodriguez
2016-08-13  9:32       ` Jean-Pierre Delange [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=763422be-7b2e-47f5-3e40-9af3d63c590d@free.fr \
    --to=adeimantos@free.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).