From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66765 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Putting citations in an e-book Date: Tue, 8 Mar 2011 19:57:53 +0100 Message-ID: References: <488D7940-A71F-493E-B0EE-5A0D28BD8FE8@gmail.com> <777974AD-020D-4785-86EE-18D9682B0D25@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1210578080==" X-Trace: dough.gmane.org 1299610735 17669 80.91.229.12 (8 Mar 2011 18:58:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2011 18:58:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 08 19:58:51 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Px27P-0007fq-47 for gctc-ntg-context-518@m.gmane.org; Tue, 08 Mar 2011 19:58:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D8B07CAAB4; Tue, 8 Mar 2011 19:58:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SO-JAR9VoZHA; Tue, 8 Mar 2011 19:58:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7779CAABA; Tue, 8 Mar 2011 19:58:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 685DDCAABA for ; Tue, 8 Mar 2011 19:58:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HwRpjIojQRGn for ; Tue, 8 Mar 2011 19:58:37 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id 51F8FCAAB7 for ; Tue, 8 Mar 2011 19:58:37 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p28IwZFx009882 for ; Tue, 8 Mar 2011 19:58:35 +0100 Original-Received: by fxm5 with SMTP id 5so7307165fxm.14 for ; Tue, 08 Mar 2011 10:58:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=GMTzdRwygBqJQy7q+L3CohwsA0Z8PBAEgZTFPEPLYRE=; b=Nbt4SGfwi1/49m4bo0IglI/RIXAcjaAlZeLdGtzYCoIxBnjjD8RG2Ye1ITmgJhWUm4 9/OYy/sFyh20hr5cWY9HKME8nWrfuarS4DvrRW04h6kijTYJcYl0e1PdiiBoF/MmabhC xL2lSErXb0RZuSqFLDKGJc0VicT2aeUsUKX7c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=D9Z6P2B0JXtRbJaFTpEcDzTGShGuptHzwe6j9JSuPMnyxyhLRYOTXJWXiDS09KbRG9 HebDM4UeFv3rlgB8eN0LaTdpzdbU6wl4DERYlVQbPOHOCqq3Jod0ivN4EXB8fmFaFW20 1xJAN9B37/PkNROpDcxQ6zoHyk6CqrS5LXV8Q= Original-Received: by 10.223.95.197 with SMTP id e5mr2055784fan.31.1299610673987; Tue, 08 Mar 2011 10:57:53 -0800 (PST) Original-Received: by 10.223.117.75 with HTTP; Tue, 8 Mar 2011 10:57:53 -0800 (PST) In-Reply-To: <777974AD-020D-4785-86EE-18D9682B0D25@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0DEgGWzFf - c8f40e6af9d7 - 20110308 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:66765 Archived-At: --===============1210578080== Content-Type: multipart/alternative; boundary=00248c0ef15e91c184049dfd30c5 --00248c0ef15e91c184049dfd30c5 Content-Type: text/plain; charset=ISO-8859-1 2011/3/8 Wolfgang Schuster > \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. \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 --00248c0ef15e91c184049dfd30c5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2011/3/8 Wolfgang Schuster <= ;schuster.wolfgang@goog= lemail.com>
\define[2]\epigraph
=A0=A0{\blank=
=A0=A0 \startframedtext[middle][frame=3Doff,offset=3Dnone,width= =3Dfit,align=3Dmiddle]%
=A0=A0 \color[darkgreen]{#2}\endgraf
=A0=A0 \rightaligned{\it #1}%
=A0=A0 \stopframedtext
=A0=A0 \blank}

I want to do something like:
\epigraph{Elbert Hubbard}{
Ma= ny people fail in life, not for lack of ability or brains or even
courag= e,

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

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

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

But I was won= dering if there is a better solution?

--
Cecil Weste= rhof
--00248c0ef15e91c184049dfd30c5-- --===============1210578080== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1210578080==--