Re: [NTG-context] problem with frenchpunctuation

2008-08-29 Thread Hans Hagen
] «\type{bla}»\crlf « \type{bla}»\crlf «bla »\crlf « bla»\crlf « bla »\crlf bla: bla\crlf bla : bla \stoptext looks ok to me at the context conference we discussed regression tests (there is already a framework for that) ... so, how about you making a test file for character spacing Hans

Re: [NTG-context] inter-word spacing (initials)

2008-08-04 Thread Alan Bowen
of the length of the paragraphs). Alan On Aug 3, 2008, at 16;45,43 , Hans Hagen wrote: Alan Bowen wrote: Thanks, Hans. In my test file I now have \mainlanguage[en] \unexpanded\def\ {\mathortext\normalspaceprimitive\space} \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x

Re: [NTG-context] inter-word spacing (initials)

2008-08-03 Thread Hans Hagen
Alan Bowen wrote: I apologize to all, but circumstances oblige me to pick up a very pedestrian thread for the third time. As Peter Münster noted: in the following test-file \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X

Re: [NTG-context] inter-word spacing (initials)

2008-08-03 Thread Alan Bowen
\starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X \stoptext you see 2 bugs: - in MKIV there is no bigger space after x. - in MKII the space after x.\ is a big one The problem remains in ConTeXt ver: 2008.07.31 16

Re: [NTG-context] inter-word spacing (initials)

2008-08-03 Thread Alan Bowen
Thanks, Hans. In my test file I now have \mainlanguage[en] \unexpanded\def\ {\mathortext\normalspaceprimitive\space} \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X \stoptext Unfortunately, I do not see

Re: [NTG-context] inter-word spacing (initials)

2008-08-03 Thread Hans Hagen
Alan Bowen wrote: Thanks, Hans. In my test file I now have \mainlanguage[en] \unexpanded\def\ {\mathortext\normalspaceprimitive\space} \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X

[NTG-context] inter-word spacing (initials)

2008-08-02 Thread Alan Bowen
I apologize to all, but circumstances oblige me to pick up a very pedestrian thread for the third time. As Peter Münster noted: in the following test-file \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X

Re: [NTG-context] inter-word spacing (initials)

2008-08-02 Thread Charles P. Schaum
, but circumstances oblige me to pick up a very pedestrian thread for the third time. As Peter Münster noted: in the following test-file \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X \stoptext you

Re: [NTG-context] Indenting / small paper size / strange paragraph cutting

2008-07-27 Thread Taco Hoekwater
\setuptolerance[verytolerant, stretch] — on page 3, before « Une horloge » I can't have indentation after \crlf. I used a « \packed » command after empty line but it's not what I want. I want a new line, with indentation but not a « \par » vertical spacing. In other words, you are lying. :-) \def

Re: [NTG-context] Indenting / small paper size / strange paragraph cutting

2008-07-27 Thread Olivier Guéry
. That's because of the penalty for pages ending with a hyphen. At the page size of an ebook, you are better off with \brokenpenalty \zerocount That was it. Strange, I had to put this after « \starttext » to get it run. — on page 3, before « Une horloge » I can't have indentation after \crlf. I

[NTG-context] Indenting / small paper size / strange paragraph cutting

2008-07-26 Thread Olivier Guéry
prefer having bigger white spaces rather than this. — on page 3, before « Une horloge » I can't have indentation after \crlf. I used a « \packed » command after empty line but it's not what I want. I want a new line, with indentation but not a « \par » vertical spacing. Sorry for this 3 pages

Re: [NTG-context] Indenting / small paper size / strange paragraph cutting

2008-07-26 Thread Aditya Mahajan
this. Try \setuptolerance[verytolerant, stretch] — on page 3, before « Une horloge » I can't have indentation after \crlf. I used a « \packed » command after empty line but it's not what I want. I want a new line, with indentation but not a « \par » vertical spacing. I don't know how to get

Re: [NTG-context] inter-word spacing (initials)

2008-07-18 Thread Wolfgang Schuster
On Thu, Jul 17, 2008 at 4:53 PM, David [EMAIL PROTECTED] wrote: On Thu, 17 Jul 2008 16:01:17 +0200, Wolfgang Schuster wrote: 2008/7/17 David [EMAIL PROTECTED]: On Thu, 17 Jul 2008 07:46:21 -0400, Alan Bowen wrote: Thanks, David. I tried \starttext A. E. Samuel\crlf A.\ E.\ Samuel\crlf

Re: [NTG-context] inter-word spacing (initials)

2008-07-18 Thread Peter Münster
* word.\ word * \mainlanguage[fr] word. word - bigger space after period in english text: * \mainlanguage[en] word. word And if you consider the following test-file: \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf

Re: [NTG-context] inter-word spacing (initials)

2008-07-18 Thread Alan Bowen
consider the following test-file: \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X \stoptext you see 2 bugs: - in MKIV there is no bigger space after x. - in MKII the space after x.\ is a big one

Re: [NTG-context] inter-word spacing (initials)

2008-07-17 Thread Alan Bowen
Thanks, David. I tried \starttext A. E. Samuel\crlf A.\ E.\ Samuel\crlf A.~E.~Samuel \stoptext and can see no difference (ConTeXt ver: 2008.07.14 18:07 MKII). The tilde is not really a good way for me to go. The problem is that I publish a journal in which the bibliography is punctuated

Re: [NTG-context] inter-word spacing (initials)

2008-07-17 Thread Wolfgang Schuster
\crlf A.\ E.\ Samuel \stoptext If the is a difference here, I am having trouble seeing it; and on a typeset page, the gaps after the initials just seem too big. In general, I find that the spacing after certain characters ---e.g., )---has been increased of late. Is this in fact the case

Re: [NTG-context] inter-word spacing (initials)

2008-07-17 Thread Alan Bowen
:26 PM, Alan Bowen [EMAIL PROTECTED] wrote: I have the latest ConTeXt and am using mkii. One used to be able to reduce the spacing after an initial by by typing .\space, but this no longer seems to work. Compare the inter-word spacing in \starttext A. E. Samuel\crlf A.\ E.\ Samuel

Re: [NTG-context] inter-word spacing (initials)

2008-07-17 Thread David
On Thu, 17 Jul 2008 07:46:21 -0400, Alan Bowen wrote: Thanks, David. I tried \starttext A. E. Samuel\crlf A.\ E.\ Samuel\crlf A.~E.~Samuel \stoptext and can see no difference (ConTeXt ver: 2008.07.14 18:07 MKII). The tilde is not really a good way for me to go. The problem

Re: [NTG-context] inter-word spacing (initials)

2008-07-17 Thread Wolfgang Schuster
2008/7/17 David [EMAIL PROTECTED]: On Thu, 17 Jul 2008 07:46:21 -0400, Alan Bowen wrote: Thanks, David. I tried \starttext A. E. Samuel\crlf A.\ E.\ Samuel\crlf A.~E.~Samuel \stoptext and can see no difference (ConTeXt ver: 2008.07.14 18:07 MKII). The tilde is not really a good way

Re: [NTG-context] inter-word spacing (initials)

2008-07-17 Thread Alan Bowen
Thanks, David. I had not realized that there was a command \fixedspaces. Is it documented somewhere? The sample file \starttext \fixedspaces A. E. Samuel\crlf A.\ E.\ Samuel\crlf A.~E.~Samuel \stoptext still produces the same spacing for “A. E. Samuel” and “A.\ E.\ Samuel”. The spacing

Re: [NTG-context] inter-word spacing (initials)

2008-07-17 Thread David
On Thu, 17 Jul 2008 16:01:17 +0200, Wolfgang Schuster wrote: 2008/7/17 David [EMAIL PROTECTED]: On Thu, 17 Jul 2008 07:46:21 -0400, Alan Bowen wrote: Thanks, David. I tried \starttext A. E. Samuel\crlf A.\ E.\ Samuel\crlf A.~E.~Samuel \stoptext and can see no difference (ConTeXt

Re: [NTG-context] inter-word spacing (initials)

2008-07-16 Thread David
On Tue, 15 Jul 2008 17:30:19 -0400, Alan Bowen wrote: I have the latest ConTeXt and am using mkii. One used to be able to reduce the spacing after an initial by by typing “.\space”, but this no longer seems to work. Compare the inter-word spacing in \starttext A. E. Samuel\crlf

[NTG-context] inter-word spacing (initials)

2008-07-15 Thread Alan Bowen
I have the latest ConTeXt and am using mkii. One used to be able to reduce the spacing after an initial by by typing “.\space”, but this no longer seems to work. Compare the inter-word spacing in \starttext A. E. Samuel\crlf A.\ E.\ Samuel \stoptext If the is a difference here, I am

[NTG-context] inter-word spacing (initials)

2008-07-15 Thread Alan Bowen
I have the latest ConTeXt and am using mkii. One used to be able to reduce the spacing after an initial by by typing “.\space”, but this no longer seems to work. Compare the inter-word spacing in \starttext A. E. Samuel\crlf A.\ E.\ Samuel \stoptext If the is a difference here, I am

[NTG-context] IgnoreMarks flag is ignored in contextual chaining substitution OpenType tables

2008-07-03 Thread Khaled Hosny
,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,clig=yes, mark=yes,mkmk=yes,calt=yes, kern=yes,curs=yes] \font\Arabic = arabtype*arab at 100pt \starttext \startTEXpage \relax \setupcolors[state=start]% \textdir TRT\pardir TRT\Arabic \ تثت تَثْتَ \crlf \stopTEXpage \stoptext

Re: [NTG-context] nbsp U+00A0 don’t work

2008-06-17 Thread Olivier Guéry
be at the beginning of a line : \crlf toto titi toto titi toto titi toto titi toto titi toto titi toto titi toto titi toto titiii Test ; test : test ? test ! « test » with nbsp before punctuation \crlf toto titi toto titi toto titi toto titi toto titi toto titi toto titi toto titi toto titiii Test~; test~: test

Re: [NTG-context] frames and columns

2008-05-20 Thread Hans van der Meer
. For \startcolumns .. \stopcolumns this is not a solution: an error message about \prevdepth appears. \starttext % bare columns \leftaligned{\em simplecolumns:}\blank \startsimplecolumns[n=2] COLUMN 1\crlf COLUMN 1.1\crlf \column COLUMN 2\crlf \stopsimplecolumns \blank % this does not work

Re: [NTG-context] who eats my spaces

2008-04-29 Thread Wolfgang Schuster
punctuation in titles. Enclosing the period in braces {.} did work and is a temprorary solution but the problem need to be solved. \def\\{\nomarking{\unskip\nolist\crlf}} together with \startsectionworld[chapter][author=B. Rüssel, title=Consequences of the Brussels Declaration

Re: [NTG-context] who eats my spaces

2008-04-28 Thread Taco Hoekwater
Henning Hraban Ramm wrote: Coming back to my old thread. Here's my latest chapter setup: --- 8 --- \unprotect \resetvalue{\??sw\v!chapter} \startsetups chapter:list \def\\{{\ \nomarking{\nolist\crlf}}} I don't know who eats you spaces, but I assume you could do \def

Re: [NTG-context] who eats my spaces

2008-04-28 Thread Wolfgang Schuster
\crlf}}} I don't know who eats you spaces, but I assume you could do The period after B in the author filed eats the space, I tried the example with B Rüssel and the space is in the output. \def\\{\nomarking{\unskip\nolist\crlf}} together with \startsectionworld[chapter][author=B. Rüssel

Re: [NTG-context] who eats my spaces

2008-04-28 Thread Henning Hraban Ramm
I wrote that in titles the space after a dot ... gets eaten. (Ok, it's a full stop, maybe not a dot?) I consider this a very strange bug, can't avoid punctuation in titles. \def\\{\nomarking{\unskip\nolist\crlf}} together with \startsectionworld[chapter][author=B. Rüssel, title

Re: [NTG-context] who eats my spaces (was: chapter setup / table of contents)

2008-04-27 Thread Henning Hraban Ramm
Coming back to my old thread. Here's my latest chapter setup: --- 8 --- \unprotect \resetvalue{\??sw\v!chapter} \startsetups chapter:list \def\\{{\ \nomarking{\nolist\crlf}}} \doiftextelse{\sectionworldparameter\c!author} {\expanded{\writetolist[\v!chapter

Re: [NTG-context] chapter setup / table of contents

2008-04-16 Thread Wolfgang Schuster
={chapter:list}, author=] \def\ChapterCommand#1#2% {\vbox{\ChapterAuthor\crlf\ChapterTitle\crlf\ChapterSubTitle}} \let\ChapterAuthor\relax \let\ChapterTitle\relax \let\ChapterSubTitle\relax \protect \setuphead [chapter] [incrementnumber=no, command=\ChapterCommand, page=yes

Re: [NTG-context] chapter setup / table of contents

2008-04-15 Thread Wolfgang Schuster
\crlf\ChapterSubTitle}} \let\ChapterSubTitle\relax \protect \setuphead [chapter] [incrementnumber=no, command=\ChapterCommand] \starttext \completecontent \startsectionworld[chapter][author=Hans,text=Chapter One,subtitle=The Beginning] \startsectionworld[chapter][author=Tom,text=Chapter

Re: [NTG-context] chapter setup / table of contents

2008-04-15 Thread Henning Hraban Ramm
\sectionworldparameter\c!text}{}}} \def\ChapterSubTitle{\sectionworldparameter\c!subtitle} \stopsetups \setupsectionworld [chapter] [setups={chapter:list}, author=] \def\ChapterCommand#1#2% {\vbox{#2\crlf\ChapterSubTitle}} \let\ChapterSubTitle\relax \protect \setuphead [chapter

Re: [NTG-context] chapter setup / table of contents

2008-04-15 Thread Henning Hraban Ramm
\sectionworldparameter\c!author}} \def\ChapterTitle{{\ss\bfa\sectionworldparameter\c!text}} \def\ChapterSubTitle{{\ss\bf\sectionworldparameter\c!subtitle}} \stopsetups \setupsectionworld [chapter] [setups={chapter:list}, author=] \def\ChapterCommand#1#2% {\vbox{\ChapterAuthor\crlf

Re: [NTG-context] luatexing

2008-04-13 Thread Hans Hagen
, for instance it may expand to \par or \crlf or .. May be I do not understand this right, but I thought that '\' is luas escape character and tex.print() returns '\' not '\\'. So TeX sees no macro '\\' which could expand to whatever. it depends on where you code lives ... in a lua file

Re: [NTG-context] luatexing

2008-04-12 Thread Hans Hagen
or \crlf or .. there is a \luaescapestring primitive which catches things like quotes tex.print(\detokenize{$\sqrt{2}=} .. math.sqrt(2) .. $) may also work ok or better tex.print([[$\sqrt{2}=]] .. math.sqrt(2) .. $) but that's both not working. The following instead does the job

Re: [NTG-context] luatexing

2008-04-12 Thread Wolfgang Werners-Lucchini
it may expand to \par or \crlf or .. May be I do not understand this right, but I thought that '\' is luas escape character and tex.print() returns '\' not '\\'. So TeX sees no macro '\\' which could expand to whatever. there is a \luaescapestring primitive which catches things like quotes

Re: [NTG-context] Streams

2008-04-11 Thread Bert Trüger
\StartCouple and \StopCouple. After that , %%\Original and \Translation switches between even and odd pages. \starttext \scale[width=\textwidth,height=\textheight,factor=fit]{\ss m-streams} \page \StartCouple \Original this is an original text \crlf \input knuth %\blank[1cm] \Translation

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Olivier Guéry
Hello, new to this list, I see this first message. Is it a solution for my request (http://wiki.contextgarden.net/Feature_Requests) about french typography ? \setcharacterspacing [frenchpunctuation] Thank's a lot. It's great ! I Test it with this : Test; test: test? test! \crlf

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Wolfgang Schuster
a lot. It's great ! I Test it with this : Test; test: test? test! \crlf %english input Test : test ; test ? test ! \crlf %french input Test ; test : test ? test ! \crlf %french with nbsp Et seems that only the english input get the spacing. Don't know why but the sign « ; » of the english

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Hans Hagen
; test: test? test! \crlf %english input Test : test ; test ? test ! \crlf %french input Test ; test : test ? test ! \crlf %french with nbsp Et seems that only the english input get the spacing. Don't know why but the sign « ; » of the english input don't get the spacing. You put the value

[NTG-context] newbie ConTeXt question

2008-03-11 Thread jazz_johnson
=singlesided] \noheaderandfooterlines \setupbodyfont[cmr,12pt] \usesymbols[mvs] \setupsymbolset[martinvogel 2] \def\MyLetterhead% {%\showboxes \vbox{%\showboxes \hbox{%\showboxes \vbox{\hsize 3in \tfa Your neighborhood\crlf \scd{Company Store

Re: [NTG-context] newbie ConTeXt question

2008-03-11 Thread Wolfgang Schuster
{\hsize 3in \tfa Your neighborhood\crlf \scd{Company Store}} \lbox{\hsize 3.0in \txx \setupinterlinespace \it Our Friendly Motto} } \setupinterlinespace[line=.25ex] \hbox{ \vbox{ \setupinterlinespace[height=.5,top=.5,line=.1ex

Re: [NTG-context] internal data structure of xml files in mkiv

2008-03-05 Thread Peter Rolf
assume that that is the textual content of the top-level, that just happens to be only whitespace (backslash + 13 + backslash + nl == CRLF). It is useful to retain that, for instance when you want to round-trip an XML file after some adjustments. That makes sense. Thanks Taco! Best wishes

Re: [NTG-context] Module for svn info

2008-01-22 Thread Markus Bernhardt
. \crlf }{} ___ 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

Re: [NTG-context] Module for svn info

2008-01-21 Thread Robin Kirkham
. \crlf }{} Cheers, Robin Hi Aditya, thanks for your reply. It's a good starting point. One thing is missing in this solution. Our documents are structured into several files. Every file has an svn-version. So I want to calculate the max version. Do you know a small example where

Re: [NTG-context] Module for svn info

2008-01-21 Thread Ernesto Schirmacher
svnversion.tex ; texexec document.tex in the Makefile, and on the document front page somewhere \doiffileelse{svnversion.tex}{ Subversion revision \ignorespaces \input svnversion\relax \removeunwantedspaces . \crlf

[NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Carsten Fechtmann
case, separately and definitely. -- \IssueCounter / \getnumber[IssueNumber] \crlf } % -- -- -- -- -- -- \starttext \NewIssue[January 9, 2008] \NewIssue[January 10, 2008] \NewIssue % January 11, 2008 List of issue \# and dates: \placelistofissues \blank

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Aditya Mahajan
/ \getnumber[IssueNumber] \crlf } % -- -- -- -- -- -- \starttext \NewIssue[January 9, 2008] \NewIssue[January 10, 2008] \NewIssue % January 11, 2008 List of issue \# and dates: \placelistofissues \blank \IssueDate{\IssueCounter} % produces correct result in either case

Re: [NTG-context] nested tables?

2008-01-02 Thread Wolfgang Schuster
--1\crlf january 2008 \NC\AR \NC \tfa Something \NC \NC\AR \stoptable \starttabulate[|c|cp(3cm)|] \NC \bf ATout Choeur \NC Number 2008--1\crlf january 2008 \NC\NR \NC \tfa Something \NC \NC\NR \stoptabulate \setupTABLE[column][align=middle,frame=off] \setupTABLE[column][first][style=bold] \bTABLE

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
][name] \coupledregister[text]{text} \couplemarking[name][name] \couplepage[names][options] \couplepaper[name] \coupleregister[name] \crlf \currentdate[syntax] \currentheadnumber \date[date][syntax] \decouplemarking[name] # \decrement \define[number]\command{text} \defineblank[name][settings

Re: [NTG-context] First document — problems with bi b module and layout

2007-12-27 Thread Matija Šuklje
\crlf Pravna fakulteta \vfill}, after= { (\tip) % definiraj v dokumentu — npr. \def\tip{diplomska naloga} \vfill Avtor: \avtor % definiraj v dokumentu — npr. \def\autor{Matija Šuklje} \crlf Mentor: \mentor % definiraj v dokumentu — npr. \def\mentor{preljubi profesor} \vfill Ljubljana

Re: [NTG-context] First document — problems with bi b module and layout

2007-12-26 Thread Taco Hoekwater
=6.5em,width=4em] %%% %%% oblika poglavij ipd. %%% % zgenerira okoli naslova prvo stran na podlagi definicij iz glavnega dokumenta in datuma ob generiranju \setuphead [title] [align=middle, textstyle=\sc, style=\bfd, before={\startalignment[middle] Univerza v Ljubljani \crlf Pravna fakulteta

Re: [NTG-context] First document — problems with bi b module and layout

2007-12-26 Thread Matija Šuklje
=6.5em,width=4em] %%% %%% oblika poglavij ipd. %%% % zgenerira okoli naslova prvo stran na podlagi definicij iz glavnega dokumenta in datuma ob generiranju \setuphead [title] [align=middle, textstyle=\sc, style=\bfd, before={\startalignment[middle] Univerza v Ljubljani \crlf Pravna fakulteta

[NTG-context] First document — problems with bi b module and layout

2007-12-25 Thread Matija Šuklje
podlagi definicij iz glavnega dokumenta in datuma ob generiranju \setuphead [title] [align=middle, textstyle=\sc, style=\bfd, before={\startalignment[middle] Univerza v Ljubljani \crlf Pravna fakulteta \vfill}, after= { (\tip) % definiraj v dokumentu — npr. \def\tip{diplomska naloga} \vfill

Re: [NTG-context] Parallel texts

2007-11-20 Thread luigi scarso
\crlf \input knuth \blank[1cm] \Translation THIS IS THE TRANSLATION \crlf \input tufte \Original \ss this is an original text \crlf \input knuth \Translation \tt THIS IS THE TRANSLATION \crlf \input tufte \StopCouple \stoptext Best wishes Idris -- Professor Idris Samawi Hamid, Editor

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-31 Thread Wolfgang Schuster
2007/10/30, Taco Hoekwater [EMAIL PROTECTED]: Steffen Wolfrum wrote: But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ... Here's a trick. It is ugly, but works reasonably well. \starttext \def\CR{\crlf} \completecontent \def\CR

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-31 Thread Steffen Wolfrum
. \starttext \def\CR{\crlf} \completecontent \def\CR{ } \chapter{First line\CR second line} \stoptext Nice solution but Hans wrote a mechanism to to make two different titles for the text and the table of contents or whatever else you want. \defineselector[title][max=2,n=2

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Hans Hagen
? \crlf if i remember right -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Idris Samawi Hamid
way round: a line break at a specific point of the toc entry *and not* in the chapters title. Is this possible? \crlf if i remember right No, unfortunately not: it also breaks the line in the section's title ... There is a workaround; play with \writebetweenlist [subsubsection] {\blank

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Steffen Wolfrum
but not in the corresponding toc entry. I need it the other way round: a line break at a specific point of the toc entry *and not* in the chapters title. Is this possible? \crlf if i remember right No, unfortunately not: it also breaks the line in the section's title ... There is a workaround

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Taco Hoekwater
Steffen Wolfrum wrote: But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ... Here's a trick. It is ugly, but works reasonably well. \starttext \def\CR{\crlf} \completecontent \def\CR{ } \chapter{First line\CR second line} \stoptext

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Idris Samawi Hamid
On Tue, 30 Oct 2007 15:47:53 -0600, Taco Hoekwater [EMAIL PROTECTED] wrote: Steffen Wolfrum wrote: But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ... Here's a trick. It is ugly, but works reasonably well. \starttext \def\CR{\crlf

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Steffen Wolfrum
*and not* in the chapters title. Is this possible? \crlf if i remember right No, unfortunately not: it also breaks the line in the section's title ... Steffen ___ If your question is of interest to others as well, please add

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Steffen Wolfrum
Am 30.10.2007 um 22:47 schrieb Taco Hoekwater: Steffen Wolfrum wrote: But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ... Here's a trick. It is ugly, but works reasonably well. \starttext \def\CR{\crlf} \completecontent \def\CR

[NTG-context] System commands are disabled

2007-10-13 Thread Leo
---start-8--- \starttext \startreusableMPgraphic{return} drawarrow (0,0)-- (1EmWidth,0)-- (1EmWidth,-.5ExHeight)-- (.5EmWidth,-.5ExHeight) ; \stopreusableMPgraphic \definesymbol[return][\reuseMPgraphic{return}] \setupcolors[state=start] \def\vcrlf{\symbol[return]\crlf\strut\kern1em

[NTG-context] LuaTeX and Unicode Math

2007-10-02 Thread Mojca Miklavec
\setupbodyfont[iwona] \def\testA{(φ)} % 03c6 \def\testB{(・)} % 00b7 \def\testC{(≤)} % 2264 \starttext \testA\testB\testC\crlf $\testA\testB\testC$ \stoptext I could/should solve the problem with better handling of xml entities or with fallbacks (if φ is not present in font, use \phi etc.), but I

Re: [NTG-context] XeTeX patch

2007-09-16 Thread Andrea Valle
] {\color[lightgray]\externalfigure[vbar] [height=\paperheight,width=.05\paperwidth]} \setupbackgrounds[page][background=mybg] \startstandardmakeup \strut \vfill {\color[darkred] {\tfc Alternating from 1 to X $\to$ homage to A e B} \crlf {\tfb A photo documentation

Re: [NTG-context] cv templates

2007-09-14 Thread Andrea Valle
\define[2]\CONTACT{%\framed [frame=off,width=broad,align=right,strut=no, %offset=none,height=fit] %{% \startalignment[middle] \startContactColumns {\bf Office:}\crlf {#1

Re: [NTG-context] XeTeX after ctxtools

2007-09-14 Thread Andrea Valle
) \enableregime[utf] \setuppapersize[S6][S6] %\setupbodyfont[ss, 12pt] \definetypeface[Optima][rm][Xserif][Optima] \setupbodyfont[Optima] \starttext Here I'm working, with all you need: \crlf òîèéàùç Don't uncomment this %\startitemize %\item a malicious item %\stopitemize or this: %$\to$ \stoptext

Re: [NTG-context] cv templates

2007-09-14 Thread Bert Trüger
] %{% \startalignment[middle] \startContactColumns {\bf Office:}\crlf {#1} \ContactColumns {\bf Home:}\crlf {#2} \stopContactColumns

Re: [NTG-context] OT: typo-fun

2007-08-30 Thread Wolfgang Schuster
2007/8/30, frantisek holop [EMAIL PROTECTED]: hi there, is it possible to achieve this somehow?: http://www.smashingmagazine.com/images/404-2/book.png \starttext \startpostponing[404] \startstandardmakeup[align=left] The page\crlf cannot be found \stopstandardmakeup \stoppostponing

[NTG-context] setting up quotations

2007-08-22 Thread frantisek holop
[style=italic] \quote{I am \quotation{not} here,} he said, then he went on singing \startquotation Maybe I just want to fly\crlf I want to live I don't want to die\crlf Maybe I just want to breath\crlf Maybe I just don't believe\crlf Maybe you're the same as me\crlf We see things they'll never see

Re: [NTG-context] mkiv goes beta

2007-08-07 Thread Hans Hagen
, i don;t generate binaries myself and have to fetch them -) - luatools.lua: (e)shell output needs a crlf after the last line (prompt is printed directly after the runtime output) there is actually a if environment.platform == unix then io.write(\n) end at the end of luatools

Re: [NTG-context] mkiv goes beta

2007-08-07 Thread Peter Rolf
will happen in due time, i don;t generate binaries myself and have to fetch them -) sigh, same here. the binaries on Akira's site are up to date (only the label is wrong) - luatools.lua: (e)shell output needs a crlf after the last line (prompt is printed directly after the runtime output

Re: [NTG-context] mkiv goes beta

2007-08-06 Thread Peter Rolf
Hans Hagen schrieb: Hi, ConTeXt MKiV goes beta. no big problems on windows. only - texmfstart.exe is missing in the binaries - pdftex should be updated to 1.40.5 - luatools.lua: (e)shell output needs a crlf after the last line (prompt is printed directly after the runtime output

Re: [NTG-context] strange colorleak in definetyping[XML]

2007-07-22 Thread Hans Hagen
}, after={\stopframedcode\egroup}] \starttext Testing xml typing\crlf \startXMLBOX ?xml version=1.0 encoding=UTF-8? locationURIzip:/?filepath/to/a.zip/locationURI \stopXMLBOX This color is black as it should be. \startXMLBOX ?xml version=1.0 encoding=UTF-8? locationURIzip:/?file

[NTG-context] strange colorleak in definetyping[XML]

2007-07-19 Thread Hans van der Meer
}, after={\stopframedcode\egroup}] \starttext Testing xml typing\crlf \startXMLBOX ?xml version=1.0 encoding=UTF-8? locationURIzip:/?filepath/to/a.zip/locationURI \stopXMLBOX This color is black as it should be. \startXMLBOX ?xml version=1.0 encoding=UTF-8? locationURIzip:/?file:path/to/a.zip

[NTG-context] error in textbackground with metapost

2007-07-18 Thread Hans van der Meer
[TEST][option=JV, before={\bgroup\setupinterlinespace[line=3ex]% \testpage[1]\starttextbackground[code]}, after={\stoptextbackground\egroup}] \setupbodyfont[14pt] \starttext Testing textbackground\crlf \startTEST first line second line third line fourth line fifth

Re: [NTG-context] How to make \framed ignore the width of the rule

2007-06-07 Thread Wolfgang Schuster
]% {\let\\\crlf\bold #2}\crlf} \def\stopprotocoloheader {\egroup} \def\protocolheaderfield#1#2% {\doif{\countervalue{v!protocolheaderlength}}{\c!protocolbits} {\resetcounter{v!protocolheaderlength}\crlf}% \removeunwantedspaces \dontleavehmode \protocolfieldheader[width=#1\c

Re: [NTG-context] How to make \framed ignore the width of the rule

2007-06-07 Thread David Arnold
]% \protocolfieldheader[frame=on,width=\dimexpr\c!protocolunitsize* \c!protocolbits\relax]% {\let\\\crlf\bold #2}\crlf} \def\stopprotocoloheader {\egroup} \def\protocolheaderfield#1#2% {\doif{\countervalue{v!protocolheaderlength}}{\c!protocolbits} {\resetcounter{v!protocolheaderlength}\crlf

[NTG-context] Manual hyphenation

2007-05-23 Thread Elliot Clifton
hyphenation? At the moment I'm using: ... document-\crlf ation ... to manually create a hyphenation. Is there a better way? TIA, Elliot -- By all means break the rules, and break them beautifully, deliberately, and well. That is one of the ends for which they exist. Robert Bringhurst (1946

Re: [NTG-context] Manual hyphenation

2007-05-23 Thread Thomas A. Schmitz
would use \page and \column respectively, but what about hyphenation? At the moment I'm using: ... document-\crlf ation ... to manually create a hyphenation. Is there a better way? TIA, Elliot You mean document\-ation? Thomas

Re: [NTG-context] itemize in blocks

2007-04-05 Thread Bernd Militzer
{Aufgaben} \beginquestion \question \startitemize[a] \item Zick use: \crlf or \blank and not \par \par % This \par does not work! use \par at the end of the question Mehr Zick \stopitemize use: \par here \endquestion \stoptext % test \defineenumeration[question][location=top

Re: [NTG-context] itemize in blocks

2007-04-05 Thread Wolfgang Werners-Lucchini
\question \startitemize[a] \item Zick use: \crlf or \blank and not \par A better workaround would be \endgraf, but I think \par should work here, as it works in other situations outside the block-environment. I asked myself if this is a little bug or an error of mine. use \par

Re: [NTG-context] itemize in blocks

2007-04-05 Thread Hans Hagen
\chapter{Aufgaben} \beginquestion \question \startitemize[a] \item Zick use: \crlf or \blank and not \par A better workaround would be \endgraf, but I think \par should work here, as it works in other situations outside the block-environment. I asked myself if this is a little

[NTG-context] Semi-verbatim

2007-03-25 Thread John R. Culleton
but the spaces were not. Is there a convenient way to do this? I can preprocess the file through e.g. sed to patch in \crlf and hard spaces but this seems a bit clumsy. BTW this is text in columns. The length of every line is limited to 45 characters. -- John Culleton Able Indexing and Typesetting

Re: [NTG-context] Umlaut causes footnotline to jump

2007-03-15 Thread Hans Hagen
\hbox {O}\copy\scratchbox : \the\ht\scratchbox,\the\dp\scratchbox,\the\htdp\scratchbox\crlf \dontleavehmode\setbox\scratchbox\hbox{\O}\copy\scratchbox : \the\ht\scratchbox,\the\dp\scratchbox,\the\htdp\scratchbox\crlf line:\the\lineheight,ht:\the\strutht,dp:\the\strutdp,total:\the\htdp\strutbox

Re: [NTG-context] Umlaut causes footnotline to jump

2007-03-15 Thread Steffen Wolfrum
,\the\htdp\scratchbox\crlf \dontleavehmode\setbox\scratchbox\hbox{\O}\copy\scratchbox : \the\ht\scratchbox,\the\dp\scratchbox,\the\htdp\scratchbox\crlf line:\the\lineheight,ht:\the\strutht,dp:\the\strutdp,total:\the\htdp\strutbox\crlf \stoptext your lineheight is too small, andin this case

Re: [NTG-context] Umlaut causes footnotline to jump

2007-03-15 Thread Hans Hagen
,\the\htdp\scratchbox\crlf \dontleavehmode\setbox\scratchbox\hbox{\O}\copy\scratchbox : \the\ht\scratchbox,\the\dp\scratchbox,\the\htdp\scratchbox\crlf line:\the\lineheight,ht:\the\strutht,dp:\the\strutdp,total:\the\htdp\strutbox\crlf \stoptext your lineheight is too small, andin this case

Re: [NTG-context] breaking framed text across pages

2007-02-23 Thread Mojca Miklavec
\def\dostarthomework[#1]#2\stophomework {\bgroup \setupbackground[frame=on,rulethickness=0.7pt, corner=round,width=\textwidth] \startbackground {\bf Homework\doifsomething{#1}{: #1}}\switchtobodyfont[10pt]\crlf #2 \stopbackground \egroup} or ask someone here to extend

Re: [NTG-context] strange text/math spacing

2007-02-22 Thread Olaf Mersmann
The absolute value of \boxit{a} is positive.\crlf The absolute value of \boxit{\it a} is positive.\crlf The absolute value of \boxit{$a$} is positive.\crlf The absolute value of \boxit{b} is positive.\crlf The absolute value of \boxit{\it b} is positive.\crlf The absolute value of \boxit{$b

Re: [NTG-context] Suppressing printing of chapter head.

2007-02-15 Thread Wolfgang Schuster
what the problem is in your document, it worked in my small test file. The problem is there is no option to allow linebreaks between the floatnumber and the the floatcaption. A simple way is to write \crlf in front of every caption text or to make a copy of the macro for your document and put

[NTG-context] startframedtext changed?

2007-01-26 Thread Hans van der Meer
Earlier this could be used to put some text centered on the line: \startframedtext[middle][frame=off,background=] \type{ABCDE}\crlf \type{ABCDE} \stopframedtext Now, the middle doesn't seem to have any effect, the contents is put to the left side of the printing area. Has there been a change

Re: [NTG-context] startframedtext changed?

2007-01-26 Thread Hans van der Meer
On Jan 26, 2007, at 14:57, Hans van der Meer wrote: Earlier this could be used to put some text centered on the line: \startframedtext[middle][frame=off,background=] \type{ABCDE}\crlf \type{ABCDE} \stopframedtext Now, the middle doesn't seem to have any effect, the contents is put

Re: [NTG-context] startframedtext changed?

2007-01-26 Thread Hans van der Meer
On Jan 26, 2007, at 15:32, Hans van der Meer wrote: On Jan 26, 2007, at 14:57, Hans van der Meer wrote: Earlier this could be used to put some text centered on the line: \startframedtext[middle][frame=off,background=] \type{ABCDE}\crlf \type{ABCDE} \stopframedtext Now, the middle doesn't

[NTG-context] Para and Section marks oversize in 2007-01-23

2007-01-24 Thread Mike Bird
\starttext \P ~I Have to go back to version 2007-01-12 because\crlf \P ~these enormous paragraph and section marks make\crlf \S ~context 2007-01-23 useless for me. Where they\crlf \S ~occur together (e.g. TOC) they look like some\crlf \S ~kind of decoration and are unrecognisable. \stoptext

<    4   5   6   7   8   9   10   11   >