[NTG-context] Indic fonts with MkIV and
Dear all, Recently I read about the use of Harfbuzz-enhanced LuaTeX with LaTeX for writing Arabic. Following that example, I wrote a minimal test text that worked excellently for Kannada script as well: - \documentclass{article} \usepackage{fontspec} \setmainfont{Kedage}[RawFeature={mode=harf;script=knda;}] \begin{document} ಇದು ಹೇಗಿದೆ? ನಾನು ಹೀಗೆ ತುಂಬ ಬರೆಯಬೇಕೆಂದು ಯೋಚಿಸುತ್ತಿದ್ದೇನೆ. \end{document} - I want to do this in ConTeXt too! Can anyone tell me how to translate “\setmainfont{Kedage}[RawFeature={mode=harf;script=knda;}]” into ConTeXt? This could be the key to using MkIV with Indic scripts. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indic fonts with MkIV and
On 19.12.20 09:10, Wolfgang Schuster wrote: YES… YES! YES YES YES YES YES YES (I'm trying to express enthusiasm.) That's it! The remaining question here is: where do I find such magical expressions like "features=kannada-one"? (Why "kannada-one"? "One"???) If I know that, then (so I assume) I could do the very same with the other Indian scripts which I use in my work. Robert > \definefontfamily [kannada] [ss] [Tunga] [features=kannada-one] > > \definetypeface [kannada] [mm] [math] [modern] > > \setupbodyfont [kannada] > > \starttext > ಇದು ಹೇಗಿದೆ? ನಾನು ಹೀಗೆ ತುಂಬ ಬರೆಯಬೇಕೆಂದು ಯೋಚಿಸುತ್ತಿದ್ದೇನೆ. > \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indic fonts with MkIV and
On 19.12.20 03:42, Jairo A. del Rio wrote: > You need to use the LuaHBTeX backend which isn't actually supported by > ConTeXt (and Hans doesn't like it either, I think). There's a plugin mode, > however. If not in the mailing list, more info about Harfbuzz in ConTeXt is > available in some articles. I tried Wolfgang's amendment (see his posting) just now using MacTeX 2020, and the plain LuaTeX without Harfbuzz worked well too. Regards, Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] a new book has been published, made with the help of ConTeXt
Dear readers, With great joy and a sense of relief I can now announce that my latest book, _A Manual of Modern Kannada_ by Robert Zydenbos (Heidelberg / Berlin: CrossAsia E-Publishing, 2020), a teaching manual of the Kannada language (Kannada belongs to the Dravidian family of languages, mainly spoken in southern India; also in the city of Bangalore, the 'Silicon Valley of India') has been published. It is an Open Access publication, which means it is available as a gratis download in PDF format from https://crossasia-books.ub.uni-heidelberg.de/xasia/catalog/book/736 (the clickable button “Buch herunterladen” means “Download book”; “Buch kaufen” means “Buy book”, for those who want a real book on paper). I was working on this book for the past few years and decided that the only affordably sensible way to achieve presentable results would be to use TeX, but plain TeX was too cumbersome, and in LaTeX the tables were difficult (and the book has many, many tables in various shapes and sizes). ConTeXt was The Solution (and has been duly mentioned in the technical note at the end of the book, with special thanks to Hans, Wolfgang and Pablo for valuable suggestions). For those who are curious how I used ConTeXt MkII with the XeTeX backend, a sample chapter is available at http://e.pc.cd/XlhotalK (and then click on "Direkt herunterladen"). Robert Zydenbos ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indic fonts with MkIV and
I'll do some testing and see what I can contribute. Robert On 19.12.20 22:12, Pablo Rodriguez wrote: > On 12/19/20 8:46 PM, Hans Hagen wrote: >> [...] >> can you wikify this? > Wikified at https://wiki.contextgarden.net/Indic_Scripts. > > Please, Robert, could you improve it? > > Many thanks for your help, > > Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] a new book has been published, made with the help of ConTeXt
On 20.12.20 01:09, Pablo Rodriguez wrote: > Congratulations for the release of your book, Robert. > It is really a pleasure to be able to page through the final PDF. >> >> [...] ConTeXt was The Solution [...]. > > Would it be the [features=kannada-one] also a solution for a similar book? I submitted the PDF to the publisher already last August. At the time I was not yet aware of this happy development in MkIV, and so the book was made with MkII using XeTeX as the backend. But in view of the various advances that were made with MkIV, I hope to make the next book using that one. > I’d like to know if something would be missing (besides the hyphenation > patterns). For the recent book I had no great need for Indic hyphenation patterns, because all the Kannada text fragments were quite short and hyphenation could be done manually. But for longer texts (as I have in mind in an upcoming book), the patterns will be most welcome. > Congratulations again for your excellent book, Thank you! Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] A not so short introduction to ConTeXt Mark IV
Thank you, Joaquin, for this wonderfully systematic bit of work. I wish I had had this three or four years ago. There has been a bit of a discussion here about whether ConTeXt manuals should start from the assumption that the reader already is familiar with LaTeX or not. If I may cast a vote here: I recommend that authors *SHOULD NOT* assume such familiarity, because (1) Knowledge of LaTeX is not just irrelevant, but can actually confuse. (2) ConTeXt is a complete system in itself that is built up in a more consistent way than LaTeX. It does not depend on LaTeX in any way, and authors should not risk creating the impression that it does. Of course there’s nothing wrong if someone were to write parallel materials for LaTeX users (‘ConTeXt for LaTeX Users’, or something of the sort). But basically LaTeX ought to be ignored completely. I, for one, do not want to have anything to do with LaTeX any more, now that ConTeXt is there. Now that this new manual exists, I can more confidently recommend ConTeXt to colleagues. Thanks once again! Robert On 03.01.21 10:45, Joaquín Ataz López wrote: Hello to all: Two months ago I informed to the list […] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] how to change the colour of the footnote marker
Today I wanted to print an entire document not in standard black, but in blue. I added (Mk II) – \setupcolors [state=start] \define\kleur{blue} % so I can change the colour uniformly everywhere through this variable \startcolor [\kleur] \setupnote[footnote][before={\color[\kleur]}] \setupfooter [color=\kleur] – and everything becomes blue, but NOT the footnote number before the footnote itself at the bottom of the page (the marker in the main text is coloured the way I want). Can anyone tell me how to change the colour of the footnote number in the note? Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to change the colour of the footnote marker
Greetings, Tomáš, On 08.04.2018 17:41, Tomas Hala wrote: Hi Robert, I don't understand if you need solution for MkII, or if you tried something from MkII. For MkIV you can use this: defmycmd#1{startcolor[kleur]#1stopcolor} setupnotation[footnote][numbercommand=mycmd] (But I don't know whether it will work witk MkII.) Thank you for the proffered help – but I found a very similar snippet of code in a message to this list from 2015 and tried it. Mk II does not have \setupnotation[footnote] yet, and when I 'translated' it to \setupfootnotes (which ordinarily ought to work in Mk II), it unfortunately did not work. (I need to use Mk II because I need the functionality of XeTeX.) However, Wolfgang gave the solution! I do not know why that is the solution :-), but it works. The best, Robert -- Prof. Dr. Robert J. Zydenbos Institute of Indology and Tibetology Department of Asian Studies Ludwig-Maximilians-Universität München (University of Munich – LMU) Germany ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to change the colour of the footnote marker
Greetings, Wolfgang, On 08.04.2018 17:46, Wolfgang Schuster wrote: definecolor[kleur][blue] setupcolors[state=start,textcolor=kleur] setupnotedefinition[footnote][color=kleur] setupnote [footnote][rulecolor=kleur] …etc… It works! Thank you for the solution. One thing that puzzles me, however, is that you (Wolfgang) are able to produce solutions using (so it seems) undocumented commands and parameters. How did you hit upon the idea to use 'rulecolor' here? I rely on the ConTeXt manual (2013 version), and there is nothing there to suggest that 'rulecolor' determines the colour of the text of footnotes. Neither did the Wiki help me. Is there some hidden documentation I do not know about? Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to change the colour of the footnote marker
On 09.04.2018 00:49, Wolfgang Schuster wrote: Mk II does not have setupnotation[footnote] yet, and when I 'translated' it to setupfootnotes (which ordinarily ought to work in Mk II), it unfortunately did not work. (I need to use Mk II because I need the functionality of XeTeX.) 1. setupnotation is the new command name for setupnotedefinition 2. Which language do you use in your document? Kannada. This is one of the world's larger languages, belonging to the Dravidian language family, spoken in the southern Indian state of Karnataka (its capital city Bangalore / Bengaluru is known outside India mainly as the centre of India's IT industry). I am about to finish writing the first comprehensive modern teaching manual of the language for non-Indian learners, and this is the kind of book that one can hardly leave to typesetters. First I was thinking of producing the ready-to-print PDF in XeLaTeX, but… oh, well, we're among ourselves here, so I think I need not go into the details of why I prefer to do it in ConTeXt. :-) Robert -- Prof. Dr. Robert J. Zydenbos Institute of Indology and Tibetology Department of Asian Studies Ludwig-Maximilians-Universität München (University of Munich – LMU) Germany ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to change the colour of the footnote marker
On 09.04.2018 09:45, Hans Hagen wrote: On 4/9/2018 12:33 AM, Robert Zydenbos wrote: […] (I need to use Mk II because I need the functionality of XeTeX.) just curious: what do you mis in mkiv / luatex Support for Indic scripts / fonts. (I think we had a little bit of correspondence on this mailing list three or four years ago about this, and we were not able to convert and use the TrueType fonts I required.) Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to change the colour of the footnote marker
On 09.04.18 14:14, Hans Hagen wrote: On 4/9/2018 12:18 PM, Robert Zydenbos wrote: just curious: what do you mis in mkiv / luatex Support for Indic scripts / fonts. (I think we had a little bit of correspondence on this mailing list three or four years ago about this, and we were not able to convert and use the TrueType fonts I required.) Which specific indic scripts? Kannada, and soon I will also need Nagari (also known as Devanagari). Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt Sources (MkII)
A question for the hardcore members. On http://wiki.contextgarden.net/Manuals I read: ConTeXt Sources (MkII) Apart from the manuals, the source files (especially, some of the old ones) contain excellent documentation and examples. If you want a pretty printed pdf of a source file, say core-rul.tex, you can type texmfstart texexec --module kpse:core-rul.tex But this apparently doesn’t work any more (i.e., I simply entered that line in the Mac terminal and nothing happened). Am I doing something wrong? Robert___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt Sources (MkII)
> On 18. Apr 2018, at 09:35, luigi scarso wrote: > > Do you really need mkii ? I'm afraid so. I need XeTeX for its support of Indic fonts. And for my purposes MkII is already very, very nice. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt Sources (MkII)
BTW, I tried – > Luigi <http://wiki.contextgarden.net/User:Luigi.scarso> has converted all the > context sources into pdf. More details are available at > User:Luigi.scarso/modules.pdf > <http://wiki.contextgarden.net/User:Luigi.scarso/modules.pdf> as mentioned on http://wiki.contextgarden.net/Manuals, but the server does not respond. > On 18. Apr 2018, at 09:39, Robert Zydenbos wrote: > > >> On 18. Apr 2018, at 09:35, luigi scarso wrote: >> >> Do you really need mkii ? > > I'm afraid so. I need XeTeX for its support of Indic fonts. And for my > purposes MkII is already very, very nice. > > Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt Sources (MkII)
> On 18. Apr 2018, at 14:04, Hans Hagen wrote: > > On 4/18/2018 9:39 AM, Robert Zydenbos wrote: >>> On 18. Apr 2018, at 09:35, luigi scarso wrote: >>> >>> Do you really need mkii ? >> I'm afraid so. I need XeTeX for its support of Indic fonts. And for my >> purposes MkII is already very, very nice. > the other languages in indic will probably be supported in a couple of weeks > (basics are there but a bit of extra code is needed) YAY! Cool! ConTeXt MkIV / LuaTeX makes itself seriously interesting for a sixth of mankind. I'll happily serve as a guinea pig / tester. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] keeping together \subject and a table without a page break
I am looking for a way to keep a subject header and a following table together on one page, without a page break. Something like: ---snippet begins--- \subsubject{Personal suffixes for the present tense} \starttabulate [|w(.1\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|] […here comes the table…] \stoptabulate ---snippet ends--- but everything together on one page. (The example uses \starttabulate, but I would also need this for \startTABLE.) On the wiki I found a command \blank[samepage], but this does not seem to work (at least not in MkII), because the parameter 'samepage' is not recognized. I would be very grateful for suggestions. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] keeping together \subject and a table without a page break
YES! Thank you! > On 3. May 2018, at 13:07, Hans Hagen wrote: > > On 5/3/2018 12:22 PM, Robert Zydenbos wrote: >> I am looking for a way to keep a subject header and a following table >> together on one page, without a page break. Something like: >> […] > you can put \testpage[4] before the \subsubject (number of lines you want) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] reading ConTeXt source code
I've tried to go through the ConTeXt source to see what the possible parameters of commands, the dependencies, inheritances and the defaults are. Is there any file where I can see the order in which all the .mkii / .mkiv files are read? RZ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeXLive and ConTeXt
Perhaps it is useful that I mention that this is a MkIV problem on my iMac with TeXLive (2018 version). Using MkII, also with XeTeX, everything ran right out of the box. For MkIV, I had to run a program to let LuaTeX find all the fonts, and then it worked. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt, XeTeX, special effects in Indic font for Kannada
On my Mac (Mountain Lion) I would like to use ConTeXt with a complex OpenType font named Kedage for the Indian language Kannada, and I thought that I could do this using XeTeX (because LuaTeX seems unable to handle Indic fonts at present). This freely available font (found on Linux systems, for instance) comes in four files: Kedage-n.TTF, Kedage-b.TTF, Kedage-i.TTF, Kedage-t.TTF (normal, bold, italic and bolditalic, respectively). I have been partly successful with the simple command \definefontsynonym[kan][name:Kedage] and then using \definedfont[kan] where I want to have the font in the text. Also \font\kannada="Kedage" (and \kannada later in the text) seems to work well without any further indications of language, script etc. However, I would also like to use the bold, italic and bolditalic forms of the font. Simply using \bold and \em does not work. Here I see two possibilities: (1) use the XeTeX parameters FakeSlant and FakeBold, which I have done in LaTeX. But I do not know how this is done in ConTeXt. (2) use the other font files (Kedage-b.TTF etc.), and again I do not know how to do this. Can anybody help me out, either way? (I have attached a sample.) Robert kannadacontext.pdf Description: Adobe PDF document kannadacontext.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt, XeTeX, special effects in Indic font for Kannada
Hans, Just now I tried your suggestions: On Aug 8, 2013, at 13:51 , Hans Hagen wrote: >> Here I see two possibilities: >> >> (1) use the XeTeX parameters FakeSlant and FakeBold, which I have done in >> LaTeX. But I do not know how this is done in ConTeXt. > > \starttext > > \definefontfeature[slanted] [slant=.2] > \definefontfeature[boldened][extend=1.2] > > \definedfont[file:kedage-n*default] ... The slanting and stretched effects come out nicely -- but the complex combinations of the signs are not supported as they are in XeTeX. XeTeX supports the combinations, but not the effects (see attachments hagen-kan-luatex.pdf and hagen-kan-xetex.pdf). >> (2) use the other font files (Kedage-b.TTF etc.), and again I do not know >> how to do this. > > \definefontfeature[slanted] [slant=.2] > \definefontfeature[boldened][extend=1.2] > > \starttypescript [serif] [kedage] [name] ... No, unfortunately that one doesn't work so well (see attachment hagen-kan1-luatex.pdf). > in context, there is experimental support for devanagari > \definedfont[file:kedage-n*devanagari-one] > > but it all depends on what the font provides Is there any way to find out the font's possibilities, if one doesn't have any technical documentation about it? Robert hagen-kan-luatex.pdf Description: Adobe PDF document hagen-kan-xetex.pdf Description: Adobe PDF document hagen-kan1-luatex.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Centering tabulate env. using \setuptabulate
This is a topic that is of great interest to me. I have been trying to make tables in mkii (because I need XeTeX for my Indic fonts) that span across pages and in which cells are more than one line (so I use the 'p' parameter). I'm enclosing a test file below. Any suggestions? RZ ---start of test source--- % !TEX TS-program = ConTeXt (XeTeX) \starttext \input knuth \setuptabulate[split=yes] % ---> *** I WANT THIS TABLE TO BE CENTERED *** <--- \starttabulate [|p(.5\textwidth)|p(.2\textwidth)|] \dorecurse{4}{ \NC Nu laat ik je iets zien in een tabel, die met tabulate gemaakt is. \NC Het is overigens maar een experiment, maar we zullen zien wat er gebeurt. {\bf And I want all this to be centered.} \NC \NR \NR \NC Als dit werkt, dan gaan we heel fanatiek hiermee verder. \NC Dan gaan we allerlei prachtige zaken in ConTeXt zetten, met XeTeX. \NC \NR \NR } % end of \dorecurse \stoptabulate En nu iets met een ander mechanisme. Maar we moeten zien in hoeverre al deze mooie dingen formatteerbaar zijn. \blank % ---> *** I WANT THIS TABLE TO BE CENTERED TOO, AND SPLIT ACROSS PAGES *** <--- \dorecurse{5}{ \setupTABLE[row][each][rulethickness=.5pt,distance=1.5em,offset=\dimexpr3mm,split=repeat] \bTABLE \bTR \bTD Dit is iets in een TABLE. Of ik het begrepen heb? \eTD \bTD Misschien wel. \eTD \eTR \bTR \bTD \eTD \bTD En als ik nu maar éen cel schrijf? Het zou namelijk kunnen, dat hiermee tegen de een of andere regel gezondigd wordt, die in documentatie niet te vinden is. En in dat geval gaat het hele experiment niet op, of, nou ja, slechts ten dele. {\bf But drat, I want this box to be split across pages!}\eTD \eTR \eTABLE \blank } % end of \dorecurse \midaligned { \setupTABLE[row][each][rulethickness=1.5pt,distance=1mm,offset=\dimexpr2mm+2pt,split=repeat] \startTABLE \NC Text 1 \NC Text 2 \NC\NR \NC Text 3 \NC Text 4 \NC\NR \stopTABLE } \stoptext ---end of test source--- ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Centering tabulate env. using \setuptabulate
Is there also an equivalent of \placetable for use with Natural Tables? Robert On May 23, 2014, at 5:05 , Wolfgang Schuster wrote: > Am 23.05.2014 um 04:17 schrieb Robert Zydenbos : > > You have you use the “split” keyword when you want your tables to be broken > across pages, i.e. > > \starttext > > \placetable[split]{Table caption} > {\starttabulate > \NC Knuth \NC \input knuth \NC\NR > \NC Tufte \NC \input tufte \NC\NR > \NC Zapf \NC \input zapf \NC\NR > \NC Knuth \NC \input knuth \NC\NR > \NC Tufte \NC \input tufte \NC\NR > \NC Zapf \NC \input zapf \NC\NR > \stoptabulate} > > \stoptext > > Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Centering tabulate env. using \setuptabulate
On May 27, 2014, at 15:37 , Wolfgang Schuster wrote: >> Is there also an equivalent of \placetable for use with Natural Tables? > > You can use \placetable for all table environments. Thank you! Now another one: (a) I want to create a table using 'p' cells that does not use the full width of the paper (b) it is a long table, crossing a page end (c) the whole table should be centered I tried the source below and obviously made a mistake somewhere. Any suggestions? Robert Test source: \starttext \input knuth \setuptabulate[split=yes] \midaligned { %%% <-- THIS DOES NOT WORK -- it does not center the entire table \starttabulate [|p(.5\textwidth)|p(.2\textwidth)|] \dorecurse{4}{ \NC Nu laat ik je iets zien in een tabel, die met tabulate gemaakt is. \NC Het is overigens maar een experiment, maar we zullen zien wat er gebeurt. {\bf And I want all this to be centered.} \NC \NR \NR \NC Als dit werkt, dan gaan we heel fanatiek hiermee verder. \NC Dan gaan we allerlei prachtige zaken in ConTeXt zetten, met XeTeX. \NC \NR \NR } % end of \dorecurse \stoptabulate } % end of \midaligned \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Centering tabulate env. using \setuptabulate
On May 28, 2014, at 13:51 , Hans Hagen wrote: > On 5/28/2014 10:46 AM, Robert Zydenbos wrote: [...] > > why xetex ... mkii is frozen Sorry, Hans, but I need to use odd fonts for Indian languages that are not (yet?) supported by mkiv. But the combination ConTeXt mkii+XeTeX gives me beautiful results, so for the time being I'm trying to solve my few remaining problems and to produce my book that way. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Centering tabulate env. using \setuptabulate
On May 28, 2014, at 22:10 , Hans Hagen wrote: > On 5/28/2014 8:25 PM, Robert Zydenbos wrote: >> On May 28, 2014, at 13:51 , Hans Hagen wrote: >> >>> On 5/28/2014 10:46 AM, Robert Zydenbos wrote: [...] >>> >>> why xetex ... mkii is frozen >> >> Sorry, Hans, but I need to use odd fonts for Indian languages that are not >> (yet?) supported by mkiv. But the combination ConTeXt mkii+XeTeX gives me >> beautiful results, so for the time being I'm trying to solve my few >> remaining problems and to produce my book that way. > > you mean devanagari? Also, but mainly Kannada, and also Tamil. XeTeX (and therefore also mkii) deals with all of them very well. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] hyperlinks within a PDF
Forgive me for what must seem a beginners’ question, but I really could not find the solution in the documentation or the Wiki: How do I create hyperlinks within a PDF to another spot in the text of that same PDF? I had expected I could do something like: Here is a \goto{link}[label:1]. … \label[label:1]{This is what the link points to.} -- but I cannot find anything that resembles this in the documentation. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt is looking for a non-existent .bbl file (Mac problem?)
Yesterday I tried to create a fresh PDF from a revised text using MkII and XeTeX (I have been using this combination for several months, because I need to use Indic fonts, which are not -- yet? -- supported in MkIV). As a trick I defined an Indic font as a mono font (\tt), so that automatically the size would be adjusted correctly in footnotes etc. To my horror, it no longer works. I stripped down my input file to one called kannada-test.tex, and still I got the bizarre error message "file kannada-test.bbl not found, waiting for bibtex", and texexec (or a process it invokes) freezes. I have never used bibtex input in these documents. Below I am including the error log. I have changed nothing in the input files besides alterations in the text to be printed (not in any commands). The only thing that has changed is that in the meantime I installed the new version of MacTeX (2014; previously I was using 2013). I removed the entire MacTeX 2014 version and installed it afresh, but this did not help either. It seems to be a Mac problem. Ubuntu (14.04) also looks for a bbl file, but simply passes over it if none is found (see attachment). I would be very grateful for suggested solutions. I was using this to prepare materials for classes (fortunately we have a recess until April right now). Robert This is XeTeX, Version 3.14159265-2.6-0.1 (TeX Live 2014) (preloaded format=cont-en) restricted \write18 enabled. entering extended mode (./kannada-test.tex ConTeXt ver: 2013.06.07 17:34 MKII fmt: 2015.2.8 int: english/english system : cont-new.mkii loaded (/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkii systems : beware: some patches loaded from cont-new.mkii ) system : cont-sys.tex loaded (/usr/local/texlive/2014/texmf-config/tex/context/user/cont-sys.tex (/usr/local/texlive/2014/texmf-dist/tex/context/base/type-siz.mkii) (/usr/local/texlive/2014/texmf-dist/tex/context/base/type-otf.mkii) (/usr/local/texlive/2014/texmf-dist/tex/context/base/type-xtx.mkii)) system : kannada-test.top loaded (./kannada-test.top) bodyfont: 12pt rm is loaded language: patterns nl->default:default->1->2:2 us->default:default->2-> 2:3 de->default:default->3->3:3 da->default:default->4->2:2 sv->default:default ->5->2:2 af->default:default->6->2:2 gb->default:default->7->2:2 fr->default:de fault->8->2:2 es->default:default->9->2:2 ca->default:default->10->2:2 it->defa ult:default->11->2:2 la->default:default->12->2:2 pt->default:default->13->2:2 ro->default:default->14->2:2 pl->default:default->15->2:2 cs->default:default-> 16->2:2 sk->default:default->17->2:2 hr->default:default->18->2:2 sl->default:d efault->19->2:2 tr->default:default->20->2:2 tk->default:default->21->1:2 lt->d efault:default->22->2:2 agr->default:default->24->2:2 fi->default:default->25-> 2:2 hu->default:default->26->2:2 ru->default:default->28->2:2 uk->default:defau lt->29->3:3 loaded specials: dvips loaded language: language en is active specials: loading definition file dpx (/usr/local/texlive/2014/texmf-dist/tex/context/base/spec-dpx.mkii specials: loading definition file fdf (/usr/local/texlive/2014/texmf-dist/tex/context/base/spec-fdf.mkii)) specials: loading definition file xet (/usr/local/texlive/2014/texmf-dist/tex/context/base/spec-xet.mkii) (./kannadamanualfonts.tex)This is XeTeX, Version 3.14159265-2.6-0.1 (TeX Live 2014) (preloaded format=cont-en) restricted \write18 enabled. entering extended mode (./kannada-test.tex ConTeXt ver: 2013.06.07 17:34 MKII fmt: 2015.2.8 int: english/english system : cont-new.mkii loaded (/usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkii systems : beware: some patches loaded from cont-new.mkii ) system : cont-sys.tex loaded (/usr/local/texlive/2014/texmf-config/tex/context/user/cont-sys.tex (/usr/local/texlive/2014/texmf-dist/tex/context/base/type-siz.mkii) (/usr/local/texlive/2014/texmf-dist/tex/context/base/type-otf.mkii) (/usr/local/texlive/2014/texmf-dist/tex/context/base/type-xtx.mkii)) system : kannada-test.top loaded (./kannada-test.top) bodyfont: 12pt rm is loaded language: patterns nl->default:default->1->2:2 us->default:default->2-> 2:3 de->default:default->3->3:3 da->default:default->4->2:2 sv->default:default ->5->2:2 af->default:default->6->2:2 gb->default:default->7->2:2 fr->default:de fault->8->2:2 es->default:default->9->2:2 ca->default:default->10->2:2 it->defa ult:default->11->2:2 la->default:default->12->2:2 pt->default:default->13->2:2 ro->default:default->14->2:2 pl->default:default->15->2:2 cs->default:default-> 16->2:2 sk->default:default->17->2:2 hr->default:default->18->2:2 sl->default:d efault->19->2:2 tr->default:default->20->2:2 tk->default:default->21->1:2 lt->d efault:default->22->2:2 agr->default:default->24->2:2 fi->default:default->25-> 2:2 hu->default:default->26->2:2 ru->default:def
[NTG-context] font features in XeTeX
Dear ConTeXt folk, Is there any simple way to pass font features as a parameter to XeConTeXt? i am thinking of things like what in LaTeX would be (between square brackets) "\setromanfont [AutoFakeSlant=0.5, AutoFakeBold=0.5] {Doulos SIL Phon}". There has to be some way to do this, but I seem unable to find it in the documentatioin I have. RZ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font features in XeTeX
Hans Hagen wrote: > On 7/6/2015 9:13 AM, Robert Zydenbos wrote: >> Dear ConTeXt folk, >> >> Is there any simple way to pass font features as a parameter to >> XeConTeXt? i am thinking of things like what in LaTeX would be (between >> square brackets) "\setromanfont [AutoFakeSlant=0.5, AutoFakeBold=0.5] >> {Doulos SIL Phon}". >> >> There has to be some way to do this, but I seem unable to find it in the >> documentatioin I have. > > you can just append the directives to the font names (see type -xtx.mkii > for examples). I don't know if AutoFakeBold is some built in feature. Is > there a reason why you can't use mkiv with luatex? I would like to, but I need to use TrueType fonts for Indian scripts in my work that are supported in XeTeX but not (yet) in LuaTeX. As an experiment, I tried to use the so-called 'long s' in a Fraktur font, which comes out well in XeTeX with LaTeX, but I must be doing something wrong in ConTeXt. Robert Example: % The 'StylisitcSet 11' in the font UnifrakturMaguntia should contain the so-called 'long s'. % Somehow it doesn't work. \starttext \definetypeface [hauptfont] [rm] [Xserif] [Charis SIL] \definetypeface [schoenfont] [rm] [Xserif] [UnifrakturMaguntia] [default] [features={StylisticSet=11}] \switchtobodyfont [hauptfont] Dies ist mit Features, denke ich. {\switchtobodyfont [schoenfont] Und jetzt schreiben wir etwas in Fraktur, das ist ja schöner.} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] how to avoid hyphenation
Greetings all, Is there a simple way in ConTeXt to temporarily switch off hyphenation for a single word? I am thinking of something like the trick which works in (La)TeX: \hbox{thisisaverylongword}. I tried this in ConTeXt (MacTeX TeXLive 2010-64), but without success. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] two questions about endnotes
First question: I am considering using endnotes in my book instead of footnotes. There is a command \endnote, but I do not see the notes appear anywhere in my text. What am I doing wrong? What I tried: \starttext Dit is iets met een endnote.\endnote{Wat een zooi. Werkt het?} \page Het zou moeten werken,\endnote{Ja, toch?} want ik zie tekens in de tekst. \stoptext Second question: Is it possible to use endnotes as well as footnotes in the same text? -- Robert___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] two questions about endnotes
That was useful! But now I would like to go another step further: in the following, slightly altered example, I use a footnote and endnotes. I know that with "\setupfootnotes [conversion=characters]" the footnote markers are changed to letters instead of numbers. Is there any way of doing this also for endnotes? (N.B.: I am using MkII.) % extended example, with footnote and endnotes \setupfootnotes [conversion=characters] \starttext Dit is iets\footnote{Voetnoot.} met een footnote.\endnote{Wat een zooi. Werkt het?} \page Het zou moeten werken,\endnote{Ja, toch?} want ik zie tekens in de tekst. \placenotes [endnote] \stoptext % end of example > On 23. Jul 2018, at 07:56, Henri Menke wrote: […] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] future versions
On 24. Jul 2018, at 20:43, Hans Hagen wrote: > Hi, > > […] > That said, a logical question is how about next versions of context. Are > there fundamental features missing? Is more needed? […] At the risk of sounding like a scratched, repeating gramophone record -- support for Indic scripts would be wonderful. RZ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] using both footnotes and endnotes in a document
A puzzle for note specialists: I would like to use both endnotes as well as footnotes in one and the same document, for different kinds of notes. Ideally, I should be able to write something like: - Here is a footnote,\footnote{The footnotes comes here.} and now comes an note that should appear at the end of my text.\endnote{And this is the endnote.} - For this I would need commands for determining the kind of markers for the notes (I know what to do for footnotes: this looks like \setupfootnotes [conversion=characters]; but what does one do for endnotes?) Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] using both footnotes and endnotes in a document
This works fine with MkIV, but not with MkII (I tried by altering \setupnotation to the MkII command \setupfootnotes, but that doesn't work). I need MkII for my project. Is what I am looking for at all possible in MkII? > On 27. Jul 2018, at 03:22, Henri Menke wrote: > > On 27/07/18 12:01, Robert Zydenbos wrote: >> A puzzle for note specialists: I would like to use both endnotes as well as >> footnotes in one and the same document, for different kinds of notes. >> Ideally, I should be able to write something like: >> - >> Here is a footnote,\footnote{The footnotes comes here.} and now comes an >> note that should appear at the end of my text.\endnote{And this is the >> endnote.} >> - >> For this I would need commands for determining the kind of markers for the >> notes (I know what to do for footnotes: this looks like \setupfootnotes >> [conversion=characters]; but what does one do for endnotes?) > > \setupnotation[footnote][numberconversion=characters] > \setupnotation[endnote] [numberconversion=set 2] > \starttext > > \footnote{Hello} > \footnote{World} > \footnote{Oeps} > \footnote{\CONTEXT} > \endnote{Goodbye} > \endnote{Earth} > \endnote{End} > \endnote{Notes} > > \placenotes[endnote] > > \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] using both footnotes and endnotes in a document
> On 28. Jul 2018, at 16:48, Pablo Rodriguez wrote: > > On 07/27/2018 11:47 AM, Robert Zydenbos wrote: >> This works fine with MkIV, but not with MkII (I tried by altering >> \setupnotation to the MkII command \setupfootnotes, but that doesn't >> work). I need MkII for my project. > Hi Robert, > > why is this required? Support for Indic scripts? Indeed. > I think Hans added it for MkIV. > >> Is what I am looking for at all possible in MkII? > > \setupnote [endnote] [conversion=characters] > > I have learn how to create the format and invoke MkII, but this seems to > solve the problem. > > I hope it helps, It does! Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] preventing endnotes from running off the page
When using endnotes, it seems that all the notes that are collected in the text are placed together in a frame – but I have so many notes in a chapter that the frame runs off the last page. Is there any way to let the endnotes run on naturally to the next page? Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] preventing endnotes from running off the page
Thank you for your sample, Pablo – because you left out something that I had wrongly included, and that evidently is what caused the trouble. I had \footnote everywhere in my text and wanted not to change all of them to \endnote but, instead, I had put a \setupfootnotes[location=text] at the top of the file and a \placenotes [footnote] at the bottom, where I wanted the notes to appear. (Why? Because I could not figure out how to keep the proper font formatting if I used \endnote without adding an explicit font command at the beginning of each endnote.) That apparently was a mistake. It was solved by \setupfootnotes[location=none]. Robert > On 6. Aug 2018, at 17:48, Pablo Rodriguez wrote: > > On 08/06/2018 12:54 AM, Robert Zydenbos wrote: >> When using endnotes, it seems that all the notes that are collected >> in the text are placed together in a frame – but I have so many notes >> in a chapter that the frame runs off the last page. >> >> Is there any way to let the endnotes run on naturally to the next page? > > Hi Robert, > > I’m not sure I understand your issue. At least, I’m not able to > reproduce it: > >\starttext >\dorecurse{500}{\recurselevel\endnote{This is an endnote.} } > >\placenotes[endnote] >\stoptext > > Could you modify the sample to reproduce your issue? > > Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] footnote and endnote markers aligned with the left margin of the main text
Sorry for all these footnote questions, but here's another one. I want to print the notes without the footnote marker jutting out into the margin, but flushed with the left margin of the main text. Any help will be highly appreciated. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] general suggestion for ConTeXt documentation (was: footnote and endnote markers...)
> On 7. Aug 2018, at 17:54, Pablo Rodriguez wrote: > > On 08/06/2018 11:59 PM, Robert Zydenbos wrote: >> Sorry for all these footnote questions, […] > > Hi Robert, > > […] > > I hope it helps, > > Pablo That is it. I have no idea why – but that is the solution. (For all readers:) ConTeXt is great. Let me make that clear right way. I think it's the future of TeX. I'm already doing things in ConTeXt that I dread trying to do in LaTeX or any other system. But (yes, of course there was a 'but' coming) the one thing that is missing, the one obstacle which I think exists for ConTeXt gaining wider currency, is really good documentation. Take this last question of mine which Pablo solved: I had to put a certain parameter in \setupnotedefinition [footnote]. First I did it wrongly, putting it in \setupnote [footnote] (why? because the names of the values, like 'location', look so much alike). So what goes into \setupnotedefinition and what goes into \setupnote? How do I know? (How does Pablo know this? Maybe he can tell me off-list. :-) ) Many of the commands are not, or badly, documented in the otherwise useful Wiki. What are all the parameters that are recognized by the various commands, and just what do they mean? What are the default settings? ConTeXt looks like an object oriented programming language with inheritances, but it is unclear just what is inherited from where, and why. I appreciate all the effort made by various people to provide documentation and demos. But I think the cause of ConTeXt would be greatly served if someone would bring out a hierarchic list of the ConTeXt commands with a brief description of what the commands and the parameters do and why they exist at all, so that the reader gets an idea of the structure of the whole system and the philosophy behind it (i.e., explaining why it is thus structured and why it works). Once again: I think ConTeXt is great, and so is this forum, which is a huge help. I also realize ConTeXt is complex and that the great people behind it also have other things to do in life. But still: maybe the kind of documentation I propose would help to make things still a bit greater? Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] general suggestion for ConTeXt documentation (was: footnote and endnote markers...)
On 8. Aug 2018, at 00:54, Alan Braslau wrote: > > tex/context/interface/mkiv/i-context.pdf Thank you! I didn’t know I already had this updated version of a document I’ve already been using. But however useful this document already is, it does illustrate some of my problems. For instance, in the entry ‘\setupnote’ I see: … indicator: yes no distance: dimension … Surely this is fine for those who have been working on ConTeXt for years at a very low coding level. But I see this and ask myself: “indicator of what? distance to what?” etc. (Sometimes, when confronted with such information, I just play around a bit with changing parameters and see what happens: sometimes I discover the meanings, sometimes I don’t.) ‘\setupnote’ inherits from ‘\setupframed’. There one finds … profile = NAME empty = yes no … and similar questions arise: “what kind of profile?”, “what is empty or not?” etc. Unfortunately the source browser on the Wiki is out of order, otherwise that might have helped. Suggestion / request: all the ConTeXt source files are, of course, read and processed in a particular order. It would surely be useful if someone could indicate where this chain begins. Anybody who would be interested in sorting out the workings of ConTeXt and writing a manual (no, I am not making any promises yet :-) ) could then trace how one command leads to another, another, another… and how the entire system is built up. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] resetting footnote counter
A simple footnote question this time. I would like to print endnotes at the end of every chapter in my book, and then reset the footnote counter so that in the next chapter the first note will be ‘1’ again. I suppose this should be done by means of \setupfootnotes – but with which parameter? Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] resetting footnote counter
Sorry, neither of these work (MkII with XeTeX). I get no error messages with Pablo's suggestion, but not the desired result either. Perhaps I need a very primitive command that I can insert at the beginning of every chapter. Robert > On 8. Aug 2018, at 16:54, Pablo Rodriguez wrote: > > On 08/08/2018 03:55 PM, Taco Hoekwater wrote: >>> On 8 Aug 2018, at 15:33, Robert Zydenbos wrote: >>> >>> A simple footnote question this time. I would like to print >>> endnotes at the end of every chapter in my book, and then reset the >>> footnote ounter so that in the next chapter the first note will be >>> ‘1’ again. I suppose this should be done by means of \setupfootnotes >>> – but with which parameter? >> >> Like this (and I also agree that footnote/endnote setup is a bit >> complicated, but of course the concept is already quite complicated >> itself): [...] > Taco, > > I’m afraid Robert needs that for MkII (although he didn‘t mention it). > > Robert, > > your command reads: > >\setupfootnotes[way=bychapter] > > By default, footnote numbering seems to be reset by part. > > Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] resetting footnote counter
Pablo's example works well on my machine. So there must be a disturbance at a different level in my complex text – perhaps in my settings: \setupnotedefinition [footnote] [location=serried, distance=1em, hang=1em] or \setupfootnotes[bodyfont={Mainfont,8pt}, width=\textwidth, frameoffset=1em, location=none, way=bychapter] which in all other respects work fine? ('Mainfont' is my own definition, from a typescript; I also added 'way=bychapter', to no effect.) The only thing that does not happen is the resetting of the note counter. If I had a command that simply says "the counter named X (=footnote counter) is now 0 again", which I could insert at the beginning of every chapter, the problem would be solved. (Not so elegant, but it would be a solution.) Robert > On 8. Aug 2018, at 17:36, Pablo Rodriguez wrote: > > On 08/08/2018 05:03 PM, Robert Zydenbos wrote: >> Sorry, neither of these work (MkII with XeTeX). I get no error >> messages with Pablo's suggestion, but not the desired result either. > > Weird, this works for me (with and without XeTeX): > >\setuppapersize[A8] >\setupnote[footnote][way=bychapter] >\starttext >\chapter{Chapter} >\dorecurse{2}{Text\footnote{Footnote.}} >\chapter{Chapter} >\dorecurse{2}{Text\footnote{Footnote.}} >\stoptext > > Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] general suggestion for ConTeXt documentation
> On 8. Aug 2018, at 17:28, Pablo Rodriguez wrote: > > Hi Robert, > > […] I might be totally missing your point here, but it seems to me that you > try to know what can be achieved in general with ConTeXt, even before to > learn how to use ConTeXt for your typesetting needs. Not really. My requirements are rather dull and limited. I was attracted to ConTeXt for its simplicity in changing paper formats, in changing the formats of headings (section, subsection etc.), the ease with which index entries can be formatted, and above all for its beautiful table possibilities. The book I am working on is full of tables in various formats and lengths. That (and the footnotes :-) ) covers just about all my typesetting needs. I had already prepared numerous smaller documents as practice before I started to process the book with ConTeXt, was delighted with the results, and so I thought that I could manage the book too (before the end of this month…). Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] resetting footnote counter
tex.stackexchange.com has page titled “How to manually reset the footnote numbering in ConTeXt?” (https://tex.stackexchange.com/questions/359702/how-to-manually-reset-the-footnote-numbering-in-context), where exactly the same question was asked: ---begin quote--- “I have a document with many footnotes, like this: This is some text\footnote{This is a footnote}. This is some more text\footnote{This is another footnote}. This is yet another text\footnote{This is some more footnote text}. This produces footnotes numbered 1, 2, 3, etc. I need to manually reset the footnote number back to 1. E.g.: This is some text\footnote{This is a footnote}. This is some more text\footnote{This is another footnote}. \resetfootnote This is yet another text\footnote{This is some more footnote text}. This should produce footnotes numbered 1, 2, then 1 again.”) ---end quote--- But no conclusive answer was found. The questioner then said: “I tried changing way=bypage and way=bysection, but it does not get the correct results, which is to have the numbers reset each time \placefootnotes is called. As bypage and bysection both don't do that, I need to be able to manually adjust the numbering.” I have tried ‘\resetcounter [footnote]’ (a suggested solution on that web page), but it does not work (at least not in MkII+XeTeX). ‘\setupcounter [footnote] [0]’ (also suggested on that web page) is rejected as an error. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] resetting footnote counter
What I've done is the following: I've made a zip archive (see attachment) with a few relevant files – the two first files that will be a part of the book: preface.tex and how-to-use.tex, together with an environment file manual-environment-xasia.tex with a lot of settings, and the starting file sample.tex which puts everything together. This does not need odd things like exotic fonts, and it does not contain uncommon tables etc. I've changed the main font to TeX Gyre Termes, which all of us have (so I assume, since it comes with the major TeX distributions), so there should be no problems there either; but if there is an error message, you can comment out line 12 in manual-environment-xasia.tex and de-comment line 13 to turn the font into Times (or you can change the name of the font to anything you have on your computer). Right now I am using an iMac with the latest OS installed. The 'footnotes' will be placed at the end of the chapters (i.e., they will be endnotes). If you run sample.tex through ConTeXt and XeTeX (i.e., MkII) and look at the final page, you will see that the footnote / endnote marker has not been reset. Robert > On 9. Aug 2018, at 16:37, Aditya Mahajan wrote: > > On Thu, 9 Aug 2018, Robert Zydenbos wrote: > >> I have tried ‘\resetcounter [footnote]’ (a suggested solution on that web >> page), but it does not work (at least not in MkII+XeTeX). ‘\setupcounter >> [footnote] [0]’ (also suggested on that web page) is rejected as an error. > > Can you post a minimal example. Because the following works in MKII (counter > reset at each chapter) […] <> ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] resetting footnote counter
What I've done is the following: I've made a zip archive (see attachment) with a few relevant files – the two first files that will be a part of the book: preface.tex and how-to-use.tex, together with an environment file manual-environment-xasia.tex with a lot of settings, and the starting file sample.tex which puts everything together. This does not need odd things like exotic fonts, and it does not contain uncommon tables etc. I've changed the main font to TeX Gyre Termes, which all of us have (so I assume, since it comes with the major TeX distributions), so there should be no problems there either; but if there is an error message, you can comment out line 12 in manual-environment-xasia.tex and de-comment line 13 to turn the font into Times (or you can change the name of the font to anything you have on your computer). Right now I am using an iMac with the latest OS installed. The 'footnotes' will be placed at the end of the chapters (i.e., they will be endnotes). If you run sample.tex through ConTeXt and XeTeX (i.e., MkII) and look at the final page, you will see that the footnote / endnote marker has not been reset. Robert > On 9. Aug 2018, at 16:37, Aditya Mahajan wrote: > > On Thu, 9 Aug 2018, Robert Zydenbos wrote: > >> I have tried ‘\resetcounter [footnote]’ (a suggested solution on that web >> page), but it does not work (at least not in MkII+XeTeX). ‘\setupcounter >> [footnote] [0]’ (also suggested on that web page) is rejected as an error. > > Can you post a minimal example. Because the following works in MKII (counter > reset at each chapter) […] <> ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] referencing a footnote
Another footnote question for the experts. I want to refer to a note from within another, later note. I thought I could do this in the following way: … \footnote[uvu-avu]{These two suffixes […] … \footnote{See n.~\note[uvu-avu].} … But I get this result: There are two things wrong: (1) I want to get a result that looks like “See n. 18.”, with a number that is not superscript. (This happens when I try such referencing in other notes as well as in the main text.) (2) The number is wrong: it is footnote #19, not 18. I *could* work around this problem by totally different means – but I would much prefer to reference notes more or less in the manner I tried above. What could I improve in my code? Robert___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] referencing a footnote
> On 12. Aug 2018, at 17:52, Pablo Rodriguez wrote: > > Sorry, Robert, I almost forgot it. > > If you reset the footnote numbers in each chapter, I’d rather suggest > something similar to: > > \footnote{See n.~\in[uvu-avu] on p.~\at[uvu-avu].} > > Since footnote numbers aren’t unique, consider providing the page or the > chapter number. Of course. :-) Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] referencing a footnote (and getting the right number)
> On 12. Aug 2018, at 17:38, Pablo Rodriguez wrote: > > Hi Robert, > > the reference command in notes is \in (for both MkII and MkIV), such as in: > >\starttext >\dorecurse{30}{\footnote{Footnote}} >\footnote[uvu-avu]{These two suffixes […]} >\dorecurse{30}{\footnote{Footnote}} >… >\footnote{See n.~\in[uvu-avu].} >\stoptext Aha. I didn’t find that in contextref.pdf (2013 edition). But it works! What does disturb me, however, is that I have this one chapter where the wrong note number is indicated (note 19 is referred to as note '18'), and I do not know why. Could it be that this is because earlier in the chapter I have also used \setupnote [localnote] [location=none] … \startlocalfootnotes[conversion=characters,n=0] … \placenotes [localnote] \stoplocalfootnotes and that this somehow interferes with the referencing of other footnotes? That is the only difference I see between this chapter and the others. Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] cross references to chapters in a book
Dear wizards of ConTeXt, In the final stage of completing a book project, I was wondering how to automatize cross references to chapters. I’ve already figured out how to refer to pages (using “\at[REFERENCE]”), but how is this done with chapters? I’m apparently too simple-minded to understand the manual (and I don’t understand the differences between \reference, \textreference, \in, \about). Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] cross references to chapters in a book
Hmm… although I got your example to work after some tweaking (changing \samplefile to {input and placing knuth.tex and zapf.tex in the same folder as the test file), I could not reproduce this with my book. I want to get "chapter 4" but keep getting "chapter 4.0". Is this because I am using MkII with XeTeX? Robert > On 22. Feb 2019, at 20:47, Wolfgang Schuster > wrote: > > Robert Zydenbos schrieb am 22.02.19 um 17:14: >> Dear wizards of ConTeXt, >> In the final stage of completing a book project, I was wondering how to >> automatize cross references to chapters. I’ve already figured out how to >> refer to pages (using “\at[REFERENCE]”), but how is this done with chapters? >> I’m apparently too simple-minded to understand the manual (and I don’t >> understand the differences between \reference, \textreference, \in, \about). > > When you use \chapter: > > \starttext > > \chapter[sec:knuth]{Knuth} > > \samplefile{knuth} > > See \in{chapter}[sec:zapf] at \at{page}[sec:zapf]. > > \chapter[sec:zapf]{Zapf} > > \samplefile{zapf} > > See \in{chapter}[sec:knuth] at \at{page}[sec:knuth]. > > \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] cross references to chapters in a book
Still nicer would be the following, but I do not know whether this is technically possible – I have the following text: % start of example: in chapter 4, pp. 38, I have \subject [wild-stuff]{Wild stuff} Now comes a lot of weird stuff which I want to refer to later. … % end of stuff in one chapter % in another chapter: As we already saw in \in{chapter}[wild-stuff], on p.~\at[wild-stuff] % that was in the other chapter % end of example and the result would be: “As we already saw in chapter 4, on p.~38”… Can such a thing be done? Robert > On 22. Feb 2019, at 22:04, Robert Zydenbos wrote: > > Hmm… although I got your example to work after some tweaking (changing > \samplefile to {input and placing knuth.tex and zapf.tex in the same folder > as the test file), I could not reproduce this with my book. I want to get > "chapter 4" but keep getting "chapter 4.0". > > Is this because I am using MkII with XeTeX? > > Robert > >> On 22. Feb 2019, at 20:47, Wolfgang Schuster >> wrote: >> >> Robert Zydenbos schrieb am 22.02.19 um 17:14: >>> Dear wizards of ConTeXt, >>> In the final stage of completing a book project, I was wondering how to >>> automatize cross references to chapters. I’ve already figured out how to >>> refer to pages (using “\at[REFERENCE]”), but how is this done with >>> chapters? I’m apparently too simple-minded to understand the manual (and I >>> don’t understand the differences between \reference, \textreference, \in, >>> \about). >> >> When you use \chapter: >> >> \starttext >> >> \chapter[sec:knuth]{Knuth} >> >> \samplefile{knuth} >> >> See \in{chapter}[sec:zapf] at \at{page}[sec:zapf]. >> >> \chapter[sec:zapf]{Zapf} >> >> \samplefile{zapf} >> >> See \in{chapter}[sec:knuth] at \at{page}[sec:knuth]. >> >> \stoptext > > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] formatting index entries
Dear list members, In my book I am creating an index. I know that there are commands for formatting index entries, like: \index{sl::īga} if I want the word 'īga' to be printed in slanted type. I also know that we can create sub-entries, like \index{īga+emphasized} But now I want the word 'īga' to be slanted, but not the word 'emphasized'. I have tried things like \index{sl::īga+rm::emphasized}, but I can't figure this out. Any suggestions? Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries
Sorry, that works fine in MkIV, but not in MkII, which I need to use. Robert > On 21. Aug 2019, at 17:33, Wolfgang Schuster > wrote: > > Robert Zydenbos schrieb am 21.08.2019 um 10:59: >> Dear list members, >> >> In my book I am creating an index. I know that there are commands for >> formatting index entries, like: >> >> \index{sl::īga} >> >> if I want the word 'īga' to be printed in slanted type. I also know that we >> can create sub-entries, like >> >> \index{īga+emphasized} >> >> But now I want the word 'īga' to be slanted, but not the word 'emphasized'. >> I have tried things like \index{sl::īga+rm::emphasized}, but I can't figure >> this out. >> >> Any suggestions? > > \defineprocessor [sl] [style=slanted] > \defineprocessor [bf] [style=bold] > > \starttext > > \dontleavehmode\index{sl->īga} > > \dontleavehmode\index{īga+normal} > > \dontleavehmode\index{bf->īga+bold} > > \placeindex[balance=no] > > \stoptext > > Wolfgang > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries
Strange, in MkIV I get an error message which I do not understand, because by the look of it, your code (I called the file 'indexpablo.tex') seems in order – but in MkII (which I need) it works. The MkIV error log: This is LuaTeX, Version 1.07.0 (TeX Live 2018) system commands enabled. open source > level 1, order 1, name '/usr/local/texlive/2018/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2018.04.04 00:51 MKIV beta fmt: 2018.5.13 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name '/usr/local/texlive/2018/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' close source> level 2, order 2, name '/usr/local/texlive/2018/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'indexpablo', input './indexpablo', result 'indexpablo' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 2, order 3, name '/Users/rz/Documents/work/Kannada-manual-compile-klad/indexpablo.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded structure > sectioning > chapter @ level 2 : 0.1 -> \headtext {index} tex error > tex error on line 50 in file /Users/rz/Documents/work/Kannada-manual-compile-klad/indexpablo.tex: ! Missing } inserted } \endgroup l.50 \stopregisterentry \strc_registers_place_indeed ...\c!pagesegments }} \relax \strc_registers_place ...c_registers_place_indeed \stopmixedcolumns \else \s... \strc_registers_complete ...\currentregister ][#2] \page [\v!yes ]\stopnameds... ... l.5\stoptext > On 21. Aug 2019, at 17:10, Pablo Rodriguez wrote: > > On 8/21/19 10:59 AM, Robert Zydenbos wrote: >> Dear list members, >> >> In my book I am creating an index. I know that there are commands >> for formatting index entries, like: >> >> \index{sl::īga} >> [...] >> \index{īga+emphasized} >> [...] >> Any suggestions? > > Hi Robert, > > this worked in MkIV/XL (I don’t know what might happen in MkII): > >\starttext >\index[īga]{{\em īga}} >\index[īga+emphasized]{{\em īga+emphasized}} >\completeindex >\stoptext > > Just in case it helps, > > Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] formatting index entries: alphabetical order in Unicode
I seem to have a problem with Unicode in the indexing function for my book: a word like āyitu (beginning with an 'a' with a macron over it) is considered a word that starts with a 'y'; the word īga (beginning with an i with a macron) is placed as if it is 'ga'. Is there any way to tell the indexing function how to deal with such special characters? Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
That helps! But in any case, it looks like the problems are actually several (also the one of the precise order of the words in the index), and I think the 'fastest' solution for now is that I just compile the index (only 4 pages), make a separate component file and rearrange the contents by copy-and-paste. Not the most elegant of solutions, but it works. :-) > On 22. Aug 2019, at 01:58, Richard Mahoney | Indica et Buddhica > wrote: > > Robert, > > In IV one can do something such as this: > > % Registers (Indices) > > \defineregister[TIB] > > \setupregister[TIB][indicator=yes,compress=yes] > > and then in the body: > > \TIB[don du gner ba]{don du gñer ba : patthanā : wish}don du gñer ba'i > phyir rdzogs par byed do > > \TIB[non mons]{ñon moṅs : kilesa : defilements}ñon moṅs pa śin tu che > ba yin-no > > > Richard ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
On 22. Aug 2019, at 18:17, Wolfgang Schuster wrote: > A PDF with the wrong sorting order doesn't help when you can't show a working > minimal example to reproduce the problem. When you need more control about > the sorting order of the index you should switch to MkIV which has more > options. > > Wolfgang When ConTeXt MkIV (rather: LuaTeX) supports Indic fonts, I'll gladly do that. :-) Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
> On 13. Sep 2019, at 12:31, luigi scarso wrote: > > > On Fri, Sep 13, 2019 at 12:20 PM Robert Zydenbos wrote: > > When ConTeXt MkIV (rather: LuaTeX) supports Indic fonts, I'll gladly do that. > :-) > > > luahbtex (in texlive 2020) has harfbuzz embedded . That sounds like *the* solution (for my next book, in 2020). I've had excellent experiences with harfbuzz-embedded software. RZ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___