ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Cecil Westerhof <cldwesterhof@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Putting citations in an e-book
Date: Tue, 8 Mar 2011 19:57:53 +0100	[thread overview]
Message-ID: <AANLkTimybjuVUUuWY+fPYKOjH4K2mn3yRgMjNRy8iNAw@mail.gmail.com> (raw)
In-Reply-To: <777974AD-020D-4785-86EE-18D9682B0D25@gmail.com>


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

2011/3/8 Wolfgang Schuster <schuster.wolfgang@googlemail.com>

> \define[2]\epigraph
>   {\blank
>    \startframedtext[middle][frame=off,offset=none,width=fit,align=middle]%
>    \color[darkgreen]{#2}\endgraf
>    \rightaligned{\it #1}%
>    \stopframedtext
>    \blank}
>

I want to do something like:
\epigraph{Elbert Hubbard}{
Many people fail in life, not for lack of ability or brains or even
courage,

but simply because they have never organized their energies around a
goal.}

Because I want to have the but on the second line, with the rest of the
text. But this gives:
Runaway argument?
{ Many people fail in life, not for lack of ability or brains or even\ETC.
! Paragraph ended before \epigraph was complete.
<to be read again>
                   \par

I managed to get what I want with:
\epigraph{Elbert Hubbard}{
  Many people fail in life, not for lack of ability or brains or even
  courage,
  \blank[disable]
  but simply because they have never organized their energies around a
  goal.
}

But I was wondering if there is a better solution?

-- 
Cecil Westerhof

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

[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2011-03-08 18:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08 14:36 Cecil Westerhof
2011-03-08 15:36 ` Wolfgang Schuster
2011-03-08 16:08   ` Cecil Westerhof
2011-03-08 17:02     ` Cecil Westerhof
2011-03-08 17:25       ` Wolfgang Schuster
2011-03-08 17:41         ` Cecil Westerhof
2011-03-08 18:57         ` Cecil Westerhof [this message]
2011-03-08 19:39           ` Wolfgang Schuster
2011-03-08 19:44             ` Cecil Westerhof
2011-03-14 10:43             ` Cecil Westerhof
2011-03-08 15:37 ` Cecil Westerhof

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=AANLkTimybjuVUUuWY+fPYKOjH4K2mn3yRgMjNRy8iNAw@mail.gmail.com \
    --to=cldwesterhof@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).