ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ramkumar KB <ramkumarkb@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Asymmetrical Column layout leads to an extra blank page (Solved!)
Date: Fri, 30 Oct 2020 23:10:26 +0800	[thread overview]
Message-ID: <CAMD5SROmL_=9kOP5r8kNkzMzNLhU821msxEd+6X7nitHRH8zAQ@mail.gmail.com> (raw)
In-Reply-To: <CAMD5SRNfp67Di3KAYHqomL0wHJ_DRUULxXk3SWuCBg0CzwKE8g@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2311 bytes --]

Hello,

I managed to resolve the issue - which turns out bcos I had 2 back2back
columnset definitions. So instead, I combined them into 1 and the result
was ok.

*Before (leads to blank page or page with symmetrical columns):*

\definecolumnset[2col][n=2, distance=3.5mm, page=no]
\setupcolumnset[2col:1][width=.65\makeupwidth]
\setupcolumnset[2col:2][width=.35\makeupwidth]

\definecolumnset[3col][n=3, page=yes]
\setupcolumnset[3col:1][width=.25\makeupwidth]
\setupcolumnset[3col:2][width=.30\makeupwidth]
\setupcolumnset[3col:3][width=.45\makeupwidth]

\startcolumnset[2col]
...
\stopcolummnset

\startcolumnset[3col]
...
\stopcolummnset

*After (gets the desired result):*

\definecolumnset[summary][nleft=2, nright=3, distance=3.5mm, page=no]
\setupcolumnset[summary:1][width=.65\makeupwidth]
\setupcolumnset[summary:2][width=.35\makeupwidth]
\setupcolumnset[summary:3][width=.25\makeupwidth]
\setupcolumnset[summary:4][width=.30\makeupwidth]
\setupcolumnset[summary:5][width=.45\makeupwidth]

\startcolumnset[summary]
...
\stopcolummnset

Best,

On Thu, Oct 29, 2020 at 7:47 PM Ramkumar KB <ramkumarkb@gmail.com> wrote:

> Hello All,
>
> I am new to this community and am really excited about the possibilities
> with ConTeXt.
>
> My question is related to the thread -
> https://www.mail-archive.com/ntg-context@ntg.nl/msg92767.html (the
> suggested solution did not work, unfortunately)
>
> After trying out various options, I am faced with these 2 (sub-optimal)
> choices -
>
>    1. Extra Blank page with Asymmetric Columns in the next page (with the
>    \subject{} uncommented)
>    2. No Blank page with Symmetric Columns (with the \subject{} commented)
>    3. page=yes / no - does not work (same outcome as above)
>
> I am not sure the role of \section or \subject in this matter (seems to be
> somehow interfering with asymmetrical columnset).
>
> \usemodule[newcolumnsets]
> ...
>
> % \subject{} \definecolumnset[soi1][n=3, distance=3mm, page=yes]
> % \definecolumnset[currency][n=3, page=yes]
> \setupcolumnset[soi1:1][width=.25\makeupwidth]
> \setupcolumnset[soi1:2][width=.30\makeupwidth]
> \setupcolumnset[soi1:3][width=.45\makeupwidth]
>
> Any tips, help or pointers would be greatly appreciated. If not for
> columnset, is there any other way to get this type of layout?
>
> Thank you,
>

[-- Attachment #1.2: Type: text/html, Size: 11846 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

      reply	other threads:[~2020-10-30 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 11:47 Asymmetrical Column layout leads to an extra blank page Ramkumar KB
2020-10-30 15:10 ` Ramkumar KB [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='CAMD5SROmL_=9kOP5r8kNkzMzNLhU821msxEd+6X7nitHRH8zAQ@mail.gmail.com' \
    --to=ramkumarkb@gmail.com \
    --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).