Re: [NTG-context] Fonts in minimal
On Thu, 21 May 2009 09:47:32 +0800 Yue Wang yuleo...@gmail.com scribit: On Thu, May 21, 2009 at 8:49 AM, Maurício briqueabra...@yahoo.com wrote: Hi, The minimal Context distributions comes with many fonts. Are there predefined (using mfonts.pdf terminology) simple, body or typeface definitions available for those fonts, or a subset of them? Yes. see showfonts.pdf where is showfonts.pdf ? rb Thanks, Maurício ___ 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 : https://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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fonts in minimal
On May 21, 2009, at 9:47 AM, R. Bastian wrote: where is showfonts.pdf ? rb http://lmgtfy.com/?q=showfonts.pdf 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fonts in minimal
Funny, but quite legitimate question as showfont.pdf was meant. P. 2009/5/21 Thomas A. Schmitz thomas.schm...@uni-bonn.de: On May 21, 2009, at 9:47 AM, R. Bastian wrote: where is showfonts.pdf ? rb http://lmgtfy.com/?q=showfonts.pdf 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- http://okle.pl ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] loading figure in LuaTeX
Dear all, I tried to load figure in LuaTeX, but I couldn't succeed. However, it is perfectly working in ConTeXt and XeConTeXt. I don't know what is wrong. best regads, Dalyoung My system is Mac 10.5.6, ConTeXt Minimal, LuaTeX ver 0.40.1. Here is a short test file. \starttext Thank you for reading. \externalfigure[~/Documents/figures/math-shapes/moebius-band][] \stoptext ** Here is a log file of LuaTeX. MTXrun | run 1: luatex --fmt=/Users/dalyoung/ConTeXtMini/tex/texmf- cache/luatex-cache/context/96bab756b7b86dbb7077fbebd9caff2b/formats/ cont-en --lua=/Users/dalyoung/ConTeXtMini/tex/texmf-cache/luatex- cache/context/96bab756b7b86dbb7077fbebd9caff2b/formats/cont-en.lui -- backend=pdf ./test-pre.tex This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) \write18 enabled. (test-pre.tex color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated ConTeXt ver: 2009.05.20 00:02 MKIV fmt: 2009.5.21 int: english/ english system : cont-new loaded (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont- new.tex systems : beware: some patches loaded from cont-new.tex (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont- new.mkiv) (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/ base/cont-mtx.tex)) system : cont-fil loaded (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont- fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/user/cont- sys.rme (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/ base/type-tmf.tex) (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/ context/base/type-siz.tex (/Users/dalyoung/ConTeXtMini/tex/texmf- context/tex/context/base/type-siz.mkiv)) (/Users/dalyoung/ConTeXtMini/ tex/texmf-context/tex/context/base/type-otf.tex (/Users/dalyoung/ ConTeXtMini/tex/texmf-context/tex/context/base/type-otf.mkiv))) system : test-pre.top loaded (test-pre.top) fonts : preloading latin modern fonts bodyfont: 12pt rm is loaded language: language en is active systems : begin file test-pre at line 1 fonts : resetting map file list {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ context/original-empty.map} fonts : using map file: original-base {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ context/original-base.map} fonts : using map file: original-ams-base {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ context/original-ams-base.map} fonts : using map file: original-ams-euler {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ context/original-ams-euler.map} fonts : using map file: original-public-lm {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ context/original-public-lm.map} fonts : using map file: lm-math {/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/map/dvips/lm/lm-rm.map} [1.1] systems : end file test-pre at line 7 system : cont-err loaded (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont- err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) )/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/opentype/public/lm/ lmmono8-regular.otf/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/ opentype/public/lm/lmroman12-regular.otf mkiv lua stats : used config path - /Users/dalyoung/ ConTeXtMini/tex/texmf/web2c/texmf.cnf mkiv lua stats : used cache path - /Users/dalyoung/ ConTeXtMini/tex/texmf-cache mkiv lua stats : input load time - 0.024 seconds mkiv lua stats : stored bytecode data - 168 modules, 45 tables, 213 chunks mkiv lua stats : cleaned up reserved nodes - 23 nodes, 8 lists of 1411 mkiv lua stats : node memory usage - 19 glue_spec, 2 dir mkiv lua stats : loaded patterns - en:us:pat:exc:2 mkiv lua stats : startup time - 0.551 seconds (including runtime option file processing) mkiv lua stats : callbacks - direct: 169, indirect: 4756, total: 4925 mkiv lua stats : loaded fonts - 31 files: eufb10:tfm eufb7:tfm eufb9:tfm eufm10:tfm eufm7:tfm eufm9:tfm lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmmib10:tfm lmmib7:tfm lmmono12- regular:otf lmmono8-regular:otf lmmono9-regular:otf lmroman12-bold:otf lmroman12-regular:otf lmroman7-bold:otf lmroman7-regular:otf lmroman9- bold:otf lmroman9-regular:otf lmsans12-regular:otf lmsans8-regular:otf lmsans9-regular:otf lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm10:tfm msbm7:tfm mkiv lua stats : fonts load time - 0.261 seconds mkiv lua stats : graphics
[NTG-context] sorted data in mkiv
I am writing a booklet for use by junior doctors at the hospital where I work. It will contain random bits of data that is available from various online sources such as phone numbers, dosages of exotic drugs, referral routes and assorted things better written down than remembered. Much of it is in tabular form, and I have so far used natural tables. It is intended to be extremely compact so I make many adjustments to save space, such as using multiple columns where appropriate. Some of the things listed would benefit from being sorted such as phone numbers, but I would still like it to be presented in a table (with the added complication that the table will have two columns of names}. Using pseudocode I would like it to work like this: \phone{person c}{54321, 12345} \phone{clinic a}{12345, 54321} \phone{clinic c}{54321, 12345} \phone{person b}{12345} \phone{clinic b}{12345} \phone{person a}{12345} This should automatically be converted to \bTABLE \bTR\bTD person a\eTD\bTD 12345\eTD\bTD clinic a\eTD\bTD 12345, 54321\eTD\eTR \bTR\bTD person b\eTD\bTD 12345\eTD\bTD clinic b\eTD\bTD 12345\eTD\eTR \bTR\bTD person c\eTD\bTD 54321, 12345\eTD\bTD clinic c\eTD\bTD 54321, 12345\eTD\eTR \eTABLE presumably using something like 1. name and number added to a register 2. register is sorted on first field 3. t = total number of entries in register 4. l = number of lines in table, calculated as l=t\2 + t mod 2 3. create a table with l lines where each line has \bTR\bTD name(i) \eTD\bTD phone(i)\eTD\bTD name(i+l)\eTD\bTD phone(i+l)\eTR It would not surprise me if this is implemented somewhere in ConTeXt but I have been unable to find it. I would be very happy to see a solution using lua, but I lack the knowledge to implement it myself. Regards, Johan -- Johan Sandblom, MD PhD m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] loading figure in LuaTeX
Hi Dalyoung, You should use the absolute path for your figure, such as: \externalfigure[/home/your-name/Documents/figures/math-shapes/moebius-band][] On Thu, May 21, 2009 at 5:03 PM, Dalyoung Jeong hak...@mac.com wrote: Dear all, I tried to load figure in LuaTeX, but I couldn't succeed. However, it is perfectly working in ConTeXt and XeConTeXt. I don't know what is wrong. best regads, Dalyoung My system is Mac 10.5.6, ConTeXt Minimal, LuaTeX ver 0.40.1. Here is a short test file. \starttext Thank you for reading. \externalfigure[~/Documents/figures/math-shapes/moebius-band][] \stoptext ** Here is a log file of LuaTeX. MTXrun | run 1: luatex --fmt=/Users/dalyoung/ConTeXtMini/tex/texmf-cache/luatex-cache/context/96bab756b7b86dbb7077fbebd9caff2b/formats/cont-en --lua=/Users/dalyoung/ConTeXtMini/tex/texmf-cache/luatex-cache/context/96bab756b7b86dbb7077fbebd9caff2b/formats/cont-en.lui --backend=pdf ./test-pre.tex This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) \write18 enabled. (test-pre.tex color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated ConTeXt ver: 2009.05.20 00:02 MKIV fmt: 2009.5.21 int: english/english system : cont-new loaded (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont-new.mkiv) (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/user/cont-sys.rme (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-tmf.tex) (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-siz.tex (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-otf.tex (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-otf.mkiv))) system : test-pre.top loaded (test-pre.top) fonts : preloading latin modern fonts bodyfont : 12pt rm is loaded language : language en is active systems : begin file test-pre at line 1 fonts : resetting map file list {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-math {/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1] systems : end file test-pre at line 7 system : cont-err loaded (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) )/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf mkiv lua stats : used config path - /Users/dalyoung/ConTeXtMini/tex/texmf/web2c/texmf.cnf mkiv lua stats : used cache path - /Users/dalyoung/ConTeXtMini/tex/texmf-cache mkiv lua stats : input load time - 0.024 seconds mkiv lua stats : stored bytecode data - 168 modules, 45 tables, 213 chunks mkiv lua stats : cleaned up reserved nodes - 23 nodes, 8 lists of 1411 mkiv lua stats : node memory usage - 19 glue_spec, 2 dir mkiv lua stats : loaded patterns - en:us:pat:exc:2 mkiv lua stats : startup time - 0.551 seconds (including runtime option file processing) mkiv lua stats : callbacks - direct: 169, indirect: 4756, total: 4925 mkiv lua stats : loaded fonts - 31 files: eufb10:tfm eufb7:tfm eufb9:tfm eufm10:tfm eufm7:tfm eufm9:tfm lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmmib10:tfm lmmib7:tfm lmmono12-regular:otf lmmono8-regular:otf lmmono9-regular:otf lmroman12-bold:otf lmroman12-regular:otf lmroman7-bold:otf lmroman7-regular:otf lmroman9-bold:otf
Re: [NTG-context] bugs in math engine?
Aditya Mahajan wrote: On Wed, 20 May 2009, Oliver Buerschaper wrote: Proposed patch: diff math-def.mkiv.orig math-def.mkiv 100,105c100,105 \definemathcommand [integers] {\mathblackboard{Z}} \definemathcommand [reals] {\mathblackboard{R}} \definemathcommand [rationals] {\mathblackboard{Q}} \definemathcommand [naturalnumbers]{\mathblackboard{N}} \definemathcommand [complexes] {\mathblackboard{C}} \definemathcommand [primes]{\mathblackboard{P}} --- \definemathcommand [integers] {{\mathblackboard Z}} \definemathcommand [reals] {{\mathblackboard R}} \definemathcommand [rationals] {{\mathblackboard Q}} \definemathcommand [naturalnumbers]{{\mathblackboard N}} \definemathcommand [complexes] {{\mathblackboard C}} \definemathcommand [primes]{{\mathblackboard P}} Hans, Aditya, does this make sense? Yes, I should unlearn amsmath syntax at some stage. \unexpanded\def\mathscript{\setmathalphabet{script}} \unexpanded\def\mathfraktur {\setmathalphabet{fraktur}} \unexpanded\def\mathblackboard{\setmathalphabet{blackboard}} we can make these into \unexpanded\def\mathscript#1{{\setmathalphabet{script}#1}} \unexpanded\def\mathfraktur #1{{\setmathalphabet{fraktur}#1}} \unexpanded\def\mathblackboard#1{{\setmathalphabet{blackboard}#1}} \unexpanded\def\mathsr{\setmathalphabet{script}} \unexpanded\def\mathfr{\setmathalphabet{fraktur}} \unexpanded\def\mathbb{\setmathalphabet{blackboard}} does that make sense? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MkIV italic correction?
Corsair wrote: Hi all, Does MkIV support italic correction? Because the following code produces two identical f)s \starttext {\it f}) {\it f\/}) \stoptext open type fonts have no italic correction info (except in math) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On May 20, 2009, at 12:13 AM, Hans Hagen wrote: Hi, I uploaded a beta. Not that many fixes (if someone can collect structure related bugs ...), only a few. For those who keep an eye on the source ... i'm rewriting ppchtex and it will be integral part of the core of mkiv (so that we have chemistry on board). It's not yet finished but i'm getting there. Hans OK, here is a collection of some assorted bugs. Most of them have been posted several times. Of course, everybody will have their own feeling of what is more and what is less urgent, but I will just add a few words about my own situation: 1. bib-module \usemodule[bib] \setuppublications [refcommand=num, numbering=yes] \startpublication[k=bertellihecataeus,t=incollection, a={{Bertelli}},y=2001, n=1,s=Ber01] \artauthor[]{Lucio}[L.]{}{Bertelli} \pubyear{2001} \arttitle{Hecataeus: From Genealogy to Historiography} \editor[]{Nino}[N.]{}{Luraghi} \crossref{luraghicraft} \pages{67--94} \pages{67--94} \pubname{Oxford University Press} \stoppublication \startpublication[k=luraghihistorian,t=book, a={{Luraghi}},y=2001, n=2,s=Lur01a] \editor[]{Nino}[N.]{}{Luraghi} \pubyear{2001\maybeyear{a}} \title{The Historian's Craft in the Age of Herodotus} \city{Oxford} \pubname{Oxford UP} \stoppublication \starttext Citation: \cite[bertellihecataeus] List: \placepublications[criterium=all] \stoptext Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. %% 2. Section numbers in markings are duplicated \setuphead [section] [page=yes, style=normal] \setupuserpagenumber[state=start,way=bysection] \setupfootertexts[{\getmarking[sectionnumber]} – \userpagenumber] \starttext \section{One} \input tufte \page \input linden \section{Two} \input bryson \page \input davis \stoptext Urgency=high, I use these markings in lots of documents. %% 3. trep and tlig features don't work in node mode \definefontfeature [mytest] [mode=node,script=latn,trep=yes,tlig=yes,kern=yes] \starttypescript[serif][Test] \definefontsynonym[Serif][name:texgyretermesregular][features=mytest] \stoptypescript \starttypescript[Test] \definetypeface[Test][rm][serif][Test][default][features=mytest] \stoptypescript \usetypescript[Test] \setupbodyfont[Test,12pt] \starttext fine's flops: 1 -- 2 --- 3 \stoptext priority: medium for me (since it can be worked around, but still needs fixing) %% 4. Spaces, esp. after periods \font\one=cmr10 \font\two=file:texgyrepagella-regular \bgroup A A A \primitive\sfcode`A=2000 A A A \egroup \bgroup\one A A A \primitive\sfcode`A=2000 A A A \egroup \bgroup\two A A A \primitive\sfcode`A=2000 A A A \egroup \bye This test file has been given by Wolfgang Schuster a few days ago. It shows a problem that is especially annoying after periods because it disrupts frenchspacing/nonfrenchspacing. For me, very high priority because the quality of the output is severely reduced (with this bug, it would be impossible to typeset a book for publication with ConTeXt mkiv right now). %% 5. Labels \definelabel[SlideNumber][headstyle=normal,way=bytext] \starttext \incrementSlideNumber \nextSlideNumber \stoptext Fails in current beta. For me, urgency=medium. %% 6. Cross-references \starttext \startitemize[n] \item[one] One \item[two] Two \item[three] Three \stopitemize As we can see in item \in[one] and \in[three]. \stoptext Urgency=medium %% 7. Line breaks between quotation marks: \setuplayout[width=3cm] \starttext \quotation{This is a \quote{test.}} \stoptext Urgency: low, but non-nil. OK, this should be enough for the time being. For almost two weeks, I haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access to the svn repositories currently disabled? Would be nice to hear about these bugs; some of the have been posted several times, but we never heard back about them. All best 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] loading figure in LuaTeX
Or \setupexternalfigures[directory={figures/math-shapes}], assuming that you are running from ~/Documents. This can be a relative path such as {../figures/math-shapes}, for example if you are compiling in a subdirectory. I suspect that your problem, as pointed out, is the expansion of the ~ shortcut to the shell variable $HOME. On Thursday 21 May 2009 11:21:10 Yanrui Li wrote: Hi Dalyoung, You should use the absolute path for your figure, such as: \externalfigure[/home/your-name/Documents/figures/math-shapes/moebius-band] [] On Thu, May 21, 2009 at 5:03 PM, Dalyoung Jeong hak...@mac.com wrote: Dear all, I tried to load figure in LuaTeX, but I couldn't succeed. However, it is perfectly working in ConTeXt and XeConTeXt. I don't know what is wrong. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (list of bugs)
On Thursday 21 May 2009 11:57:37 Thomas A. Schmitz wrote: OK, here is a collection of some assorted bugs. Most of them have been posted several times. Of course, everybody will have their own feeling of what is more and what is less urgent, but I will just add a few words about my own situation: ... Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. I add my vote for this, too. (however, I do remember reading some discussion related to this around the beginning of April...) %% Also, \placeindex (\placeregister in general) is broken. However, I have been unable yet to produce a minimal example as my simple tests all work correctly! In a big project (book with many references, etc.), under mkiv I get (compiles fine under mkii): ! LuaTeX error new/tex/texmf-context/tex/context/base/strc-reg.lua:228: attempt to compare nil with number stack traceback: new/tex/texmf-context/tex/context/base/strc-reg.lua:228: in function 'cmp' new/tex/texmf-context/tex/context/base/sort-ini.lua:105: in function new/tex/texmf-context/tex/context/base/sort-ini.lua:105 [C]: in function 'sort' new/tex/texmf-context/tex/context/base/sort-ini.lua:105: in function 'sort' new/tex/texmf-context/tex/context/base/strc-reg.lua:265: in function 'sort' new/tex/texmf-context/tex/context/base/strc-reg.lua:329: in function 'analysed' new/tex/texmf-context/tex/context/base/strc-reg.lua:574: in function 'process' main ctx instance:1: in main chunk. \doplaceregister ...ameter \c!pagesegments , } )} \stoppacked \stopcolumns \... to be read again \par l.175 ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Thomas A. Schmitz wrote: 1. bib-module Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. I feel sorry for you, but I do not know what to do about it anymore. For almost two weeks, I haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access to the svn repositories currently disabled? This post should explain the issue: http://archive.contextgarden.net/message/20090518.210735.77967964.en.html Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Hi Taco, On May 21, 2009, at 12:17 PM, Taco Hoekwater wrote: 1. bib-module Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. I feel sorry for you, but I do not know what to do about it anymore. Yes, in your recent mail (http://archive.contextgarden.net/message/20090514.080826.d48ffa7a.en.html ), you explained why the ball was in Hans's field now; let's hope he picks it up! For almost two weeks, I haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access to the svn repositories currently disabled? This post should explain the issue: http://archive.contextgarden.net/message/20090518.210735.77967964.en.html Ah thanks, that explains it! All best 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Taco, hi, could you please include a feature that allows listing the set of pages that an item was cited on, I'm sure this is present in LaTeX. Mohamed 2009/5/21 Taco Hoekwater t...@elvenkind.com Thomas A. Schmitz wrote: 1. bib-module Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. I feel sorry for you, but I do not know what to do about it anymore. For almost two weeks, I haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access to the svn repositories currently disabled? This post should explain the issue: http://archive.contextgarden.net/message/20090518.210735.77967964.en.html Best wishes, Taco ___ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Thursday 21 May 2009 12:17:50 Taco Hoekwater wrote: Thomas A. Schmitz wrote: 1. bib-module Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. I feel sorry for you, but I do not know what to do about it anymore. I just tried commenting out %\placeindex and friends in my current book project and compiled under mkiv. I wish to report that the bib module gives empty references [] and a new first page of numbers appears 1 2 3 4 ... (must be the lost reference numbers) LuaTeX gives lots of warning messages, such as: \placepublications[criterium=all] LuaTeX warning (ext4): destination with the same identifier (name{Friedel1922}) has been already used, duplicate ignored ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Mohamed Bana wrote: Taco, hi, could you please include a feature that allows listing the set of pages that an item was cited on, I'm sure this is present in LaTeX. As I can't even get the core functionality working, this is a very bad moment for feature requests, but I'll keep this in mind while designing the new module. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MkIV italic correction?
On Thu, May 21, 2009 at 11:55:45AM +0200, Hans Hagen wrote: open type fonts have no italic correction info (except in math) But I notice that using the same fonts in XeTeX produces italic correction. Is it fake? -- There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force. pgpcsgfJ4LDhX.pgp Description: PGP signature ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MkIV italic correction?
Corsair wrote: On Thu, May 21, 2009 at 11:55:45AM +0200, Hans Hagen wrote: open type fonts have no italic correction info (except in math) But I notice that using the same fonts in XeTeX produces italic correction. Is it fake? I guess it is using the glyph boundingbox. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] French typography is back
Hi again, I have been reading all threads about the French typography in this mailing list, however the current solution is alas far for perfect. The command \setcharacterspacing[frenchpunctuation] was a good idea, but it only deals with spacing. French typography rules not only tells us that there should be a narrow, or a normal space before some punctuation marks like :, ;, , !, ?, « or », but also that theses spaces must be non breakable otherwise line breaking could occur just before a punctuation mark (and this is very bad). Take a look at the following example: \section{Production locale indigène ou production romaine importée?} With the current frenchpunctuation command, we got: Production locale indigène ou production romaine importée ? We should obtain: Production locale indigène ou production romaine importée ? Of course we could achieve this manually by adding the correct NNBSP like this: \section{Production locale indigène ou production romaine importée\,?} But I believe the whole point of TeX is to let the engine make all the typographic stuff. The best would be to get rid off \setcharacterspacing[frenchpunctuation] and adapt the frenchb Babel module from Daniel Flipo (source and explanation here http://daniel.flipo.free.fr/frenchb/ ), as a module (t-french modification), or when loading the language, but I really don't know how hard it would be since it handles a lot more than just punctuation marks. Regards, Bob. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MkIV italic correction?
On Thu, May 21, 2009 at 11:55:45AM +0200, Hans Hagen wrote: Corsair wrote: Hi all, Does MkIV support italic correction? Because the following code produces two identical f)s \starttext {\it f}) {\it f\/}) \stoptext open type fonts have no italic correction info (except in math) Not very helpful in this situation, but FontForge has a non-standard italic correction (ITLC) table[1], may be TeX related OpenTyp font projects like Latin Modern and Gyre fonts can use it? [1]http://fontforge.sourceforge.net/non-standard.html Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MkIV italic correction?
On Thu, May 21, 2009 at 01:59:14PM +0200, Taco Hoekwater wrote: Corsair wrote: On Thu, May 21, 2009 at 11:55:45AM +0200, Hans Hagen wrote: open type fonts have no italic correction info (except in math) But I notice that using the same fonts in XeTeX produces italic correction. Is it fake? I guess it is using the glyph boundingbox. Thank you. This sounds reasonable. Is there any way I can achieve this in MkIV? I'm currently using \def\/{\kern0.1em}, which is kinda dirty... -- There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force. pgpBwAEl15ODI.pgp Description: PGP signature ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bugs in math engine?
On Thu, 21 May 2009, Hans Hagen wrote: Aditya Mahajan wrote: On Wed, 20 May 2009, Oliver Buerschaper wrote: Proposed patch: diff math-def.mkiv.orig math-def.mkiv 100,105c100,105 \definemathcommand [integers] {\mathblackboard{Z}} \definemathcommand [reals] {\mathblackboard{R}} \definemathcommand [rationals] {\mathblackboard{Q}} \definemathcommand [naturalnumbers]{\mathblackboard{N}} \definemathcommand [complexes] {\mathblackboard{C}} \definemathcommand [primes]{\mathblackboard{P}} --- \definemathcommand [integers] {{\mathblackboard Z}} \definemathcommand [reals] {{\mathblackboard R}} \definemathcommand [rationals] {{\mathblackboard Q}} \definemathcommand [naturalnumbers]{{\mathblackboard N}} \definemathcommand [complexes] {{\mathblackboard C}} \definemathcommand [primes]{{\mathblackboard P}} Hans, Aditya, does this make sense? Yes, I should unlearn amsmath syntax at some stage. \unexpanded\def\mathscript{\setmathalphabet{script}} \unexpanded\def\mathfraktur {\setmathalphabet{fraktur}} \unexpanded\def\mathblackboard{\setmathalphabet{blackboard}} we can make these into \unexpanded\def\mathscript#1{{\setmathalphabet{script}#1}} \unexpanded\def\mathfraktur #1{{\setmathalphabet{fraktur}#1}} \unexpanded\def\mathblackboard#1{{\setmathalphabet{blackboard}#1}} \unexpanded\def\mathsr{\setmathalphabet{script}} \unexpanded\def\mathfr{\setmathalphabet{fraktur}} \unexpanded\def\mathbb{\setmathalphabet{blackboard}} does that make sense? Actually, better will be if we go for full ams compatibility: Leave \mathscript, \mathfraktur, and \mathblackboard as they are, and define \unexpanded\def\mathcal #1{{\setmathalphabet{script}#1}} \unexpanded\def\mathfrak#1{{\setmathalphabet{fraktur}#1}} \unexpanded\def\mathbb #1{{\setmathalphabet{blackboard}#1}} %TODO: Once bold is settled %unexpanded\def\mathbf #1{{\setmathalphabet{bold}#1}} % TODO: I need to actually see what exactly these commands to %unexpanded\def\mathrm #1{{} %unexpanded\def\mathit #1{{} % TODO: Probably better will be \mathss since we use ss for sans serif %unexpanded\def\mathsf #1{{} % TODO: \mathscr is euler script. We can add this, but need to figure out % how to deal with two script families in a configurable way % For LM one can go with either euler script or RSFS (or both?) %unexpanded\def\mathscr #1{{...} 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] French typography is back
On Thu, 21 May 2009, Robert-André Mauchin wrote: With the current frenchpunctuation command, we got: Production locale indigène ou production romaine importée ? Seems to be a bug. Some months ago, this space was unbreakable as it should. The best would be to get rid off \setcharacterspacing[frenchpunctuation] and adapt the frenchb Babel module from Daniel Flipo (source and explanation here http://daniel.flipo.free.fr/frenchb/ ), as a module (t-french modification), or when loading the language, but I really don't know how hard it would be since it handles a lot more than just punctuation marks. A good idea. This is work in progress: http://modules.contextgarden.net/t-french You can contribute. But I think, \setcharacterspacing[frenchpunctuation] should stay. The module t-french.tex should just integrate this command, that's all. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun initialization bug
Alan BRASLAU wrote: I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of context myfile. So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install. mtxrun and luatools are kind of selfcontained contrary to context that needs mtxrun so that might explain part of it - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem of mptopdf
y...@mathematik.uni-marburg.de wrote: hi, I tried use the mptopdf command to convert a figure generated by mpost into a .pdf file, and got following error: !pdfTeX error: pdftex.exe (file ec-lmr12): Font ec-lmr12 at 600 not found == Fatal error occurred, no output PDF file produced! The figures are generated from following metapost file: %%% beginfig(2) label(Haha, (2,0)); draw (for i=0 upto 7: dir(135i)-- endfor cycle); endfig; beginfig(5) label(btex Haha etex, (2,0)); draw (for i=0 upto 7: dir(135i)-- endfor cycle); endfig; %%% But the ec-lmr12 file exists and can be located with kpsewhich. It seems the problem is the btex etex environment, because there is no error with the first figure. I work under the mswin-context-standalone downloaded from Pragma-ADE, appreciate for any tip! does texexec --mptex yourfile.mp work ok? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] French typography is back
and adapt the frenchb Babel module from Daniel Flipo (source and explanation here http://daniel.flipo.free.fr/frenchb/ ), as a module (t-french modification) Contact Sébastien Mengin (sebastien at edilibre.net) about that; he started working on it. Arthur ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Thomas A. Schmitz wrote: 2. Section numbers in markings are duplicated fixed in next beta (marks got a prefix) 3. trep and tlig features don't work in node mode hm, i gave it another try ... also in next beta ... is bit tricky as this is a feature that does not fall in some script/lang category (i'd put it in default (which works) but we need more in node mode they are implemented by faking real features (a mechanism that was somewhat extended recently to support anum and pnum for arabic and persian numbering) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] French typography is back
Robert-André Mauchin wrote: The best would be to get rid off \setcharacterspacing[frenchpunctuation] and adapt the frenchb Babel module from Daniel Flipo (source and explanation here http://daniel.flipo.free.fr/frenchb/ ), as a module (t-french modification), or when loading the language, but I really don't know how hard it would be since it handles a lot more than just punctuation marks. no, active chars for such things are no solution and will not be supported in mkiv; setcharacterspacing is the way to go (and if it breaks that should be fixed instead); language support shoul dbe in the kernel anyway Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] French typography is back
Robert-André Mauchin wrote: Hi again, I have been reading all threads about the French typography in this mailing list, however the current solution is alas far for perfect. The command \setcharacterspacing[frenchpunctuation] was a good idea, but it only deals with spacing. French typography rules not only tells us that there should be a narrow, or a normal space before some punctuation marks like :, ;, , !, ?, « or », but also that theses spaces must be non breakable otherwise line breaking could occur just before a punctuation mark (and this is very bad). Take a look at the following example: \section{Production locale indigène ou production romaine importée?} \setcharacterspacing[frenchpunctuation] \hsize .1mm a? aa? aaa? ? seems ok here so what version are you using? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Condensed font variant setup
Hello, I have the following setup for the Minion Pro font: \starttypescript [serif] [MinionPro] \definefontsynonym [Serif][MinionPro-Regular.otf][features=default] \definefontsynonym [SerifBold][MinionPro-Bold.otf][features=default] \definefontsynonym [SerifItalic][MinionPro-It.otf][features=default] \definefontsynonym [SerifBoldItalic][MinionPro-BoldIt.otf][features=default] \stoptypescript \starttypescript [MinionPro] \definetypeface [MinionPro][rm][serif][MinionPro][default] \stoptypescript I ocassionally want to use Minon Pro Condensed, too. How can I incorporate it in the typescript above? Or is it better to create separate MinionProCn typescript and use them both? Best, Vyatcheslav ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] French typography is back
Am 21.05.2009 um 18:29 schrieb Hans Hagen: Robert-André Mauchin wrote: Hi again, I have been reading all threads about the French typography in this mailing list, however the current solution is alas far for perfect. The command \setcharacterspacing[frenchpunctuation] was a good idea, but it only deals with spacing. French typography rules not only tells us that there should be a narrow, or a normal space before some punctuation marks like :, ;, , !, ?, « or », but also that theses spaces must be non breakable otherwise line breaking could occur just before a punctuation mark (and this is very bad). Take a look at the following example: \section{Production locale indigène ou production romaine importée?} \setcharacterspacing[frenchpunctuation] \hsize .1mm a? aa? aaa? ? seems ok here so what version are you using? Not tested but shouldn't be the following two lines (type-spa.lua - line 131/132) be written in the reverse order (penalty before skip). insert_node_after(head,start,make_glue_node(tex.scale(quad,right))) insert_node_after(head,start,make_penalty_node(1)) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] French typography is back
Le 21/05/2009 18:29, Hans Hagen a écrit : \setcharacterspacing[frenchpunctuation] \hsize .1mm a? aa? aaa? ? seems ok here so what version are you using? Ok, I've made test, I stand corrected, it does add a nnbsp, but does not remove the space (if there is) before the punctuation mark. That's why I end up with a ? at the beginning of a new line. Thanks for the tip. Bob. ps: sorry for the bad reply, but my subscription request has not been approved yet. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New structure ...
Hi ALan, thanks for your investigation. Here it keeps showing this error. Will have to see with next beta... KR Willi On May 19, 2009, at 5:48 PM, Alan Stone wrote: On Tue, May 19, 2009 at 5:17 PM, Willi Egger w.eg...@boede.nl wrote: Don't worry, Holland is still fine... But the problem I refer to is not in the dimension whether or not it is spelled correcltly. The error is still the same: ! Undefined control sequence. argument \reporttextprefixerror \secondoftwoarguments #1#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea \secondoftwoarguments \el... argument ... {\??ef \??ef XY\currentheadnumber } {\useexternalfigure [\s!d... ... l.14 ...er][width=\the\dimexpr.5\textwidth\relax]} \starttext \chapter{One} \placefigure [here] [] {A figure} {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5 \textwidth\relax]} \stoptext Willi With... \starttext \chapter{One} \placefigure [here] [] {A figure} % {\externalfigure[XY\currentheadnumber][width=0.5/textwidth]} {\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} % {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5 \texwidth\relax]} \stoptext I get: see attachment. -- Alan headnumber- test.pdf_ __ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \quotation and figure
Hallo, isn't this a very old bug with \quotation and \placefigure? \starttext \placefigure[left]{Bla}{\externalfigure[dummy][height=.3\textheight,wi dth=.3\textwidth]} \quotation{\input tufte } \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \quotation and figure
Am 21.05.2009 um 22:22 schrieb Wolfgang Werners-Lucchini: Hallo, isn't this a very old bug with \quotation and \placefigure? \starttext \placefigure[left]{Bla}{\externalfigure[dummy][height=.3\textheight,wi dth=.3\textwidth]} \quotation{\input tufte } \dontleavehmode\quotation{\input tufte } \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] loading figure in LuaTeX
Thank you for help. It worked if I use the absolute path in LuaTeX, but it is not working in ConTeXt and XeConTeXt. On the otherhand, the relative path is working in ConTeXt and XeConTeXt but in LuaTeX. I'll do more tests. Is it normal? Anyway, I got the result. Thank you again. Best regards, Dalyoung ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___