Re: [NTG-context] Fonts
On Wed, Sep 22, 2010 at 12:17 AM, John Culleton j...@wexfordpress.com wrote: Well I have been typesetting books in plain tex and pdftex for a decade or more. Supposedly luatex is a superset of pdftex that makes finding fonts easier and eliminates the generation of tmf files. But I seem to be sinking into a deeper swamp. Here is the base problem. All other publishing related programs on my system will a) look in /usr/share/fonts and b) list the fonts fond there in a window when selecting fonts. Laying aside b) for the moment it would be nice if some form of TeX (preferably not LaTeX) would join the party and find Type1, TTF and OTF fonts in the system standard location. Gimp does this, Scribus does this, Inkscape does this, Open Office Writer does this and so on. Luatex supposedly does this. But getting Luatex to work on a new standard distro , texlive 2010, seems to be a game of whackamole. I tried comp.text.tex but when no one there seemed to have the right answers and many of the names mentioned in the documentation were gurus here I thought I would ask how to get the luatex business set up. My goal is to use the stuff myself of course but also to describe how to do it in a book I am writing on Free Publishing Software. It does not appear that Luatex is suitable for a newbie to set up. Remember, the competition consists of programs where you download and install the program and font finding is automatic. I write for an impatient audience who want to have it all just work without a lot of experimentation and fuss and feathers. There does not yet seem to be a reliable single set of instructions for installing Luatex and setting it up properly. When there is I will revisit the program. Thanks for helping and sorry to have wasted your time. A bit off topic: you can consider minimals metatex.tex with mkiv (hence not texlive); it should build a (sort of) plain tex with luatex . See tex/context/base/metatex.tex but a bit of experience is required, I believe. -- luigi ___ 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] new beta
Hi, I'm dealing with the bugs/anomalies/wishes that showed up during the ctx conference. The following has been done so far: (1) With respect to registers, Jano had a wish to deal with mixed language indexes. As a result the current sorting code has been adapted. In the process also different control over sorting has been streamlined and this is controlled by the method variable. Also, the language related sorting definitions have changed. % tricky-002.tex: \setuplayout[topspace=1cm,height=middle] \setupbodyfont[dejavu,11pt] \starttext \subject{before : Oo Öo oo öo} \placeregister[index][language=en,method=before] \par \subject{after : oo öo Oo Öo} \placeregister[index][language=en,method=after] \par \subject{first : Oo oo Öo öo} \placeregister[index][language=en,method=last] \par \subject{last : oo Oo öo Öo} \placeregister[index][language=en,method=first] \par \dorecurse {3} { \page \recurselevel: \index{boo} \index{Boo} \index{BOo} \index{bOo} \index{bõö} \index{bõo} \index{boö} \index{oo} \index{öo} \index{Oo} \index{Öo} done } \stoptext We can set up a default method for each language but that has not yet been done. (2) Mari uses the prefix mechanism for references and that had not yet been implemented. The new beta does some but it needs testing. Also, I'd like to change a bit to the logic (esp related to more structured coding i.e. \startchapter .. \stopchapter and fallbacks but that will happen later). For the moment 'get it running as per mkii' is good enough. As cross referencing info is stored quite differently this is somewhat tricky. 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] new beta
On Wed, Sep 22, 2010 at 9:43 AM, Hans Hagen pra...@wxs.nl wrote: Hi, I'm dealing with the bugs/anomalies/wishes that showed up during the ctx conference. The following has been done so far: (1) With respect to registers, Jano had a wish to deal with mixed language indexes. As a result the current sorting code has been adapted. In the process also different control over sorting has been streamlined and this is controlled by the method variable. Also, the language related sorting definitions have changed. % tricky-002.tex: \setuplayout[topspace=1cm,height=middle] \setupbodyfont[dejavu,11pt] \starttext \subject{before : Oo Öo oo öo} \placeregister[index][language=en,method=before] \par \subject{after : oo öo Oo Öo} \placeregister[index][language=en,method=after] \par \subject{first : Oo oo Öo öo} \placeregister[index][language=en,method=last] \par \subject{last : oo Oo öo Öo} \placeregister[index][language=en,method=first] \par \dorecurse {3} { \page \recurselevel: \index{boo} \index{Boo} \index{BOo} \index{bOo} \index{bõö} \index{bõo} \index{boö} \index{oo} \index{öo} \index{Oo} \index{Öo} done } \stoptext We can set up a default method for each language but that has not yet been done. (2) Mari uses the prefix mechanism for references and that had not yet been implemented. The new beta does some but it needs testing. Also, I'd like to change a bit to the logic (esp related to more structured coding i.e. \startchapter .. \stopchapter and fallbacks but that will happen later). For the moment 'get it running as per mkii' is good enough. As cross referencing info is stored quite differently this is somewhat tricky. Hans Shame on me: during conference I have discovered a bug in lpdf-swf.lua function backends.pdf.nodeinjections.insertswf(spec) local annot, preview, ref = insertswf { foundname = spec.foundname, width = spec.width, height= spec.height, -- factor= spec.factor, -- display = spec.display, -- controls = spec.controls, -- label = spec.label, } -- texsprint(ctxcatcodes,format(\\pdfannot width %ssp height %ssp {%s},spec.width,spec.height,annot())) -- b node.write(pdfannotation(spec.width,spec.height,0,annotation())) end local annot shoud be local annotation I'm sure that I haven't say it to Hans. -- luigi ___ 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] cow symbols don't work in MkIV
Am 18.09.2010 um 12:49 schrieb Henning Hraban Ramm: This works in MkII, but not MkIV. Other symbol sets like mvs work (even with a list of error messages). All symbol fonts are tricky with mkiv because luatex moves them to the private slots, you can see this on the terminal when you load the font for the first time. load afm unifying /Users/wolf/context/tex/texmf-context/fonts/afm/hoekwater/koeieletters/koeielogos-contour.afm load afm assigning private slot U+F for unknown glyph name T_e_X load afm assigning private slot U+F0001 for unknown glyph name texlogo.alt load afm assigning private slot U+F0002 for unknown glyph name contextlogo.shadow load afm assigning private slot U+F0003 for unknown glyph name PragmaADElogo load afm assigning private slot U+F0004 for unknown glyph name C_o_w_t_e_x_t ... I found no system how the original position in the font and the assigned position is related, maybe Taco knows a answer. With the message above from the terminal you can now load the symbols with \charF00xx but mkiv provides also a mechanism to access a symbol by the glyphname with \fontchar{T_e_X}. I attached a modified version of the cow symbol where i used the glyph names for each symbol but what we need are different files for the symbols in mkii and mkiv. Hans, can you modify the \usesymbols command to behave like \usetypescriptfile which looks first for a mkii/mkiv file and then for a tex file? Under MkIV I managed to get my hands on the Cows (text) font via \definedfont[Cows at 30mm], but not on CowLogos. You can use the text fonts with \setupbodyfont[cow]. Wolfgang symb-cow.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
On 22-9-2010 9:50, luigi scarso wrote: I'm sure that I haven't say it to Hans. indeed. fixed anyhow but you'll have to wait another beta 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] cow symbols don't work in MkIV
On 22-9-2010 10:00, Wolfgang Schuster wrote: Am 18.09.2010 um 12:49 schrieb Henning Hraban Ramm: This works in MkII, but not MkIV. Other symbol sets like mvs work (even with a list of error messages). All symbol fonts are tricky with mkiv because luatex moves them to the private slots, you can see this on the terminal when you load the font for the first time. load afm unifying /Users/wolf/context/tex/texmf-context/fonts/afm/hoekwater/koeieletters/koeielogos-contour.afm load afm assigning private slot U+F for unknown glyph name T_e_X load afm assigning private slot U+F0001 for unknown glyph name texlogo.alt load afm assigning private slot U+F0002 for unknown glyph name contextlogo.shadow load afm assigning private slot U+F0003 for unknown glyph name PragmaADElogo load afm assigning private slot U+F0004 for unknown glyph name C_o_w_t_e_x_t I found no system how the original position in the font and the assigned position is related, maybe Taco knows a answer. % symbols-001.tex \starttext % for taco \definedfont[file:stmary10 at 100pt] \startTEXpage[offset=50pt] \fontchar{Yright} \stopTEXpage \stoptext So, access them by name. I'll look into the cows later. Actually we need a nice open type variant (and then complete the font). 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 ___
[NTG-context] TEST
Please ignore this message - it's just a test due to some problems delivering e-mails to this conference. Lukas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] How to use a true type font?
Hello, I'm trying to use the BrickToBrick.ttf font. It can be freely downloaded from http://moorstation.org/typoasis/designers/klein05/pic05/brick2brick.htm. Problems are: 1) What's the best destination where the BrickToBrick.ttf should be placed? (Now, I've copied the file to c:\ConTeXt\tex\texmf-local\BrickToBrick.ttf.) 2) How to make ConTeXt realize that a new (.ttf) font has been added to use? Is it necessary to run any special routine? 3) How to use the font? I tried: \definefont[BRICK][BrickToBrick.ttf at 30pt] \starttext {\BRICK abcdefghijklmnopqrtsuvwxyz ABCDEFGHIJKLMNOPQRTSUVWXYZ 0123456789 } \stoptext But I got just letters and numbers. 4) Another thing is that there are only 14 pictures (= letters) in the font. So I don't know whether to use them via a, b, c... and what would happen for z as for 25th letter, or how. - I saw this font working - it was used in the thick Book of Fonts III by Pavel Stříž; it was used in the right bottom quarter at page 171. But the book was typeset by pdfLaTeX and I'd like to make it work in ConTeXt. Thank you in advance. Lukas ___ 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] How to use a true type font?
2010/9/22 Procházka Lukáš l...@pontex.cz: Hello, I'm trying to use the BrickToBrick.ttf font. It can be freely downloaded from http://moorstation.org/typoasis/designers/klein05/pic05/brick2brick.htm. Problems are: 1) What's the best destination where the BrickToBrick.ttf should be placed? (Now, I've copied the file to c:\ConTeXt\tex\texmf-local\BrickToBrick.ttf.) Have you done luatools --generate ? Your tex works for me. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt mkiv and --autopdf option
Hello all, Is it possible to open a PDF file (after compilation of ConTeXt) in other PDF viewer which is not the default setting? I mean change the default choice: context --autopdf file.tex to another, for example: context --viewer=PDFViewer file.tex I would like to retain the default browser settings, but I would like after ConTeXt compilation opened the files with something else. Thanx Jaroslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt mkiv and --autopdf option
On 22-9-2010 11:26, Jaroslav Hajtmar wrote: Hello all, Is it possible to open a PDF file (after compilation of ConTeXt) in other PDF viewer which is not the default setting? I mean change the default choice: context --autopdf file.tex to another, for example: context --viewer=PDFViewer file.tex I would like to retain the default browser settings, but I would like after ConTeXt compilation opened the files with something else. the log mentions: MTXrun | pdfview methods: default okular xpdf, current method: default, MTX_PDFVIEW_METHOD=unset so you can set the method i could extend --autopdf to accept a method 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 ___
[NTG-context] picture- and formula-references broken with current beta
Hi all, can someone confirm that picture- and formula-references are broken with the current beta. Here is a test file: \starttext \placefigure[auto][pic:1]{caption}{\externalfigure[dummy]} \placeformula[for:1] \startformula a+b \stopformula \in{picture}[pic:1] \in{formula}[for:1] \stoptext Greeting Andreas ___ 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] How to use a true type font?
2010/9/22 Procházka Lukáš l...@pontex.cz: Hello, I'm trying to use the BrickToBrick.ttf font. It can be freely downloaded from http://moorstation.org/typoasis/designers/klein05/pic05/brick2brick.htm. Problems are: 1) What's the best destination where the BrickToBrick.ttf should be placed? (Now, I've copied the file to c:\ConTeXt\tex\texmf-local\BrickToBrick.ttf.) You need to put it to a) c:\ConTeXt\tex\texmf-local\data\politebutnotneededtoputfontnamefolderhere\BrickToBrick.ttf b) c:\ConTeXt\tex\texmf-local\fonts\opentype\brick\BrickToBrick.ttf (or truetype instead of opentype; I'm not sure what kind of font it is, but on the other hand I don't think that it really matters) 2) How to make ConTeXt realize that a new (.ttf) font has been added to use? Is it necessary to run any special routine? In MKII the folder texmf-local and TEXMFHOME (%HOME%/texmf) should be automatically searched (other trees not), but I do not guarantee that MKIV does that in the same way. In any case, mtxrun --generate should update the files for MKIV. In MKII that would be mktexlsr. Mojca ___ 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] new beta
On 2010-09-22 09:43:21, Hans Hagen wrote: Hi, I'm dealing with the bugs/anomalies/wishes that showed up during the ctx conference. The following has been done so far: (1) With respect to registers, Jano had a wish to deal with mixed language indexes. As a result the current sorting code has been adapted. In the process also different control over sorting has been streamlined and this is controlled by the method variable. Also, the language related sorting definitions have changed. Great news! At the moment I’m reading the new language definitions. How exactly do I set the “method” switch on a per-language basis? Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp2jcXnLeBUA.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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to use a true type font?
On Wed, Sep 22, 2010 at 12:06, Mojca Miklavec wrote: 2010/9/22 Procházka Lukáš wrote: 1) What's the best destination where the BrickToBrick.ttf should be placed? (Now, I've copied the file to c:\ConTeXt\tex\texmf-local\BrickToBrick.ttf.) You need to put it to a) c:\ConTeXt\tex\texmf-local\data\politebutnotneededtoputfontnamefolderhere\BrickToBrick.ttf b) c:\ConTeXt\tex\texmf-local\fonts\opentype\brick\BrickToBrick.ttf (or truetype instead of opentype; I'm not sure what kind of font it is, but on the other hand I don't think that it really matters) An interesting observation: the font won't work if you put it under opentype, it only works if you put it under truetype or data. But your input works fine. Mojca ___ 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] new beta
On 22-9-2010 12:13, Philipp Gesang wrote: On 2010-09-2209:43:21, Hans Hagen wrote: Hi, I'm dealing with the bugs/anomalies/wishes that showed up during the ctx conference. The following has been done so far: (1) With respect to registers, Jano had a wish to deal with mixed language indexes. As a result the current sorting code has been adapted. In the process also different control over sorting has been streamlined and this is controlled by the method variable. Also, the language related sorting definitions have changed. Great news! At the moment I’m reading the new language definitions. How exactly do I set the “method” switch on a per-language basis? each definition can have a method key/value and it can be overloaded when generatng the index 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] How to use a true type font?
On 22-9-2010 12:16, Mojca Miklavec wrote: On Wed, Sep 22, 2010 at 12:06, Mojca Miklavec wrote: 2010/9/22 Procházka Lukáš wrote: 1) What's the best destination where the BrickToBrick.ttf should be placed? (Now, I've copied the file to c:\ConTeXt\tex\texmf-local\BrickToBrick.ttf.) You need to put it to a) c:\ConTeXt\tex\texmf-local\data\politebutnotneededtoputfontnamefolderhere\BrickToBrick.ttf b) c:\ConTeXt\tex\texmf-local\fonts\opentype\brick\BrickToBrick.ttf (or truetype instead of opentype; I'm not sure what kind of font it is, but on the other hand I don't think that it really matters) An interesting observation: the font won't work if you put it under opentype, it only works if you put it under truetype or data. But your input works fine. This is specific for tds (I never understood why the distinction was made). However, if you use the flat fonts/data approach then you can mix filetypes. - 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] ConTeXt mkiv and --autopdf option
Thanx Hans, I have ConTeXt in TL2010 ... Settings are made in MTX-context.lua or l-pdfview.lua? It is necessary to refresh the settings by luatools --generate or something like? Jaroslav Settings in l-pdfview.lua is (only part): pdfview = pdfview or { } local opencalls = { ['default'] = pdfopen --file, -- pdfopen --back --file ['xpdf']= xpdfopen, } local closecalls= { ['default'] = pdfclose --file, ['xpdf']= nil, } local allcalls = { ['default'] = pdfclose --all, ['xpdf']= nil, } if os.type == windows then opencalls['okular'] = 'start test c:/program files/kde/bin/okular.exe --unique' -- todo: get focus else opencalls['okular'] = 'okular --unique' end pdfview.METHOD = MTX_PDFVIEW_METHOD pdfview.method = getenv(pdfview.METHOD) or 'default' pdfview.method = (opencalls[pdfview.method] and pdfview.method) or 'default' function pdfview.methods() return table.concat(table.sortedkeys(opencalls), ) end Dne 22.9.2010 11:34, Hans Hagen napsal(a): On 22-9-2010 11:26, Jaroslav Hajtmar wrote: Hello all, Is it possible to open a PDF file (after compilation of ConTeXt) in other PDF viewer which is not the default setting? I mean change the default choice: context --autopdf file.tex to another, for example: context --viewer=PDFViewer file.tex I would like to retain the default browser settings, but I would like after ConTeXt compilation opened the files with something else. the log mentions: MTXrun | pdfview methods: default okular xpdf, current method: default, MTX_PDFVIEW_METHOD=unset so you can set the method i could extend --autopdf to accept a method 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] ConTeXt mkiv and --autopdf option
On 22-9-2010 12:26, Jaroslav Hajtmar wrote: I have ConTeXt in TL2010 ... Settings are made in MTX-context.lua or l-pdfview.lua? It is necessary to refresh the settings by luatools --generate or something like? No clue as I don't have tl 2010 installed (and no time now to put it in a vm). You can try to set the environment variable: MTX_PDFVIEW_METHOD Adapting scripts directly that come with context is not a good idea as changes will be lost with an update. A next version of context will also accept --autopdf=method Some day I might also support configuration in texmfcnf.lua. 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] ConTeXt mkiv and --autopdf option
OK.. Thank You very much .. Jaroslav .. Dne 22.9.2010 12:37, Hans Hagen napsal(a): On 22-9-2010 12:26, Jaroslav Hajtmar wrote: I have ConTeXt in TL2010 ... Settings are made in MTX-context.lua or l-pdfview.lua? It is necessary to refresh the settings by luatools --generate or something like? No clue as I don't have tl 2010 installed (and no time now to put it in a vm). You can try to set the environment variable: MTX_PDFVIEW_METHOD Adapting scripts directly that come with context is not a good idea as changes will be lost with an update. A next version of context will also accept --autopdf=method Some day I might also support configuration in texmfcnf.lua. 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] picture- and formula-references broken with current beta
On 22-9-2010 11:50, Andreas Harder wrote: Hi all, can someone confirm that picture- and formula-references are broken with the current beta. Here is a test file: \starttext \placefigure[auto][pic:1]{caption}{\externalfigure[dummy]} \placeformula[for:1] \startformula a+b \stopformula \in{picture}[pic:1] \in{formula}[for:1] \stoptext New beta. Can you check again? Keep in mind that pic: and fig: are also checked as prefix. 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 ___
[NTG-context] export
Hi, For those who were not at the ctx conference (where it was demonstrated) .. there is a new feature. When you say: \setupbackeds[export=yes] You will also get a file called jobname.export which represents the document in xml format. You can postprocess such an export to for instance html. It's still somewhat experimental but also fun. 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] new beta
On 2010-09-22 12:22:12, Hans Hagen wrote: On 22-9-2010 12:13, Philipp Gesang wrote: Great news! At the moment I’m reading the new language definitions. How exactly do I set the “method” switch on a per-language basis? each definition can have a method key/value and it can be overloaded when generatng the index Hans Of course, now I see it; I just skipped the entry “default” which is the only one yet with this flag set. My compliments for the new definitions, having every language in its own table is by far more intuitive than the old threefold method. Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp0TJToAbpnT.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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] picture- and formula-references broken with current beta
Am 22.09.2010 um 12:40 schrieb Hans Hagen: On 22-9-2010 11:50, Andreas Harder wrote: Hi all, can someone confirm that picture- and formula-references are broken with the current beta. Here is a test file: \starttext \placefigure[auto][pic:1]{caption}{\externalfigure[dummy]} \placeformula[for:1] \startformula a+b \stopformula \in{picture}[pic:1] \in{formula}[for:1] \stoptext New beta. Can you check again? Keep in mind that pic: and fig: are also checked as prefix. Thank you Hans, it works again! Andreas ___ 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] new beta
On Wed, Sep 22, 2010 at 10:05 AM, Hans Hagen pra...@wxs.nl wrote: On 22-9-2010 9:50, luigi scarso wrote: I'm sure that I haven't say it to Hans. indeed. fixed anyhow but you'll have to wait another beta Ok, it's fixed now. -- luigi ___ 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] New typescript mechanism for weights/opticals?
Hi, I like Mojcas idea for new typescripts: %%% \startsomenewfonttypescriptcommand [kepler] [width={condensed,semicondensed,*regular,extended}] [size={caption,*regular,subhead,display},switch={10pt,12pt,17pt}] [weight={light,*regular,medium,semibold,*bold,black}] ... %%% \switchtofontdimension[width=semicondensed,weight={light,medium}] %%% That would make different weight/opticals font handling much less cumbersome. At the moment its no fun dealing with weights/opticals. I really would appreciate that (or any other easy usable) solution that provides a standardized way to handle weights/opticals with not too much overhead. Regards Marco ___ 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] How to use a true type font?
You need to put it to a) c:\ConTeXt\tex\texmf-local\data\politebutnotneededtoputfontnamefolderhere\BrickToBrick.ttf b) c:\ConTeXt\tex\texmf-local\fonts\opentype\brick\BrickToBrick.ttf (or truetype instead of opentype; I'm not sure what kind of font it is, but on the other hand I don't think that it really matters) An interesting observation: the font won't work if you put it under opentype, it only works if you put it under truetype or data. But your input works fine. It used to be that kpathsea looked for files with a .ttf extension under truetype/ exclusively, and likewise for .otf and opentype/. This is not correct because as you know, OpenType fonts can have a .ttf extension if they use TrueType outlines (this is the case for all fonts installed by default on Windows), but this is not a requirement (only a polite thing to do for older rendering engines). In order to add to the confusion, this behaviour has been changed in TeX Live 2010 where the list of directories searched for is now basically the same for .ttf and .otf (but in a different order -- I told you it was confusing :-) Anyway, Mark IV should have no problem with it and disregard the file extension completely. It makes little sense anyway for ConTeXt. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] modify resume
I’m sorry but it still don’t work. I add \usesymbols[mvs] but i have this message: ! Font \**Dings**:=MarVoSym at 8.3pt not loadable: Metric (TFM) file not fo und. to be read again \relax \definefontlocal ...ndcsname \lastfontname \relax \expandafter \let \expanda... \dododefinefont ...ontspec {#2}\rawfontidentifier \let \localrelativefontsiz... \redodefinefont #1#2#3-\dododefinefont {#1}{#2} \doifsetupselse {#3} {\setup... \placehead ...} \hbox {\addressb } \hbox {{\Dings B} \email } \hbox {{\Dings... l.14 \placehead I think this line is suspect: \definefont[Dings][name:MarVoSym] Why name: ? ___ 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] New typescript mechanism for weights/opticals?
On 22-9-2010 1:35, Marco wrote: Hi, I like Mojcas idea for new typescripts: %%% \startsomenewfonttypescriptcommand [kepler] [width={condensed,semicondensed,*regular,extended}] [size={caption,*regular,subhead,display},switch={10pt,12pt,17pt}] [weight={light,*regular,medium,semibold,*bold,black}] ... %%% \switchtofontdimension[width=semicondensed,weight={light,medium}] %%% sure. looks nice, but the outcome is quite unpredictable unless you know the font and that in turn demands some investiation on the users end That would make different weight/opticals font handling much less cumbersome. At the moment its no fun dealing with weights/opticals. it will never be fun ... (in most cases one will use suggested combinations and then for odd cases like a section title something special) I really would appreciate that (or any other easy usable) solution that provides a standardized way to handle weights/opticals with not too much overhead. given the huge differences in font collections there will never be an easy way with fonts that come in many weights/widths/sizes .. at least I cannot remember a project that I did where any system was present 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] How to use a true type font?
... Thanks, it works perfectly. I looked into c:\ConTeXt\tex\texmf\web2c\texmfcnf.lua (ln. 42) as well - it seems to me that paths for searching for various kinds of font are prescribed here, see e.g.: TTFONTS = .;$TEXMF/fonts/{data,truetype,ttf}//;$OSFONTDIR, OPENTYPEFONTS = .;$TEXMF/fonts/{data,opentype}//;$OSFONTDIR, (Agrees with Mojca's observation.) So if I insisted on keeping the BrickToBrick.ttf in a special directory, it would mean to change the lines above e.g. to: TTFONTS = .;$TEXMF/fonts/{data,truetype,ttf}//;$OSFONTDIR;MySpecialDirectory, right? And one more question - maybe due to that I'm not Linux user - - what does the !! at the begin and the // at the and of some paths mean? Or is it something TeX-special? Maybe a link to a document will be the answer... Cheers, Lukas On Wed, 22 Sep 2010 12:16:05 +0200, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Wed, Sep 22, 2010 at 12:06, Mojca Miklavec wrote: 2010/9/22 Procházka Lukáš wrote: 1) What's the best destination where the BrickToBrick.ttf should be placed? (Now, I've copied the file to c:\ConTeXt\tex\texmf-local\BrickToBrick.ttf.) You need to put it to a) c:\ConTeXt\tex\texmf-local\data\politebutnotneededtoputfontnamefolderhere\BrickToBrick.ttf b) c:\ConTeXt\tex\texmf-local\fonts\opentype\brick\BrickToBrick.ttf (or truetype instead of opentype; I'm not sure what kind of font it is, but on the other hand I don't think that it really matters) An interesting observation: the font won't work if you put it under opentype, it only works if you put it under truetype or data. But your input works fine. Mojca ___ 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] New beta 2010-09-22 and xits fonts
Dear Hans, dear Khaled, It seems that the xits fonts does not work anymore with the recent versions (at least since 2010-09-18): the integral signs are not properly scaled and the square root behaves strangely: minimal example below (and the resulting PDF, with ConTeXt ver: 2010.09.22 12:33 MKIV fmt: 2010.9.22 int: english/english, on Mac OS X 10.6.3): Best regards: OK %%% begin bug-xits-sqrt.tex \setupbodyfont[xits] \starttext Note that $\int_{0}^{2\pi} \sin(x)dx = 0$, while \startformula \int_{0}^{2\pi} \sin^2(x)dx = \pi \qquad \mbox{and}\qquad \sqrt{4}= 2. \stopformula \stoptext %%% end bug-xits-sqrt.tex xits-sqrt.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] export
Otared Kavian wrote: Hi Hans, Thanks for giving the information to those unlucky people who were not at the ConTeXt conference: Since I am interested in the feature you mention, I just tried with the latest beta you uploaded today, but the command \setupbackeds[export=yes] is unknown. Maybe there is a typo in what you said: could you please give a hint? Try \setupbackends. Many thanks in advance: OK ___ 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] How to use a true type font?
2010/9/22 Procházka Lukáš wrote: And one more question - maybe due to that I'm not Linux user - - what does the !! at the begin and the // at the and of some paths mean? Or is it something TeX-special? !! means that a database must be created first. The advantage is that searching is much faster, but the drawback is that you need to update the database each time when you modify something (add or remove files). Without !! it means that files are searched for on the fly. Advantage: database doesn't need to be updated, drawback: slower search. I'm not sure - maybe entries in texmf-local should be without !!. Mojca ___ 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] export
On 22 sept. 2010, at 14:06, Yury G. Kudryashov wrote: […] Try \setupbackends. Thanks Yuri for your attention, but this suggestion doesn't work: I get error on line 3 in file test-export.tex: Undefined control sequence ... \setupbackends[export=yes] Best regards: OK ___ 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] How to use a true type font?
On 22-9-2010 2:11, Mojca Miklavec wrote: 2010/9/22 Procházka Lukáš wrote: And one more question - maybe due to that I'm not Linux user - - what does the !! at the begin and the // at the and of some paths mean? Or is it something TeX-special? !! means that a database must be created first. The advantage is that searching is much faster, but the drawback is that you need to update the database each time when you modify something (add or remove files). Without !! it means that files are searched for on the fly. Advantage: database doesn't need to be updated, drawback: slower search. I'm not sure - maybe entries in texmf-local should be without !!. no fun only home has no !! (and one can even argue that as creating the database is a one time shot while the constant delay of scanning can take seconds in a worst case) 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] export
On 22-9-2010 2:18, Otared Kavian wrote: On 22 sept. 2010, at 14:06, Yury G. Kudryashov wrote: […] Try \setupbackends. Thanks Yuri for your attention, but this suggestion doesn't work: I get error on line 3 in file test-export.tex: Undefined control sequence ... \setupbackends[export=yes] there is only one backend ... \setupbackend [export=yes] and this command is only available in post tex live 2010 versions (with export only being supported with versions uploaded during and after the conference) 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] export
Minimal example (given at the workshop): \setupbackend [export=yes] \starttext \startchapter [title=First chapter] \startparagraph \input ward \stopparagraph \stopchapter \stoptext On Wednesday 22 September 2010 14:18:18 Otared Kavian wrote: On 22 sept. 2010, at 14:06, Yury G. Kudryashov wrote: […] Try \setupbackends. Thanks Yuri for your attention, but this suggestion doesn't work: I get error on line 3 in file test-export.tex: Undefined control sequence ... \setupbackends[export=yes] Best regards: OK ___ 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 ___ -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS URA 2464 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.bras...@cea.fr http://www-dna2009.cea.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] export
Am 22.09.2010 um 14:25 schrieb Alan BRASLAU: \setupbackend [export=yes] \starttext \startchapter [title=First chapter] \startparagraph \input ward \stopparagraph \stopchapter \stoptext Results in Undefined control sequence. \setupbackend (newest beta; OS X) … Greeting Andreas ___ 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] export
On Wednesday 22 September 2010 14:29:08 Andreas Harder wrote: Am 22.09.2010 um 14:25 schrieb Alan BRASLAU: \setupbackend [export=yes] \starttext \startchapter [title=First chapter] \startparagraph \input ward \stopparagraph \stopchapter \stoptext Results in Undefined control sequence. \setupbackend (newest beta; OS X) … Greeting Andreas Works here - latest beta - linux x86_64 (see attached) Alan xml.export Description: XML document \setupbackend [export=yes] \starttext \startchapter [title=First chapter] \startparagraph \input ward \stopparagraph \stopchapter \startchapter [title=Second chapter] \startparagraph \input tufte \stopparagraph \stopchapter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta 2010-09-22 and xits fonts
On 22-9-2010 2:06, Otared Kavian wrote: \setupbodyfont[xits] \starttext Note that $\int_{0}^{2\pi} \sin(x)dx = 0$, while \startformula \int_{0}^{2\pi} \sin^2(x)dx = \pi \qquad \mbox{and}\qquad \sqrt{4}= 2. \stopformula \stoptext Afaik nothing was changed so I'll wait for Taco's comments before I start messing around. 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 ___
[NTG-context] Update ConTeXt into TL2010...
Hello, Is there anyone who updated ConTeXt MkIV in TL2010? Is there more information about how this can be done safely? (where you copy and what to run ...) I am interested in the latest updates, but I do not want to get into trouble with a bad update. Last time I stopped in ConTeXt TL2009 quite work and I had to completely install TL2010. Thanks Jaroslav ___ 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] Update ConTeXt into TL2010...
On Wed, Sep 22, 2010 at 3:11 PM, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello, Is there anyone who updated ConTeXt MkIV in TL2010? Is there more information about how this can be done safely? (where you copy and what to run ...) The best and only way to run mkiv is minimals, not texlive; texlive is ok for mkii (as also minimals, anyway). -- luigi ___ 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] new beta (index)
On Wednesday 22 September 2010 09:43:21 Hans Hagen wrote: Hi, I'm dealing with the bugs/anomalies/wishes that showed up during the ctx conference. The following has been done so far: (1) With respect to registers, Jano had a wish to deal with mixed language indexes. As a result the current sorting code has been adapted. In the process also different control over sorting has been streamlined and this is controlled by the method variable. Also, the language related sorting definitions have changed. % tricky-002.tex: \setuplayout[topspace=1cm,height=middle] \setupbodyfont[dejavu,11pt] \starttext \subject{before : Oo Öo oo öo} \placeregister[index][language=en,method=before] \par \subject{after : oo öo Oo Öo} \placeregister[index][language=en,method=after] \par \subject{first : Oo oo Öo öo} \placeregister[index][language=en,method=last] \par \subject{last : oo Oo öo Öo} \placeregister[index][language=en,method=first] \par \dorecurse {3} { \page \recurselevel: \index{boo} \index{Boo} \index{BOo} \index{bOo} \index{bõö} \index{bõo} \index{boö} \index{oo} \index{öo} \index{Oo} \index{Öo} done } \stoptext We can set up a default method for each language but that has not yet been done. Nice, but something is broken (of course, my minimal examples work, but not my 700+ page test file!): (thanks to Taco, I now understand the luatex error message) ! LuaTeX error ...beta/tex/texmf-context/tex/context/base/char-ini.lua:792: bad argument #1 to 'utfchar' (number expected, got table) stack traceback: [C]: in function 'utfchar' ...beta/tex/texmf-context/tex/context/base/char-ini.lua:792: in function ...beta/tex/texmf-context/tex/context/base/char-ini.lua:792 ...beta/tex/texmf-context/tex/context/base/sort-ini.lua:107: in function ...beta/tex/texmf-context/tex/context/base/sort-ini.lua:96 ...beta/tex/texmf-context/tex/context/base/sort-ini.lua:329: in function 'splitter' ...beta/tex/texmf-context/tex/context/base/strc-reg.lua:353: in function 'prepare' ...beta/tex/texmf-context/tex/context/base/strc-reg.lua:423: in function 'analyzed' ...beta/tex/texmf-context/tex/context/base/strc-reg.lua:741: in function 'process' main ctx instance:1: in main chunk. system error on line 136 in file Livre.tex: LuaTeX error ... 134 135 \startpart [title={Index des sujets}] 136 \placeindex [method=first,criterium=all,compress=yes] 137 \stoppart 138 \doplaceregister ...ameter \c!pagesegments , } )} \stoppacked \stopcolumns \... l.136 ...[method=first,criterium=all,compress=yes] ? X ___ 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] Fonts
On Tuesday 21 September 2010 18:37:48 Khaled Hosny wrote: On Tue, Sep 21, 2010 at 06:17:41PM -0400, John Culleton wrote: Well I have been typesetting books in plain tex and pdftex for a decade or more. Supposedly luatex is a superset of pdftex that makes finding fonts easier and eliminates the generation of tmf files. But I seem to be sinking into a deeper swamp. If you all what you want is plain TeX, then why you are looking for ConTeXt solutions, I mean you don't need ConTeXt nor ConTeXt file locating system (which does not use kpathsea) to use plain format. The issue you have is because your ConTeXt MkIV is not properly setup yet (true for fresh TeXLive 2010 installs). You need to run `luatools -generate` to generate the file database (used to locating files, similar to running texhash and likes, but TeXLive scripts does not run it by default). Then you need to set your system font paths, by setting OSFONTDIR, and ConTeXt will then be able find system fonts. However, you don't need any of then to use system fonts with plain, there are already packages for this (based on dome of ConTeXt code, but adapted to be self contained and ConTeXt independent). A small test file would be: \input luaotfload.sty % works for plain despite the .sty \font\pagella={name:TeX Gyre Pagella:script=latn;+onum} at 10pt \font\termes={file:texgyretermes-regular.otf:script=latn} at 10pt \pagella some text 12345\par \termes other text \bye This should work out of box on texlive (at first run it will take some time building font database). If it does not work, it is a bug. For LaTeX, just check fontspec documentation, and there is a lualatex-dev list on CTAN, and luatex list for general, non-ConTeXt questions. Regards, Khaled Now that works! I'll try it on my XP partition also to see how well I fare. And I need to fiddle with some non-Gyre fonts as well. You mentioned building a database, and yes that took some time. Is there a way to have it scan fonts in /usr/share/fonts as well? -- John Culleton Wexford Press Create Book Covers with Scribus Printable E-book 38 pages $5.95 http://www.booklocker.com/books/4055.html ___ 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] Fonts
On Wednesday 22 September 2010 15:25:26 John Culleton wrote: You mentioned building a database, and yes that took some time. Is there a way to have it scan fonts in /usr/share/fonts as well? export OSFONTDIR=/usr/share/fonts 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 ___
Re: [NTG-context] Update ConTeXt into TL2010...
On Wed, Sep 22, 2010 at 15:11, Jaroslav Hajtmar wrote: Hello, Is there anyone who updated ConTeXt MkIV in TL2010? Is there more information about how this can be done safely? (where you copy and what to run ...) You may use tlmgr update --all but this will only update some minor trivial fixes (for example I just commited fixes for Antykwa Poltawskiego after the font has been released). If you want to have the latest ConTeXt, you also need to update luatex, but also some other tools have changed since TL release. I would suggest to install minimals if you want the latest ConTeXt ... or at least wait for Taco's new server. Apart from that you are free to put the latest ConTeXt into texmf-local, replace luatex binary with the one from minimals and update mtxrun script manually. It is not nice clean to do it, but it should work. (If anything breaks badly, you might end up installing from scratch, but well ...) Mojca ___ 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] new beta (index)
On 22-9-2010 3:22, Alan BRASLAU wrote: Nice, but something is broken (of course, my minimal examples work, but not my 700+ page test file!): (thanks to Taco, I now understand the luatex error message) hm, so some word in the index is triggering this ... no minimal example I guess 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] New typescript mechanism for weights/opticals?
On 2010-09-22 Hans Hagen pra...@wxs.nl wrote: On 22-9-2010 1:35, Marco wrote: Hi, I like Mojcas idea for new typescripts: %%% \startsomenewfonttypescriptcommand [kepler] [width={condensed,semicondensed,*regular,extended}] [size={caption,*regular,subhead,display},switch={10pt,12pt,17pt}] [weight={light,*regular,medium,semibold,*bold,black}] ... %%% \switchtofontdimension[width=semicondensed,weight={light,medium}] %%% sure. looks nice, but the outcome is quite unpredictable unless you know the font and that in turn demands some investiation on the users end I think some user investiation will always be necessary since the vendors dont't follow the same schema and every font collection is different. That would make different weight/opticals font handling much less cumbersome. At the moment its no fun dealing with weights/opticals. it will never be fun ... (in most cases one will use suggested combinations and then for odd cases like a section title something special) Don't be that pessimistic ;-) Selecting the proper font *is* fun. I really would appreciate that (or any other easy usable) solution that provides a standardized way to handle weights/opticals with not too much overhead. given the huge differences in font collections there will never be an easy way with fonts that come in many weights/widths/sizes .. at least I cannot remember a project that I did where any system was present That's a true point. But I think there is room for improvements. ConTeXt supports a standardized interface for Bold/Sans/Italic/Slanted... font variants and it lacks an interface for (more) weights/widths. Of course the person setting up the (whatever variant of) typescript(s) has to do some investiation about the font. But after that the user should be provided with standardized commands for the weights/widths. Regards Marco ___ 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] Fonts
On Wed, Sep 22, 2010 at 09:25:26AM -0400, John Culleton wrote: On Tuesday 21 September 2010 18:37:48 Khaled Hosny wrote: On Tue, Sep 21, 2010 at 06:17:41PM -0400, John Culleton wrote: Well I have been typesetting books in plain tex and pdftex for a decade or more. Supposedly luatex is a superset of pdftex that makes finding fonts easier and eliminates the generation of tmf files. But I seem to be sinking into a deeper swamp. If you all what you want is plain TeX, then why you are looking for ConTeXt solutions, I mean you don't need ConTeXt nor ConTeXt file locating system (which does not use kpathsea) to use plain format. The issue you have is because your ConTeXt MkIV is not properly setup yet (true for fresh TeXLive 2010 installs). You need to run `luatools -generate` to generate the file database (used to locating files, similar to running texhash and likes, but TeXLive scripts does not run it by default). Then you need to set your system font paths, by setting OSFONTDIR, and ConTeXt will then be able find system fonts. However, you don't need any of then to use system fonts with plain, there are already packages for this (based on dome of ConTeXt code, but adapted to be self contained and ConTeXt independent). A small test file would be: \input luaotfload.sty % works for plain despite the .sty \font\pagella={name:TeX Gyre Pagella:script=latn;+onum} at 10pt \font\termes={file:texgyretermes-regular.otf:script=latn} at 10pt \pagella some text 12345\par \termes other text \bye This should work out of box on texlive (at first run it will take some time building font database). If it does not work, it is a bug. For LaTeX, just check fontspec documentation, and there is a lualatex-dev list on CTAN, and luatex list for general, non-ConTeXt questions. Regards, Khaled Now that works! I'll try it on my XP partition also to see how well I fare. And I need to fiddle with some non-Gyre fonts as well. You mentioned building a database, and yes that took some time. Is there a way to have it scan fonts in /usr/share/fonts as well? By default on Linux it will attempt to read /etc/fonts/fonts.conf and detect system font directories, so /usr/share/fonts (and ~/.fonts) should work, you can override this by explicitly setting OSFONTDIR, in this case it will only search the specified directories (it is a regular kpathsea variable). Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___ 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] Fonts
On Wednesday 22 September 2010 09:27:52 Alan BRASLAU wrote: On Wednesday 22 September 2010 15:25:26 John Culleton wrote: You mentioned building a database, and yes that took some time. Is there a way to have it scan fonts in /usr/share/fonts as well? export OSFONTDIR=/usr/share/fonts Alan We are getting close! Thanks for your help. That works for OTF fonts in /usr/share/fonts/OTF and TTF in /usr/share/fonts/TTF but apparently not for Type1 fonts in /usr/share/fonts/Type1. The line below confuses the system: \font\barr={file:AGaramond-Regular.pfb} at 30bp Here is the error message: argument #2 to 'find_file' (invalid option 'pfb'). I tried it with afm and no suffix at all but they didn't work either. What is the magic formula for Type1? -- John Culleton Wexford Press Create Book Covers with Scribus Printable E-book 38 pages $5.95 http://www.booklocker.com/books/4055.html ___ 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] Fonts
On Wed, Sep 22, 2010 at 12:22:36PM -0400, John Culleton wrote: On Wednesday 22 September 2010 09:27:52 Alan BRASLAU wrote: On Wednesday 22 September 2010 15:25:26 John Culleton wrote: You mentioned building a database, and yes that took some time. Is there a way to have it scan fonts in /usr/share/fonts as well? export OSFONTDIR=/usr/share/fonts Alan We are getting close! Thanks for your help. That works for OTF fonts in /usr/share/fonts/OTF and TTF in /usr/share/fonts/TTF but apparently not for Type1 fonts in /usr/share/fonts/Type1. The line below confuses the system: \font\barr={file:AGaramond-Regular.pfb} at 30bp Right now, luaotfload does not support Type1 fonts, you have to load them through the old TFM mechanism (the same way as in PDFTeX, nothing changed in this area). But since this is the second request to support Type1 fonts, I might try to steal some more code from ConTeXt that deal with Type1 fonts, but I'm bit busy now with my fonts. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___ 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] Update ConTeXt into TL2010... Ctx in TL2010 Ctx minimals simultaneously
Thanx... Mojca Will simultaneously use the ConTeXt minimals and ConTeXt in the TL2010? Does anyone with experience? I'd hate to spoil the installation Jaroslav Dne 22.9.2010 15:31, Mojca Miklavec napsal(a): On Wed, Sep 22, 2010 at 15:11, Jaroslav Hajtmar wrote: Hello, Is there anyone who updated ConTeXt MkIV in TL2010? Is there more information about how this can be done safely? (where you copy and what to run ...) You may use tlmgr update --all but this will only update some minor trivial fixes (for example I just commited fixes for Antykwa Poltawskiego after the font has been released). If you want to have the latest ConTeXt, you also need to update luatex, but also some other tools have changed since TL release. I would suggest to install minimals if you want the latest ConTeXt ... or at least wait for Taco's new server. Apart from that you are free to put the latest ConTeXt into texmf-local, replace luatex binary with the one from minimals and update mtxrun script manually. It is not nice clean to do it, but it should work. (If anything breaks badly, you might end up installing from scratch, but well ...) Mojca ___ 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] Update ConTeXt into TL2010... Ctx in TL2010 Ctx minimals simultaneously
On Wed, Sep 22, 2010 at 18:43, Jaroslav Hajtmar wrote: Thanx... Mojca Will simultaneously use the ConTeXt minimals and ConTeXt in the TL2010? Does anyone with experience? I'd hate to spoil the installation I have two installations of TeX Live, one is somehow globally set somewhere (MacTeX 2010), I initialize one with export PATH=~/bin:~/soft/texlive/2010/bin/x86_64-darwin:$PATH in .bash_profile (and that one is used in Terminal/shell if I don't do anything extra). In addition I have zillions of ConTeXt minimals lying around. Every time when I want to switch to ConTeXt minimals, I execute . ~/context/tex/setuptex (or add ~/context/tex/texmf-osx-64/bin to PATH variable - which is equivalent to executing setuptex). I could have added ~/context/tex/texmf-osx-64/bin to PATH in .bash_profile and then minimals would be used by default and I would have to modify path whenever I would want to use TeX Live. Basically all you need to do to change the distribution used is to change PATH. Mojca ___ 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] producing offprints
I use a structure like \startproduct prd_JournalVolume \component c_A.tex \component c_B.tex \stopproduct to produce a single PDF file for the volume of a journal. Is there a way in MKII to adapt this so that instead of a single JournalVolume.pdf, I get c_A.pdf c_B.pdf where each component file has the proper pagination as well as functioning external and internal hyperlinks? 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] \startchapter syntax
Hello, What is the correct syntax to define a reference with \startstructure\stopstructure? \starttext \startchapter [ref] [title=My title] \stopchapter \stoptext Yields: check : missing or ungrouped '=' after 'ref' in line 2 (@@ns) 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 ___
Re: [NTG-context] \startchapter syntax
On Wednesday 22 September 2010 21:22:45 Alan BRASLAU wrote: Hello, What is the correct syntax to define a reference with \startstructure\stopstructure? \starttext \startchapter [ref] [title=My title] \stopchapter \stoptext Yields: check : missing or ungrouped '=' after 'ref' in line 2 (@@ns) \startchapter [reference=ref,title={My title}] \stopchapter Of course! (You see, I was even faster than 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] Fonts
Am 2010-09-22 um 18:34 schrieb Khaled Hosny: That works for OTF fonts in /usr/share/fonts/OTF and TTF in /usr/share/fonts/TTF but apparently not for Type1 fonts in /usr/share/fonts/Type1. The line below confuses the system: \font\barr={file:AGaramond-Regular.pfb} at 30bp Right now, luaotfload does not support Type1 fonts, you have to load them through the old TFM mechanism (the same way as in PDFTeX, nothing changed in this area). But since this is the second request to support Type1 fonts, I might try to steal some more code from ConTeXt that deal with Type1 fonts, but I'm bit busy now with my fonts. John: For ConTeXt you need AFM files to use Type1; I guess that will become the same for luaotfload. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] startlocalfootnotes
Hi, it seems that it is not longer possible to set options for local footnotes. \starttext \startbuffer \bTABLE \bTR \bTD one \footnote{\dorecurse{10}{abcd }} \eTD \bTD two \eTD \eTR \bTR \bTD three fout five six seven eight nine \eTD \bTD ten \eTD \eTR \eTABLE \stopbuffer \startlocalfootnotes[n=0,location={text,none}] \placelegend[n=2]{\getbuffer}{\placelocalfootnotes} \stoplocalfootnotes Has the syntax changed? Greeting Andreas ___ 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] export
Am 2010-09-22 um 14:29 schrieb Andreas Harder: Am 22.09.2010 um 14:25 schrieb Alan BRASLAU: Results in Undefined control sequence. \setupbackend (newest beta; OS X) … Works for me on OSX-Intel. You didn't try texexec (MkII), did you? Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] Fonts
On 22-9-2010 11:38, Henning Hraban Ramm wrote: Am 2010-09-22 um 18:34 schrieb Khaled Hosny: That works for OTF fonts in /usr/share/fonts/OTF and TTF in /usr/share/fonts/TTF but apparently not for Type1 fonts in /usr/share/fonts/Type1. The line below confuses the system: \font\barr={file:AGaramond-Regular.pfb} at 30bp Right now, luaotfload does not support Type1 fonts, you have to load them through the old TFM mechanism (the same way as in PDFTeX, nothing changed in this area). But since this is the second request to support Type1 fonts, I might try to steal some more code from ConTeXt that deal with Type1 fonts, but I'm bit busy now with my fonts. John: For ConTeXt you need AFM files to use Type1; I guess that will become the same for luaotfload. the main reason why afm loading is not in the generic code is that it's most likely to be incompatible; context always used the afm approach (via texfont) while latex has relied on the prebuilt tfm files, and they use different metrics geared at latex (things are different for the gyre fonts but one would use the otf files there). There is not that much to gain as most type one fonts are rather incomplete. 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] export
Hi, Please tell an (really) unlucky person who didn't visited the conference (like me), what \setupbackeds[export=yes] should do at all? :) Regards, 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Questions regarding the bibliography
Hi, I've a bunch of questions regarding the bibliography. I didn't find much useful information somewhere, neither in the wiki, the manual or in bibmod-doc.pdf. If my questions are answered elsewhere feel free to point me to the right direction. 1) Why are there redundant keys in the publication list: \startpublication [ k=ram, t=book, a=Ramez Elmasri, % BTW: How to input many authors in this place? y=1981, % not taken into account u=http://foo.bar.com ] \author {Ramez}[R.]{}{Elmasri} % Is it OK to leave out the first bracket? \pubyear {2007} \biburl {http://foo.bar.com} \stoppublication I checked that the »y=1981« is not taken into account, in fact I can remove it without problems, if I remove \pubyear it doesn't work. What's »y=...« for? Same goes for \author vs. a=... Why two locations for the author and url...? 2) What about not valid entries? \biburl for example is not a valid BibTeX entry type, it's neither required, nor optional. Can I provide it without running into problems? Providing for example \country leads to problems with the year. But \biburl is not used in the style, \country is. 3) During testing I forgot to say \usemodule[bib] and it worked well. Is this line not needed any more? 4) How to specify the \edition entry? Use the attached file for testing. If I specify \edition {5} I get »5 edition« using the setup \setuppublications[alternative=num]. That's wrong, either 5th edition or edition 5. When I use \setuppublications[alternative=ams] I get 5th ed. That's correct. For this reason I cannot enter \edition {5th}. The correct input should be independent from the style used. 5) How to specify online sources? BibTeX has no proper data type for this. But BibLaTeX has the type »online« with the special field urldate (for the access date). Maybe there's a corresponding functionality in ConTeXt. Thanks in advance. Regards Marco \startbuffer[mukk] \startpublication [k=fundamentals, y=1981, t=book] \title {Fundamentals of Database Systems} \author {Ramez}[R.]{}{Elmasri} \author {Shamkant B.}[S.\,B.]{}{Navathe} \pubyear {2007} \pubname {Addison Wesley} \edition {5} \city {Boston} \stoppublication \startpublication [k=garden, t=misc, % What to use here? u=http://wiki.contextgarden.net % What is this line for? ] \title {\ConTeXt-Garden} \biburl {http://wiki.contextgarden.net} \stoppublication \stopbuffer \savebuffer[mukk][\jobname.bbl] \setuppublications [alternative=ams] % \setuppublications [alternative=num] % Look for edition \starttext As you can see in \cite[fundamentals] or in \cite[garden]. \placepublications \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem with --autopdf in current beta
Hi Hans, Hi all, with the last beta i get following error message: mtxrun --autogenerate --script context --autopdf --pdf callunatest.tex ...al/texmf-context/scripts/context/lua/mtx-context.lua:649: attempt to call field 'setmethod' (a nil value) Exit code: 1 I use the latest minimal under WinXP. Greetings Lutz ___ 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 ___