ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Culleton <John@wexfordpress.com>
To: ntg-context@ntg.nl
Subject: Re: Problem with framed text.--addendum
Date: Wed, 25 Feb 2015 07:27:05 -0500	[thread overview]
Message-ID: <20150225072705.774d93c0@localb.wexfordpress.net> (raw)
In-Reply-To: <20150222125605.51996c73@localb.wexfordpress.net>

On Sun, 22 Feb 2015 12:56:05 -0500
John Culleton <John@wexfordpress.com> wrote:

> On Sun, 22 Feb 2015 15:57:48 +0100
> Pablo Rodriguez <oinos@gmx.es> wrote:
> 
> > On 02/22/2015 01:55 PM, John Culleton wrote:
> > > On Sat, 21 Feb 2015 14:16:31 -0500 Aditya
> > > Mahajan wrote:
> > >> [...]
> > >> There should be a comma after 0.1.
> > > 
> > > With respect, I don't think so. Commas
> > > separate parameters. the last "0.1" is
> > > properly followed by a "]".
> > 
> > Hi John,
> > 
> > this should work:
> > 
> > \setupframed[framecorner=round,
> > frameradius=0.1em,
> > background=screen,
> > backgroundscreen=0.70,
> > backgroundcorner=round,
> > backgroundradius=0.1em,
> > corner=round,
> > radius=0.1em]
> > 
> > Radius, framedradius and backgroundradius
> > expect dimensions as values, not mere numbers.
> > 
> > BTW, having a sample that shows the problem
> > increases the reply speed :-).
> > 
> > I hope it helps,
> > 
> > 
> > Pablo
> You had the cure.

I put commands like the one under discussion in a
separate file called "macros.tex" which is hte
first file called in my standard "book.tex"
top level file.
For some reason it didn't work. So I copied it to
just before my first text frame in the
'chapter01.tex' file. Then it worked for that
frame and subsequent instances.

Here is my book.tex file as used in my current
project:

\input variables.tex
\input macros.tex
\input fonts.tex
\starttext
%\showlayout
\startfrontmatter
\input half.tex
\input title.tex
\input contents.tex
\stopfrontmatter
\startbodymatter
%\input sample3.tex
\input body.tex
\stopbodymatter
\stoptext

I will add more calls later for acknowledgements,
appendices etc. all in separate subfiles.
\body.tex is a subfile that calls the individual 
chapter subsubfiles.

Variables.tex contains the definitions of title,
subtitle, author, publisher, ISBN etc.

John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!
___________________________________________________________________________________
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:[~2015-02-25 12:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-21 17:35 Problem with framed text John Culleton
2015-02-21 19:16 ` Aditya Mahajan
2015-02-22 12:55   ` John Culleton
2015-02-22 14:57     ` Pablo Rodriguez
2015-02-22 17:56       ` John Culleton
2015-02-22 19:52         ` Wolfgang Schuster
2015-02-25 12:27         ` John Culleton [this message]
2015-02-22 15:04     ` Alan BRASLAU

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=20150225072705.774d93c0@localb.wexfordpress.net \
    --to=john@wexfordpress.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).