Re: [NTG-context] Aleph queries

2006-06-23 Thread Duncan Hothersall
A trick (?) is to change the separator such that the number parsing in the otp see separate numbers as well: \setupcaptions[separator={{.}}] \setupheads [separator={{.}}] \setupcaptions[separator={{.}}] this still gives problems with refering to a graphic but for that we need more

Re: [NTG-context] Aleph queries

2006-06-23 Thread Duncan Hothersall
\setupheads [separator={{.}}] \setupcaptions[separator={{.}}] this still gives problems with refering to a graphic but for that we need more hackery Also, probably because it uses the same cross-referencing mechanism, this leaves the section numbers in tables of contents the other way

Re: [NTG-context] Aleph queries

2006-06-22 Thread Duncan Hothersall
Idris wrote: I doubt it, but something along these lines should do it: == % tex=aleph output=dvipdfmx \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \hoffset=0pt % bug \starttext \chapter{Cow} \section{Dutch Cow} \placefigure [middle] [fig:cow] {This is an

Re: [NTG-context] Aleph queries

2006-06-21 Thread Duncan Hothersall
Idris Samawi Hamid (15/06/2006 17:28) said: You could edit the cuni2oar otp (and recompile it) so that it ignores the ligatures you don't like, or you could put a kashidah between the two letters whose ligature you want to break. Better is to define an empty kashidah so that you can manually

Re: [NTG-context] Aleph queries

2006-06-21 Thread Duncan Hothersall
Am following this up via another route to try to better understand what to do, but if you really did want a reminder about this - here it is :-) Well, I don't know which ligatures the proofreader liked/did not like so... Sorry, I realise that was a bit stupid of me... Thanks for your

[NTG-context] Aleph queries

2006-06-15 Thread Duncan Hothersall
Hello all (especially Idris :-) ) Using the fantastic resources from Idris' messages on this list, and the Aleph page on the Wiki, I have managed to start producing Arabic PDF output directly from UTF-8 sources using Aleph and dvipdfmx. This is great, thanks so much. I have just one or two

Re: [NTG-context] register ranges

2006-02-23 Thread Duncan Hothersall
\startregister[index]{Menippean} \stopregister[index] and it works. However, when I try to replace [index] with my own key (because I have overlapping ranges) \startregister[satire]{Menippean} \stopregister[satire] I get errors: ... Hi Thomas. The first [...] in the \startregister

[NTG-context] Degrading TABLE column

2005-12-19 Thread Duncan Hothersall
I'm trying to solve a problem with a TABLE in a large-ish (600 page) book. The table occurs in an appendix, and the contents of one column are spilling out into the next column on the right. The weird thing is that when I process just that bit of the book, the effect is much smaller, and when I

Re: [NTG-context] Index entries messing up page breaks

2005-12-14 Thread Duncan Hothersall
Hans wrote: can you try (test extensively): \def\dodoregister[#1]#2#3% {\dogotopar{\dontleavehmode\doprocesspageregister[#1]{#2}{#3}}} Well, it has some problems, introducing vertical space in certain circumstances. Will try to work up a minimal, but two observations: 1. The extra

[NTG-context] Re: Chinese

2005-12-13 Thread Duncan Hothersall
Hans wrote: chinese is not yet defined in utf so if you want that, we need to do it ... assuming this, how about making a set of tfm,enc,map files that match the unicode positions (volunteers ...) I'm very willing to help, especially if there is some drudge work involved in constructing the

[NTG-context] Index entries messing up page breaks

2005-12-13 Thread Duncan Hothersall
The manual suggests that you can put index calls between a \section heading and its first paragraph without worry, but for me it breaks the page-breaking mechanism, allowing the section title to end up at the bottom of a page like this: \starttext \section{Tufte} \dorecurse{4}{\input tufte \par}

Re: [NTG-context] Index entries messing up page breaks

2005-12-13 Thread Duncan Hothersall
I said: Is there any workaround/fix? I find that the addition of \dontleavehmode fixes it. Is this safe to use in general? \starttext \section{Tufte} \dorecurse{4}{\input tufte \par} \section{Knuth} \dontleavehmode\index{knuth} \input knuth \par \stoptext Thanks, Duncan

Re: [NTG-context] Chinese

2005-12-09 Thread Duncan Hothersall
Tobias Burnus asks: What would be needed to get UTF-8 input running with Chinese? If there is a recipe, I would like to help cook it. Getting UTF-8 input running with Chinese would be a godsend to me too. Duncan ___ ntg-context mailing list

Re: [NTG-context] Linux binaries

2005-11-28 Thread Duncan Hothersall
Hans wrote: yes, you can use the old binaries, no problem; hm, a copy of previous binaries ... i can make a zip of an old tree That would be great, thanks! Thanks Taco for the suggestions, I was exploring both of those in parallel to hoping that someone had kept a copy of the old ones..

Re: [NTG-context] Index

2005-11-14 Thread Duncan Hothersall
Hans, many thanks for the recent fixes on index sorting in the new ruby scripts. Can I offer another test file in which some errors still show up, in the hope that these too can be ironed out? The following shows two problems, culled from a much bigger project. It should be clear from the output

[NTG-context] Re: Mini-survey: What do you do with ConTeXt?

2005-11-04 Thread Duncan Hothersall
What do you do with ConTeXT? I have a repository of learning materials which are marked up in (DocBook-based) XML. They are in a few different languages (majority English, with Spanish, Dutch and recently Chinese) and belong to several different universities/training organisations on whose

Re: [NTG-context] Chinese in utf-8

2005-10-17 Thread Duncan Hothersall
Lutz Haseloff said: i prepared a small perl script to convert chinese utf-8 encoded tex-files to gbk coded tex-files. Thanks so much, I look forward to trying it out next week when I get back to work, and will let you know how I get on. Thanks for taking the time. Duncan

Re: [NTG-context] Chinese in utf-8

2005-10-14 Thread Duncan Hothersall
(beware, the font-chi modules talk about unicode while actually it's about dedicated mapings resembling a unicode approach; this \defineucharmapping stuff) Yes indeed, that had me going... :-) Oh well. Thanks for the insight, I'll feedback further. I have to say I'm unable to make any sense

[NTG-context] Re: MathML: Please ignore mo#x02061;/mo

2005-10-13 Thread Duncan Hothersall
Salvete, I just started to think about using ConTeXt on XML input files, so I've got a question which should be easy to answer: My MathML source generates presentation code which includes mo#x02061;/mo between a function symbol and its arguments. I get a black rectangle for that; I'd

Re: [NTG-context] Chinese in utf-8

2005-10-12 Thread Duncan Hothersall
Hans wrote: that's tricky. the utf handler assumes named glyphs and noone named the 5000 chinese ones so far ... some variant on: ... \startunicodevector chinese_unicode_page_number_1 getglyph\endcsname{ChineseFont1}{#1}\gobbleoneargument \stopunicodevector so, then you only need to

[NTG-context] Chinese in utf-8

2005-10-10 Thread Duncan Hothersall
Hi all. I have ConTeXt set up to output Chinese using usemodule[chinese], all fonts, encodings and maps are installed and the sample file works well. Now I have a whole load of Chinese text in utf-8 encoding. Can ConTeXt process this, or do I have to convert it to another encoding? I tried

[NTG-context] PDF v1.6 inclusion

2005-10-06 Thread Duncan Hothersall
Hi. I'm trying to include some PDF files generated by Acrobat 7, which means they are PDF v1.6. ConTeXt (recent distribution, on linux) complains that PDF version 1.6: Xpdf only supports 1.5. I thought that maybe I could switch to using Ghostscript instead of Xpdf-tools to process the files, in

Re: [NTG-context] Elided page numbers in registers

2005-10-06 Thread Duncan Hothersall
On 31 Aug I wrote: I have page ranges in my index, such as 1/1-1/3, or 2/24-2/26. I would like these ranges to be elided - in other words, the first one would read 1/1-3 (remove repeated chapter number), and the second would read 2/24-6 (remove repeated chapter number and also the repeated

Re: [NTG-context] PDF v1.6 inclusion

2005-10-06 Thread Duncan Hothersall
just ignore the message; a new version of pdftex will support the latest pdf, and in most cases new features are just more entri4e sin dictionaries; i can imagine that it affects pdftops but not pdf inclusion because that's mostly copying and object reference tracking. Do you get faulty files?

Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-28 Thread Duncan Hothersall
No need for rtf. That would loose lots of information anyway, wouldn't it? RTF can capture everything that .doc can (MS update it every time they rev the .doc format), and it has the advantage that it is defined in a spec with a grammar, which means that importing routines (like the one in

Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-27 Thread Duncan Hothersall
Slightly OT, sorry: OpenOffice.org does allow you to attach an XSLT stylesheet to an export process which therefore allows you to do a (limited) transformation from the visual markup which is its native format to a more structured one Why „limited“? Well, XSLT seems to have been designed,

Re: [NTG-context] ConTeXt to RTF Conversion

2005-09-22 Thread Duncan Hothersall
- xml in not an input format but (a well structured) interchange format. XML is a very good master format from which to derive all outputs. For example, I receive wordprocessor files from academics and convert them to XML by a combination of automated processes and hand-tagging. The XML is

[NTG-context] Disappearing characters

2005-09-21 Thread Duncan Hothersall
Hello all. I have a file test-fonts.tex which just combines Palatino and Helvetica into one typescript: \loadmapfile[context-base] \usetypescriptfile[type-buy] \starttypescript [TESTfonts] \definetypeface [TESTCombo] [rm] [serif] [palatino] [default] [encoding=texnansi] \definetypeface

[NTG-context] Re: Disappearing characters

2005-09-21 Thread Duncan Hothersall
I said: \starttypescript [TESTfonts] \definetypeface [TESTCombo] [rm] [serif] [palatino] [default] [encoding=texnansi] \definetypeface [TESTCombo] [ss] [sans] [helvetica] [default] [encoding=texnansi] \stoptypescript I realise that by adding \definetypeface [TESTCombo] [tt]

[NTG-context] Re: Elided page numbers in registers

2005-09-01 Thread Duncan Hothersall
I said: Followup: I would be willing to help to code this if it doesn't exist (I have some experience with such systems) if someone can point me at the right bit of code to look at (things seem to be changing around texutils, newtexexec etc. so I don't want to start at the wrong place). To

[NTG-context] Register page ranges

2005-08-31 Thread Duncan Hothersall
Bug or feature? In a register (such as the index), a command like \index[key]{entry} creates an index entry sorted as 'key', and there exists also \startregister[key]{entry} ... \stopregister[key] which creates a page range. As far as I can tell, the [key] here plays two roles - the ID of the

[NTG-context] Re: Setting header texts (second)

2005-08-31 Thread Duncan Hothersall
Hi. \getmarking[chapter][current] should give you the title of the current chapter. Similarly \getmarking[section][current], etc. In order to rid yourself of the default pagenumber in the middle of the top header, use \setuppagenumbering[location=], or add location= to your existing

[NTG-context] Elided page numbers in registers

2005-08-31 Thread Duncan Hothersall
Another question on registers (just getting into indexing!). I have a book which numbers its pages by chapter, and so page numbers are 1/1, 1/2 ... for the pages of chapter 1, and then 2/1, 2/2 ... for the pages of chapter 2. I have page ranges in my index, such as 1/1-1/3, or 2/24-2/26. I

Re: [NTG-context] Getting ToC to match page numbering

2005-08-02 Thread Duncan Hothersall
Hans said: wikiable: And I said: Will do; would be great to fix (or at least understand) the alignment before I do though, for completeness. :-) I've added this to the wiki now, since having tested it out I don't think my alignment problems were anything to do with the issue at hand. To fix

[NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Duncan Hothersall
Hello all. I have set up page numbering for the bodymatter and appendices of my document with: \setuppagenumbering[way=bychapter,chapternumber=yes,numberseparator={/}] so that \completepagenumber in my footer lines shows, e.g. 1/3 for chapter 1 page 3. This works well for the actual page

Re: [NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Duncan Hothersall
My guess would be (untested): \setuplist [part][separator={/}] \setuplist [chapter] [separator={/}] \setuplist [section] [separator={/}] \setuplist [subsection] [separator={/}] \setuplist [subsubsection] [separator={/}]

Re: [NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Duncan Hothersall
I have three issues where page number formatting in the table of contents is wrong compared to the pages themselves: 1. The separator character in the actual pagenumbers is /. In the ToC it displays as a -. 2. I used left=A on the pagenumbering command in the appendices because appendices are

Re: [NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Duncan Hothersall
\start \setuppagenumbering[numberseparator=/] \placecombinedlist[Xontents] \stop Ah, I see, \placecombinedlist uses the value of numberseparator active at the time it is called! Thanks. indeed, since left/right is cosmetics an dit's easier to add that than to remov eit when you dont wan

Re: [NTG-context] mtext UTF further problems

2005-06-22 Thread Duncan Hothersall
Hans wrote: I attached a small test file. Some trickery is needed to get utf working in mathml - the map patch goes into xtag-map.tex - the other one into xtag-mmp part of the problem is that the current font must provide the characters Hans, thank you very much. I've ben banging my head

[NTG-context] mtext UTF further problems

2005-06-20 Thread Duncan Hothersall
I'm still having trouble with UTF contents in mtext tags in MathML content. It's difficult to send a sample because UTF isn't preserved well either by email or when sending files to the ConTeXt Live server, but I'd really appreciate it if somebody could help. When I replace 'HERE' in the

Re: [NTG-context] Supress chapter number in sections

2005-05-27 Thread Duncan Hothersall
Randall wrote: I'm bumping my last question here... As Duncan suggested, \setupsection[section-3][previousnumber=no] supresses the chapter section numbers in my section headings. Is there an easy way to do likewise for the figure and equation numbers such that the numbering does not

[NTG-context] Re: Accents in MathML

2005-05-26 Thread Duncan Hothersall
I'm processing some Spanish from Unicode and some of it is in MathML, for which I use ConTeXt's native processing. There seems to be a problem with accents. When I run this on Live: -- \mainlanguage[es]\enableregime[utf]\useencoding[uc] \useXMLfilter[utf]\usemodule[mathml] \starttext Maths with

[NTG-context] Re: Accents in MathML

2005-05-26 Thread Duncan Hothersall
I said: Interestingly, if I forget about unicode and use eacute; instead of é, then no matter what I put in the preamble I get the e with a guillemot superimposed. So whatever is mapping é incorrectly seems also to be mapping eacute; incorrectly. Further testing suggests that my problem is

[NTG-context] Accents in MathML

2005-05-25 Thread Duncan Hothersall
Hello all. I'm processing some Spanish from Unicode and some of it is in MathML, for which I use ConTeXt's native processing. There seems to be a problem with accents. When I run this on Live: -- \mainlanguage[es]\enableregime[utf]\useencoding[uc] \useXMLfilter[utf]\usemodule[mathml] \starttext

[NTG-context] \setupMMLappearance

2005-05-04 Thread Duncan Hothersall
Hello MathMLers. I just discovered the very promising \setupMMLappearance command, which looked like it held the answer to one of my most niggling of problems with display MathML processing - the fact that in a tabular layout using mtable I couldn't make the left-hand-side right-aligned, the

Re: [NTG-context] Supress chapter number in sections

2005-05-04 Thread Duncan Hothersall
Randall Skelton wrote: I've fiddled with almost every parameter in sethead but cannot seem to find the correct one. I'd like to suppress the chapter numbers in a relatively large document such that numbering of sections, tables, figures and equations begins at 1 instead of 1.1. Is there a

Re: [NTG-context] total with of TABLE ?

2005-04-22 Thread Duncan Hothersall
Luigi wrote: \SetTableToWidth{10cm} \starttable[|c|c|c|]...\stoptable set width to 10 cm, but if I don't care about cell I can have an overfull box. So the problem seem to be Can I set the total width of a TABLE using a macros like \setupTABLE[tablewidth=10cm] ? To solve this problem, I

Re: [NTG-context] my new page on layout

2005-03-28 Thread Duncan Hothersall
I appreciate the effort you've put into this, Paul, but This primary audience for this page is XML authors who want to use ConTeXt to format an XML document. is still not enough of a disclaimer. I use ConTeXt as part of a large XML-based workflow, but don't use TeXML (nor do I use much of the

[NTG-context] Urgent index problem

2005-03-28 Thread Duncan Hothersall
I am one night from a deadline and I have just noticed that my index is silently ignoring some entries... Help!! The following demonstrates the problem (tested on live.contextgarden.net): -- \starttext \startregister[index]{this term+in+particular} This term is discussed from the start of this

Re: [NTG-context] Urgent index problem

2005-03-28 Thread Duncan Hothersall
I wrote: -- \starttext \startregister[index]{this term+in+particular} This term is discussed from the start of this page.\page[yes] Some more text about the term, and another page.\page[yes] And the end of the info about that term. \stopregister[index]{this term+in+particular}\page[yes] A page

[NTG-context] Headers and footers in backmatter

2005-03-25 Thread Duncan Hothersall
Dear all, I have noticed that when I set my index as a \chapter within the \startbackmatter...\stopbackmatter structure of a document, my headers and footers, including page numbers, disappear. Even the backgrounds disappear. The only commands I can find which seem to influnce the sectionblock

Re: [NTG-context] Temporarily turning off hyphenation?

2005-03-21 Thread Duncan Hothersall
Gerben Wierda wrote: \def\ClearChapterQuote{\def\ChapterQuote{}} \ClearChapterQuote \def\ChQuoteFormat#1{\starttext% \startalignment[left]% \startnarrower[4*left] \noindent{\nohyphens\em #1}% \stopnarrower\stopalignment\stoptext\blank} \setuphead[chapter]

Re: [NTG-context] Header background won't go away

2005-03-17 Thread Duncan Hothersall
Thanks Hans, fixes problem 2, but 1 remains. So this is maybe a bug? you forgot \setupbackgrounds[state=repeat] Ach. I tried adding it to my \setupbackgrounds[header] command not realising that it needed to be on its own. Sorry for the noise. Your solution worked in its entirety. Thank you very

Re: [NTG-context] Header background won't go away

2005-03-17 Thread Duncan Hothersall
Hans wrote: you can do a stepwise page change: \setuphead[part][page={yes,blank,right}] \setuphead[chapter][header=high,page={yes,blank,right}] also, in order to let backgrounds adapt to each page, say: \setupbackgrounds[state=repeat] otherwise only text|page backgrounds will be

Re: [NTG-context] textbackground

2005-03-17 Thread Duncan Hothersall
Resurrecting a thread from June last year... (sorry!) On 26-jun-04 Hans van der Meer identified a bug/issue with text backgrounds: When the textbackground falls at a page crossing -- i.e. starts at the top of a page -- the coloring extends backwards on the page just left. On 29-jun-04 Hans H

[NTG-context] Color separation

2005-03-17 Thread Duncan Hothersall
Sorry for all the messages; I am exploring things I don't really understand. I hope someone can enlighten me! With the following colour set-up: \setupcolors[rgb=no,cmyk=yes,spot=yes,state=start] \definecolor[PantoneTwoNineFour][c=1,m=.56,y=0,k=.18]

Re: [NTG-context] Color separation

2005-03-17 Thread Duncan Hothersall
2. is there a way I can check that it is working properly without sending it to the printer each time? Acrobat has an overprint preview since v5; AFAIK Reader got it in v7. Yes... but it doesn't show up any problem. (Well, it just displays the same thing with overprint preview as without.) *But*

Re: [NTG-context] Color separation

2005-03-17 Thread Duncan Hothersall
whow, a demanding color user -) ... overprint=yes ... Aaaah. Thanks you so very much Hans. Of course, as ever, the answer is a single setting which solves all my problems. Off to add this gold to the wiki... Duncan ___ ntg-context mailing list

[NTG-context] Header background won't go away

2005-03-15 Thread Duncan Hothersall
Hi all. I have a book with parts and chapters, which wants a tint in the background of the header line. I have the following set-up producing almost what I want (apologies for the length but I've stripped out as much as I can to still show the same effect): --

Re: [NTG-context] Renaming spot colours

2005-03-11 Thread Duncan Hothersall
Peter Rolf said \definecolor[PANTONE 294CV] [c=1,m=.56,y=0,k=.18] % test \framed[background=color, backgroundcolor={PANTONE 294CV}]{Test} \color[PANTONE 294CV] Test % the only thing that doesn't work is \PANTONE 294CV Thanks very much for responding Peter! Interesting behaviour - the above will

[NTG-context] Renaming spot colours

2005-03-10 Thread Duncan Hothersall
More questions! I'm using black plus one spot colour in a document, and I include PDF images generated in an external program (CorelDraw) which use the same spot colour. In the images the color is called 'PANTONE 294 CV', but I can't use that name for my colour in ConTeXT because names can't

[NTG-context] Re: Current text width?

2005-03-08 Thread Duncan Hothersall
I said: So - is there a parameter which represents the current width of the layout area, taking into account itemisations, textbackgrounds and anything else? Thanks. I came up with a rather ugly kludge which solves my immediate problem but might not be best. I created a new dimen, \RealWidth,

Re: [NTG-context] Extending into the margin

2005-03-08 Thread Duncan Hothersall
I asked about a mechanism to allow tables to extend into the outer margin, in a double-sided layout. Hans said: see the manual details.pdf Thanks - I think I now almost understand how I would do this for *floats*, but... my question was (perhaps) simpler - I'm just talking about fixed blocks of

[NTG-context] Current text width?

2005-03-07 Thread Duncan Hothersall
Hello all. The following code (tested at contextgarden) illustrates my current problem: -- \definetextbackground[TestBackground] [leftoffset=1em,rightoffset=1em,topoffset=8pt, bottomoffset=8pt,frame=on,location=paragraph] \starttext \starttextbackground[TestBackground] Some text

[NTG-context] Extending into the margin

2005-03-04 Thread Duncan Hothersall
I have a double-sided page layout with mirrored margins. For certain displays (tables, etc) I would like to place a box such that it will extend into the margin. At the moment, just by making a box the width of the textarea + margin, I can get what I want half the time :-) - it always extends

[NTG-context] texfont problem on windows

2005-02-24 Thread Duncan Hothersall
I'm using the minimal windows installation of ConTeXt, texsync'ed today. The vptovf.exe program as used by the texfont script seems to have a version mismatch. It throws an error saying that it can't find tl80kpse.dll. In fact the version in the minimal tree is tl90kpse.dll. This means that

Re: [NTG-context] \godown to an absolute position

2005-01-12 Thread Duncan Hothersall
Hans wrote: quick and dirty: \setuphead[chapter][before=\vbox to 10cm\bgroup,after=\vss\egroup] \starttext \chapter{test} \input tufte \chapter{test\endgraf test} \input tufte \stoptext there are other solutions (synchronizing stuff) but that's more complex Great! This solution worked for me. I

[NTG-context] \godown to an absolute position

2005-01-11 Thread Duncan Hothersall
Hello. I have a style request that I haven't come across before and don't know how to handle in ConTeXt. I need the first line of text following a chapter title to always start 15 picas from the top edge of the text area. In other words, no matter how little space the title takes up, the first

[NTG-context] Degree sign half-works

2004-11-23 Thread Duncan Hothersall
Hi all. The following, when run through live.contextgarden.net (and my own installation), produces odd results: %Input is utf8 (Unicode) \enableregime[utf] \useencoding[uc] %MathML is processed directly \useXMLfilter[utf] \usemodule[mathml] \starttext Test normal text: 180° Test MathML:

[NTG-context] MathML mover element for accents?

2004-11-09 Thread Duncan Hothersall
Hello ConTeXters. I am using the wonderful ability of ConTeXt to directly typeset MathML equations, and have come across a problem with trying to put a line above a character using the mover element. Here's what I try: \setuppagenumbering[state=stop] \starttext \startXMLdata math display=block

[NTG-context] bTABLE rogue column widths

2004-09-21 Thread Duncan Hothersall
Hi all. I have the following code, used to set quotations with over-large quote marks either side. I use the bTABLE/eTABLE model because it is easy, and because it allows for the variable width of the quotation part (the middle column) and for it to carry over into multiple lines. When this

[NTG-context] Re: texutil malformed UTF-8 character error

2004-08-23 Thread Duncan Hothersall
Hans wrote: in cont-new (or cont-sys) you can say: \def\testbytesequence{} This 'test' was added in order to determine of tex runs in 8 bit mode. I wonder where the Malformed message comes from. Since when is perl utf-8 by default? (i run perl 5.8.0) I'm running 5.8.0 too (on Redhat). I have

Re: [NTG-context] Re: texutil malformed UTF-8 character error

2004-08-23 Thread Duncan Hothersall
although the .tui file is full of entries as far as I can tell. Maybe something esle is wrong - still working on minimal file. \starttext \placelist[chapter][criterium=text] \placeindex[criterium=text] \chapter{test} \index{test} test \stoptext can you send me the tui file? Hans This works

[NTG-context] Re: texutil malformed UTF-8 character error

2004-08-23 Thread Duncan Hothersall
Taco said: On Mon, 23 Aug 2004 09:03:36 +0100, Duncan wrote: (i run perl 5.8.0) I'm running 5.8.0 too (on Redhat). I'd definately try to get away from 5.8.0 as soon as possible. There were quite a lot of (sometimes rather serious) bugs in 5.8.0, esp. in the multibyte handling, but also in other

[NTG-context] Re: texutil malformed UTF-8 character error

2004-08-23 Thread Duncan Hothersall
Ach. I have fixed my second problem with missing register entries - I was using a header defined as a derivative of \chapter as the heading of my table of contents, rather than a derivative of \title which it should have been. Making that change fixed things. Oddly, the output from texutil is

[NTG-context] Re: texutil malformed UTF-8 character error

2004-08-22 Thread Duncan Hothersall
I wrote: Malformed UTF-8 character (unexpected end of string) at /usr/TeX/texmf/scripts/context/perl/texutil.pl line 1520, TUI line 3. etc. Forgot to say, the /tui file in question has this at line 3: c \thisisbytesequence{^^G^^[#} which certainly does look a bit funny. Duncan

[NTG-context] texutil malformed UTF-8 character error

2004-08-22 Thread Duncan Hothersall
I'm running the latest beta on top of a TeXlive 2003 install on linux. The job I'm currently running needs various tables of contents (and a set of bookmarks) but texutil (v. 8.2) seems to be choking on the .tui file at the very end of the run with this message: TeXUtil 8.2 - ConTeXt / PRAGMA

[NTG-context] Two questions about \subject vs \section

2004-02-10 Thread Duncan Hothersall
Hello all. I have a series of documents which use \section to create a numbered heading and \subject to create an unnumbered one. I would like the unnumbered headings (the \subjects) to do put the titles in the running heads and in the tables of contents, like the \sections do. I have

[NTG-context] margintext drifting down the page

2003-11-05 Thread Duncan Hothersall
Hello all. I have an odd behaviour which I think I just about understand but can't fix. I use \margintext{Note that ...} to place little notes into the margin next to things in the running text. It has worked beautifully for all my content up till now, but I now find myself wanting to put a

[NTG-context] Re: Simple but frustrating cross reference problem

2003-10-23 Thread Duncan Hothersall
Apologies. I found the \pagereference[ref] command about a minute after sending this email. I had thought it output the page number, as the manual was slightly unclear on the issue. Sorry for the noise. Duncan ___ ntg-context mailing list [EMAIL

[NTG-context] Extending into the left margin

2003-09-05 Thread Duncan Hothersall
Hi all. I'm using the nice \bTABLE natural tables commands to set my tables. I'm now running into tables which need a little extra space, and since I have a wide left margin I would like them to extend into it. By default they extend into the right marging, which doesn't have very much space

[NTG-context] \placefigure[left] again!

2003-08-14 Thread Duncan Hothersall
I'm having another problem with \placefigure[left] and this time I'm pretty sure I can't solve it myself. I'm using ConTeXt ver 2003.7.21 on a TeXlive base with pdfetex 3.14159-1.00b-pretest-20020211-2.1 (Web2C 7.3.7). The following source overlaps the text on top of the graphic rather than

RE: [NTG-context] \underbar not allowing line-breaking

2003-08-14 Thread Duncan Hothersall
Hans wrote: % output=pdftex \starttext \definetextbackground [underbared] [alternative=1,location=text, background=,frame=] \def\underbared {\groupedcommand {\starttextbackground[underbared]} {\stoptextbackground}} \underbared{\input tufte\relax}

[NTG-context] RE: \placefigure[left] aligning with second line

2003-08-12 Thread Duncan Hothersall
I wrote: When I use \placefigure[left] the top of the figure is aligned with the second line of the text. I would like it to be aligned with the first line. If you look at the example on page 243/4 of the manual you can see it happening there too: And then immediately afterwards I tried

RE: [NTG-context] \placefigure[left] again!

2003-08-12 Thread Duncan Hothersall
Bill wrote: So begin your text with: \strut {\bf } or one of the other commands. \strut is a zero-width character. Excellent, thanks. I had experimented with just {}, and even \,\! but the problem remained. This solves it, thanks a lot. Duncan [EMAIL PROTECTED]

RE: [NTG-context] \underbar not allowing line-breaking

2003-07-31 Thread Duncan Hothersall
In answer to my own question, and possibly as a bug report: line breaking within \underbar{...} is broken when used in conjunction with \setupalign[{right,nothyphenated}] Duncan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Duncan Hothersall Sent: 29

[NTG-context] \underbar not allowing line-breaking

2003-07-29 Thread Duncan Hothersall
A quick question: \underbar is demonstrated in the manual as allowing lines to break normally (page 204). In my texts line breaks won't happen in an underlined phrase, meaning that they stick out into the right hand margin. Is this a known problem, or does it work for other people? Thanks Duncan

RE: [NTG-context] Combining \inframed with \items

2003-07-23 Thread Duncan Hothersall
Hi Willi You can always define your own commands e.g. \define[1]\CircleFramed{% ... Aah! My eyes are opened. Thank you very much. That will be useful in a number of areas. Duncan [EMAIL PROTECTED] ___ ntg-context mailing list [EMAIL PROTECTED]

[NTG-context] Combining \inframed with \items

2003-07-18 Thread Duncan Hothersall
I have the following test file: -- \setupoutput[pdftex]\setupcolor[rgb]\starttext \items[symbol=none,location=top]{{\inframed[frame=on,corner=round,radius=3mm ,offset=1mm]{demand-pull inflation}},{\inframed[frame=on,corner=round,radius=3mm,offset=1mm]{in comparison}},capital-intensive}

[NTG-context] \filbreak equivalent in ConTeXt

2003-07-16 Thread Duncan Hothersall
I'm setting a document which is made up of lots of questions, and I want to keep the questions whole on a page, breaking the page before the question if the whole question isn't going to fit on it. Since all the questions are done in ConTeXt as enumerations or descriptions, I have been looking

<    1   2