[NTG-context] building the luatex font database
Hi Hans, Hi all, my fresh ConTeXt minimal installation (winxp) doesn`t recognize the fonts in the context tree. I can only use the windows systemfonts. mtxrun --script fonts --reload says: ... MTXrun | fontnames: warnings are disabled (tracker 'fonts.warnings') MTXrun | fontnames: identifying tree font files with suffix otf MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf for otf files MTXrun | fontnames: 3313 entries found, 297 otf files checked, 297 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-local for otf files MTXrun | fontnames: 1372 entries found, 546 otf files checked, 546 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-context for otf files MTXrun | fontnames: 1770 entries found, 1 otf files checked, 1 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-mswin for otf files MTXrun | fontnames: 108 entries found, 0 otf files checked, 0 okay MTXrun | fontnames: identifying tree font files with suffix OTF MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf for OTF files MTXrun | fontnames: 3313 entries found, 0 OTF files checked, 0 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-local for OTF files MTXrun | fontnames: 1372 entries found, 0 OTF files checked, 0 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-context for OTF files MTXrun | fontnames: 1770 entries found, 0 OTF files checked, 0 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-mswin for OTF files MTXrun | fontnames: 108 entries found, 0 OTF files checked, 0 okay MTXrun | fontnames: 844 tree files identified, 844 skipped, 0 duplicates, 0 hash entries added, runtime 0.172 seconds ... What do I wrong? 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 ___
Re: [NTG-context] an issues with resume module
thanks a lot -- Best regards, Huang Ze 2010/8/11 Wolfgang Schuster : > Am 11.08.10 02:12, schrieb views63: >> >> Hi all >> >> I found an issues with resume module in latest beta (MkIV) > > Fixed. > >> BTW: In the old version beta some symbol is invalid such as >> "\setresumevalue{mobile}" > > I’ll look into this later. > > 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] an issues with resume module
Am 11.08.10 02:12, schrieb views63: Hi all I found an issues with resume module in latest beta (MkIV) Fixed. BTW: In the old version beta some symbol is invalid such as "\setresumevalue{mobile}" I’ll look into this later. 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] how to jump to figure and return to the original postion?
Dear Hans, Yes, your output is working fine. But mine is not. It means that my minimal produce a different output from yours. Did you see log file? Is there nothing special? I'll reinstall minimal and try again. Thank you. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] an issues with resume module
Hi all I found an issues with resume module in latest beta (MkIV) log: loading : Context User Module / Correspondence (E:/context/tex/texmf-context/tex/context/third/letter/base/t-correspondence.mkiv)) ! Undefined control sequence. \dosetupcorrespondencelayerframe ...uplocalframed [#2#3\v!frame ][#4] \next5 #1,->\dodododosetupcorrespondencelayer {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... \next4 #1,->\dododosetupcorrespondencelayer {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... \dododefinecorrespondencelayer ...!strut =\v!yes ] \dodosetupcorrespondencela... ... l.105 \dodefineresumelayer[\v!header] ? BTW: In the old version beta some symbol is invalid such as "\setresumevalue{mobile}" -- Best regards, Huang Ze resumetest-classic.tex Description: TeX 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] Trouble with customising section heads
Wolfgang Schuster wrote: > Am 10.08.10 17:02, schrieb Elias Oltmanns: >> Hi again, > >> >> sorry for bothering you so persistently, but I really did try to hard to >> find a solution -- and failed: >> In the attempt to customise my section headings by means of >> \setuphead[section][...command=] >> >> I followed the instructions at >> http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings >> . For the purposes of testing, I've installed a current minimals >> distribution. As it turns out, neither MkII nor MkIV processes the >> attached example as expected: >> MkII The table of contents is incomplete, even though the wiki says it >> shouldn't be; >> MkIV \currentheadnumber seems to be 0 all the time. >> >> There is a possibility, of course, that something is wrong with my setup >> of ConTeXt. But I just did another >> % ./first-setup.sh --context=current >> >> Thanks in advance for any hint, >> >> Elias >> >> >> %% >> \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum] > > \setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect > }{}] I see. Well, this seems to fix the issue with MkIV at least. Thanks, Elias ___ 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] Bugs in current beta
Am 10.08.2010 um 17:36 schrieb Andreas Harder: > Hi all, > > for me (OS X 10.6.4) > mtxrun –script server –auto > do not work. If I click on a font name I get: > MTXrun | request from: 127.0.0.1 > MTXrun | requested action: > /mtx-server-ctx-fonttest.lua?selection=hoeflertextregular > MTXrun | performing action: > /mtx-server-ctx-fonttest.lua?selection=hoeflertextregular > MTXrun | requested file > '/mtx-server-ctx-fonttest.lua?selection=hoeflertextregular' > MTXrun | handling error 404: Not Found > > Another thing is the streams-module. Here is an example: > > \usemodule[streams] > \definestreamlayer[test][method=overlay] > \setupbackgrounds[page][background=test] > > \starttext \showframe > \startstreamlayer[test] > \startcolumns >\input knuth > \stopcolumns > \stopstreamlayer > > \setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]} > \stoptext > > And here the error: > ! Undefined control sequence. > l.19 \defineoutputstream[\v!left] One more: \definelist[test] \starttext \input tufte \writetolist[test]{.1}{test} \input tufte \stoptext There shouldn't be a whitespace between the paragraphs, should there? 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 ___
[NTG-context] beta: PDF/X interface
Hi, a quick description of the PDF/X interface for all testers. More documentation in the (hopefully near) future. Peter \setupbackend [format=valid pdf/x name, profile=name.icc, intent=name.icc, level=compresslevel, % default 3 file=optional specification file, option=always|never] The following two parameters are sufficient for most cases. 'format': currently supported versions: 'PDF/X-1a:2001' 'PDF/X-1a:2003' 'PDF/X-3:2002' 'PDF/X-3:2003' 'PDF/X-4' 'PDF/X-4p' 'intent': sets the output intent the name of the predefined output intents can be found in /texmf-context/color/icc/context/colorprofiles.xml more info about this collection under 'http://www.gwg.org/120.387.0.0.1.0.phtml' All profiles will be available on the Wiki soon. 'Coated FOGRA39 (ISO 12647-2:2004)' 'GRACoL2006_Coated1v2.icc' 'ISO Coated v2 300% (ECI)' 'ISO Coated v2 (ECI)' 'ISOnewspaper26v4' 'ISOnewspaper26v4_gr' 'ISO Uncoated' 'ISO Uncoated Yellowish' 'ISO Web Coated' 'Japan Color 2001 Coated' 'Japan Color 2002 Newspaper' 'Japan Web Coated (Ad)' 'SNAP 2007' 'SWOP2006_Coated3v2.icc' 'SWOP2006_Coated5v2.icc' 'Uncoated FOGRA29 (ISO 12647-2:2004)' 'Web Coated FOGRA28 (ISO 12647-2:2004)' 'PSR_LWC_PLUS_V2_PT' 'PSR_LWC_STD_V2_PT' 'PSR_SC_PLUS_V2_PT' 'PSR_SC_STD_V2_PT' 'PSRgravureMF' These parameters are kind of special. 'profile': sets the default color space profile (option for color management); see pdf-x4p.mkiv for an example; currently only one profile per color space allowed 'level': set the PDF compress level (normally not needed, more an option for testing) You can easily break PDF/X compatibility with a wrong value. 'option': 'always': force embedding of the output intent profile (useful only in case of PDF/X-1a) 'never': don't embed the output intent profile; also just a test option. ___ 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] beta
Am 10.08.2010 19:09, schrieb Martin Schröder: > 2010/8/10 Hans Hagen : >> \setupbackend >> [format=valid pdf/x name, >> profile=name.icc, >> intent=name.icc, >> level=compresslevel, % default 3 > > Does it correctly handle x-4? That's a lot harder then x-3. > See for yourself... /texmf-context/tex/context/test/pdf-x4.mkiv (also 'p' variant) But you need 'sRGB.icc' and 'ISO Coated v2 (ECI).icc' for the test files. I'll try to make all the predefined profiles available on the Wiki in the next few days. The profiles can then be stored under /texmf-context/color/icc/profiles/ or by setting $OSCOLORDIR (haven't tested the later option yet; Hans knows the dirty details) if you already have installed them for other software. Happy testing :-) Peter ___ 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] Trouble with customising section heads
Am 10.08.10 17:02, schrieb Elias Oltmanns: Hi again, sorry for bothering you so persistently, but I really did try to hard to find a solution -- and failed: In the attempt to customise my section headings by means of \setuphead[section][...command=] I followed the instructions at http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings . For the purposes of testing, I've installed a current minimals distribution. As it turns out, neither MkII nor MkIV processes the attached example as expected: MkII The table of contents is incomplete, even though the wiki says it shouldn't be; MkIV \currentheadnumber seems to be 0 all the time. There is a possibility, of course, that something is wrong with my setup of ConTeXt. But I just did another % ./first-setup.sh --context=current Thanks in advance for any hint, Elias %% \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum] \setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect }{}] 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] beta
2010/8/10 Hans Hagen : > \setupbackend > [format=valid pdf/x name, > profile=name.icc, > intent=name.icc, > level=compresslevel, % default 3 Does it correctly handle x-4? That's a lot harder then x-3. Best Martin ___ 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] beta
Hi, I uploaded a beta with some bugfixes and new features = bookmarks: force forces subject into the bookmarks: \placebookmarks[chapter,section,subsection,subsubsection,subject][all][force=yes] dedicated optional configuration: \setupbookmarks[numberstarter=<,numberstopper=>] control over numbers: \setupbookmarks[number=no]% for any following \placebookmarks...[number=no] % for given entries you can give multiple \placebookmarks commands as they accumulate = sectioning \placelist[chapter][criterium=text,interaction=all] with \setuphead[chapter][interaction=list] you also get backlinks = pdf/x Peter and I sorted out some issues and believe that we now have a reasonable interface. Examples are in pdf-x*.mkiv in the distribution. \setupbackend [format=valid pdf/x name, profile=name.icc, intent=name.icc, level=compresslevel, % default 3 file=optional specification file, option=always|never] (I'll make a --directives=backend.showformats one of these days.) Peter will probably have some more explanation later (what formats, tracing, when to use what, etc). We hope to wrap it up in an article some day. 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] Bugs in current beta
Hi all, for me (OS X 10.6.4) mtxrun –script server –auto do not work. If I click on a font name I get: MTXrun | request from: 127.0.0.1 MTXrun | requested action: /mtx-server-ctx-fonttest.lua?selection=hoeflertextregular MTXrun | performing action: /mtx-server-ctx-fonttest.lua?selection=hoeflertextregular MTXrun | requested file '/mtx-server-ctx-fonttest.lua?selection=hoeflertextregular' MTXrun | handling error 404: Not Found Another thing is the streams-module. Here is an example: \usemodule[streams] \definestreamlayer[test][method=overlay] \setupbackgrounds[page][background=test] \starttext \showframe \startstreamlayer[test] \startcolumns \input knuth \stopcolumns \stopstreamlayer \setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]} \stoptext And here the error: ! Undefined control sequence. l.19 \defineoutputstream[\v!left] 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 ___
[NTG-context] Trouble with customising section heads
Hi again, sorry for bothering you so persistently, but I really did try to hard to find a solution -- and failed: In the attempt to customise my section headings by means of \setuphead[section][...command=] I followed the instructions at http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings . For the purposes of testing, I've installed a current minimals distribution. As it turns out, neither MkII nor MkIV processes the attached example as expected: MkII The table of contents is incomplete, even though the wiki says it shouldn't be; MkIV \currentheadnumber seems to be 0 all the time. There is a possibility, of course, that something is wrong with my setup of ConTeXt. But I just did another % ./first-setup.sh --context=current Thanks in advance for any hint, Elias %% \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum] \def\Myhead#1{% Sect \currentheadnumber} \def\Mynum#1{} \starttext \completecontent \chapter{First chapter} \section{First section} Some text. \chapter{Second chapter} Introductory text. \section{First section} More text. \section{Second section} The end. \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] Placing footnotes in right margin en bloc at bottom of page
Wolfgang Schuster wrote: > Am 09.08.10 23:14, schrieb Hans Hagen: >> On 9-8-2010 8:55, Wolfgang Schuster wrote: >>> >>> Am 09.08.10 12:28, schrieb Elias Oltmanns: > I've only just realised that TeX seems to reserve space for the footnotes at the bottom of the main text area. Check the following example: \setupnote[footnote][width=\rightmarginwidth] >>> >>> \setupnote[footnote][width=\rightmarginwidth,factor=0] >> >> or location=none > > > Elias use MkII and with 'location=none' nothing is shown. That's right. Thanks for the fix, it seems to work just fine. I'm beginning to wonder though, whether I should switch to MkIV after all. Regards, Elias ___ 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] ntg-context Digest, Vol 74, Issue 34
Dear Hans, Thank you for your reply. I have tested using "JS(Set_Field{FFD2,1})" before, but it didn't work. I have tried once more. But it is same before.(After click "restart", I have a blank window and nothing happens when I click "here" again.) If it works in your machine, that is the problem of my macbook. I am using Macbook and OSX 10.6. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Aligning titles so that they begin in the margin rather at text edge
On 10-8-2010 1:33, John Haltiwanger wrote: Hey all, a very simple problem, really, but one I'm having trouble finding examples for. I would like to set up my titles to begin in the margin, rather than at the text edge, similar to what is found in Bringhurst's _Elements of Typographic Style_. I'm pretty certain the solution is incredibly easy, just not so obvious for newbies like me. I will immediately post the solution to the Titles wiki page. \showframe \setuphead[chapter][alternative=margin] \starttext \chapter{Test} \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Aligning titles so that they begin in the margin rather at text edge
Hey all, a very simple problem, really, but one I'm having trouble finding examples for. I would like to set up my titles to begin in the margin, rather than at the text edge, similar to what is found in Bringhurst's _Elements of Typographic Style_. I'm pretty certain the solution is incredibly easy, just not so obvious for newbies like me. I will immediately post the solution to the Titles wiki page. Adv-THANKS-ance, John ___ 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] \underbar acts like \underbars (MkIV only)
Datuma 10. kolovoza 2010. 00:22 Hans Hagen je napisao/la: > fixed in next beta Thank you! -- Vedran Miletić ___ 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 jump to figure and return to the original postion?
On 10-8-2010 3:00, dalyoung wrote: Dear Hans, Thank you for your concern. Here is a sample file. It works fine when I click "here". But if I click "restart", it give a boxed blank window and click "here" doesn't work anymore. in fieldstacks the individual fields get names like FFD2:1 FFD2:2 etc so, you need JS(Set_Field{FFD2,1}) (we could have used the more verbose names, but there can be duplicstes then) 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 ___