From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51737 Path: news.gmane.org!not-for-mail From: Vafa Khalighi Newsgroups: gmane.comp.tex.context Subject: Re: How to prevent empty page after MPpage? Date: Mon, 13 Jul 2009 16:18:25 +1000 Message-ID: <605202f20907122318s6d2ba3f5ga571d7c21abde75c@mail.gmail.com> References: <6faad9f00907120902h6d5756f5nb0152a91710183e9@mail.gmail.com> <4A5A4B72.1060308@wxs.nl> <6faad9f00907121349r46670272o79f50d994dc4781a@mail.gmail.com> <6faad9f00907121419m1e9f0acw3673939c70a41977@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2031074695==" X-Trace: ger.gmane.org 1247465986 27775 80.91.229.12 (13 Jul 2009 06:19:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2009 06:19:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 13 08:19:39 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MQEt1-000327-CS for gctc-ntg-context-518@m.gmane.org; Mon, 13 Jul 2009 08:19:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AD2471FA41; Mon, 13 Jul 2009 08:19:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10776-04; Mon, 13 Jul 2009 08:18:52 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A4EA41FA4C; Mon, 13 Jul 2009 08:18:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8F8331FA4C for ; Mon, 13 Jul 2009 08:18:50 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10773-03 for ; Mon, 13 Jul 2009 08:18:28 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by ronja.ntg.nl (Postfix) with ESMTP id F2B621FA2B for ; Mon, 13 Jul 2009 08:18:27 +0200 (CEST) Original-Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.149]) by filter2-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n6D6IQJU010104 for ; Mon, 13 Jul 2009 08:18:27 +0200 Original-Received: by qw-out-1920.google.com with SMTP id 14so730224qwa.38 for ; Sun, 12 Jul 2009 23:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=P4gbucyIYCE7UJzS+vqWvfweU6g/dGn7mYcyqPW2yzM=; b=cM3lX7hjUVANsWiXJjQyrYwZwfEBHFUsqdXtmSUZhnw1jS0Zb7AUYkCuU99ZHYGvsO LdibfnoXRpijT0T4m77nO9H3TZ44k4Lju3brrujboGjp1w4PQDoi/RacNX0Gj8EeXd26 JMgVPLdIjIcAPUaK3UTluXGVWemxpWEo+kxuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=vhO6wAlOJpKF96DNPis1rTOxZa4eI0IcW/4i7Yx0VcR2LI7f/p44YOOKwEc6Lw7UO2 c7FLtdWtPgm1DkeL+zhE6Db7vwOarXGtmCUFYSC2y4vuVoNU8+pjwnAVSOxIFCQoO1if 6lSVbx46kQyDUbC6+0AECrnJyFD/I3DbyqdbI= Original-Received: by 10.224.28.133 with SMTP id m5mr2697768qac.61.1247465905865; Sun, 12 Jul 2009 23:18:25 -0700 (PDT) In-Reply-To: <6faad9f00907121419m1e9f0acw3673939c70a41977@mail.gmail.com> X-Google-Sender-Auth: 4e97723e0dd3a45d X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.92.149; 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: 259761310 - 2bfe8087a0ba - 20090713 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51737 Archived-At: --===============2031074695== Content-Type: multipart/alternative; boundary=0015175cb5f83044ea046e904a6a --0015175cb5f83044ea046e904a6a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > > > Thanks a lot!!! The magic apparently works. I don't understand what > exactly the "obeylines" macro does (it seems that it just makes sure > that none of line endings get lost, not even inside definition > itself). > > sometimes when you typeset a piece of text like poems, you actually want to go to the next line, so one solution would be to put a \par at the end of each line but if there are too much of these lines, then you will get sick of typing \par at the end of each line and so there is a CS namely \obeylines that does this automatically. Lets look at one example: I am a Plain \TeX\ user,\par and you are a Con\TeX t User,\par There are other people who use La\TeX,\par but we all are \TeX\ users. {\obeylines I am a Plain \TeX\ user, and you are a Con\TeX t user. There are other people who use La\TeX, but we all are \TeX\ users.} See in the above one, whenever I wanted to end the line and go to the next line, I had to put a \par, but in the second one I just put \obeylines which is the same that means ecah end of my lines will be treated like a \par. --0015175cb5f83044ea046e904a6a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



Thanks a lot!!! The magic apparently works. I don't understand wh= at
exactly the "obeylines" macro does (it seems that it just makes s= ure
that none of line endings get lost, not even inside definition
itself).



sometimes when you typeset a piece of text like = poems, you actually want to go to the next line, so one solution would be t= o put a \par at the end of each line but if there are too much of these lin= es, then you will get sick of typing \par at the end of each line and so th= ere is a CS namely \obeylines that does this automatically. Lets look at on= e example:

I am a Plain \TeX\ user,\par
and you are a Con\TeX t User,\par
Th= ere are other people who use La\TeX,\par
but we all are \TeX\ users.
=
{\obeylines
I am a Plain \TeX\ user,
and you are a Con\TeX t user= .
There are other people who use La\TeX,
but we all are \TeX\ users.}
<= br>See in the above one, whenever I wanted to end the line and go to the ne= xt line, I had to put a \par, but in the second one I just put \obeylines w= hich is the same that means ecah end of my lines will be treated like a \pa= r.

--0015175cb5f83044ea046e904a6a-- --===============2031074695== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2031074695==--