Re: [NTG-context] appendices disregards page method
Hi Henri, try this : --- \setuppagenumbering[alternative=doublesided] \setupsectionblock[bodypart] [page=] \setupsectionblock[appendix] [page=] \definepagebreak[chapterpagebreak][yes,header,footer,right] \setuphead[chapter][page=chapterpagebreak] \starttext \startbodymatter \startchapter[title={One}] \dorecurse{10}{\input knuth} \stopchapter \startchapter[title={Two}] \dorecurse{10}{\input knuth} \stopchapter \startchapter[title={Three}] \dorecurse{10}{\input knuth} \stopchapter \stopbodymatter \startappendices \startchapter[title={Four}] \dorecurse{10}{\input knuth} \stopchapter \startchapter[title={Five}] \dorecurse{10}{\input knuth} \stopchapter \stopappendices \stoptext --- An adaptation from wiki : http://wiki.contextgarden.net/Titles Alain Auger Le 16-09-30 à 15:38, Henri Menke a écrit : Dear list, when I'm starting a new chapter I want it to start on a recto page and if a page without text has to be inserted to fulfil this requirement it should be completely blank (no headers of footers). It was easy to achieve using \definepagebreak and setting the page method of the chapter (see MWE). However, when I switch to the appendix, this page method is disregarded and the preceding page is _not_ blank. In my MWE below, page 12 should actually be completely blank, i.e. no page number. How can this be achieved? Cheers, Henri --- \setuppagenumbering[alternative=doublesided] \definepagebreak [chapterpagebreak] [yes,header,footer,right] \setuphead [chapter] [page=chapterpagebreak] \starttext \startchapter[title={One}] \dorecurse{10}{\input knuth} \stopchapter \startchapter[title={Two}] \dorecurse{10}{\input knuth} \stopchapter \startchapter[title={Three}] \dorecurse{10}{\input knuth} \stopchapter \startappendices \startchapter[title={Four}] \dorecurse{10}{\input knuth} \stopchapter \startchapter[title={Five}] \dorecurse{10}{\input knuth} \stopchapter \stopappendices \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 ___ -- Alain Auger Infographiste <http://www.diffusionvie.com/fr/> ___ 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] Hyphenation on apostrophe and proper noun
Bonjour Jean-Pierre, excellent ! Votre solution corrige le problème de l'apostrophe. Toutefois j'ai rencontré un message d'erreur avec la commande : \mainlanguage[fr] Est-ce la version de ConTeXt que j'utilise ? (ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2016.8.29 int: english/english) Mais en retirant cette commande, l'hyphenation fonctionne bien. Si je pourrais gérer les noms propres, ce serait encore mieux. Encore merci ! Alain Auger - Hi Jean-Pierre, excellent! Your solution corrects the apostrophe problem. However, I encountered an error message with the \mainlanguage [fr] Is the version of ConTeXt I use? (ConTeXt worm: 2016.05.17 7:20 p.m. MKIV current fmt: 2016.8.29 int: English / English) But removing this command, the hyphenation works well. If I could manage the proper noun, it would be even better. Thanks again ! Alain Auger Le 16-09-30 à 12:29, Jean-Pierre Delange a écrit : Hi Alain, J'ai rencontré le même problème, y compris pour la ponctuation dans les notes et j'ai résolu le problème de la manière suivante. I've encountered the same issue, even in footnotes, and I've solved it with this (note that there are other languages than French in my documents) : \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] - Mail original - De: "Alain Auger" <aau...@diffusionvie.com> À: ntg-context@ntg.nl Envoyé: Vendredi 30 Septembre 2016 15:45:53 Objet: [NTG-context] Hyphenation on apostrophe and proper noun Dear list, T here is a way to prevent hyphenation to occur on a apostrophe " L' -..." , and also on proper noun ? \language[fr] \setcharacterspacing[frenchpunctuation] \setupalign[stretch,verytolerant] --- L’un des critiques, Dean Farrar, écrivit : « L’- histoire n’a jamais entendu parler d’un roi Belt- schatsar. » --- Thanks! Alain Auger ___ 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 ___ ___ 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 ___ -- Alain Auger Infographiste <http://www.diffusionvie.com/fr/> ___ 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] Hyphenation on apostrophe and proper noun
Dear list, There is a way to prevent hyphenation to occur on a apostrophe "L'-...", and also on proper noun? \language[fr] \setcharacterspacing[frenchpunctuation] \setupalign[stretch,verytolerant] --- L’un des critiques, Dean Farrar, écrivit : « L’- histoire n’a jamais entendu parler d’un roi Belt- schatsar. » --- Thanks! Alain Auger ___ 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 ___