Re: [NTG-context] Recommendations for Speed?

2007-09-17 Thread Duncan Hothersall
Taco said: Duane Johnson wrote: 1. Is there a way to keep TeX in-memory (i.e. as a server or daemon process) so that it doesn't have to load and reload fonts and the environment? Our system makes repeated requests for typeset documents and we are wondering if there's a way to

[NTG-context] Font sizes using Chinese module

2007-11-07 Thread Duncan Hothersall
Hello all. I hope this is quite a simple question. I'm using the Chinese module, with the font definitions in font-chi.tex, to typeset UTF-8 content. I can happily use the default sizes a, b, c, d and x, xx, xxx - so \bfd produces large bold, and \tfx produces small normal weight text. But I

Re: [NTG-context] Font sizes using Chinese module

2007-11-07 Thread Duncan Hothersall
Hans said: \definefontsize[e] \setupfontenvironment [default] [e=4] Ah, thanks. Using \setupbodyfontenvironment as the second command did the trick. I guess there is no easy way of directly calling a specific font at a specific size? No worry, this sort of solution will allow me

Re: [NTG-context] Font sizes using Chinese module

2007-11-07 Thread Duncan Hothersall
Hans (07/11/2007 16:09) said: Btw: Is there any reason for not using XeTeX (or LuaTeX in the future) for Chinese? (To be honest: I have absolutely no idea whether it works and how good it works if at all, but I would expect less problems there.) i bet that duncan uses it in some

[NTG-context] Sections, cross-references and separators

2008-03-31 Thread Duncan Hothersall
Dear all, I am confused. Here is a minimal version of my problem: --- \setupheads[separator=] %-- this can't be right \setupreferencing[state=start,chapternumber=yes,global=yes] \setupsection[section-1][conversion=Characters] \setupsection[section-2][previousnumber=yes]

Re: [NTG-context] Sections, cross-references and separators

2008-04-01 Thread Duncan Hothersall
Taco wrote: In this case it is easier to make the actual chapter number include the 'A'. That way, you won't have to worry about separator at all (which is good, because its use is confusing). Try this: @@ -1,4 +1,4 @@ -\setupheads[separator=] %-- this can't be right

[NTG-context] setupMMLappearance

2008-07-19 Thread Duncan Hothersall
Hello. I am used to using \setupMMLappearance[mtable][alternative=a|b|c] to change the way the mathml module treats mtable alignments. I've just discovered it no longer seems to have any effect. What I need to set up is an alignment where the first column of an mtable is right-aligned (ragged

[NTG-context] 'See also' entries in register

2008-08-18 Thread Duncan Hothersall
I know everyone is preparing for fun in Bohinj (and I am gutted that I am missing it this year) but it would be really great if someone had the chance to work out how to fix this problem: \starttext I wish I was going to the ConTeXt\index{ConTeXt} meeting this year to enjoy all the

Re: [NTG-context] 'See also' entries in register

2008-08-27 Thread Duncan Hothersall
No response to this - can I ask, is this a case of a bug in a mkII feature that is replaced in mkIV so isn't worth fixing? Understandable if so, just wanted to check... Duncan I wrote: \starttext I wish I was going to the ConTeXt\index{ConTeXt} meeting this year to enjoy all the

[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] 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

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-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] Question about Captions

2006-06-24 Thread Duncan Hothersall
I'd like to know whether it is possible to control the captions of tables and figures separately. What I wanna do is to place the caption above the table but below the figure. \setupcaption[figure][location=bottom] \setupcaption[table][location=top] Duncan

Re: [NTG-context] arab (omega)

2006-06-26 Thread Duncan Hothersall
Idris wrote: Dear gang, I have redone this. Now there are two filter sequences, one for main text and one for using the arabic-font digits in math mode. http://wiki.contextgarden.net/Aleph_Guide#Installing has been updated, get the new uni2cuni.zip. I'll update m-gamma soon so this

Re: [NTG-context] arab (omega)

2006-06-26 Thread Duncan Hothersall
Hans, in Friday's beta, core-sec.tex line 767 has \edef\levelstring{=\flistsectionseparator\@@filternumberpart[#1]\sectionseparator}% which fails not knowing what \flistsectionseparator is. Reverting to \edef\levelstring{=\sectionseparator\@@filternumberpart[#1]\sectionseparator}% works but

[NTG-context] Rule under length of last line

2006-07-31 Thread Duncan Hothersall
I've had a last-minute impossible request for a typesetting style, and having already told the person it can't be done in the time available, wondered whether it can actually be done at all. The request is for a subsection heading to have a continuous horizontal rule under both its number and

Re: [NTG-context] Rule under length of last line

2006-07-31 Thread Duncan Hothersall
Wow, very cool. Will adapt and wikify. Thanks - it's even better to say no and then do it anyway. :) Thanks again. Duncan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] index page range bug

2006-09-07 Thread Duncan Hothersall
Jason wrote: When using startregister/stopregister commands, if the range is only one one page, then while both a [f] and a [t] are written to the tui file, only one \registerfrom command is put in the tuo file. If there is only one range, it seems like the software deals with it nicely.

[NTG-context] Very strange bug related to textbackground

2006-09-25 Thread Duncan Hothersall
I have been fighting with this one for ages, and have now narrowed down the culprit, but I do not understand why it happens. Latest (non-beta) ConTeXt, also tested in the live garden (same result): \setupcaption[figure][align=right,location=bottom]

Re: [NTG-context] Very strange bug related to textbackground

2006-09-26 Thread Duncan Hothersall
Duncan Hothersall wrote: I have been fighting with this one for ages, and have now narrowed down the culprit, but I do not understand why it happens. Latest (non-beta) ConTeXt, also tested in the live garden (same result): and the beta? Just downloaded and tried beta 'ver 2006.09.25 23

Re: [NTG-context] Very strange bug related to textbackground

2006-09-26 Thread Duncan Hothersall
Just downloaded and tried beta 'ver 2006.09.25 23:38 MK II' - same result I'm afraid. then i need a better test file + explanation (or maybe i have some local patch) Hans You are not seeing the effect? I have put some files up on the web, generated with the latest beta. The (bad)

[NTG-context] Register layout

2006-10-03 Thread Duncan Hothersall
Quick question - how do I alter the width of the hanging indent of a register entry which is too long to fit on one line? I want to differentiate sub-entries, which each have an indent of 1em more than the previous level, from the indentation of longer entries, which by default is also set to

Re: [NTG-context] inhibition of new page after a header

2006-10-06 Thread Duncan Hothersall
How can it be that context sets a new page immediately after a (subsubsection-)header? Is it necessary to inhibit it after every header explicitely? Default settings of headers inhibit a break immediately afterwards but it is very easy to stop this working by either changing the set-up of

[NTG-context] Float references in a register

2006-10-11 Thread Duncan Hothersall
Is it possible to have float references (i.e. Table 1.1) alongside page numbers in a register? I've never come across it before, but I've just been asked to produce an index which has entries like: coverage measurement tools 176-177, Table 6.5 I have looked through core-reg without much

[NTG-context] Giving a float its own number

2006-10-19 Thread Duncan Hothersall
I have a book with parts and chapters; figures in the chapters are numbered 1.1, 2.1 etc. but sometimes a part has a figure in it as well, before the chapters start. The desired numbering for such figures is to follow the Part numbers, and be in capitalised roman numerals (in other words, Figure

Re: [NTG-context] Giving a float its own number

2006-10-19 Thread Duncan Hothersall
I said: Where did I go wrong? I'm sure there is an easy way to do this. And yes there is! The easy way is to use the new beta, which works. Sorry for the noise. Duncan ___ ntg-context mailing list ntg-context@ntg.nl

[NTG-context] TABLE in item

2006-10-27 Thread Duncan Hothersall
Very simple question which has suddenly stumped me: \starttext \startitemize[n,broad] \item Hello world! \bTABLE\bTR\bTD Little\eTD \bTD table\eTD\eTR\eTABLE First item continues. \item Second item. \stopitemize \stoptext How to get the TABLE inside the first item to align with the item content,

Re: [NTG-context] TABLE in item

2006-10-27 Thread Duncan Hothersall
I said: \starttext \startitemize[n,broad] \item Hello world! \bTABLE\bTR\bTD Little\eTD \bTD table\eTD\eTR\eTABLE First item continues. \item Second item. \stopitemize \stoptext What I *meant* (sorry!) was \starttext \startitemize[n,broad] \item Hello world! \bTABLE[split=yes]\bTR\bTD

Re: [NTG-context] TABLE in item

2006-10-29 Thread Duncan Hothersall
\let\beforeTABLEsplitbox\relax \let\afterTABLEsplitbox \relax \let\beforeTABLEbox \relax \let\afterTABLEbox \relax you can play with these macros since they are the formal hooks Hans, I played with \let\beforeTABLEsplitbox\dontleavehmode

[NTG-context] Splitting a float that isn't a table

2006-11-03 Thread Duncan Hothersall
I define a floating block called Exhibit \definefloat[Exhibit][table] which just contains paragraphs of text. I'd like to be able to split it using the \splitfloat mechanism but that only seems to work if the content of the float is a table, not paragraphs. \definefloat[Exhibit][table]

[NTG-context] Full-time ConTeXt job offer

2007-01-26 Thread Duncan Hothersall
Apologies to those for whom this message is geographically irrelevant: My company is looking to employ someone with ConTeXt experience, and preferably a good understanding of XML. The position is based in Edinburgh, Scotland, UK and is permanent full-time. If anyone is interested, or knows anyone

[NTG-context] Colour (color) in mathml

2007-01-31 Thread Duncan Hothersall
Hello. I'm trying to implement part of a change-tracking system using colour to highlight changed areas in a document. I use MathML for maths, and I need to be able to apply colour to individual elements in an equation. I thought I could do just simply mi color=greenx/mi but evidently not. It

Re: [NTG-context] Write once layout everwhere (?)

2007-06-11 Thread Duncan Hothersall
Hi Pepe, If you want your content to remain maintainable and manageable for a long period (e.g. decades), if you can afford it, and if you have a sufficiently large amount of content, then I strongly recommend investing the time and effort in an XML-based solution. My experience is in large

Re: [NTG-context] Term C++ in index

2007-07-05 Thread Duncan Hothersall
A long long time ago, Hans said: At 01:55 PM 10/31/2002 +0100, Matthias Heidbrink wrote:/ Hi, possibly a trivial question, but can't find it anywhere: How do I get the term C++ into an index? Unfortunately ConTeXT interprets the + as a separator for indexed terms and I did not find a way

[NTG-context] How to make a figure not appear in the list of figures?

2007-07-10 Thread Duncan Hothersall
Hi folks, This is probably a simple problem but I can't find an answer. I have a book with a list of figures and have been asked not to include in the list a figure which does not have a caption, even though it has a number. So the numbering needs to be sequential, but one of the figures

Re: [NTG-context] How to make a figure not appear in the list of figures?

2007-07-10 Thread Duncan Hothersall
Hi Duncan, place the figure with the normal \placefigure command, process to whole document, delete the unwanted figurelist entry in the tuo-file and process the document another time, you can add the --once option in the last run. Wolfgang Aah, nice workaround, thanks. That has got me

[NTG-context] Different parameters for a continuing itemization

2007-07-17 Thread Duncan Hothersall
I use \startitemize[continue] quite a lot to create itemised lists which continue on from the last number of the previous list. I've only just noticed that the 'continue' keyword seems to mean that parameters in the second [...=...] list of a \startitemize are ignored. Example (tested on live

Re: [NTG-context] currentheadnumber / doif.. problem

2007-09-12 Thread Duncan Hothersall
Hi Peter Date: Mon, 10 Sep 2007 01:21:26 +0200 From: Peter Schorsch [EMAIL PROTECTED] Subject: [NTG-context] currentheadnumber / doif.. problem To: ntg-context@ntg.nl Hi, I tried to get the full present heading-number. If I am using currentnumber I am getting back only the last part of

[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] 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

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] mtext formatting broken?

2005-06-14 Thread Duncan Hothersall
Hi all, quick query: In presentational mathml, the mtext element used to set its contents in roman font, with correct spacing for text. In recent and current (Live) ConTeXt this seems to be broken, and the contents of mtext elements come out in math italic with spaces ignored. Test file showing

Re: [NTG-context] mtext formatting broken?

2005-06-14 Thread Duncan Hothersall
Hi Duncan, It probably doesn't help, but this still works: mrowmtextvol/mtextmotimes;/momsqrt Sorry I cannot help any further. Taco Ah! You have indeed helped, by pointing out that I am failing to strip the mml: prefix from my mtext elements. Apologies for the noise - I couldn't

[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] 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] 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] 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] 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

[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] 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]

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

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] 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

[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?

[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

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] 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-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

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

[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] 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

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] 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

[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] 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] 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] 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] MPgraphic with rounded corners

2009-01-15 Thread Duncan Hothersall
Hello all. I have adapted a bit of MP code from Aditya from a mailing list message dated 2006-05-19 (http://archive.contextgarden.net/message/20060519.214124.9174ac0e.en.html) to ensure that when a page break occurs in a textbackground there is a forced vertical space inside the box at the

Re: [NTG-context] MPgraphic with rounded corners

2009-01-16 Thread Duncan Hothersall
Thank you to both Aditya and Wolfgang; I think I need to get a better grounding in the basic principles of MetaFun before trying to dabble again... Duncan ___ If your question is of interest to others as well,

[NTG-context] Forcing \about to give the full title

2010-09-15 Thread Duncan Hothersall
Hi folks. Just hit a strange feature using \about to give me the title of a referenced section. When the title is long, there seems to be an automatic cut-off, as if some form of \nomarking had been used on the last words of the title. So with a section somewhere in the text like

Re: [NTG-context] Forcing \about to give the full title

2010-09-16 Thread Duncan Hothersall
\setupreferencing[width=] Thanks Wolfgang, much appreciated, did the trick. Duncan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Dotted leader in index entries

2010-11-04 Thread Duncan Hothersall
Hello all. [Using Mk II.] I need to produce an index which looks like this: Mainentry Subentry.3 Slightly longer subentry..5 See also X I have the following setup:

[NTG-context] Dotted leader in index entries

2010-11-06 Thread Duncan Hothersall
[Reposting because I think my last message got mangled.] Hello all. I'm using Mk II. When I use the following setup to get dotted leaders between an index entry and its page number: \def\MyIndexTextCmd#1{#1\dotfill}

[NTG-context] Dotted leader in index entries

2010-11-11 Thread Duncan Hothersall
[Now with a proper example!] Hello all. I'm using Mk II. I need to set up dotted leaders between an index entry and its page number as show in this runnable sample: \def\Icmd#1{#1\dotfill} \setupregister[index][n=2,textcommand=\Icmd,distance=1em,alternative=A] \starttext \index{Example+This

[NTG-context] Creating a PDF named destination

2011-04-25 Thread Duncan Hothersall
Hello all, This seems to be a very obvious FAQ but I can't find an answer anywhere. How can one create a named destination in an output PDF file such that an HTML link to filename.pdf#nameddest=name will work? I'm using Mk II in case that is relevant. I kinda assumed that a section title

Re: [NTG-context] Creating a PDF named destination

2011-04-26 Thread Duncan Hothersall
Thanks Hans but this doesn't work for me - when I open in Acrobat Pro no named destinations appear. Duncan On 26/04/2011 09:40, Hans Hagen wrote: On 25-4-2011 5:31, Duncan Hothersall wrote: \starttext \chapter[myid]{My chapter} Blah blah. \section[myotherid]{My section} Blah blah. \stoptext

Re: [NTG-context] Creating a PDF named destination

2011-04-26 Thread Duncan Hothersall
On 26/04/2011 10:27, Hans Hagen wrote: On 26-4-2011 11:00, Duncan Hothersall wrote: Thanks Hans but this doesn't work for me - when I open in Acrobat Pro no named destinations appear. not sure what you expect ... you have no hyperlinks (annotations) .. where do you expect to see

[NTG-context] MP spot color in gradient - help!

2011-05-17 Thread Duncan Hothersall
Struggling against a deadline here so apologies for no full sample. I have a gradient fill defined using \startuseMPgraphic{mpos:par:mylearnobj} path p; for i = 1 upto nofmultipars : p := multipars[1] topenlarged 8pt bottomenlarged 8pt leftenlarged 3cm ; color ca ; ca := \MPcolor{greenthirty}

Re: [NTG-context] MP spot color in gradient - help!

2011-05-17 Thread Duncan Hothersall
Hagen wrote: On 17-5-2011 12:24, Duncan Hothersall wrote: Could someone possibly let me know if it is even possible to define a gradient using a spot colour, or if I should instead revert to some alternative solution. I don't think so. Normally, if you use a specific color (recognizable

[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

[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}

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] \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] \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] 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]

  1   2   >