Re: [NTG-context] Hyphenation questions
Henning Hraban Ramm schrieb am 01.05.2019 um 16:14: 2. how to switch language for just three words for correct hyphenation? \starttext English ... \language[de]{Deutsch} \stoptext Shouldn’t that be \starttext English ... {\language[de]Deutsch} \stoptext ? Yes, the brace should be before \language because the command is switch to change the language. 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] Hyphenation questions
Am 2019-04-24 um 19:47 schrieb Wolfgang Schuster : > Dmitry Starostin schrieb am 24.04.2019 um 19:34: >> 1. is there an analog to \hyp{} command from the 'hyphenat' package? Double >> words with a dash happen all too often. > > 1. Add \setbreakpoints[compound] to enable a line break at a hyphen. > > \setbreakpoints[compound] > > \starttext > electromagnetic-endioscopy > \stoptext > > 2. Use || to insert a breakable hyphen. > > \starttext > electromagnetic||endioscopy > \stoptext > >> 2. how to switch language for just three words for correct hyphenation? > > \starttext > English ... \language[de]{Deutsch} > \stoptext Shouldn’t that be \starttext English ... {\language[de]Deutsch} \stoptext ? For most languages you can also use their shortcut, e.g. \de, \ru, \en – but not \it (italic, not Italian) or \sl (slanted, not Slowenian). Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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] Hyphenation questions
Dmitry Starostin schrieb am 24.04.2019 um 19:34: 1. is there an analog to \hyp{} command from the 'hyphenat' package? Double words with a dash happen all too often. 1. Add \setbreakpoints[compound] to enable a line break at a hyphen. \setbreakpoints[compound] \starttext electromagnetic-endioscopy \stoptext 2. Use || to insert a breakable hyphen. \starttext electromagnetic||endioscopy \stoptext 2. how to switch language for just three words for correct hyphenation? \starttext English ... \language[de]{Deutsch} \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 ___
[NTG-context] Hyphenation questions
1. is there an analog to \hyp{} command from the 'hyphenat' package? Double words with a dash happen all too often. 2. how to switch language for just three words for correct hyphenation? 3. if the citation in APS format falls out of the right margin, what needs to be changed to adjust it? 4. In APS, I cannot figure out how to make a space appear between the numbers for cited sources. [1, p. 1,2, p. 2]. But [1, p. 1, 2, p. 2] is what is desired. In one case it did appear automatically, but all others don't work. \cite[righttext={{{, p.~1}},{{, p.~2}}}][book1,book2] ___ 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 ___