From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9693 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Line break? Date: Thu, 31 Oct 2002 11:24:19 -0500 Organization: WexfordPress Sender: ntg-context-admin@ref.ntg.nl Message-ID: <200210311124.19695.john@wexfordpress.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1036082298 23188 80.91.224.249 (31 Oct 2002 16:38:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2002 16:38:18 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 187I74-0005AX-00 for ; Thu, 31 Oct 2002 17:24:06 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id F3F5310AEB; Thu, 31 Oct 2002 17:25:22 +0100 (MET) Original-Received: from smtprelay8.dc2.adelphia.net (smtprelay8.dc2.adelphia.net [64.8.50.40]) by ref.ntg.nl (Postfix) with ESMTP id ADE9210AE1 for ; Thu, 31 Oct 2002 17:24:47 +0100 (MET) Original-Received: from publish ([68.65.115.54]) by smtprelay8.dc2.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id H4UTL101.Y10; Thu, 31 Oct 2002 11:24:37 -0500 Original-To: , ConTeXt Mailing List X-Mailer: KMail [version 1.4] In-Reply-To: Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9693 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9693 On Thursday 31 October 2002 09:22 am, mari.voipio@iki.fi wrote: > This is probably "the dumbest question of the year", but I cannot > find an answer in the manuals (beginner's and the real big one) and > the mailing archives don't want to play with me today [Forbidden. You > don't have permission to access /cgi-bin/search.cgi on this server. > Additionally, a 404 Not Found error was encountered while trying to > use an > ErrorDocument to handle the request.]. > > I badly need a working line break (comparable to the HTML tag
). > In a side note in one of the manuals I found that \\ should work as > line break, but it doesn't work for me, for example > > --- > Example: To change 4-20 mA =3D 15 - 25 CONC\% to 4-20 mA =3D 10 - 30 > CONC\%, key in the sequence\\ > Calibrate/Parameters/Output signals/Current output\\ > and then enter Zero =3D 10 and Span =3D 20. > --- > results in > --- > Example: To change 4-20 mA =3D 15 - 25 CONC% to 4-20 mA =3D 10 - 30 > CONC%, key in the sequence Calibrate/Parameters/Output > signals/Current output and then enter Zero =3D 10 and Span =3D 20. > --- > and that's not what I want. > > > I'm open to other solutions as well, but I think I'd really prefer to > have line breaks there (not least because I want to keep the code > simple - other people will need to understand this too). > > Several solutions come to mind. You can end each line with \hfil\break. \hfil is a TeX primitive. \break is a plain TeX macro which is defined as \def\break{penalty -1000} A better solution is to enclose the entire passage between \starttyping Line 1 line 2 =2E.. \stoptyping You will want to look up this command on page 98 of the big manual, as well as \setuptyping on page 99. Hope this helps. You will get several dozen responses I am sure.=20 --=20 John Culleton Able Indexers and Typesetters, Rowse Reviews, Culleton Editorial=20 Services http://wexfordpress.com