Re: [NTG-context] LuaTeX has troubles with contextual kern
Hi, Am 2013-04-24 12:46, schrieb Hans Hagen: On 4/24/2013 11:07 AM, Georg Duffner wrote: Hi, in EB Garamond I have some contextual lookups in the kern feature with which LuaTeX in context standalone (updated today in the morning) seems to have problems (the issue is not new, I’ve already reported it in january but perhaps that was a bit too confusing). The test document is: \definefontfeature[default][default][mode=base] you want node mode, so mode=node I'm sorry, I forgot to mention it, I’ve already tested with mode=node, the result is exactly the same. \definefontsynonym[ebg][file:EBGaramond12-Regular.otf] \definefontfeature[ss20][ss20=yes] \definefontfeature[iota1][cv81=1] \definefontfeature[iota2][cv81=2] \definefontfeature[altcirc][cv80=1] \define\test{Tì αᾟα\par} \starttext \definedfont[ebg*default at 12pt]\test \addfeature{ss20}\test \addfeature{iota1}\test \addfeature{iota2}\test \addfeature{altcirc}\test \stoptext The font is at http://www.georgduffner.at/ebgaramond/fonts/EBGaramond12-Regular.otf The corresponding lookups in the kern.fea roughly contain pos T' 145 i.dotless gravecomb; which increases the right sidebearing of T by 145 before i.dotless followed by gravecomb maybe you also need to enable lfbd and rtbd? lfbd and rtbd don’t make sense here, they are meant to by activated by opbd and only should affect left and right line-ends. They are the Opentype equivalents to protrusion settings. This is about simple kerning in the text (btw, there are experimental lfbd and rtbd settings in the font). This example is a standard kerning lookup (cf. http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html#6.a http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html#6.h and http://glyphsapp.com/blog/contextual-kerning/ ) and pos Eta' 218 0 218 0 uni0345.cap @grk_tlAcc2; pos Eta' 218 0 418 0 uni0345.cap1 @grk_tlAcc2; pos Eta' 218 0 558 0 uni0345.cap2 @grk_tlAcc2; where @grk_tlAcc2 contains the accents attached at the top left of the glyph and which means that Eta is positioned at 218 inside its bounding box and the bounding box is expanded by the third value between , on the condition that it’s followed by uni0345.cap* and the said accents. ok, so that is effectively changing the advance width Yes. ss20 does a full decomposition of all composed glyphs so I can replace any component by an alternate glyph. Their order corresponds to canonical decomposition. Attached you find the pdf output and a pdf from a parallel xelatex test which shows the desired result: \documentclass[12pt]{minimal} \usepackage{fontspec} \setmainfont{EB Garamond} \newcommand{\test}{Tì αᾟα\par} \begin{document} \test \addfontfeature{RawFeature=+ss20}\test \addfontfeature{CharacterVariant=81:1}\test \addfontfeature{CharacterVariant=81:2}\test \addfontfeature{CharacterVariant=80}\test \end{document} I don't know what \addfontfeature does in xetex (probably accumulative) but in context you can best use the \feature command: \feature[+][iota1] as \addfeature cum suis were somewhat experimental features related to oriental tex. I’m a bit confused. As I don’t use context yet (this time I did for reporting a bug upon which I stumbled when using lualatex) I looked up the necessary commands in the newly presented Fonts out of ConTeXt where on p. 41 the commands \addfeature and \subtractfeature are used. In xelatex, \addfontfeature is defined by the package fontspec and does indeed accumulate features (much like I thought, \addfeature does in context) but without the need to be defined in the preamble and without the advantage to define feature sets. Best regards, Georg ___ 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] Adobe Garamond Problems with letter combination fi
Hi Wolfgang, All, First I think it better if ligatures should be off as a default. Now, to my actual question. Is there a way in ConText to selectively true certain ligatures on/ff. for example fl could be on, but fi off. I know that I can set up the the editor to do it, or use unicode directly, but would prefer ConText to do the work. regards Keith. Am 24.04.2013 um 10:51 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: Am 24.04.2013 um 10:39 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi, \usemodule[simplefonts] \setmainfont[AGaramondPro] \starttext Amficool \stoptext gives an i without dot, see attachment. And the letters i and f are curiously bonded. The second attachment shows the same word written in MS-Word, again with Adobe Garamond Pro, without this curiosity. Where this comes from and how to fix? This is a ligature [1], you can disable ligatures when you add \definefontfeature[default][default][liga=no] before \setmainfont. [1] http://en.wikipedia.org/wiki/Typographic_ligature 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] Adobe Garamond Problems with letter combination fi
On 04/25/2013 08:20 AM, Keith J. Schultz wrote: First I think it better if ligatures should be off as a default. Then you should not be using any form of TeX. ligatures have been part of TeX since its invention (TeXbook, p. 4), and they have been part of fine typesetting since Gutenberg. It's a sad consequence of the advent of abominations like Microsoft Word that people consider them superfluous. Now, to my actual question. Is there a way in ConText to selectively true certain ligatures on/ff. for example fl could be on, but fi off. I know that I can set up the the editor to do it, or use unicode directly, but would prefer ConText to do the work. Opentype fonts put ligatures into certain groups, so turning fi off while keeping fl is a bit difficult. I think you could use a font goodies file and put a zero-width empty space between f and i. There's a file demo.lfg in the standalone distribution which might be of help. Thomas ___ 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] disabling a header on the first page
I am building a context document with a title page. I want to disable the header on the title page. This comes before the first \chapter tag. The documentation indicated that you can disable the header on a page with the \page command. I tried several different things as the first command after \starttext, but none of these disabled the header: \page[header=none] \page[header] \page[header=high] Can anybody tell me how I disable the header on the first page? I would really appreciate the help. -Lance Larsen ___ 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] disabling a header on the first page
Am 25.04.2013 um 00:10 schrieb Lance Larsen lance.c.lar...@gmail.com: I am building a context document with a title page. I want to disable the header on the title page. This comes before the first \chapter tag. The documentation indicated that you can disable the header on a page with the \page command. I tried several different things as the first command after \starttext, but none of these disabled the header: You can disable/enable/change the header with the \setupheader command. One \chapter etc. pages you can use the header key of \setuphead to change the header on the page where the section appear, e.g. \setuphead[chapter][header=empty] doesn’t print the header on the first page of a new chapter. \page[header=none] \page[header] \page[header=high] Can anybody tell me how I disable the header on the first page? I would really appreciate the help. Use the \noheaderandfooterlines command. \starttext \noheaderandfooterlines \dorecurse{10}{\input knuth\par} \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] LuaTeX has troubles with contextual kern
On 4/25/2013 8:08 AM, Georg Duffner wrote: The font is at http://www.georgduffner.at/ebgaramond/fonts/EBGaramond12-Regular.otf The corresponding lookups in the kern.fea roughly contain pos T' 145 i.dotless gravecomb; I'll send you off list what I get here (latest version font as the version I had on my machine didn't have that kern defined + recent context). There is some interference with the ss feature in other cases. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] Basic \def error?
Hi, Thank you very much for the explanation, now it's clear to me! Regards, Verhaag, G.C.H.M. On 04/24/2013 12:20 AM, Wolfgang Schuster wrote: Am 23.04.2013 um 20:11 schrieb Verhaag, G.C.H.M.verhaagg...@ziggo.nl: Hi Luigi, Thanks for your very quick response, just great! Your suggestion works! By the way, what does this expanded mean, is it documented somewhere? Is it a typical MKIV thing related to Lua? It’s a typical way in MkIV to check for the existing of values in “command” keys but it has nothing to do with Lua. I can demonstrate the purpose of \unexpanded with the following example. First I create the two command \one and \two, afterwards I add \expandedone and \expandedtwo which hold the expanded values of \one and \two. As you can see I get the same text with \one and \expandedone. In the next step I redefine \one and \two to hold a new value and compare again the content of all four macros. Unlike in the previous output \one and \expandedone are different while \two and \expandedtwo show the same result. The reason why \expandedtwo show “Second” is that \unexpanded\def prevented the expansion of \two in \edef\expandedtwo{…}. \starttext \def\one{One} \unexpanded\def\two{Two} \edef\expandedone{\one} \edef\expandedtwo{\two} \startlines \one:\expandedone \two:\expandedtwo \stoplines \def\one{First} \def\two{Second} \startlines \one:\expandedone \two:\expandedtwo \stoplines \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 ___ ___ 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] Project structure and path evaluation
Hello, I am experimenting with the project structure feature of ConTeXt and so far it seems that paths used with \project, \product and \component are relative to the current working directory of the context program. What I am doing right now, I use paths relative to my project file project.tex. project.tex: \startproject proj \product product1/product.tex \product product2/product.tex \stopproject product1/product.tex: \startproduct prod1 \component product1/components/component1.tex % I would like to use components/component1.tex % that is a path relative to the current file \stopproduct This is really annoying as it makes it difficult to organize files into directories. I would like the path to be relative to the file containing the command. I tried \usepath[{.}] without success. So, is this possible in ConTeXt? Also, at the end of the PDF on project structure there is an example with \startdocument ... \stopdocument. But I don't understand where I should use these commands. From the source, it looks like \starttex ... \stoptext with the ability to register a before and after command. I am under the impression that I have to choose between using : - the project structure (project, product and component) - the \startdocument and \stopdocument commands - the \starttex and \stoptext commands But that I should not mix them together. Is this right? Regards, Thomas Corbière ___ 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] Lettrine module not working?!
Hi ConTeXt User's, I'm currently experiencing problems using the lettrine module! I know from fairly recent (mail-archive!) issues related to this module but can't figure out why my setup isn't working anymore. I use the following: \lettrine[Image=no,Slope=-0.5em,Hang=0.2,Findent=0.7em] {H}{et is ca. half tien} in de... This yields the following error message: to be read again \def \doifnextoptionalelse #1#2 -\def \m_syst_action_yes {#1}\def \m_syst_action_... \doLettrineFont ...a \LettrineHeight \definedfont [LettrineFont at \the \!!d... \dolettrine ...trineEPS {#2}\else \doLettrineFont #2\fi \fi }}\setbox \Lettr... l.27 {H}{et is ca. half tien} Maybe something has changed in the arguments of which I'm unaware! Regards, Verhaag, G.C.H.M. P.S.Currently using ConTeXt ver: 2013.04.20 01:15 MKIV current fmt: 2013.4.22 int: english/english ___ 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] [wiki] fake account spam
Hi Taco, We're getting 3-12 new accounts created per day. If nothing else, they're cluttering up the recent changes list. I think it's a good idea to update the security questions --- it's easy to do, it'll probably work, and we can always move on to stronger measures that require more work. Below are some replacemetn questions. * If you have a log of which questions get answered correctly, perhaps only rotate out the bad question(s); * If finding the cracked questions is nontrivial (i.e. more work than 'just open the log file and see which ones get answered every day'), just replace them all. If this works, hooray; if it stops working, we can either change the questions again (if the spammers took long to get through) or move on to e.g. the ConfirmAccount extension [1,2] (if the questions got cracked quickly, so we are getting 'human' attention from the spammer instead of his bots). [1] http://www.mediawiki.org/wiki/Extension:ConfirmAccount [2] http://www.stargate-wiki.de/wiki/Spezial:Benutzerkonto_beantragen Cheers, Sietse The proposed questions: * What command indicates 'text starts here'? (Include the backslash.) \starttext * What command is used to setup the bodyfont? (Include the backslash.) \setupbodyfont * What is the last name (starts with K) of the man who created TeX? Knuth * What is the first name (7 letters, starts with H) of Mr Zapf? Hermann * How many letters does 'stoptext' contain? (Please type out the number as a word.) Eight ___ 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] [wiki] fake account spam
On Thu, 25 Apr 2013, Sietse Brouwer wrote: We're getting 3-12 new accounts created per day. If nothing else, they're cluttering up the recent changes list. I think it's a good idea to update the security questions --- it's easy to do, it'll probably work, and we can always move on to stronger measures that require more work. Below are some replacemetn questions. * If you have a log of which questions get answered correctly, perhaps only rotate out the bad question(s); * If finding the cracked questions is nontrivial (i.e. more work than 'just open the log file and see which ones get answered every day'), just replace them all. If this works, hooray; if it stops working, we can either change the questions again (if the spammers took long to get through) or move on to e.g. the ConfirmAccount extension [1,2] (if the questions got cracked quickly, so we are getting 'human' attention from the spammer instead of his bots). Confirm account means that a new user will not be able to quickly correct typos etc. Isn't there a simple way to add a captcha to mediawiki. I am not a big fan of Captchas, but the are the de facto standard for human verification. A user only has to do it once, so it is not too big of an annoyance either. Aditya ___ 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] [wiki] fake account spam
On 04/25/2013 07:31 PM, Sietse Brouwer wrote: Hi Taco, We're getting 3-12 new accounts created per day. If nothing else, they're cluttering up the recent changes list. I think it's a good idea to update the security questions --- it's easy to do, it'll probably work, and we can always move on to stronger measures that require more work. Below are some replacemetn questions. Yes, I had already contacted Mojca a couple of weeks ago. I think we should demand that all questions be answered in Dutch. Every serious ConTeXter has to know some Dutch, and nothing better than asking What is the ConTeXt keyword for a two-sided layout and expecting dubbelzijdig as an answer. If that doesn't help, we make them pronounce it... Thomas ___ 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] [wiki] fake account spam
On Thu, 25 Apr 2013 20:19:41 +0200 Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: I think we should demand that all questions be answered in Dutch. Every serious ConTeXter has to know some Dutch, and nothing better than asking What is the ConTeXt keyword for a two-sided layout and expecting dubbelzijdig as an answer. If that doesn't help, we make them pronounce it... ++ (One can always look in mult-def.lua in order to cheat, but this won't help me with the pronounciation) Alan ___ 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] \setupitezmize[joinedup,nowhite] not working
Hi list, the following MWE shows that I can't get rid of vertical space above subitemizations. What should I do? Best, Marcin \setupitemize[1][n][style=bold] \setupitemize[2][a,joinedup,nowhite][stopper=)] \starttext \startitemize \item First \startitemize \item Subfirst first \item Subfirst second \item Subfirst third \stopitemize \item Second \item Third \startitemize \item Subthird first \item Subthird second \stopitemize \stopitemize \stoptext -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ 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] [wiki] fake account spam
Confirm account means that a new user will not be able to quickly correct typos etc. Isn't there a simple way to add a captcha to mediawiki. Just found one (I had missed it when I sent my previous e-mail): http://www.mediawiki.org/wiki/Extension:ReCAPTCHA, nowadays merged into http://www.mediawiki.org/wiki/Extension:ConfirmEdit (which is not ConfirmAccount). ConfirmEdit can be configured to only present captchas to non-logged-in users, when they try to edit or create a page, or create an account. Might that be useful? Or we could go old-school copy protection style: What is the fifth word on page 120 of the TeXbook? :-P If we want to have a slightly higher barrier of entry: Name one undocumented command that you recently heard about on the mailing list. ;-) Cheers, Sietse ___ 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] Lettrine module not working?!
Am 25.04.2013 um 14:24 schrieb Verhaag, G.C.H.M. verhaagg...@ziggo.nl: Hi ConTeXt User's, I'm currently experiencing problems using the lettrine module! I know from fairly recent (mail-archive!) issues related to this module but can't figure out why my setup isn't working anymore. I use the following: \lettrine[Image=no,Slope=-0.5em,Hang=0.2,Findent=0.7em] {H}{et is ca. half tien} in de... This yields the following error message: to be read again \def \doifnextoptionalelse #1#2 -\def \m_syst_action_yes {#1}\def \m_syst_action_... \doLettrineFont ...a \LettrineHeight \definedfont [LettrineFont at \the \!!d... \dolettrine ...trineEPS {#2}\else \doLettrineFont #2\fi \fi }}\setbox \Lettr... l.27 {H}{et is ca. half tien} Maybe something has changed in the arguments of which I'm unaware! Can you make a minimal example? 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] \setupitezmize[joinedup,nowhite] not working
Dnia 2013-04-25, o godz. 17:48:46 Aditya Mahajan adit...@umich.edu napisał(a): On Thu, 25 Apr 2013, Marcin Borkowski wrote: Hi list, the following MWE shows that I can't get rid of vertical space above subitemizations. What should I do? (Untested): \setupitemize[1][paragraph] Nope. It kills vertical spacing between (1st level) items, which I do not want. In my styles, I use: https://github.com/adityam/context-slides-example/commit/f237cf9e918146d8d02a914bde09b1066a4b848e I'd like not to resort to such hacks... Aditya Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ 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] \setupitezmize[joinedup,nowhite] not working
Am 26.04.2013 um 00:24 schrieb Marcin Borkowski mb...@wmi.amu.edu.pl: Dnia 2013-04-25, o godz. 17:48:46 Aditya Mahajan adit...@umich.edu napisał(a): In my styles, I use: https://github.com/adityam/context-slides-example/commit/f237cf9e918146d8d02a914bde09b1066a4b848e I'd like not to resort to such hacks… Changing the value in the style isn’t good style but a key for this is needed because this value is responsible for the space before the inner itemgroup. 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 ___
[NTG-context] \setupalign[flushleft] doesn't like ~
With \setupalign[flushleft], nonbreakable spaces get larger than they should. I'm afraid it's a bug. Best, An MWE: \setupalign[flushleft] \starttext Lorem ipsum dolor sit~amet, consectetur adipiscing elit. Donec euismod mattis pellentesque. Duis ut ullamcorper sem. Sed varius neque quis lacus hendrerit dapibus. Ut non elit eu nibh dignissim feugiat. Quisque elementum lacinia pretium. Aliquam vel tellus in~ipsum lacinia sagittis. Morbi vitae justo ante, sit~amet vulputate sem. Vivamus faucibus ante vel dolor aliquet placerat. Ut pulvinar tellus sit~amet augue congue dapibus. Donec justo odio, dignissim id rhoncus eget, tristique at justo. Morbi quis libero id nisl malesuada aliquam non non libero. Proin tristique ultricies ipsum, vel facilisis odio luctus quis. Nullam tellus leo, posuere in~eleifend quis, lobortis eu sem. In~hac habitasse platea dictumst. Suspendisse non quam a~ante mollis dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. \stoptext -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ 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] \setupitezmize[joinedup,nowhite] not working
On Fri, 26 Apr 2013, Wolfgang Schuster wrote: Am 26.04.2013 um 00:24 schrieb Marcin Borkowski mb...@wmi.amu.edu.pl: Dnia 2013-04-25, o godz. 17:48:46 Aditya Mahajan adit...@umich.edu napisał(a): In my styles, I use: https://github.com/adityam/context-slides-example/commit/f237cf9e918146d8d02a914bde09b1066a4b848e I'd like not to resort to such hacks… Changing the value in the style isn’t good style but a key for this is needed because this value is responsible for the space before the inner itemgroup. I agree. We could have a `method` or `mode` key for setupitemize, that would set c_struct_itemgroup_spacing_mode on a per-itemgroup and per-level basis. Aditya___ 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] \setupalign[flushleft] doesn't like ~
On 4/26/2013 1:09 AM, Marcin Borkowski wrote: With \setupalign[flushleft], nonbreakable spaces get larger than they should. I'm afraid it's a bug. Best, An MWE: more info needed .. as this looks similar: \starttext Lorem ipsum dolor sit~amet, consectetur adipiscing elit. Donec euismod mattis pellentesque. Duis ut ullamcorper sem. Sed varius neque quis lacus hendrerit dapibus. Ut non elit eu nibh dignissim feugiat. Quisque elementum lacinia pretium. Aliquam vel tellus in~ipsum lacinia sagittis. Morbi vitae justo ante, sit~amet vulputate sem. Vivamus faucibus ante vel dolor aliquet placerat. Ut pulvinar tellus sit~amet augue congue dapibus. Donec justo odio, dignissim id rhoncus eget, tristique at justo. Morbi quis libero id nisl malesuada aliquam non non libero. Proin tristique ultricies ipsum, vel facilisis odio luctus quis. Nullam tellus leo, posuere in~eleifend quis, lobortis eu sem. In~hac habitasse platea dictumst. Suspendisse non quam a~ante mollis dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. \the\fontinterwordspace \font +\the\fontinterwordstretch\font -\the\fontinterwordshrink \font \setbox\scratchbox\hbox{~} \the\wd\scratchbox \setupalign[flushleft] Lorem ipsum dolor sit~amet, consectetur adipiscing elit. Donec euismod mattis pellentesque. Duis ut ullamcorper sem. Sed varius neque quis lacus hendrerit dapibus. Ut non elit eu nibh dignissim feugiat. Quisque elementum lacinia pretium. Aliquam vel tellus in~ipsum lacinia sagittis. Morbi vitae justo ante, sit~amet vulputate sem. Vivamus faucibus ante vel dolor aliquet placerat. Ut pulvinar tellus sit~amet augue congue dapibus. Donec justo odio, dignissim id rhoncus eget, tristique at justo. Morbi quis libero id nisl malesuada aliquam non non libero. Proin tristique ultricies ipsum, vel facilisis odio luctus quis. Nullam tellus leo, posuere in~eleifend quis, lobortis eu sem. In~hac habitasse platea dictumst. Suspendisse non quam a~ante mollis dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. \the\fontinterwordspace \font +\the\fontinterwordstretch\font -\the\fontinterwordshrink \font \setbox\scratchbox\hbox{~} \the\wd\scratchbox \stoptext -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] \setupalign[flushleft] doesn't like ~
Dnia 2013-04-26, o godz. 01:45:37 Hans Hagen pra...@wxs.nl napisał(a): On 4/26/2013 1:09 AM, Marcin Borkowski wrote: With \setupalign[flushleft], nonbreakable spaces get larger than they should. I'm afraid it's a bug. Best, An MWE: more info needed .. as this looks similar: [...] In both cases I get: 3.912pt+1.956pt-1.304pt 3.912pt but in the latter one, the space produced by ~ is noticeably wider. I'm running ConTeXt ver: 2013.04.11 22:48 MKIV beta fmt: 2013.4.12 int: english/english Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ 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 ___