Re: [NTG-context] Newbie needs help getting started
On Mon, May 4, 2015 at 2:49 PM, Johan Råde johan.r...@gmail.com wrote: Hi, I'm trying to get ConTeXt to run on my Windows machine (Windows 7 SP1). I already had MiKTeX installed on the machine. Here is what I did: 1. I downloaded context-setup-mswin.zip. 2. I unzipped and copied the folder to C:/context 3. I ran the command first-setup.bat --context=current --modules=all 4. I added C:\context\tex\texmf-win64\bin to my PATH variable 5. I opened up the example file at http://wiki.contextgarden.net/Hello_world in TeXWorks 6. I selected ConTeXt(LuaTeX) 7. I compiled the file The compilation failed. The log says: mtx-context | warning: synctex is enabled mtx-context | run 1: luatex --fmt=C:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en --jobname=HelloWorld --lua=C:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui --no-parse-first-line --synctex=1 --c:currentrun=1 --c:fulljobname=./HelloWorld.tex --c:input=./HelloWorld.tex --c:kindofrun=1 --c:maxnofruns=8 --c:synctex cont-yes.mkiv This is LuaTeX, Version beta-0.76.0-2013062820 (rev 4627) \write18 enabled. (Fatal format file error; I'm stymied) mtx-context | fatal error: return code: 1 What am I doing wrong? That's weird. Try running first-setup.bat without --context=current. And then try to stay in the command line, run setuptex.bat (I forgot the details) or change the PATH variable manually and try running context --make --all. (Due to the criticism of releasing the current all too often, Hans started releasing betas. But then he stopped releasing stable versions and as a consequence very often current doesn't even work with the luatex version shipped with the distribution. I would bet that --context=current is broken, but I didn't try it. You should get beta by default.) But the weird thing is that Fatal format file error; I'm stymied error was common with pdfTeX. With ConTeXt MkIV the formats are usually regenerated automatically. 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] Asciidoc to PDF over Context
On 2/12/2015 10:18 PM, Tobias Famulla wrote: Hello Mailing-List, I used Latex for a few years in university to create reports for assignments and also to write my bachelor thesis (I would have liked to use Context, but the right schema for citation was not available and I had no time to create it myself). Over the time I got a little bit frustrated with Latex, because it has many modules and most of the time gets the job done, but writing Latex can sometimes be quite hard sometime to me (you have to have the modules installed, tweak around with charactersets, imagepositioning, ...). In between I looked at much smaller and sleaker document representations languages (asciidoc, restructuredText, Markdown) and writing in it is a pleasure compared to Latex (I haven't really tried out Context but looked over the documentation and it looked more promising but shares the same design ideas). Asciidoc is even able to declarate source code listings and formulas. Never the less, the output to Pdf is not always the nicest one. The reason why I now write to this list, is, that I imagine, that Context could be the right processor to create beautiful PDFs out of intermediate formats (DocBook 5 or Asciidoc). For the conversion to Latex a module for asciidoctor (ruby implementation) is in developement. The ideal system I imagine would be close to what is used with HTML and CSS on the web: Having a easy to use file format to writing you documents (Asciidoc or DocBook as intermediate format) and a system to create the PDFs (maybe Context and a Context-Template) So my main questions are: - Are there straigt forward ways to create PDFs with Context using Docbook 5? it's not too hard to implement but so far i never ran into docbook files (so it's mostly lack of momentum / motivation / reason) - Are there not that hard possibilites to write extentions to Context to do exactly that (maybe using Lua)? docbook is just xml and as we process quite complex ml here i guess it should be doable within the current functionality - Does it make more sense, when using another input format like Asciidoc, to write a converter which directly creates a Context-document? (although it might be more versatile to use DocBook for other formats like Markdown or DocBook itself) it depends on your documents ... as soon as you need more structure, more control over how it has to look typeset, the advantage of light coding quickly disappears; and even if there are escapes the coding then looks pretty bad compared to a clean tex (or xml) source (these ascii based codings remind me of university times long ago, when i wrote some basic formatting / pagination code using simple directives so that we could handle our thesis on those terminals ... i must have the (pascal) source someplace ... a couple of years later I found out that on those vax machines there could have been tex running) Sincerely, Tobias ___ 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 ___ -- - 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] Setup for appendices: a bunch of questions
On 2/6/2015 9:20 AM, Mojca Miklavec wrote: Back on topic. If I move a figure to Appendices, the figure now gets numbered as 1.V (I would want to see B.1 if it's the first figure in Appendix B). But when I reference that figure in main text, it becomes Figure 1.5 which is indistinguishable from another figure 1.5 in the first chapter. Interesting is that this got unnoticed (here it's no surprise as in nearly most docs we produce for others have unnumbered figures). The problem, is that numbered items use the 'default' conversionset and that one has an appendices setting. So, what is needed is this: \defineconversionset [number] [] [numbers] \setupcounters [numberconversionset=number] (math for instance already has its own conversionset) Hans ps. Each counter can have a dedicated conversion set and these travel around the system so that when referred they are also used - but they can also be overloaded then - which makes it possible to render numbers (prefix+number+suffix) independently. (In mkii we'd have to disassemble these 1.2.3.4 numbers in order to mess with separators in different colors in different places etc., not that i ran into a project that demanded this recently.) - 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] PDF document statistics (character count incl. spaces)?
On 2015-02-01, at 22:06, Jörg Weger joerg73@googlemail.com wrote: Is the character count “wc --char textfile” returns with or without blank spaces? (Which is important for me.) “man wc” doesn’t talk about that. I had hoped there was a better way than to edit the result of “pdftotext” in my text editor or in libreoffice writer (deleting unnecessary carriage returns and spaces by searching for regular expressions) which are able to do the count I need. In fact I had hoped that ConTeXt was able to count the characters and spaces it renders to PDF (is that theoretically possible?) … I am pretty sure that you can make sed filter out blank characters. So then you can just chain pdftotext, sed and wc. OTOH, here's a relevant question (and a simple answer) on SO. (It seems to count newlines, though.) JFF, I've just coded this in Emacs Lisp: --8---cut here---start-8--- ;; Count non-blank characters in a buffer (defun how-many-visible-chars () Count visible (i.e., other than spaces, tabs and newlines) characters in the buffer. (interactive) (let ((count 0)) (save-excursion (goto-char (point-min)) (while (not (eobp)) (unless (looking-at-p [ \t\n]) (setq count (1+ count))) (forward-char))) (message %d visible characters count))) --8---cut here---end---8--- It's terribly unoptimized, but I ran it on a 300+ kB file on my low-end netbook and it ran in something like 2 seconds, so it's not that bad in practice. Also, it's not well-coded: it should e.g. return the number instead of displaying the message when called non-interactively, it might take active region into account etc. - but as a proof-of-concept, it works surprisingly well (i.e., fast). Greetings Jörg Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Strange bug in interactive table of content...
On 01/30/2015 05:42 PM, Rob Heusdens wrote: [...] Hello Pablo, I can imagine people sticking to the latest stable release only instead of picking up the latest beta. Hi Rob, don’t worry, with ConTeXt Standalone you can have them all ;-). Each ConTeXt Standalone installation is independent, so you can have the latest stable version and many beta releases. The only requirement is available storage. When I started using ConTeXt on a regular basis (I moved from a decade with LaTeX), I thought the stable release was the right thing to use. I had it from TeXLive. After a reply to a question in this mailing list, I thought it was sensible to install the latest beta version and keep it updated. In spite of the word, unstable versions are pretty stable. They are pretty bug free. As Hans says, don’t use it for critical work. But besides that, bugs are there to be reported ;-). You could always find a bug in an stable version. And (to the best of my knowledge) these bugs are only fixed in the next version: first in the unstable one. I have a workaround, so it is not so important (and this kind of bug almost never shows up, I just accidently ran into it, and I was just amazed by the peculiarity of it). If I were in your shoes, I would keep the unstable version updated. Again, with the latest unstable version you only have to deal with brand-new bugs (or at least with the active ones). If you allow me a personal opinion, ConTeXt is simply awesome. It helps a lot of us to create more–than–beautiful documents. Hans is the main hero behind it. I think a way to contribute back to ConTeXt is at least to report bugs. And to be able to report bugs, one should have the latest beta installed. [Just in case I haven’t expressed myself accurately, I’m not meaning you wasn’t doing the right thing. My personal opinion only tries to show the convenience of having (also) the latest beta installed.] Just to be sure, how can I upgrade to latest beta? Which OS do you use? As a general (OS-agnostic) advice, make a copy of the directory were you have ConTeXt Standalone installed. Rename it to context-beta (without the quotes) and update that ConTeXt version. If you are on Windows, I’m afraid I cannot help (I could guess how it could work, but I cannot check it). On Unix (Linux / MacOS X), you could use: cd /path/where/you/have/context-beta rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh --modules=all More info can be found at http://wiki.contextgarden.net/ConTeXt_Standalone. Just in case it helps (and don’t hesitate to ask, if it doesn’t), Pablo -- http://www.ousia.tk ___ 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] Strange bug in interactive table of content...
On 01/30/2015 04:02 PM, Rob Heusdens wrote: [...] I am using a recent version. [...] So, I should upgrade to the newest beta? Using a beta from 2014.11.26 21:43 shows the bug you described. Upgrading to latest beta makes sense in this case. If you allow me an opinion, I try to keep ConTeXt updated (I have just updated it), so I can enjoy the latest features and report the possible issues I might face. Pablo -- http://www.ousia.tk Hello Pablo, I can imagine people sticking to the latest stable release only instead of picking up the latest beta. I have a workaround, so it is not so important (and this kind of bug almost never shows up, I just accidently ran into it, and I was just amazed by the peculiarity of it). Just to be sure, how can I upgrade to latest beta? Greetings, Rob ___ 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 modules not on CATN and not in TeX Live (slightly OT)
On Mon, Jan 26, 2015 at 1:40 PM, Keith Schultz wrote: Hi Alex, The simple answer to your question would be to use this page: http://www.ctan.org/upload/ No, in case of ConTeXt that's not correct. The idea would be to handle everything automatically once the modules are uploaded to modules.contextgarden.net. Some discrepancies are intentional, some are bugs (read as: nobody noticed that a module was missing and/or bothered requesting it). I was offline for a while and will explain this later in detail. I just wanted to make sure that nobody starts uploading cmscbf and alike to CTAN. BUT, the MISSING modules or packages are so-called third party! It should be the responsibility of the AUTHORS, to upload the to CTAN! No, that's not the case with ConTeXt modules. They are synced automatically. Also, e.g cmscbf and cmttbf are no longer needed in mkiv! They are for use with mkii! Furthermore, you should concertrate on using ONLY MKIV! Especially, since your audience seem to be introductory. MKII is frozen and IMHO outdated! It's not so much outdated, but it's certainly frozen and certainly not worth spending too much effort in it. (With an exception of occasional support for XeTeX which is still an up-to-date engine.) I would suggest that you point them to the Standalone stable release, if you actually need the missing third party modules. No, wait, let's try to clear things up first. If modules should be on CTAN and aren't, I'll add them to CTAN. If modules are on CTAN, but not in TeX Live, we should figure out why they are excluded from TeX Live and either make sure that they are either added to TeX Live (if there are no problems with licencing, packaging etc.) or removed from CTAN (in case they are not really useful). We could keep some modules on CTAN if they are useful, but don't qualify for TL inclusion for some obscure reason. Don't use TeX Live could be the proper advice for someone who wants to use the latest version of ConTeXt, but one shouldn't confuse the user just because a module is missing in TL by accident. Mojca Am 25.01.2015 um 13:21 schrieb Axel Kielhorn t...@axelkielhorn.de: Hi! I'm trying to learn ConTeXt working through some examples I found on Context Garden and the internet. Since I already have TeX Live 2014 installed I could run most of the examples. When I ran into a problem, I installed the standalone version and compared the supplied modules. The following modules are not part of Context in TeX Live 2014. animation/ GPL 3 annotation/GPL 3 cmscbf/GPL 2 on CTAN cmttbf/GPL 2 on CTAN fancybreak/GPL 3 layout/GPL title/ GPL 3 urwgaramond/ GPL 2 on CTAN urwgothic/ Public Domain on CTAN visualcounter/ Simplified BSD License Some are on CTAN, some are missing there. Since TeX Live takes the files from CTAN, it would be nice to put the missing modules there. What is the correct way to do that? I ask because I want to give a tutorial about ConTeXt at the Dante meeting in april and it would be nice to tell the audience that everything they need is already part of TeX Live and no extra installation is required. Axel -- Man sollte das mal mit ConTeXt betrachten. ___ 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 ___ ___ 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 modules not on CATN and not in TeX Live (slightly OT)
Hi Alex, The simple answer to your question would be to use this page: http://www.ctan.org/upload/ http://www.ctan.org/upload/ BUT, the MISSING modules or packages are so-called third party! It should be the responsibility of the AUTHORS, to upload the to CTAN! Also, e.g cmscbf and cmttbf are no longer needed in mkiv! They are for use with mkii! Furthermore, you should concertrate on using ONLY MKIV! Especially, since your audience seem to be introductory. MKII is frozen and IMHO outdated! I would suggest that you point them to the Standalone stable release, if you actually need the missing third party modules. Hope this helps. regards Keith. Am 25.01.2015 um 13:21 schrieb Axel Kielhorn t...@axelkielhorn.de: Hi! I'm trying to learn ConTeXt working through some examples I found on Context Garden and the internet. Since I already have TeX Live 2014 installed I could run most of the examples. When I ran into a problem, I installed the standalone version and compared the supplied modules. The following modules are not part of Context in TeX Live 2014. animation/ GPL 3 annotation/GPL 3 cmscbf/GPL 2 on CTAN cmttbf/GPL 2 on CTAN fancybreak/GPL 3 layout/GPL title/ GPL 3 urwgaramond/ GPL 2 on CTAN urwgothic/ Public Domain on CTAN visualcounter/ Simplified BSD License Some are on CTAN, some are missing there. Since TeX Live takes the files from CTAN, it would be nice to put the missing modules there. What is the correct way to do that? I ask because I want to give a tutorial about ConTeXt at the Dante meeting in april and it would be nice to tell the audience that everything they need is already part of TeX Live and no extra installation is required. Axel -- Man sollte das mal mit ConTeXt betrachten. ___ 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] Context modules not on CATN and not in TeX Live
Hi! I'm trying to learn ConTeXt working through some examples I found on Context Garden and the internet. Since I already have TeX Live 2014 installed I could run most of the examples. When I ran into a problem, I installed the standalone version and compared the supplied modules. The following modules are not part of Context in TeX Live 2014. animation/ GPL 3 annotation/GPL 3 cmscbf/GPL 2 on CTAN cmttbf/GPL 2 on CTAN fancybreak/GPL 3 layout/GPL title/ GPL 3 urwgaramond/ GPL 2 on CTAN urwgothic/ Public Domain on CTAN visualcounter/ Simplified BSD License Some are on CTAN, some are missing there. Since TeX Live takes the files from CTAN, it would be nice to put the missing modules there. What is the correct way to do that? I ask because I want to give a tutorial about ConTeXt at the Dante meeting in april and it would be nice to tell the audience that everything they need is already part of TeX Live and no extra installation is required. Axel -- Man sollte das mal mit ConTeXt betrachten. ___ 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] My book, typeset in ConTeXt, has gone into production
The book is called “Chess and the Art of Enterprise Architecture” and it has gone into production yesterday. Amazon US already lists it (though without image) and shows it as available. http://wp.me/P4ST0f-n Thanks all for your help when I ran into problems over the last half year. G ___ 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 - docx ??
On Wed, 14 Jan 2015 11:58:15 -0700, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Your example doesn't work here. After 800 lines of overfull hboxes I get tex errorerror on line 19 in file darwin.tex: ! TeX capacity exceeded, sorry [text input levels=127] l.19 \input darwin 9 10 \setupexport 11 [hyphen=yes, 12width=60em] 13 14 \stopmode 15 16 \starttext 17 18 \startquotation 19 \input darwin 20 \stopquotation 21 22 \stoptext Please advise. Best wishes Idris It's one of those weird things: Alan sent me the same file as a text attachment and it ran just fine. But the text I copied from his first email did not. Doing a quick compare of the two files in Notepad++ indicated that the two files are identical, but there must be some unseen spurious character caused by the email that context doesn't like.. This sort of thing happens once in a while: Have any of you researched this phenomenon at all? Luigi? Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 - docx ??
On Wed, 14 Jan 2015 12:58:35 -0700, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: It's one of those weird things: Alan sent me the same file as a text attachment and it ran just fine. But the text I copied from his first email did not. Doing a quick compare of the two files in Notepad++ indicated that the two files are identical, but there must be some unseen spurious character caused by the email that context doesn't like.. No, this is totally off-track. The problem was that silly me named the test file darwin.tex, while there was an \input darwin in the test file. My apologies for the noise. Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 gobble my mind
Hello Wolfgang and Luigi, My example lines are too small to fully understand the purpose of using the gobbleinput instruction : I have made some slides for my students that I can choose or not ton include in the final presentation : \skipSlide \startSlide bla bla bla \startyping language C code \stoptyping bla bla bla \stopSlide I've made some macros to include or not a slide according to its number given into a list or by just putting before the macro \skipSlide. This is very useful as I have students of different levels. The gobbleinput solution is the best solution : I can activate or not a slide according to my audience. If I use the buffer solution, I'll not be able to deactivate the whole slide containing the typing region. From my understanding, I've used the gobbleinput command as in shell : cat EOF one two three EOF And now, I've ran into this problem. On 06 Nov 2014, at 13:12, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 06.11.2014 um 10:35 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Hello, I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple lines : \starttext \gobbleuntil\stoptyping \starttyping { printf(%d, data); } \stoptyping This is ignored ! \stoptext How can I use correctly gobbleinput to make it works ? Replace the typing environment with normal buffers and use the \typebuffer command to print the content of the buffer. \starttext \startbuffer { printf(%d, data); } \stopbuffer %\typebuffer This is ignored ! \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av Albert Thomas| Mrs. Peel, we're needed... 87060 Limoges CEDEX - FRANCE| The Avengers. ___ 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] korean unfonts globbing path error
Hi Hans, mtxrun --script font --reload --force --trackers=* and see at what font it aborts? Thanks a lot. Interestingly the command ran without abort, and names.tma and names.tmc are successfully created. After the creation of names.tma and names.tmc, the example by NY Park works fine again. Best, Akira ___ 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] korean unfonts globbing path error
On 10/23/2014 2:16 PM, Akira Kakuto wrote: Hi Hans, mtxrun --script font --reload --force --trackers=* and see at what font it aborts? Thanks a lot. Interestingly the command ran without abort, and names.tma and names.tmc are successfully created. After the creation of names.tma and names.tmc, the example by NY Park works fine again. normally context will do a quick scan for changes while the mtxrun --script font --force variant does a full scan ... maybe there was indeed some issue with a 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 ___
Re: [NTG-context] ConTeXt Standalone will not install
On 10/22/2014 12:44 AM, Jaroslav Hajtmar wrote: receiving incremental file list ./ kpathsea620w64.dll luatex.dll mtxrun.dll mtxrun.exe mtxrun.lua sent 22928 bytes received 5501341 bytes 356404.45 bytes/sec total size is 9371026 speedup is 1.70 ok, so 64 bit? Hans A while ago I tried to install the 32-bit version and also without success ...The entire installation (both 32 and 64bit) will take place during one minute, which just goes to show that nothing not copied from the internet. i just donwloaded the 64 bit zip, unzipped it in a new directory and ran first-setup: first-setup.bat --modules=all --engine=luatex this took 57 seconds first-setup.bat --modules=all that took 82 seconds So, the garden process runs ok. Are you sure your firewall is not blocking rsync? 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 Standalone will not install
Thanx Hans for reply. I'm sorry, but the installation still does not work. I really can not cope with it. Although completely I turned off the firewall and loged in as an administrator, in two different networks (at my home network and in my work) can not install ConTeXt. Always only creates the directory structure, but does not copy the file from the Internet. Can you ever find out what is the current version and install ConTeXt LuaTEX? My current version of ConTeXt and LuaTeX from which I have does not work update is: This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5041) ConTeXt ver: 2014.09.25 18:58 MKIV beta fmt: 2014.10.22 int: english/english Now I see that in those versions LuaTeX and ConTeXt is not a contradiction? Thank you. Jaroslav Hajtmar Dne 22.10.2014 9:20, Hans Hagen napsal(a): On 10/22/2014 12:44 AM, Jaroslav Hajtmar wrote: receiving incremental file list ./ kpathsea620w64.dll luatex.dll mtxrun.dll mtxrun.exe mtxrun.lua sent 22928 bytes received 5501341 bytes 356404.45 bytes/sec total size is 9371026 speedup is 1.70 ok, so 64 bit? Hans A while ago I tried to install the 32-bit version and also without success ...The entire installation (both 32 and 64bit) will take place during one minute, which just goes to show that nothing not copied from the internet. i just donwloaded the 64 bit zip, unzipped it in a new directory and ran first-setup: first-setup.bat --modules=all --engine=luatex this took 57 seconds first-setup.bat --modules=all that took 82 seconds So, the garden process runs ok. Are you sure your firewall is not blocking rsync? 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] Font (roboto) and math font - error
Hi, I am switching all my docs to the roboto font as I just like the look of that font. During this I ran into a problem with \item: ! Math error: parameter \Umathquad\displaystyle is not set. .. l.26 \item h ere we list the points, In my example: as soon I enable any of the two \definetypeface lines I am running into that error.. even if I only enable the math font. Every hint is welcome :) Here is my example to reproduce the error: ---8-- \enableregime[utf] \definefontfeature[fakesc][default][size=.8] \starttypescript [sans] [roboto] \definefontsynonym[Sans][name:robotolight][fallbacks=Sans] \definefontsynonym[SansBold][name:robotoregular] \definefontsynonym[SansItalic][name:robotolightitalic] \definefontsynonym[SansSlanted][name:robotolightitalic] \definefontsynonym[SansBoldItalic][name:robotoregularitalic] \definefontsynonym[SansBoldSlanted][name:robotoregularitalic] \definefontsynonym[SansCaps] [name:robotolight][features=fakesc] \stoptypescript \starttypescript [math] [latinmodern] \definefontsynonym[Math][name:latinmodernmathregular] \stoptypescript \definetypeface[fliesstext][ss][sans][roboto] \definetypeface[fliesstext][mm][math][latinmodern][default] \setupbodyfont[fliesstext,ss,11pt] \starttext \startitemize \item here we list the points, \item one after the other. \stopitemize \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] Font (roboto) and math font - error
On 8/27/2014 9:50 PM, Zenlima wrote: Hi, I am switching all my docs to the roboto font as I just like the look of that font. During this I ran into a problem with \item: ! Math error: parameter \Umathquad\displaystyle is not set. .. l.26 \item h ere we list the points, In my example: as soon I enable any of the two \definetypeface lines I am running into that error.. even if I only enable the math font. Every hint is welcome :) Here is my example to reproduce the error: ---8-- \enableregime[utf] \definefontfeature[fakesc][default][size=.8] \starttypescript [sans] [roboto] \definefontsynonym[Sans][name:robotolight][fallbacks=Sans] \definefontsynonym[SansBold][name:robotoregular] \definefontsynonym[SansItalic][name:robotolightitalic] \definefontsynonym[SansSlanted][name:robotolightitalic] \definefontsynonym[SansBoldItalic][name:robotoregularitalic] \definefontsynonym[SansBoldSlanted][name:robotoregularitalic] \definefontsynonym[SansCaps] [name:robotolight][features=fakesc] \stoptypescript \starttypescript [math] [latinmodern] \definefontsynonym[Math][name:latinmodernmathregular] \stoptypescript \definetypeface[fliesstext][ss][sans][roboto] \definetypeface[fliesstext][mm][math][latinmodern][default] \setupbodyfont[fliesstext,ss,11pt] \starttext \startitemize \item here we list the points, \item one after the other. \stopitemize \stoptext \definefontfeature[fakesc][default][size=.8] \starttypescript [sans] [roboto] \definefontsynonym[Sans][name:robotolight][fallbacks=Sans] \definefontsynonym[SansBold][name:robotoregular] \definefontsynonym[SansItalic][name:robotolightitalic] \definefontsynonym[SansSlanted][name:robotolightitalic] \definefontsynonym[SansBoldItalic][name:robotoregularitalic] \definefontsynonym[SansBoldSlanted][name:robotoregularitalic] \definefontsynonym[SansCaps] [name:robotolight][features=fakesc] \stoptypescript % \starttypescript [math] [latinmodern] [name] % \loadfontgoodies[lm] % \definefontsynonym [MathRoman] [file:latinmodern-math-regular.otf] [features={math\mathsizesuffix,lm-math},goodies=lm] % \stoptypescript \definetypeface[fliesstext][ss][sans][roboto] \definetypeface[fliesstext][rm][sans][roboto] \definetypeface[fliesstext][tt][sans][roboto] % \definetypeface[fliesstext][mm][math][latinmodern][default] \definetypeface[fliesstext][mm][math][modern][default] \setupbodyfont[fliesstext,ss,11pt] \starttext \startitemize \item here we list the points, \item one after the other. \stopitemize \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font (roboto) and math font - error
Thanks Hans, it works :) Am Wed, 27 Aug 2014 22:41:37 +0200 schrieb Hans Hagen pra...@wxs.nl: On 8/27/2014 9:50 PM, Zenlima wrote: Hi, I am switching all my docs to the roboto font as I just like the look of that font. During this I ran into a problem with \item: ! Math error: parameter \Umathquad\displaystyle is not set. .. l.26 \item h ere we list the points, In my example: as soon I enable any of the two \definetypeface lines I am running into that error.. even if I only enable the math font. Every hint is welcome :) Here is my example to reproduce the error: ---8-- \enableregime[utf] \definefontfeature[fakesc][default][size=.8] \starttypescript [sans] [roboto] \definefontsynonym[Sans][name:robotolight][fallbacks=Sans] \definefontsynonym[SansBold][name:robotoregular] \definefontsynonym[SansItalic][name:robotolightitalic] \definefontsynonym[SansSlanted][name:robotolightitalic] \definefontsynonym[SansBoldItalic][name:robotoregularitalic] \definefontsynonym[SansBoldSlanted][name:robotoregularitalic] \definefontsynonym[SansCaps] [name:robotolight][features=fakesc] \stoptypescript \starttypescript [math] [latinmodern] \definefontsynonym[Math][name:latinmodernmathregular] \stoptypescript \definetypeface[fliesstext][ss][sans][roboto] \definetypeface[fliesstext][mm][math][latinmodern][default] \setupbodyfont[fliesstext,ss,11pt] \starttext \startitemize \item here we list the points, \item one after the other. \stopitemize \stoptext \definefontfeature[fakesc][default][size=.8] \starttypescript [sans] [roboto] \definefontsynonym[Sans][name:robotolight][fallbacks=Sans] \definefontsynonym[SansBold][name:robotoregular] \definefontsynonym[SansItalic][name:robotolightitalic] \definefontsynonym[SansSlanted][name:robotolightitalic] \definefontsynonym[SansBoldItalic][name:robotoregularitalic] \definefontsynonym[SansBoldSlanted][name:robotoregularitalic] \definefontsynonym[SansCaps] [name:robotolight][features=fakesc] \stoptypescript % \starttypescript [math] [latinmodern] [name] % \loadfontgoodies[lm] % \definefontsynonym [MathRoman] [file:latinmodern-math-regular.otf] [features={math\mathsizesuffix,lm-math},goodies=lm] % \stoptypescript \definetypeface[fliesstext][ss][sans][roboto] \definetypeface[fliesstext][rm][sans][roboto] \definetypeface[fliesstext][tt][sans][roboto] % \definetypeface[fliesstext][mm][math][latinmodern][default] \definetypeface[fliesstext][mm][math][modern][default] \setupbodyfont[fliesstext,ss,11pt] \starttext \startitemize \item here we list the points, \item one after the other. \stopitemize \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 ___ ___ 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] underbraces get progressively more misaligned (w/ minimal example)
math-stc.mkvi: \unexpanded\def\math_stackers_make_double#top#bottom#category#codepoint#codeextra#text% ... - \ifx\currentmathtext\empty + \ifx\m_math_stackers_text_middle\empty \setbox\scratchboxthree\emptyhbox \else Thanks for looking into this, Wolfgang. I made this change to math-stc.mkvi in the 2014.05.17 beta, then remade the MkIV format with mtxrun --selfupdate mtxrun --generate luatools --generate context --make Then I ran context on my test file (with 3 as the \dorecurse count). However, the offset underbraces remain. I'm attaching a image from p. 2128, by which point the offset is 20 or 30pt. I am fairly sure I am running the newly created version, because remaking the format included these lines: open source 1 256 /home/sanjoy/context/2014.05.17-beta/tex/texmf-context/tex/context/base/math-stc.mkvi loading ConTeXt Math Macros / Stackers close source 1 256 /home/sanjoy/context/2014.05.17-beta/tex/texmf-context/tex/context/base/math-stc.mkvi and the log output from running the minimal.tex shows that the the fmt is indeed dated 2014.7.3: mtx-context | run 1: luatex --fmt=/home/sanjoy/context/2014.05.17-beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en --jobname=minimal --lua=/home/sanjoy/context/2014.05.17-beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui --no-parse-first-line --c:currentrun=1 --c:fulljobname=./minimal.tex --c:input=./minimal.tex --c:kindofrun=1 --c:maxnofruns=8 cont-yes.mkiv This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) \write18 enabled. open source 1 1 /home/sanjoy/context/2014.05.17-beta/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.05.17 23:46 MKIV beta fmt: 2014.7.3 int: english/english -Sanjoy ___ 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] underbraces get progressively more misaligned (w/ minimal example)
On 7/3/2014 11:03 PM, Sanjoy Mahajan wrote: math-stc.mkvi: \unexpanded\def\math_stackers_make_double#top#bottom#category#codepoint#codeextra#text% ... - \ifx\currentmathtext\empty + \ifx\m_math_stackers_text_middle\empty \setbox\scratchboxthree\emptyhbox \else Thanks for looking into this, Wolfgang. I made this change to math-stc.mkvi in the 2014.05.17 beta, then remade the MkIV format with mtxrun --selfupdate mtxrun --generate luatools --generate context --make context --make does a --generate so you can skip that and the luatools run is not needed either (selfupdate is seldom needed too) Then I ran context on my test file (with 3 as the \dorecurse count). However, the offset underbraces remain. I'm attaching a image from p. 2128, by which point the offset is 20 or 30pt. I am fairly sure I am running the newly created version, because remaking the format included these lines: open source 1 256 /home/sanjoy/context/2014.05.17-beta/tex/texmf-context/tex/context/base/math-stc.mkvi loading ConTeXt Math Macros / Stackers close source 1 256 /home/sanjoy/context/2014.05.17-beta/tex/texmf-context/tex/context/base/math-stc.mkvi and the log output from running the minimal.tex shows that the the fmt is indeed dated 2014.7.3: mtx-context | run 1: luatex --fmt=/home/sanjoy/context/2014.05.17-beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en --jobname=minimal --lua=/home/sanjoy/context/2014.05.17-beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui --no-parse-first-line --c:currentrun=1 --c:fulljobname=./minimal.tex --c:input=./minimal.tex --c:kindofrun=1 --c:maxnofruns=8 cont-yes.mkiv This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) \write18 enabled. open source 1 1 /home/sanjoy/context/2014.05.17-beta/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.05.17 23:46 MKIV beta fmt: 2014.7.3 int: english/english we get a .5pt height difference somewhere (nothing else different in a trace) ... smells like a luatex bug (testing that now) 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] [***SPAM***] context works, contextjit fails with Junicode
I can confirm the error when font cache is empty. After creation of font cache by executing context test.tex, contextjit test.tex ran ok: This is LuajitTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5024) \write18 enabled. open source 1 1 c:/usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.06.27 10:53 MKIV beta fmt: 2014.6.30 int: english/english system 'cont-new.mkiv' loaded open source 2 2 c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv close source 2 2 c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv system files jobname 'test', input './test', result 'test' fontslatin modern fonts are not preloaded languageslanguage 'en' is active open source 2 3 c:/usr/work/edrive/send/test.tex fontspreloading modern-designsize (math) fontstypescripts unknown library 'modern-designsize' or 'modern' fonts'fallback modern-designsize mm 12pt' is loaded fontspreloading modern-designsize (mono) fonts'fallback modern-designsize tt 12pt' is loaded backend xmp using file 'c:/usr/local/share/texmf-dist/tex/context/base/lpdf-pdx.xml' pagesflushing realpage 1, userpage 1 close source 2 3 c:/usr/work/edrive/send/test.tex close source 1 3 c:/usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv mkiv lua stats used config file: c:/usr/local/share/texmf-dist/web2c/texmfcnf.lua mkiv lua stats used cache path: c:/usr/local/share/ctxdir/luatex-cache/context/ca675e2af2f11806418c5ce1dbbdb945 mkiv lua stats resource resolver: loadtime 0.172 seconds, 2 scans with scantime 0.079 seconds, 0 shared scans, 9 found files, scanned paths: C:/Users/kakuto/texmf c:/windows/fonts mkiv lua stats stored bytecode data: 351 modules (0.310 sec), 69 tables (0.003 sec), 420 chunks (0.313 sec) mkiv lua stats running in nuts mode: yes mkiv lua stats cleaned up reserved nodes: 44 nodes, 443 lists of 442 mkiv lua stats node memory usage: 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list, 2 temp mkiv lua stats node list callback tasks: 6 unique task lists, 5 instances (re)created, 39 calls mkiv lua stats used backend: pdf (backend for directly generating pdf output) mkiv lua stats loaded patterns: en::2, load time: 0.000 mkiv lua stats jobdata time: 0.003 seconds saving, 0.000 seconds loading mkiv lua stats callbacks: 148 direct, 189 indirect, 337 total mkiv lua stats result saved in file: test.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats loaded fonts: 4 files: junicode-bold.ttf, junicode-bolditalic.ttf, junicode-italic.ttf, junicode.ttf mkiv lua stats fonts load time: 0.270 seconds for 6 fonts, 2 shared in backend, 0 common vectors, 2 common hashes mkiv lua stats used platform: mswin, type: windows, binary subtree: local mkiv lua stats luatex banner: this is luajittex, version beta-0.79.1 (tex live 2014/w32tex) (rev 5024) mkiv lua stats control sequences: 38313 of 65536 + 10 mkiv lua stats lua properties: engine: luajit, used memory: 38 MB (ctx: 0 MB), hash type: lua51, hash chars: min(64,40), symbol mask: utf () mkiv lua stats runtime: 0.847 seconds, 1 processed pages, 1 shipped pages, 1.181 pages/second This is LuajitTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5024) \write18 enabled. open source 1 1 c:/usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.06.27 10:53 MKIV beta fmt: 2014.6.30 int: english/english system 'cont-new.mkiv' loaded open source 2 2 c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv close source 2 2 c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv system files jobname 'test', input './test', result 'test' fontslatin modern fonts are not preloaded languageslanguage 'en' is active open source 2 3 c:/usr/work/edrive/send/test.tex fontspreloading modern-designsize (math) fontstypescripts unknown library 'modern-designsize' or 'modern' fonts'fallback modern-designsize mm 12pt' is loaded fontspreloading modern-designsize (mono) fonts'fallback modern-designsize tt 12pt' is loaded backend xmp using file 'c:/usr/local/share/texmf-dist/tex/context/base/lpdf-pdx.xml' pagesflushing realpage 1, userpage 1 close source 2 3 c:/usr/work/edrive/send/test.tex close source 1 3 c:/usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv mkiv lua stats used config file: c:/usr/local/share/texmf-dist/web2c/texmfcnf.lua mkiv lua stats used cache path: c:/usr/local/share/ctxdir/luatex-cache/context/ca675e2af2f11806418c5ce1dbbdb945 mkiv lua stats resource resolver: loadtime 0.162 seconds, 2 scans with scantime 0.079 seconds, 0 shared scans, 9 found files, scanned paths: C:/Users/kakuto/texmf c:/windows
Re: [NTG-context] context works, contextjit fails with Junicode
\batchmode... fonts otf loading loading 'c:/windows/fonts/junicode-bolditalic.ttf', hash 'junicode-bolditalic' fonts otf loading loading done fonts otf loading file size: 318428 fonts otf loading fixing kernclass table of lookup 'pp_l_2_s' lua error error on line 19 in file C:/Users/rik/Desktop/ContextBugs/Bugs I say/junicode_bold.tex: C:/ConTeXt/tex/texmf-context/tex/context/base/font-otp.lua:192: invalid value (nil) at index 1 in table for 'concat' stack traceback: [C]: in function 'concat' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otp.lua:192: in function 'pack_indexed' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otp.lua:375: in function 'enhancer' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otf.lua:302: in function 'enhance' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otf.lua:507: in function 'load' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otf.lua:2131: in function 'otftotfm' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otf.lua:2176: in function C:/ConTeXt/tex/texmf-context/tex/context/base/font-otf.lua:2175 C:/ConTeXt/tex/texmf-context/tex/context/base/font-def.lua:313: in function 'loadfont' C:/ConTeXt/tex/texmf-context/tex/context/base/font-ctx.lua:478: in function 'loadfont' C:/ConTeXt/tex/texmf-context/tex/context/base/font-def.lua:415: in function 'read' C:/ConTeXt/tex/texmf-context/tex/context/base/font-ctx.lua:1109: in function 'definefont_two' [\directlua]:1: in main chunk 9 \definefontsynonym [Serif] [file:junicode] 10 \definefontsynonym [SerifItalic] [file:junicode-italic] 11 \definefontsynonym [SerifBold] [file:junicode-bold] 12 \definefontsynonym [SerifBoldItalic] [file:junicode-bolditalic] 13 \stoptypescript 14 \starttypescript [junicode] 15 \definetypeface [junicode] [rm] [serif] [junicode] [default] 16 \stoptypescript 17 \setupbodyfont[junicode] 18 \starttext 19 \fontalternative{\it\fontalternative}{\bf\fontalternative}{\bi\fontalternative} 20 \stoptext 21 The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. backend xmp using file 'C:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pages flushing realpage 1, userpage 1 close source 2 3 C:/Users/rik/Desktop/ContextBugs/Bugs I say/junicode_bold.tex close source 1 3 C:/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv system structure start used structure used structure text: junicode_bold system structure stop used structure system files start used files used file 1: filename=cont-yes.mkiv filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database used file 2: filename=cont-new.mkiv filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database used file 3: filename=lang-us.lua filetype=lua foundname=C:/ConTeXt/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database used file 4: filename=C:\Users\rik\Desktop\ContextBugs\Bugs I say/junicode_bold foundname=C:/Users/rik/Desktop/ContextBugs/Bugs I say/junicode_bold.tex usedmethod=qualified used file 5: filename=junicode filetype=ttf format=ttf foundname=c:/windows/fonts/junicode.ttf usedmethod=filesystem used file 6: filename=junicode.ttf filetype=truetypedictionaries foundname=c:/windows/fonts/junicode.ttf usedmethod=filesystem used file 7: filename=junicode-italic filetype=ttf format=ttf foundname=c:/windows/fonts/junicode-italic.ttf usedmethod=filesystem used file 8: filename=junicode-bold filetype=ttf format=ttf foundname=c:/windows/fonts/junicode-bold.ttf usedmethod=filesystem used file 9: filename=font-agl.lua filetype=lua foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/font-agl.lua usedmethod=database used file 10: filename=junicode-bolditalic filetype=ttf format=ttf foundname=c:/windows/fonts/junicode-bolditalic.ttf usedmethod=filesystem used file 11: filename=lpdf-pdx.xml filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database system files stop used files system options start commandline options used option autopdf=true used option currentrun=1 used option engine=luajittex used option fulljobname=./junicode_bold used option input=./junicode_bold used option kindofrun=1 used option maxnofruns=8 used option no-parse-first-line=true system options stop commandline options system options start commandline files used file 1: ./junicode_bold system options stop commandline files mkiv lua stats used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats used cache path: C:/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats resource resolver: loadtime 0.009 seconds, 1 scans with scantime 0.024 seconds, 0 shared scans, 11 found files, scanned paths: c:/windows/fonts mkiv lua stats stored bytecode data: 351 modules (0.086 sec), 69 tables (0.002 sec), 420 chunks (0.088 sec
[NTG-context] small indexing glitch if index entry has extra {}
Here's a small glitch with indexing, which I ran into by chance and enclose a minimal example. Because of the extra {} in the entry \index{{two dimensional}} the index duplicates the entry: t two dimensional 1 two dimensional 1 \setupregister[index][n=1] \starttext \index{two dimensional}test1 test \index{{two dimensional}}test2 \blank[3*big] \placeindex[criterium=all] \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] reading modules broken?
Hans Hagen pra...@wxs.nlmailto:pra...@wxs.nl wrote: modules have names like m- x- s- p- u- Remark: u- does not work out of the box, only when called as \usemodule[u][modulename]. I had consulted the Wiki that tells us: Usage When you load a module with \usemodule[modulename] ConTeXt looks for a file with the following names: * m-modulaname (core module) * p-modulename (private module) * s-modulename (ConTeXt style file) * x-modulename (XML module) * t-modulename (Third party module) * modulename Once a file is found ConTeXt stops the search and loads the found file (only once). When you have two file with the same name but different prefixes you can tell ConTeXt which file it should load with \usemodule[prefix][modulename] I checked \usemodule[modulename] with all these prefixes and they work ok. But the last item in the list (marked red for clarity) does not (any more). That item suggest \usemodule[module-name] should work. I suggest someone in charge of the Wiki takes a look and removes the last item when my observations turn out to be correct. A final question. Using the \usemodule[prefix][modulename] form, one can use any prefix letter. In fact, any prefix seems to work. If that functionality stays, it will give more flexibility in the naming scheme for modules. Please confirm if this will be the case or if module naming in the future will be restricted to a one letter scheme or even restricted to [mpsxt] exclusively as mentioned in the Wiki. Hans van der Meer On 06 Jun 2014, at 22:52, Hans Hagen pra...@wxs.nlmailto:pra...@wxs.nl wrote: On 6/6/2014 9:35 PM, Meer, H. van der wrote: My modules are not read anymore, allthough Context thinks it does. This must have been the case for some time. I ran a test with an older version which demonstrates that the change in behaviour must have occurred after january second. Minimal example follows. Hans van der Meer Module code in file module-test is: \writestatus{HVDM}{Module has been read} \endinput Test code in file moduletest.tex is: \usemodule[module-test] \starttext module testing look into the log. \stoptext modules have names like m- x- s- p- u- and the lookup happens in a certain order without prefix, and checking for mkvi, mkiv, mkii or tex suffixes so in your case it should be something u-hvdm-test or so (user hvdm test) so you were just lucky that in the past modules-* worked the loading is probably ok because test.* is loaded In the log I find: This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) \write18 enabled. open source 1 1 /Users/hansm/tex/context-20/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.06.05 23:04 MKIV beta fmt: 2014.6.6 int: english/english open source 2 3 /Users/hansm/tex/test-tex/modules/moduletest.tex resolversmodules 'module-test' is already loaded -- wrongly thinks it is loaded It says the module is already loaded, but the telltale \writestatus is absent. Running the same code with an older version of ConTeXt does load the module: ConTeXt ver: 2014.01.02 20:05 MKIV current fmt: 2014.1.2 int: english/english (/Users/hansm/tex/test-tex/modules/moduletest.tex resolversmodules 'module-test' is loaded -- loads as it should (module-test.tex HVDM Module has been read ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nlmailto: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 ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.comhttp://www.pragma-ade.com/ | www.pragma-pod.nlhttp://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.nlmailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nlhttp://www.pragma-ade.nl/ / http://tex.aanhet.nethttp://tex.aanhet.net/ archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.nethttp://contextgarden.net
Re: [NTG-context] reading modules broken?
Am 06.06.2014 um 22:52 schrieb Hans Hagen pra...@wxs.nl: On 6/6/2014 9:35 PM, Meer, H. van der wrote: My modules are not read anymore, allthough Context thinks it does. This must have been the case for some time. I ran a test with an older version which demonstrates that the change in behaviour must have occurred after january second. Minimal example follows. Hans van der Meer Module code in file module-test is: \writestatus{HVDM}{Module has been read} \endinput Test code in file moduletest.tex is: \usemodule[module-test] \starttext module testing look into the log. \stoptext modules have names like m- x- s- p- u- What’s the meaning of the new “v” prefix for modules? Wolfgang___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] reading modules broken?
My modules are not read anymore, allthough Context thinks it does. This must have been the case for some time. I ran a test with an older version which demonstrates that the change in behaviour must have occurred after january second. Minimal example follows. Hans van der Meer Module code in file module-test is: \writestatus{HVDM}{Module has been read} \endinput Test code in file moduletest.tex is: \usemodule[module-test] \starttext module testing look into the log. \stoptext In the log I find: This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) \write18 enabled. open source 1 1 /Users/hansm/tex/context-20/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.06.05 23:04 MKIV beta fmt: 2014.6.6 int: english/english open source 2 3 /Users/hansm/tex/test-tex/modules/moduletest.tex resolversmodules 'module-test' is already loaded -- wrongly thinks it is loaded It says the module is already loaded, but the telltale \writestatus is absent. Running the same code with an older version of ConTeXt does load the module: ConTeXt ver: 2014.01.02 20:05 MKIV current fmt: 2014.1.2 int: english/english (/Users/hansm/tex/test-tex/modules/moduletest.tex resolversmodules 'module-test' is loaded -- loads as it should (module-test.tex HVDM Module has been read ___ 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] reading modules broken?
On 6/6/2014 9:35 PM, Meer, H. van der wrote: My modules are not read anymore, allthough Context thinks it does. This must have been the case for some time. I ran a test with an older version which demonstrates that the change in behaviour must have occurred after january second. Minimal example follows. Hans van der Meer Module code in file module-test is: \writestatus{HVDM}{Module has been read} \endinput Test code in file moduletest.tex is: \usemodule[module-test] \starttext module testing look into the log. \stoptext modules have names like m- x- s- p- u- and the lookup happens in a certain order without prefix, and checking for mkvi, mkiv, mkii or tex suffixes so in your case it should be something u-hvdm-test or so (user hvdm test) so you were just lucky that in the past modules-* worked the loading is probably ok because test.* is loaded In the log I find: This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) \write18 enabled. open source 1 1 /Users/hansm/tex/context-20/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.06.05 23:04 MKIV beta fmt: 2014.6.6 int: english/english open source 2 3 /Users/hansm/tex/test-tex/modules/moduletest.tex resolversmodules 'module-test' is already loaded -- wrongly thinks it is loaded It says the module is already loaded, but the telltale \writestatus is absent. Running the same code with an older version of ConTeXt does load the module: ConTeXt ver: 2014.01.02 20:05 MKIV current fmt: 2014.1.2 int: english/english (/Users/hansm/tex/test-tex/modules/moduletest.tex resolversmodules 'module-test' is loaded -- loads as it should (module-test.tex HVDM Module has been read ___ 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 ___ -- - 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] Margin heading problem, was Re: sections
On 2014-06-02 19:16, Rik Kabel wrote: On 2014-06-02 04:09, Hans Hagen wrote: On 6/2/2014 3:44 AM, Rik Kabel wrote: On 2014-06-01 12:52, Hans Hagen wrote: On 6/1/2014 5:40 PM, Rik wrote: Is this also the cause of problems I noted with heading placed into the margin, as in the example below? no, unrelated, try this: \setuphead [section] [after={\strut\blank[-2*line,samepage,disable]}, command=\SectionCommand, distance=0pt] \define[2]\SectionCommand{\inleft{XX}} That was fine until it ran into \setupwhitespace with a non-zero value. Fiddling with the after key \blank does not appear to help. \define[2]\MarginHead{\inmargin{#1\\#2}} \setuphead[section] [command=\MarginHead, distance=0pt, after={\strut\blank[-2*line,samepage,disable]}] %% With no \setupwhitespace, or any \setupwhitespace setting that %% results in zero interparagraph whitespace, all is well. %setupwhitespace [none]%okay %setupwhitespace [fix]% okay %% With non-zero interparagraph whitespace, the heading separates %% from the text \setupwhitespace [line]%bad \starttext \startchapter[title={Weisman}] \input weisman\par \input weisman \startsection[title={Thuan}] \input thuan\par \input thuan \stopsection \stopchapter \stoptext you can always skip back whitespace or add 'nowhite' Well, nowhite is a start, but the solution is still a way off. Meanwhile, the following works for non-grid layouts with reasonable values for \setupwhitespace, although perhaps somebody can come up with a more eloquent way to write it: \newdimen\SectionHeadSkip \SectionHeadSkip\dimexpr-2\lineheight-\parskip\relax \setuphead [section] [command=\SectionCommand, distance=0pt, after={\strut\blank[\the\SectionHeadSkip,samepage,disable,nowhite]}, ] \define[2]\SectionCommand {\inmargin{#1 – #2}} A better formulation (better because it preserves any stretch that might defined by \setupwhitespace): \setupwhitespace [big] \newdimen\Parskip \Parskip\dimexpr-\parskip\relax \setuphead [section] [command=\SectionCommand, distance=0pt, after={\strut\blank[\the\Parskip,-2*line, samepage,disable,nowhite]}, ] \define[2]\SectionCommand {\inmargin{#1 – #2}} As with the previous, \Parskip has to be redefined if \setupwhitespace changes, so it is probably best left until after \starttext, when the body font is established. When enabling grid layouts, the number of lines needs to be adjusted. No, it is not stable on grid layouts. Sections that have a figure placed as the first thing will be a line off. Floats that appear as the first thing after a heading may present problems, especially with larger values for \setupwhitespace. (The default, with no location= specified, is pretty good, but when location={left,force} or such, there is often an unwanted offset from the header. and page breaks still appear between the heading and figure at times, despite the samepage setting for \blank.) So, this is quite fragile. It requires careful checking of every heading, and manual tuning when one breaks. Not a desirable solution, but at least it is possible. Still fragile. -- Rik Kabel ___ 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] Margin heading problem, was Re: sections
On 6/2/2014 3:44 AM, Rik Kabel wrote: On 2014-06-01 12:52, Hans Hagen wrote: On 6/1/2014 5:40 PM, Rik wrote: Is this also the cause of problems I noted with heading placed into the margin, as in the example below? no, unrelated, try this: \setuphead [section] [after={\strut\blank[-2*line,samepage,disable]}, command=\SectionCommand, distance=0pt] \define[2]\SectionCommand{\inleft{XX}} That was fine until it ran into \setupwhitespace with a non-zero value. Fiddling with the after key \blank does not appear to help. \define[2]\MarginHead{\inmargin{#1\\#2}} \setuphead[section] [command=\MarginHead, distance=0pt, after={\strut\blank[-2*line,samepage,disable]}] %% With no \setupwhitespace, or any \setupwhitespace setting that %% results in zero interparagraph whitespace, all is well. %setupwhitespace [none]%okay %setupwhitespace [fix]% okay %% With non-zero interparagraph whitespace, the heading separates %% from the text \setupwhitespace [line]%bad \starttext \startchapter[title={Weisman}] \input weisman\par \input weisman \startsection[title={Thuan}] \input thuan\par \input thuan \stopsection \stopchapter \stoptext you can always skip back whitespace or add 'nowhite' - 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] Margin heading problem, was Re: sections
On 2014-06-02 04:09, Hans Hagen wrote: On 6/2/2014 3:44 AM, Rik Kabel wrote: On 2014-06-01 12:52, Hans Hagen wrote: On 6/1/2014 5:40 PM, Rik wrote: Is this also the cause of problems I noted with heading placed into the margin, as in the example below? no, unrelated, try this: \setuphead [section] [after={\strut\blank[-2*line,samepage,disable]}, command=\SectionCommand, distance=0pt] \define[2]\SectionCommand{\inleft{XX}} That was fine until it ran into \setupwhitespace with a non-zero value. Fiddling with the after key \blank does not appear to help. \define[2]\MarginHead{\inmargin{#1\\#2}} \setuphead[section] [command=\MarginHead, distance=0pt, after={\strut\blank[-2*line,samepage,disable]}] %% With no \setupwhitespace, or any \setupwhitespace setting that %% results in zero interparagraph whitespace, all is well. %setupwhitespace [none]%okay %setupwhitespace [fix]% okay %% With non-zero interparagraph whitespace, the heading separates %% from the text \setupwhitespace [line]%bad \starttext \startchapter[title={Weisman}] \input weisman\par \input weisman \startsection[title={Thuan}] \input thuan\par \input thuan \stopsection \stopchapter \stoptext you can always skip back whitespace or add 'nowhite' Well, nowhite is a start, but the solution is still a way off. Meanwhile, the following works for non-grid layouts with reasonable values for \setupwhitespace, although perhaps somebody can come up with a more eloquent way to write it: \newdimen\SectionHeadSkip \SectionHeadSkip\dimexpr-2\lineheight-\parskip\relax \setuphead [section] [command=\SectionCommand, distance=0pt, after={\strut\blank[\the\SectionHeadSkip,samepage,disable,nowhite]}, ] \define[2]\SectionCommand {\inmargin{#1 -- #2}} When enabling grid layouts, the number of lines needs to be adjusted. Floats that appear as the first thing after a heading may present problems, especially with larger values for \setupwhitespace. (The default, with no location= specified, is pretty good, but when location={left,force} or such, there is often an unwanted offset from the header. and page breaks still appear between the heading and figure at times, despite the samepage setting for \blank.) So, this is quite fragile. It requires careful checking of every heading, and manual tuning when one breaks. Not a desirable solution, but at least it is possible. -- Rik Kabel ___ 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] Margin heading problem, was Re: sections
On 2014-06-01 12:52, Hans Hagen wrote: On 6/1/2014 5:40 PM, Rik wrote: Is this also the cause of problems I noted with heading placed into the margin, as in the example below? no, unrelated, try this: \setuphead [section] [after={\strut\blank[-2*line,samepage,disable]}, command=\SectionCommand, distance=0pt] \define[2]\SectionCommand{\inleft{XX}} That was fine until it ran into \setupwhitespace with a non-zero value. Fiddling with the after key \blank does not appear to help. \define[2]\MarginHead{\inmargin{#1\\#2}} \setuphead[section] [command=\MarginHead, distance=0pt, after={\strut\blank[-2*line,samepage,disable]}] %% With no \setupwhitespace, or any \setupwhitespace setting that %% results in zero interparagraph whitespace, all is well. %setupwhitespace [none]%okay %setupwhitespace [fix]% okay %% With non-zero interparagraph whitespace, the heading separates %% from the text \setupwhitespace [line]%bad \starttext \startchapter[title={Weisman}] \input weisman\par \input weisman \startsection[title={Thuan}] \input thuan\par \input thuan \stopsection \stopchapter \stoptext -- Rik Kabel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] LuaTeX-Plain and OTF/TTF Fonts
On Tue May 6 21:13:43 2014, Hans Hagen wrote: On 5/6/2014 4:49 PM, Aire Funvake wrote: Dear Group, Thank you for your time. I'm starting out with TeX/ConTeXt, but want to arrive via LuaTeX (`luatex-plain.tex/fmt`). Managed to build, move and use `luatex-plain`. Have the same problem under MacOSX Win7 (here is the Win-specific decription -- `%CTX%` is my ConTeXt root): Setting `OSFONTDIR` before font update and/or before running `luatex-plain`, have no observable effect. So, I do have a manual fix/solution. But is there an easier way? I assume you made a plain format with: mtxrun --script plain --make Then, does this work: mtxrun --script plain luatex-test okay? Hans 8- Hi Hans, No, I made it with `luatex --ini luatex-plain.fmt` and copied the resulting `.fmt` file. But, I executed the first command just now, just to be sure, and then ran the next command: `mtxrun --script plain luatex-test`. Result: \write18 enabled. ... tex/texmf-cache/luatex-cache/generic/fonts/data/luatex-fonts-names.luc)(load luc : c:/ctx/tex/texmf-cache/luatex-cache/generic/fonts/otf/lmroman10-bold.luc)unkn own font in database, run: mtxrun --script fonts --reload --simple ! LuaTeX error ...ntext/tex/generic/context/luatex/luatex-fonts-merged.lua:6213: attempt to index field 'known' (a nil value). to be read again \par l.33 ?Renter After `R`, it did produced `luatex-test.pdf`. Not sure if it looks the way it should ... couple of overfull boxes, narrow third page. Either way, I updated the fonts again as above, checked that it recreated the `luatex-fonts-names.lua` file like before. If I delete the old `luatex-fonts-names.luc`, the next run of `luatex-plain hello.tex` produces the same result. Added the paths to the fonts in `luatex-fonts-names.lua` (minion myriad), ran `luatex-plain hello.tex` again ... and all is fine. Further experimentation: Copied the Source Sans Pro fonts to a subdirectory alongside the `minion` and `myriad` directories, (`%CTX%\tex\texmf-fonts\otf\sourcesans`), and again updated the fonts database(s). Upon inspection of `luatex-fonts-names.lua`, the Source Sans fonts and files are listed, but they *did* have the path prefixed to the font file names, and consequently, I could use them without modifying `luatex-fonts-names.lua`. Thank you for your reply. I'm convinced this is no bug, just my inexperience at play. This is not a crippling problem. I can tackle The TeXbook now. Regards, Aíre Funvake. ___ 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] Blank page
Thanks Wolfgang. It was indeed a file problem. I opened and resaved the same files in Sublime text in place of Texshop and ran context from the terminal. Everything's just fine know. So I guess Texshop added some extra invisible character that made chapter start on a new page. Le 19 mars 2014 à 12:48, Wolfgang Schuster schuster.wolfg...@gmail.com a écrit : Am 18.03.2014 um 23:39 schrieb Philippe Figon philippe.fi...@gmail.com: Hello to you all, Forgive me if this is a newbie question, but I can't understand why when I try to compile this : -- \environment simple-env \starttext \chapter{} This is an example \stoptext with simple-env file containing only - \startenvironment simple-env \setuppagenumbering[alternative=doublesided] \setuphead [chapter] [page=right] \stopenvironment - The text only appears on page 3 and I can't never make start on page 1. But if I try this : \setuppagenumbering[alternative=doublesided] \setuphead [chapter] [page=right] \starttext \chapter{} This is an example \stoptext -- It starts on page 1 as wanted. Is there something with the environment inclusion? I can’t reproduce you problem. To say what’s wrong you have to provide more information. 1. Which version do you use? ConTeXt ver: 2014.03.16 19:58 MKIV beta fmt: 2014.3.19 int: english/english 2. Send us the test files (make a zip out of them) from your system because sometimes invisible characters are the cause for such problems. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to make a \lambdabar (like \hbar)
Aditya Mahajan adit...@umich.edu writes: \def\lambdabar{\lambda\kern-1ex\raise0.65ex\hbox{-}} Is this the canonical name for the glyph used by AMS? Good question. The AMS files don't seem to have it (the symbol is hardly used by mathematicians). But revtex4 defines it (for latex), in /usr/local/texlive/2013/texmf-dist/tex/latex/revtex4/revsymb.sty An example of using it: \documentclass{revtex4-1} \begin{document} $\lambdabar$ \end{document} The right way is to update char-def.lua as { adobename=lambdastroke, category=ll, description=LATIN SMALL LETTER LAMBDA WITH STROKE, direction=l, linebreak=al, mathclass=variable, mathname=lambdabar, unicodeslot=0x019B, }, I have put that in and ran 'context --make' pending the font update. The easiest solution will be to file a bug report with the TeX Gyre project. This is an easy glyph to add. I'll do that. If you know of it, could you point me to their bug tracker (or best way to file a bug report)? I roamed the GUST site without finding it. Otherwise, you can use a different font as fall back for lambdabar, but that will not match the regular lambda from Palatino. If you create the glyph on your own, as in your definition above, then you have to play around with the length of the bar to make make it pretty. That seems to be what revtex does (it has quite a complicated definition). -Sanjoy ___ 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] Broken bibliographies in 2014-03-07 beta
Hans Hagen pra...@wxs.nl writes: in bibl-tra.lua: local template = [[ \citation{*} \bibstyle{cont-%s} \bibdata{%s} ]] There was a local template = utilities.strings.striplong([[ .. so I got rid of the call to utilities.strings.striplong(), then ran context --make but the bibliography still didn't come out. The pdf file just has Hi [[error 2]] Here's the example: test10.tex === \usemodule[bib] \setupbibtex[database=testrefs, sort=author] \setuppublications[alternative=num, sorttype=bbl] \starttext Hi \cite[Abelson:1996] \blank \placepublications[criterium=text] \stoptext test10.tex === and the bib file == testrefs.bib @Book{Abelson:1996, author = {Harold Abelson and Gerald Jay Sussman with Julie Sussman}, title ={Structure and Interpretation of Computer Programs}, publisher ={MIT Press}, year = 1996, edition = {2nd}} == testrefs.bib The log file has: publications loading database from 'test10.bbl' (test10.bbl) publications warning: unknown cite argument 'Abelson:1996' on line '4' and test10.bbl is an empty file. -Sanjoy ___ 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] Race Condition: Incorrect float numbering
On 2014–02–18 Andreas Schneider wrote: after many experiments I finally was able to extract a (kinda) minimal example that reproduces a problem which is haunting one of my documents. Under certain conditions (apparently a bunch of floats and page breaks) it happens, that a float is re-placed without being re-numbered, causing figure 1.2 to be before 1.1. I ran into this bug, too¹. The following should fix the numbering of the floats. \ctxlua {structures.lists.autoreorder = true} However, the numbering of the lists are not adapted and come out wrong. I don't have a fix for that. Marco ¹ http://thread.gmane.org/gmane.comp.tex.context/79739 signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] No bibliography in the output, depends on file name
On 2014–01–15 Nicola wrote: maybe this is a known issue, It's a known fact that context has a different notion of valid file names than your operating system does. This is by design. To quote the manual: “It is highly recommended, that all input files, i.e. the ConTEXt source and other included files such as image files, have only the letters a–z, digits and dashes in their names, that is in the names of their full paths, otherwise you can easily get into problems.” I'm writing a ConTeXt document called modern-c++.tex (in OS X 10.7.5). The content of the file is: \setupbibtex[database={modern-c++}, sort=author] \setuppublications[numbering=yes] \starttext \completepublications[criterium=all] \stoptext Especially since c++ didn't work out, I expected dropping the “++” would work (“modern-c”), but it didn't. So I ran some tracing: \enabletrackers [resolvers.readfile] \starttext \readfile{file++.ext}{}{} \stoptext This reports: files readfile not found by tree lookup: file .ext Which means the “++” is replaced by two spaces, instead of searching for “file++.ext” or “file.ext” which is what I had expected. I didn't dig into the code to check where the spaces creep in. Regardless if this particular issue gets fixed or not, I doubt that Hans will put much effort into general support for “esoteric” file names. So, it's best to avoid plus signs in file names. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] No bibliography in the output, depends on file name
On 1/17/2014 1:15 PM, Marco Patzer wrote: On 2014–01–15 Nicola wrote: maybe this is a known issue, It's a known fact that context has a different notion of valid file names than your operating system does. This is by design. To quote the manual: “It is highly recommended, that all input files, i.e. the ConTEXt source and other included files such as image files, have only the letters a–z, digits and dashes in their names, that is in the names of their full paths, otherwise you can easily get into problems.” I'm writing a ConTeXt document called modern-c++.tex (in OS X 10.7.5). The content of the file is: \setupbibtex[database={modern-c++}, sort=author] \setuppublications[numbering=yes] \starttext \completepublications[criterium=all] \stoptext Especially since c++ didn't work out, I expected dropping the “++” would work (“modern-c”), but it didn't. So I ran some tracing: \enabletrackers [resolvers.readfile] \starttext \readfile{file++.ext}{}{} \stoptext This reports: files readfile not found by tree lookup: file .ext Which means the “++” is replaced by two spaces, instead of searching for “file++.ext” or “file.ext” which is what I had expected. I didn't dig into the code to check where the spaces creep in. Regardless if this particular issue gets fixed or not, I doubt that Hans will put much effort into general support for “esoteric” file names. So, it's best to avoid plus signs in file names. indeed. names are parsed as url's (so + become space) so a possible fix is: function getreadfilename(scheme,path,name) local fullname if hasscheme(name) or is_qualified_path(name) then fullname = name else name = url.escape(name) -- yes or no ? fullname = ((path == ) and format(%s:///%s,scheme,name)) or format(%s:///%s/%s,scheme,path,name) end return resolvers.findtexfile(fullname) or -- can be more direct end but one cannot predict how this passes further on through the system also, because one can say: \readfile{file\letterpercent2B\letterpercent2B.ext}{}{} the hack in fact should be: if not string.find(name,%%) then name = url.escape(name) -- if no % in names end which then handles both \readfile{file\letterpercent2B\letterpercent2B.ext}{}{} \readfile{file++.ext}{}{} ok. Of course, when moving from c++ to c# one gets things like \readfile{file\letterhash.ext}{}{} where the # will sometimes confuses macros later on. 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] Problem with Standalone
Mojca, thank you very much for the detailed and informative information. Regarding the native for cygwin Context, I am currently using TeXLive for Unix-ish Platforms. So the Context In TeXLive for Unix platforms works or has been made to work on Cygwin at some step in the process by someone. How is the TexLive version of ConTeXt prepared? Using the same technique for the standalone to render it runnable on Cygwin like the TexLive version of Context, I should think. What do you think? Regards Mojca Miklavec wrote: On Wed, Jan 15, 2014 at 6:17 AM, Henman wrote: I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. Any ideas of what is wrong? Any work around to get the proper tex directory contents? We used to have cygwin-specific binaries, but dropped them after the volunteer who built them has lost the interest. Actually I would surprised if the distribution worked with cygwin out-of-the-box now that those binaries have been removed (probably a few years ago already) because we never tried to adapt any code, but I guess that Akira's native windows binaries should work just as well under cygwin's shell, so fixing this should be doable. There are two steps involved in syncronisation. The script first-setup.sh first determines the platform. In the good old days we used: # cygwin CYGWIN*) case $cpu in i*86) platform=cygwin ;; x86_64|ia64) platform=cygwin-64 ;; *) platform=unknown ;; esac ;; and recently switched to: CYGWIN*) case $cpu in i*86) platform=mswin ;; # cygwin, if we ever get native cygwin binaries x86_64|ia64) platform=mswin ;; # cygwin-64, likewise *) platform=unknown ;; esac ;; The script then fetches files from rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . which apparently succeeds, but then the following step fails: mtxrun --script ./bin/mtx-update.lua --force --update --context=beta --platform=$platform --texroot=$CONTEXTROOT $@ If this step actually ever worked, it might be that Hans' recent fixes to determine whether Windows is 64-bit or not, might have broken the functionality. In any case I'm almost sure that mtxrun fails to deliver proper binaries. Is there really no other output to be seen? 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] Problem with Standalone
Hans Hagen pra...@wxs.nl wrote: On 1/15/2014 12:06 PM, hwit...@gmail.com wrote: Hans Hagen pra...@wxs.nl wrote: On 1/15/2014 7:56 AM, hwit...@gmail.com wrote: I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe The above only populated /opt/context/bin Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. I mean there is no /opt/context/tex so no /opt/context/tex/setuptex.. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Any suggestions are apprecaited. can you run ./firstsetup ? ../firstsetup.sh was ran and it was first setup that created and populated the bin directory. But nothing was done for a tex directory. then you need to figure out why it failed ... messages and so ... maybe an rsync issue (you can try to add prints to mtx-update.lua (but then also comment the first rsync in firstsetup so that it doesn't get overwritten) Yes I am trying to find out. That's why I sent the message in the first place. I will endeaver to find out more inforation. Is there a way to download a three without using rsync? Perhaps a tarball or other archive format? Regards ___ 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] Problem with Standalone
On 1/16/2014 10:23 AM, hwit...@gmail.com wrote: Hans Hagen pra...@wxs.nl wrote: On 1/15/2014 12:06 PM, hwit...@gmail.com wrote: Hans Hagen pra...@wxs.nl wrote: On 1/15/2014 7:56 AM, hwit...@gmail.com wrote: I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe The above only populated /opt/context/bin Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. I mean there is no /opt/context/tex so no /opt/context/tex/setuptex.. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Any suggestions are apprecaited. can you run ./firstsetup ? ../firstsetup.sh was ran and it was first setup that created and populated the bin directory. But nothing was done for a tex directory. then you need to figure out why it failed ... messages and so ... maybe an rsync issue (you can try to add prints to mtx-update.lua (but then also comment the first rsync in firstsetup so that it doesn't get overwritten) Yes I am trying to find out. That's why I sent the message in the first place. I will endeaver to find out more inforation. Is there a way to download a three without using rsync? Perhaps a tarball or other archive format? just download the regular (non cygwin) windows tree -- - 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] Problem with Standalone
On 1/15/2014 7:56 AM, hwit...@gmail.com wrote: I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe The above only populated /opt/context/bin Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. I mean there is no /opt/context/tex so no /opt/context/tex/setuptex.. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Any suggestions are apprecaited. can you run ./firstsetup ? - 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] Problem with Standalone
Hans Hagen pra...@wxs.nl wrote: On 1/15/2014 7:56 AM, hwit...@gmail.com wrote: I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe The above only populated /opt/context/bin Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. I mean there is no /opt/context/tex so no /opt/context/tex/setuptex.. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Any suggestions are apprecaited. can you run ./firstsetup ? ./firstsetup.sh was ran and it was first setup that created and populated the bin directory. But nothing was done for a tex directory. Regards ___ 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] Problem with Standalone
On Wed, Jan 15, 2014 at 6:17 AM, Henman wrote: I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. Any ideas of what is wrong? Any work around to get the proper tex directory contents? We used to have cygwin-specific binaries, but dropped them after the volunteer who built them has lost the interest. Actually I would surprised if the distribution worked with cygwin out-of-the-box now that those binaries have been removed (probably a few years ago already) because we never tried to adapt any code, but I guess that Akira's native windows binaries should work just as well under cygwin's shell, so fixing this should be doable. There are two steps involved in syncronisation. The script first-setup.sh first determines the platform. In the good old days we used: # cygwin CYGWIN*) case $cpu in i*86) platform=cygwin ;; x86_64|ia64) platform=cygwin-64 ;; *) platform=unknown ;; esac ;; and recently switched to: CYGWIN*) case $cpu in i*86) platform=mswin ;; # cygwin, if we ever get native cygwin binaries x86_64|ia64) platform=mswin ;; # cygwin-64, likewise *) platform=unknown ;; esac ;; The script then fetches files from rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . which apparently succeeds, but then the following step fails: mtxrun --script ./bin/mtx-update.lua --force --update --context=beta --platform=$platform --texroot=$CONTEXTROOT $@ If this step actually ever worked, it might be that Hans' recent fixes to determine whether Windows is 64-bit or not, might have broken the functionality. In any case I'm almost sure that mtxrun fails to deliver proper binaries. Is there really no other output to be seen? 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] Problem with Standalone
I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Regards ___ 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] Problem with Standalone
I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe The above only populated /opt/context/bin Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. I mean there is no /opt/context/tex so no /opt/context/tex/setuptex.. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Any suggestions are apprecaited. Regards ___ 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 hyphenation patterns for Indic languages
On 12/14/2013 2:17 PM, Rajeesh K Nambiar wrote: On Sat, Dec 14, 2013 at 1:47 PM, Hans Hagen pra...@wxs.nl wrote: On 12/14/2013 1:06 PM, Rajeesh K Nambiar wrote: Hello, I have tried to generate the hyphenation patterns for Malayalam language from the TeX hyphenation patterns, but the unicode characters were skipped. On TeXLive 2013, ConTeXt version 2013.04.20, this is what was tried: 1. Uncommented line for ml in mtx-patterns.lua 2. Ran mtxrun --script patterns --convert --path=/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/txt/ --destination=/usr/share/texlive/texmf-dist/tex/context/patterns/ 3. Output shows all patterns are removed with similar messages to: mtx-patterns| removing line with suspected utf character അ (0x0D05), category lo: 1അ1 What is the proper way to add hyphenation patterns for a new language? In addition, how to add a 'new language' to the ConTeXt base (such that \language[ml] can be used? I see base/lang-ind.mkii where I could add \setupheadtext etc for the language, what is the equivalent for mkiv? we need an entry in lang-def.mkiv I was fiddling with lang-def.mkiv but undefined control sequence error was stopping me, will try to figure out the error. probably because you used \??ml which was not yet defined i uploaded a beta that has the patterns and language definitions .. but up to you to check it and provide better settings if needed Okay, is the best way to install beta to use the Standalone ConTeXt mechanism? Is it advisable to uninstall ConTeXt from TeXLive if so? (wiki says Context Standalone for Linux 32 bit is complied with glibc-2.3.6 while I have glibc-2.17). just install it in a different place and it will run independently from texlive 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] ConTeXt hyphenation patterns for Indic languages
Hello, I have tried to generate the hyphenation patterns for Malayalam language from the TeX hyphenation patterns, but the unicode characters were skipped. On TeXLive 2013, ConTeXt version 2013.04.20, this is what was tried: 1. Uncommented line for ml in mtx-patterns.lua 2. Ran mtxrun --script patterns --convert --path=/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/txt/ --destination=/usr/share/texlive/texmf-dist/tex/context/patterns/ 3. Output shows all patterns are removed with similar messages to: mtx-patterns| removing line with suspected utf character അ (0x0D05), category lo: 1അ1 What is the proper way to add hyphenation patterns for a new language? In addition, how to add a 'new language' to the ConTeXt base (such that \language[ml] can be used? I see base/lang-ind.mkii where I could add \setupheadtext etc for the language, what is the equivalent for mkiv? Thanks for any answers or pointers. -- Regards, Rajeesh ___ 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 hyphenation patterns for Indic languages
On 12/14/2013 1:06 PM, Rajeesh K Nambiar wrote: Hello, I have tried to generate the hyphenation patterns for Malayalam language from the TeX hyphenation patterns, but the unicode characters were skipped. On TeXLive 2013, ConTeXt version 2013.04.20, this is what was tried: 1. Uncommented line for ml in mtx-patterns.lua 2. Ran mtxrun --script patterns --convert --path=/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/txt/ --destination=/usr/share/texlive/texmf-dist/tex/context/patterns/ 3. Output shows all patterns are removed with similar messages to: mtx-patterns| removing line with suspected utf character അ (0x0D05), category lo: 1അ1 What is the proper way to add hyphenation patterns for a new language? In addition, how to add a 'new language' to the ConTeXt base (such that \language[ml] can be used? I see base/lang-ind.mkii where I could add \setupheadtext etc for the language, what is the equivalent for mkiv? we need an entry in lang-def.mkiv i uploaded a beta that has the patterns and language definitions .. but up to you to check it and provide better settings if needed 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] installing a true-type font: can't find ttf2afm
On 11/4/2013 4:56 PM, Mojca Miklavec wrote: On Mon, Nov 4, 2013 at 10:46 PM, Lars Huttar wrote: On 11/4/2013 3:34 PM, Mojca Miklavec wrote: - you can find Gentium at http://www.ctan.org/pkg/gentium-tug (also in TeX Live and in the ConTeXt distribution) Thank you ... that was key information I didn't have. I was instead downloading the TTF files from sil.org. That TTF should work as well. The only difference is that you might need slightly different commands to set it up (there were recent changes/improvements in that, other users should tell you how exactly that can be done). I will look for that, because it turns out that I still need to use a TTF font. Gentium Plus does not include bold and bold-italic weights, and Gentium Basic doesn't include all the characters ranges I need. We have a customized version of Gentium Basic with bold weight, with an extra character added, and it's a TTF. We had it working with mkii but not yet with mkiv. When you say out of the box, I think you're referring to the gentium-tug package box, not the ConTeXt box... in other words, I should not expect Gentium to work just because I installed ConTeXt; I have to also install gentium-tug, right? The font is installed by default when installing the ConTeXt distribution. I thought it was also installed by default with the ConTeXt scheme in TeX Live, but apparently I was wrong. I can fix this. The scheme already contains a bunch of nice fonts and Gentium could/probably should be among them. Just to confirm the above: After installing TeX Live context scheme on Linux, Gentium was not in my names.tma. And when I tried to use \setmainfont[Gentium], I got errors, 'simplefonts font ''gentium'' not found'. After installing the gentium-tug package (sudo /usr/local/bin/tlmgr install gentium-tug), and compiling a .tex file using \setmainfont[Gentium], the errors went away, and my names.tma now includes several variants of Gentium. At no point did I run mtxrun (knowingly). On the other hand, on Windows, I had installed TeX Live context scheme as well, and have not installed gentium-tug. But I did install Gentium as an OS font (using TTF files). I then ran mtxrun --generate (as suggested by Hans), and after that, gentium* showed up in names.tma, and I was then able to successfully compile a .tex file using \setmainfont[Gentium] with mkiv context. (But that didn't work before I ran mtxrun --generate.) Just a couple of data points in case they're relevant. Lars ___ 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] MacOsX Mavericks and Luatex
Hi Pierre, I have Mavericks installed and no problems. But, I did a clean install, migrated User Folder from a TM-Backup, and my ConTeXt Suite (latest beta) work fine. Since I did a clean install I had to install MacTeX. -- Tried an older LuaLaTeX and got an error -- Ran TeXLive Utility and update TeXLive Everything works fine. I did notice that LuaTeX binaries were updated. Since you have not said where you got your version from try repairing permission on your disk. You should do this especially you did not do this before the update. or just update or reinstall! Sorry for going slightly OT. regards Keith. Am 24.10.2013 um 07:41 schrieb Pierre Bovet pierr...@me.com: Hi all! It seems that Luatex (0.76 2013/04/05) don't works with Mavericks? Thank's in advanced for your help and testimonies Best wishes ___ 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] Standalone Installation Question
I downloaded and ran: $ sh ./$SETUPFILE --modules=all --engine=luatex --context=current # # The documentation on web page [ http://wiki.contextgarden.net/ConTeXt_Standalone#General_Information ] statess that: An intialization script called setuptex is provided in installation-dir/tex/. If you run context from a terminal, source setuptex like so: source /installation-dir/tex/setuptex BUT, first-setup.sh did not produce and populate any ./tex directory and there is no setuptex command file. What can I do to proceed from this point. Currently the /installation directory contains: Reference: first-setup.sh produces the following files and directory structure: $ ls -l drwxrwxrwx+ 1 djtm None 0 Oct 20 16:09 . drwxr-xr-x 1 djh Users0 Oct 20 14:06 .. drwxr-xr-x+ 1 djh None 0 Aug 7 16:40 bin -rwxr-xr-- 1 djh None 3654 Jun 20 22:27 first-setup.sh $ $ ls -l bin -rw-r--r-- 1 djh None 999424 Nov 23 2012 cygiconv-2.dll -rw-r--r-- 1 djh None 1873396 Nov 23 2012 cygwin1.dll -rw-r--r-- 1 djh None 72192 Aug 14 09:29 kpathsea620.dll -rw-r--r-- 1 djh None 338944 Aug 14 10:32 lua52.dll -rw-r--r-- 1 djh None 6889472 Sep 28 07:03 luatex.dll -rw-r--r-- 1 djh None7680 Apr 16 2013 mtxrun.dll -rwxr-xr-x 1 djh None4608 Apr 16 2013 mtxrun.exe -rw-r--r-- 1 djh None 497742 Oct 15 20:54 mtxrun.lua -rw-r--r-- 1 djh None 25352 Oct 8 06:31 mtx-update.lua -rwxr-xr-x 1 djh None 346112 Nov 23 2012 rsync.exe -rwxr-xr-x 1 djh None1536 Jun 24 22:41 texlua.exe END ___ 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] Standalone Installation Question
On Sun, Oct 20, 2013 at 9:52 AM, hwit...@gmail.com wrote: I downloaded and ran: $ sh ./$SETUPFILE --modules=all --engine=luatex --context=current # # The documentation on web page [ http://wiki.contextgarden.net/ConTeXt_Standalone#General_Information ] statess that: An intialization script called setuptex is provided in installation-dir/tex/. If you run context from a terminal, source setuptex like so: source /installation-dir/tex/setuptex BUT, first-setup.sh did not produce and populate any ./tex directory and there is no setuptex command file. What can I do to proceed from this point. Currently the /installation directory contains: Reference: first-setup.sh produces the following files and directory structure: $ ls -l drwxrwxrwx+ 1 djtm None 0 Oct 20 16:09 . drwxr-xr-x 1 djh Users0 Oct 20 14:06 .. drwxr-xr-x+ 1 djh None 0 Aug 7 16:40 bin -rwxr-xr-- 1 djh None 3654 Jun 20 22:27 first-setup.sh $ $ ls -l bin -rw-r--r-- 1 djh None 999424 Nov 23 2012 cygiconv-2.dll -rw-r--r-- 1 djh None 1873396 Nov 23 2012 cygwin1.dll -rw-r--r-- 1 djh None 72192 Aug 14 09:29 kpathsea620.dll -rw-r--r-- 1 djh None 338944 Aug 14 10:32 lua52.dll -rw-r--r-- 1 djh None 6889472 Sep 28 07:03 luatex.dll -rw-r--r-- 1 djh None7680 Apr 16 2013 mtxrun.dll -rwxr-xr-x 1 djh None4608 Apr 16 2013 mtxrun.exe -rw-r--r-- 1 djh None 497742 Oct 15 20:54 mtxrun.lua -rw-r--r-- 1 djh None 25352 Oct 8 06:31 mtx-update.lua -rwxr-xr-x 1 djh None 346112 Nov 23 2012 rsync.exe -rwxr-xr-x 1 djh None1536 Jun 24 22:41 texlua.exe END hm first-setup.sh is for Linux, but you have a set of Windows files... so which platform do you need ? -- 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] Standalone Installation Question
My platform is cygwin, which gives Posix compatibility. The inital loading shell script noticed thsi provided the cygwin dll. If necessary, I can build from source if available. But, ts possile that x86 would work due the the cygwin interface, but I'm not sure. What to do to complete the installation? Thanks From luigi scarso : On Sun, Oct 20, 2013 at 9:52 AM, hwit...@gmail.com wrote: I downloaded and ran: $ sh ./$SETUPFILE --modules=all --engine=luatex --context=current # # The documentation on web page [ http://wiki.contextgarden.net/ConTeXt_Standalone#General_Information ] statess that: An intialization script called setuptex is provided in installation-dir/tex/. If you run context from a terminal, source setuptex like so: source /installation-dir/tex/setuptex BUT, first-setup.sh did not produce and populate any ./tex directory and there is no setuptex command file. What can I do to proceed from this point. Currently the /installation directory contains: Reference: first-setup.sh produces the following files and directory structure: $ ls -l drwxrwxrwx+ 1 djtm None 0 Oct 20 16:09 . drwxr-xr-x 1 djh Users 0 Oct 20 14:06 .. drwxr-xr-x+ 1 djh None 0 Aug 7 16:40 bin -rwxr-xr-- 1 djh None 3654 Jun 20 22:27 first-setup.sh $ $ ls -l bin -rw-r--r-- 1 djh None 999424 Nov 23 2012 cygiconv-2.dll -rw-r--r-- 1 djh None 1873396 Nov 23 2012 cygwin1.dll -rw-r--r-- 1 djh None 72192 Aug 14 09:29 kpathsea620.dll -rw-r--r-- 1 djh None 338944 Aug 14 10:32 lua52.dll -rw-r--r-- 1 djh None 6889472 Sep 28 07:03 luatex.dll -rw-r--r-- 1 djh None 7680 Apr 16 2013 mtxrun.dll -rwxr-xr-x 1 djh None 4608 Apr 16 2013 mtxrun.exe -rw-r--r-- 1 djh None 497742 Oct 15 20:54 mtxrun.lua -rw-r--r-- 1 djh None 25352 Oct 8 06:31 mtx-update.lua -rwxr-xr-x 1 djh None 346112 Nov 23 2012 rsync.exe -rwxr-xr-x 1 djh None 1536 Jun 24 22:41 texlua.exe END hm first-setup.sh is for Linux, but you have a set of Windows files... so which platform do you need ? -- 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 ___ ___ 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] passvariable(); path problem
I played around with it, but I have problems to understand the format of the returned path. Example: % \setuppagenumber[state=stop] \starttext \nopdfcompression \startMPpage path p; p:= (20,20){up} .. {down}(200,100); passvariable(path,p); draw p ; \stopMPpage \ctxlua{inspect{metapost.variables[path]}} \stoptext % --- The PDF code of the path is (mainly) 20.00 20.00 m 20.00 190.342880 200.00 184.016693 200.00 100.00 c path contains table={ { { 200, 100, 200, 184.0167, 200, 100 }, }, } The end point and the second control point are the same, as in the PDF code. But how do I calculate the starting point and the first control point from the returned values? And is the type of operation (line, curve,..) given by the number of values? Peter Am 04.10.2013 16:15, schrieb Hans Hagen: On 10/4/2013 2:52 PM, Peter Rolf wrote: Hi, I played around with the new passvariable() option and ran into errors when passing a path. Used the latest beta (01.10.2013). Can someone confirm this? in mp-mlib.mpiv: vardef mfun_path_to_string(expr p) = mfun_point_to_string(p,1) for i=2 upto length(p) : mfun_point_to_string(p,i) endfor enddef ; vardef mfun_boolean_to_string(expr b) = if b : true else : false fi enddef ; (i forgot to rename the argument when outlining the code) fwiw: in your case you still get an (empty) graphic, use \startMPcalculation ... when you don't want that 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 ___ ___ 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] passvariable(); path problem
Hi, I played around with the new passvariable() option and ran into errors when passing a path. Used the latest beta (01.10.2013). Can someone confirm this? Peter \starttext \startMPcode passvariable(path,fullcircle scaled 1cm) ; \stopMPcode \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] passvariable(); path problem
On 10/4/2013 2:52 PM, Peter Rolf wrote: Hi, I played around with the new passvariable() option and ran into errors when passing a path. Used the latest beta (01.10.2013). Can someone confirm this? in mp-mlib.mpiv: vardef mfun_path_to_string(expr p) = mfun_point_to_string(p,1) for i=2 upto length(p) : mfun_point_to_string(p,i) endfor enddef ; vardef mfun_boolean_to_string(expr b) = if b : true else : false fi enddef ; (i forgot to rename the argument when outlining the code) fwiw: in your case you still get an (empty) graphic, use \startMPcalculation ... when you don't want that 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] mtx-context - extraordinarily quiet mode
On 9/29/2013 2:43 AM, Aditya Mahajan wrote: On Sat, 28 Sep 2013, Thangalin wrote: Hi, I ran the following: context --noconsole --batchmode --nonstopmode filename.tex This wrote information to the console: This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) \write18 enabled. Underfull \hbox (badness 2401) in paragraph at lines 464--464 ... lots more output ... system | total runtime: 1.962 How do you prevent ConTeXt from writing anything whatsoever to the console? context --batchmode filename /dev/null :-) \dontcomplain also helps - 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] PDF Transparency and ConTeXt
On 9/29/2013 6:59 AM, Thangalin wrote: Hi, I have written up a question on TeX.SE: http://tex.stackexchange.com/questions/135543/pdf-colour-space-and-context Aditya mentioned that the problem with transparencies is that it is likely a known bug with Adobe Acrobat Reader: I remember similar questions being asked in the past, and the conclusion was that it was a known bug in Adobe Reader. Has anyone else come across this issue and found a way to resolve it in ConTeXt? I ran into what I think is a similar issue with LaTeX and was able to resolve it using the following command in the preamble: \pdfpageattr{/Group /S /Transparency /I true /CS /DeviceRGB} I have not yet tried to reproduce the problem in either LuaLaTeX or LaTeX. \setupcolors[pagecolormodel=auto] might help in acrobat, when transparency is used, a different route is followed (at least in the past) when rendering also, rendering colorspaces might be adapted to the output medium so it's a combination of colorspace, monitor/paper, calibration, knockout/overprint, transparency groups, assumptions etc in the end, a print on a proper device is the reference 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] PDF Transparency and ConTeXt
2013/9/29 Thangalin thanga...@gmail.com: I ran into what I think is a similar issue with LaTeX and was able to resolve it using the following command in the preamble: \pdfpageattr{/Group /S /Transparency /I true /CS /DeviceRGB} This should be done automagically in pdfTeX (at least it once was). 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] mtx-context - extraordinarily quiet mode
Hi, I ran the following: context --noconsole --batchmode --nonstopmode filename.tex This wrote information to the console: This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) \write18 enabled. Underfull \hbox (badness 2401) in paragraph at lines 464--464 ... lots more output ... system | total runtime: 1.962 How do you prevent ConTeXt from writing anything whatsoever to the console? Kind regards. ___ 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] mtx-context - extraordinarily quiet mode
On Sat, 28 Sep 2013, Thangalin wrote: Hi, I ran the following: context --noconsole --batchmode --nonstopmode filename.tex This wrote information to the console: This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) \write18 enabled. Underfull \hbox (badness 2401) in paragraph at lines 464--464 ... lots more output ... system | total runtime: 1.962 How do you prevent ConTeXt from writing anything whatsoever to the console? context --batchmode filename /dev/null :-) Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] PDF Transparency and ConTeXt
Hi, I have written up a question on TeX.SE: http://tex.stackexchange.com/questions/135543/pdf-colour-space-and-context Aditya mentioned that the problem with transparencies is that it is likely a known bug with Adobe Acrobat Reader: I remember similar questions being asked in the past, and the conclusion was that it was a known bug in Adobe Reader. Has anyone else come across this issue and found a way to resolve it in ConTeXt? I ran into what I think is a similar issue with LaTeX and was able to resolve it using the following command in the preamble: \pdfpageattr{/Group /S /Transparency /I true /CS /DeviceRGB} I have not yet tried to reproduce the problem in either LuaLaTeX or LaTeX. Kindest regards. ___ 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] Repeat second-level registers within index
Hi, I changed lines 695 in bin/context/tex/texmf-context/tex/context/base/strc-reg.lua to the above. I re-ran context against my test case and Philipp's example. Actual results: a foo 2 *aa 2 aaa 2 *bar 2 a foo 2 aa 2 Expected results: a foo 2 aa *foo 2 *aaa *foo 2 * bar 2 a foo 2 aa 2 Kindest regards. ___ 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
On 9/10/2013 3:50 PM, Khaled Hosny wrote: On Mon, Sep 09, 2013 at 08:01:30PM +0200, Hans Hagen wrote: Hi, I uploaded a beta with additional bidi code. There are now three methods: default : the original one, the fastest, wil be improved a bit one : unicode bidi, derived from khaleds t-bidi, cleaned up and optimized plus some thingies, but in working still close to the original two : unicode bidi, the version that will evolve All methods come with the usual context kind of tracing. Some of these methods have different options (default has local and global behaviour), one has no options, and for two one can disable fancy fences heuristics. More will follow once we have investigated all upcoming changes, circulating wishes, conflicting demands etc. Eventually there will be a manual about these matters. Method two seems to be broken here: error: .../context/tex/texmf-context/tex/context/base/typo-dir.lua:151: attempt to call global 'hasbit' (a nil value) ok, i'll fix it .. (it went unnoticed because i ran experimental faster code here) 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] devanagari rendering (2 errors)
Hello, I recently learned that ConTeXt-mkiv and LuaTeX now support devanagari fonts. An enormous thank you to Kai and Hans and anyone else involved in making that happen. I know it's a niche application, but for some of us it makes all the difference. I ran some tests on the output and the rendering is lovely, even on the extremely complex ligatures. I noticed only two errors, both of which are simple to describe and consistent: 1) Conjuncts of the form (consonant + virama + र ra) render the opposite sequence intended. For example: [U+0915] [U+094D][U+0930] (क्र kra) incorrectly produces the glyph intended for [U+0930][U+094D][U+0915] (र्क rka). 2) Word-final virama causes words to render with a half-consonant at the end. They should instead display the whole-consonant with the virama diacritic. Half-consonants should be used only when conjoining with another subsequent consonant in the same word. A picture, in case it's more helpful: http://i.imgur.com/MpIwd9w.png I tried to look at the code in hopes of offering a fix, but I'm afraid it was way over my head. If there's anything else I can do to help, I'd be happy for the opportunity. Best regards, 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] devanagari rendering (2 errors)
On 9/9/2013 10:05 PM, Peter Graif wrote: Hello, I recently learned that ConTeXt-mkiv and LuaTeX now support devanagari fonts. An enormous thank you to Kai and Hans and anyone else involved in making that happen. I know it's a niche application, but for some of us it makes all the difference. I ran some tests on the output and the rendering is lovely, even on the extremely complex ligatures. I noticed only two errors, both of which are simple to describe and consistent: 1) Conjuncts of the form (consonant + virama + र ra) render the opposite sequence intended. For example: [U+0915] [U+094D][U+0930] (क्र kra) incorrectly produces the glyph intended for [U+0930][U+094D][U+0915] (र्क rka). 2) Word-final virama causes words to render with a half-consonant at the end. They should instead display the whole-consonant with the virama diacritic. Half-consonants should be used only when conjoining with another subsequent consonant in the same word. A picture, in case it's more helpful: http://i.imgur.com/MpIwd9w.png I tried to look at the code in hopes of offering a fix, but I'm afraid it was way over my head. If there's anything else I can do to help, I'd be happy for the opportunity. Can you make a as-small-as-possible test file? Preferable with proper utf-8 sequences (+ comment mentioning numbers/classes), good and wrong. I can probably figure it out but I cannot read or input easily this kind of scripts. 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] Problem with units and problem with libraries
Hi, \definebodyfontenvironment works for the concrete fontsize, thanks, Wolfgang. But - even if I read the short documentation at the ctx-garden - I am still a bit confused, eg: \text[4.61pt] works automatically but \text[4.651pt] not, only with the defining command, similarly behave \text[0.75em] and \text[0.735em]. How the precisity has been defined? Two decimal places? Scale points (this is only a theoretical topic) probably must be in some way rounded (how?) because \definebodyfontenvironment with values from 50sp to 500367sp gives the changed font size but with values 500368 and larger font size has been replaced by the default one. The command \definebodyfontenvironment[0.5cc] enables \text[0.5cc] as well as \text[6dd] (similarly 6pt and 0.5pc) which lives for our expectations whereas \definebodyfontenvironment[1cm] enables \text[1cm] and \text[12mm]. I thougt that is related with 20% scale of larger size but it works only with 10 and 12, 20 and 24, 30 and 36, etc, not with 10, 12 and 14.4. %% From the conceptual point of view, I would like to ask why the behaviour was changed between TL2011 and TL2012. The older one seems to me more user friendly. The related question is how user can activate other units (or all font sizes of a unit, as a whole) by some simple way. (My favourite units are cc and dd) Best regards, Tomas Hala Wed, Sep 04, 2013 ve 07:13:53PM +0200 Wolfgang Schuster napsal(a): # # Am 04.09.2013 um 19:07 schrieb Tomas Hala th...@pef.mendelu.cz: # # Hi all, # # recently I installed TeXlive 2013. In a document, I ran into the problem # with font sizes: only points and ems operates properly in contrast # to other units giving the basic (12pt) size. # # Add \definebodyfontenvironment[fontsize] for each size. # # Wolfgang --minimal example-- \starttext \def\text[#1]{blah blah --- #1: {\setupbodyfont[#1]blah blah}\par} \text[0.5pc] \text[8pt] \text[0.7335em] %\definebodyfontenvironment[4pc] \definebodyfontenvironment[1cm] %\definebodyfontenvironment[500367sp] \text[12mm] \text[1cm] \text[50sp] \text[0.5ex] \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] Problem with units and problem with libraries
Am 04.09.2013 um 19:07 schrieb Tomas Hala th...@pef.mendelu.cz: Hi all, recently I installed TeXlive 2013. In a document, I ran into the problem with font sizes: only points and ems operates properly in contrast to other units giving the basic (12pt) size. Add \definebodyfontenvironment[fontsize] for each size. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem with units and problem with libraries
Hi all, recently I installed TeXlive 2013. In a document, I ran into the problem with font sizes: only points and ems operates properly in contrast to other units giving the basic (12pt) size. The same behaviour gives ConTeXt in TL2012. Older TL2011 and TL2010 are OK. Mimimal example: \starttext \def\text[#1]{blah blah --- #1: {\setupbodyfont[#1]blah blah}\par} % O.K. \text[8pt] \text[0.5em] %% K.O. \text[4pc] \text[1in] \text[12mm] \text[1cm] \text[50sp] \text[0.5ex] \text[6dd] \text[0.5cc] \stoptext Therefore, a few days ago I tried to install the current version from the garden. Shortly after the beginning of execution, the first-setup.sh script broke down with the following error: texlua: /lib/libc.so.6: version `GLIBC_2.7' not found (required by texlua) texlua: /lib/libc.so.6: version `GLIBC_2.11' not found (required by texlua) It was discussed in this list on May, so I tried the following but without the password for svn I was not successful. svn co http://svn.contextgarden.net/suite/build-binaries ./do_all.sh Thanks in advance for advice, help and/or password. Best wishes, Tomas Hala ___ 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] Unexpected EPUB Output
Hi, I ran the following commands: - context t.tex - mtxrun --script epub --make t.specification This produced the following code: document xmlns:m=http://www.w3.org/1998/Math/MathML; date=Tue Sep 3 17:29:27 2013 xmlns:xhtml=http://www.w3.org/1999/xhtml; file=t context=2013.08.17 00:58 version=0.30 language=en division detail=frontpart *Title pageCopyright * xhtml:a name=aut_1section detail=title location=aut:1 reference=content sectiontitleContents/sectiontitle The Title page and Copyright page are inseparable text. I believe this is due to how the front matter is coded: \startfrontmatter \startstandardmakeup Title page \stopstandardmakeup \startstandardmakeup Copyright \stopstandardmakeup \completecontent \stopfrontmatter The front matter produces correct PDF output (with three separate pages for the title page, copyright page, and ToC, respectively). What must I do to wrap the *Title page* and *Copyright* page in separate elements, yet still produce the same PDF? Kind regards. t.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] Arabic and Latin hemistiches
From what I understand from Hans's message, m-hemistich is part of the ConTeXt distribution, so you just need to update your distribution to install it (i.e., just run first-setup.bat) That's what I understood from the ConTeXt Standalone wiki page, and also why I'm so confused about this - my Standalone installation is brand new, and I started it roughly 3 hours after Hans' post about the new module. I just ran first-setup.bat again, but it still doesn't find the module. Is there a separate source/repository/etc. that needs to be specified? ___ 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] Arabic and Latin hemistiches
On Thu, 29 Aug 2013 19:07:48 -0600, J. R. Schmid j...@weitnahbei.de wrote: That's what I understood from the ConTeXt Standalone wiki page, and also why I'm so confused about this - my Standalone installation is brand new, and I started it roughly 3 hours after Hans' post about the new module. I just ran first-setup.bat again, but it still doesn't find the module. Is there a separate source/repository/etc. that needs to be specified? Look here (where the beginning of the path may be different on your machine/OS): C:\ConTeXt\tex\texmf-context\tex\context\base If m-hemistich.mkiv is there, you have updated the distribution. If not, you have not updated the distribution. Another way: Look at a log file from any run and look at the date to verify that you have updated. Here's mine: ConTeXt ver: 2013.08.26 16:41 If you have an older date, you need to update. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] Documentation for EPUB conversion
You will probably need CSS styling. Maybe you can use one of the popular CSS reset or normalize stylesheets available. I haven't tested, but http://necolas.github.io/normalize.css/ is pretty popular. Beware, a lot of EPUB rendering engines are crap, and there is not a lot of conformity throughout various products. This seems sad... since it is just XHTML. -Mica On Wed, Aug 28, 2013 at 9:29 AM, Thangalin thanga...@gmail.com wrote: Hi, I ran the following simple document through ConTeXt: \setupbackend[export=yes,xhtml=yes] \enableregime[utf-8] \mainlanguage[en] \language[en] \setupexport[ title={A nice book}, author={John Doe}, firstpage={cover.jpg}, ] \starttext \startitemize \item First \item Second \item Third \stopitemize \stoptext I then ran mtxrun: mtxrun --script epub --make t.specification This produced a document with the cover page correctly; however, the items were listed on a single line in the EPUB, instead of on lines by themselves. I have a couple of questions: - *Styling.* Is custom styling required to format bullet or numbered lists in the resulting EPUB XHTML document? - *Knowledge.* Would anyone be willing to share their experiences (and tips) for transforming ConTeXt documents to EPUB? - *Examples.* Where can I find examples of simple and complex ConTeXt documents being converted to EPUB documents having a similar layout? Many thanks and kind regards. ___ 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 ___
Re: [NTG-context] Typesetting Classical Arabic Poetry
Hi Idris, thank you much for your answer and also the attached files! I've played around with your module and ran into some problems which may have been due to my inexperiencedness with ConTeXt (rupturing of ligatures, at least with Scheherazade and inconsistent line height). Marco has been helping me though, and it looks like he solved those problems while improving on your module while doing so. He doesn't seem to be done with it yet and perhaps he'll want to reply himself when he is, so I'll leave it at that for now :-) Best regards from Germany, Jonathan ___ 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] Typesetting Classical Arabic Poetry
On 2013–08–26 J. R. Schmid wrote: I've played around with your module and ran into some problems which may have been due to my inexperiencedness with ConTeXt (rupturing of ligatures, at least with Scheherazade and inconsistent line height). Marco has been helping me though, and it looks like he solved those problems while improving on your module while doing so. He doesn't seem to be done with it yet and perhaps he'll want to reply himself when he is, so I'll leave it at that for now :-) I don't do any Arabic typesetting myself, but I wrapped Idris' idea into a nicer interface¹. Since I don't use it myself, I'll leave it like that until I receive feedback or improvement suggestions. There's no documentation yet, as I don't know how useful this is in the first place. In contrast to Latin script, justifying Arabic text is not solely achieved by varying the inter-word space, but also by means of elongating particular glyps². After having read Idris' article³ it seems like this is a font feature. However, I have no idea which particular feature is responsible for the elongation and how many fonts actually have it. I could not find the mentioned Husayni font anywhere, which seems to be able to do this. So for the time being the justification is only done by varying the inter-word space. Arabic is beautiful! Marco ¹ https://github.com/mpfusion/context-arabic-verse ² http://en.wikipedia.org/wiki/Kashida ³ https://www.tug.org/TUGboat/tb31-2/tb98hamid.pdf signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Hidden sections
Hello all, We are writing a magazine with my friends and I am going to typeset it with ConTEXt. It works fine but I ran into the problem with heads. In our magazine articles will be grouped in sections (e.g. poetry, short stories, programming). I need to hide section heads in text but to show them in TOC and page headers. So there will be no „Poetry“ head in text but „Poetry“ will be shown in page header and TOC. Unfortunately, the trick from http://wiki.contextgarden.net/Titles#Flushing_ section_head_data_without_typesetting_them_in_the_text seems to not work for me. Thanks for help. -- Mikoláš Štrajt ___ 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] Hidden sections
Am 23.08.2013 um 08:56 schrieb Mikoláš Štrajt stra...@seznam.cz: Hello all, We are writing a magazine with my friends and I am going to typeset it with ConTEXt. It works fine but I ran into the problem with heads. In our magazine articles will be grouped in sections (e.g. poetry, short stories, programming). I need to hide section heads in text but to show them in TOC and page headers. So there will be no „Poetry“ head in text but „Poetry“ will be shown in page header and TOC. Unfortunately, the trick from http://wiki.contextgarden.net/Titles#Flushing_section_head_data_without_typesetting_them_in_the_text seems to not work for me. Thanks for help. \definehead[test][section] \setuphead [test] [placehead=empty, before=, after=] \setupheadertexts[test] \starttext \showframe \placelist[test] \test{Knuth} \dorecurse{10}{\input knuth\par} \test{Tufte} \dorecurse{10}{\input tufte\par} \test{Zapf} \dorecurse{10}{\input zapf\par} \test{Ward} \dorecurse{10}{\input ward\par} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Undefined \continueifinputfile on presentation
Hi, thanks for your patience... No, it does not work. I just get a blank page with a 1 on it, but no circle. I ran texexec example.tex on texlive 2013. This is very bad. I am giving a talk tomorrow and I was hoping on recycling some slides from a former talk, and it seems I am stuck! Thanks... On Wed, Aug 14, 2013 at 8:24 AM, Aditya Mahajan adit...@umich.edu wrote: On Tue, 13 Aug 2013, Pau wrote: Hi, something very strange is going on... when I set \runMPgraphicstrue on top, texexec seems to enter an long process and takes ~10 minutes to produce a pdf: Why is that?? I don't know. It has been more than five years since I used MkII. Does a minimal file containing just MP graphics work? \starttext \startMPcode draw fullcircle scaled 1cm; \stopMPcode \stoptext Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Undefined \continueifinputfile on presentation
On Wed, 14 Aug 2013, Pau wrote: Hi, thanks for your patience... No, it does not work. I just get a blank page with a 1 on it, but no circle. I ran texexec example.tex on texlive 2013. This is very bad. I am giving a talk tomorrow and I was hoping on recycling some slides from a former talk, and it seems I am stuck! What happens if you add \runMPgraphicstrue or just run your old slides throught MkIV. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Undefined \continueifinputfile on presentation
adding that makes the circle, yes That works out also for my presentation, but it takes ~10 minutes for texexec to create the pdf... How can I run the old slides through mkiv? Thanks again... On Wed, Aug 14, 2013 at 9:54 AM, Aditya Mahajan adit...@umich.edu wrote: On Wed, 14 Aug 2013, Pau wrote: Hi, thanks for your patience... No, it does not work. I just get a blank page with a 1 on it, but no circle. I ran texexec example.tex on texlive 2013. This is very bad. I am giving a talk tomorrow and I was hoping on recycling some slides from a former talk, and it seems I am stuck! What happens if you add \runMPgraphicstrue or just run your old slides throught MkIV. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] How to update context modules; thank you, write-up, and a couple of questions
I asked how to update context modules. Thank you very much to Marco for guidance, and I would like to write up how I used his advice to update a module without first-setup.sh. (I use a ubuntu/PPA installation of context and hence don't use first-setup.sh, which would make updating easy). 1. I downloaded the current version of the module (letter; http://modules.contextgarden.net/dl/t-letter-2013.07.31.zip in this case) from http://modules.contextgarden.net/ 2. I already have a personal /home/me/texmf directory (or would have created it). I put the zipped module update in this directory and unzipped it preserving the subdirectory structure. 3. I set the environment variable TEXMFHOME to my personal texmf directory (export TEXMFHOME=/home/me/texmf) 4. I ran mtxrun --script update --modules=letter to tell context where to look for the new version of the letter module. I could now tell from the output that the updated version of the letter module was installed, and I also confirmed from the log file: resolversmodules 'letter' is loaded interfacemacros processed mkvi file '/home/me/texmf/tex/context/third/letter/base/s-cor-01.mkvi', delta 36 interfacemacros processed mkvi file '/home/me/texmf/tex/context/third/letter/base/s-cor-01.mkvi', delta 0 (before the update, the lines above read /usr/share/texmf... instead of /home/me/texmf...) I hope that this write-up is helpful to others. Please feel free to comment or amend if I've misunderstood. I have several questions: (1) Is it possible to tell which version of a module is installed, i.e., that I am using the 2013.07.31 version of letter? (The version of context appears in the log file but not the version of the module.) (2) After I update of the entire context installation, how will I tell context to again use the /usr/share/texmf version instead of the personal version? (3) Could I have done this installation into /usr/share/texmf and used sudo mtxrun... to make the updated module work on a multi-user system? (4) Where can I put personal files that I would like context to use regularly. For example I have three personal files: env_letter.tex which I include with \environment env_letter; a pdf file with my logo; and a pdf file with a scan of my signature. Is there a standard directory to hold such files, and how do I let context know where to find them, for example, with mtxrun? (It seems like a waste to copy them to a new location every time I want to write a letter). Thank you very much. Yours, Michael ___ 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] Path problems w/ MkIV on Arch Linux
On 8/1/2013 5:59 AM, Matt Gushee wrote: Thanks, Hans ... On Wed, Jul 31, 2013 at 3:32 PM, Hans Hagen pra...@wxs.nl wrote: On 7/31/2013 10:51 PM, Matt Gushee wrote: code, so unless there are serious bugs, I want to use the version included with TexLive. At any rate, that's what I currently have and am trying to use. But I am running into issues with files not being found, e.g.: as a start you could try the distribution from the garden; at least it's a good way to figure out if there is something fishy with your system Okay, I've installed that, and it works fine ... though I had a small glitch along the way that gives me an idea about what the problem may be with the TeXLive version. More about that below. in the reported 'tree' files in the cache you can check if files like context.mkiv are present They weren't. mtxrun --variables mtxrun --expansions Actually, I had already tried that, but I didn't fully understand the output. Here's an example: resolvers | lists | LUAINPUTS resolvers | lists | env: unset resolvers | lists | var: .;$TEXINPUTS;$TEXMF/scripts/context/lua// resolvers | lists | exp: ..;.;{home:texmf,!!selfautoparent:texmf-project,!!selfautoparent:texmf-fonts,!!/usr{/local}/share/texmf,!!selfautoparent:texmf-context,!!selfautoparent:texmf-linux,!!selfautoparent:texmf-dist,!!selfautoparent:texmf-dist}/tex/{context,plain/base,generic}//;{home:texmf,!!selfautoparent:texmf-project,!!selfautoparent:texmf-fonts,!!/usr{/local}/share/texmf,!!selfautoparent:texmf-context,!!selfautoparent:texmf-linux,!!selfautoparent:texmf-dist,!!selfautoparent:texmf-dist}/scripts/context/lua// resolvers | lists | res: ..;.;{/home/matt/texmf,!!./texmf-project,!!./texmf-fonts,!!/usr{/local}/share/texmf,!!./texmf-context,!!./texmf-linux,!!./texmf-dist,!!./texmf-dist}/tex/{context,plain/base,generic}//;{/home/matt/texmf,!!./texmf-project,!!./texmf-fonts,!!/usr{/local}/share/texmf,!!./texmf-context,!!./texmf-linux,!!./texmf-dist,!!./texmf-dist}/scripts/context/lua/ Are the 'selfautoparent' references supposed to be resolved to specific paths? If so, it certainly appears something was wrong here. indeed. these prefixes make trees and setups relocatable so no file database is present or the database has not all files It was the latter, I suspect due to incorrect path settings in the config file. does arch-linux use stock texlive or do they adapt it There are a few, seemingly minor tweaks. There are three patches, all for luatex: poppler-0.20.patch fix-fontforge-encoding.patch luatex-r4449-radical-rule-thickness.patch However, these all seem to deal with small graphics/fonts issues and have no apparent relationship to finding files. There is also a customized texmf.cnf, but NOT a customized texmfcnf.lua. I think that's significant. ok, so maybe there's a difference there I said above that I ran into a minor problem when I installed the Contextgarden package. What happened was that I saw two ../bin directories: /opt/context/bin and /opt/context/tex/texmf-linux/bin . At first I thought /opt/context/bin was meant to be used, so I added both directories to my PATH [/opt/context/bin was first]. But that produced errors. Then I removed /opt/context/bin from PATH, and everything was fine. So I think I see what's going on: since many of the path settings in texmfcnf.lua use 'selfauto*' variables, and correct resolution of those depends on where the executables are located. So I suspect that the default config file that comes with ConTeXt in TeXLive assumes that the executables are ... I'm not sure where, but somewhere other than /usr/bin . I could probably fix that, but it would take me a while to figure out the correct values. the opt/context/bin path is used by the first-setup script (that also does updates) so it should not be in the PATH variable Anyway, at this point I'm seriously thinking about just forgetting TeXLive and using the standalone ConTeXt package. I doubt I'll be using any other TeX packages in the near future, and I'd rather spend time creating documents than tinkering with config files. Is there anything in TeXLive that's particularly useful with ConTeXt, that is not included in the ConTeXt package? the garden distribution is the most complete (although tex live has complete snapshots and can be updated too) ... the advantage of the garden distribution is that you also get the most relevant fonts installed if you only use mkiv (luatex) then you can do an initial install with --engine=luatex and you get less files (it must be done when installing so that updating also uses this minimal setting; pdftex has many -small- font files and xetex big binaries) 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
[NTG-context] Path problems w/ MkIV on Arch Linux
Hello, Folks-- Once again I'm returning to ConTeXt after a long absence [maybe if I just kept using it I wouldn't have these problems?]. I'm trying to get started with MkIV; I don't feel a strong need to have the very latest code, so unless there are serious bugs, I want to use the version included with TexLive. At any rate, that's what I currently have and am trying to use. But I am running into issues with files not being found, e.g.: $ context --make mtxrun | unknown script 'context.lua' or 'mtx-context.lua' Yes, I ran mtxrun --generate first, though I am a bit confused as to whether I need to run that *and* luatools --generate, or just one or the other. Anyway, mtxrun --generate appears to work: $ mtxrun --generate resolvers | resolving | found configuration file '/usr/share/texmf-dist/web2c/texmfcnf.lua' system | lua | compiling '/var/cache/texmf/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5044cbe2799fe389b078f26ff6b9ee8e.lua' into '/var/cache/texmf/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5044cbe2799fe389b078f26ff6b9ee8e.luc' system | lua | dumping '/var/cache/texmf/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5044cbe2799fe389b078f26ff6b9ee8e.lua' into '/var/cache/texmf/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5044cbe2799fe389b078f26ff6b9ee8e.luc' stripped resolvers | caching | 'files' compiled to '/var/cache/texmf/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5044cbe2799fe389b078f26ff6b9ee8e.luc' This shows that mtxrun finds the correct configuration file--as far as I know, /usr/share/texmf-dist/web2c/texmfcnf.lua is the only instance of texmfcnf.lua on my system. And then it uses the value I have set in texmfcnf.lua to cache its output: TEXMFCACHE = /var/cache/texmf, -- not used by context at all TEXMFSYSVAR = $TEXMFCACHE, TEXMFVAR= $TEXMFCACHE, So that's good. Yet the 'context' and 'luatools' commands can't find the lua scripts. Well, I hypothesized that $LUAINPUTS might be wrong, so I tried this: LUAINPUTS=/usr/share/texmf-dist/scripts/context/lua luatools --generate And it seems to work. However: LUAINPUTS=/usr/share/texmf-dist/scripts/context/lua context --make resolvers | resolving | using given filetype 'tex' resolvers | resolving | remembering file 'cont-en.mkiv' resolvers | resolving | using given filetype 'tex' resolvers | resolving | remembering file 'cont-en.tex' resolvers | formats | no tex source file with name 'cont-en' (mkiv or tex) resolvers | formats | using format path '/var/cache/texmf/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex' resolvers | resolving | using given filetype 'tex' resolvers | resolving | remembering file 'cont-nl.mkiv' resolvers | resolving | using given filetype 'tex' resolvers | resolving | remembering file 'cont-nl.tex' resolvers | formats | no tex source file with name 'cont-nl' (mkiv or tex) system | total runtime: 0.239 So now the lua scripts are found, but the context macro files are not. At this point let me describe how my system is set up. As I said above, I'm attempting to use the ConTeXt that comes with TexLive. I've just upgraded TeXLive to the 2013 release, but that does not seem to affect these issues. Anyway, the executables are in /usr/bin; /usr/bin/mtxrun is the complete Lua script (i.e. not a symlink or any sort of stub), which appears to be identical to $TEXMF/scripts/context/stubs/unix/mtxrun. /usr/bin/luatools and /usr/bin/context also appear to be copies of their counterparts in the aforementioned stubs directory. The TeXLive packages for Arch provide the following trees: /usr/share/texmf /usr/share/texmf-dist /usr/share/texmf-config Almost everything important is now in /usr/share/texmf-dist, and there are no ConTeXt-related files in /usr/share/texmf. Accordingly, texmf.cnf contains the following definitions: TEXMFDIST = $TEXMFROOT/texmf-dist TEXMFMAIN = $TEXMFDIST TEXMFLOCAL = /usr/local/share/texmf;/usr/share/texmf So I have updated texmfcnf.lua to contain the following: TEXMFDIST = selfautoparent:texmf-dist, TEXMFMAIN = $TEXMFDIST, TEXMFLOCAL = /usr{/local}/share/texmf, I'm not sure if that syntax is correct, but the definition of TEXMFLOCAL does not appear to affect the issues I'm concerned with here. Also, I should mention that my main reason for defining TEXMFLOCAL as I did (as well as TEXMFCACHE = /var/cache/texmf), is that I feel rather strongly (in keeping with what I understand to be 'Linux best practices') that files which are not managed by the Linux package manager should not be under /usr. But if by chance that is causing problems I don't absolutely have to do it that way. Anyway, somehow important files are not being found. Any suggestions? -- Matt Gushee
Re: [NTG-context] Path problems w/ MkIV on Arch Linux
On 7/31/2013 10:51 PM, Matt Gushee wrote: Once again I'm returning to ConTeXt after a long absence [maybe if I just kept using it I wouldn't have these problems?]. I'm trying to get started with MkIV; I don't feel a strong need to have the very latest code, so unless there are serious bugs, I want to use the version included with TexLive. At any rate, that's what I currently have and am trying to use. But I am running into issues with files not being found, e.g.: as a start you could try the distribution from the garden; at least it's a good way to figure out if there is something fishy with your system there are fundamental differences between tl 2012 and tl 2013 .. did tl 2012 work ok? Yes, I ran mtxrun --generate first, though I am a bit confused as to whether I need to run that *and* luatools --generate, or just one or the other. Anyway, mtxrun --generate appears to work: luatools is not needed; mtxrun --generate does the job (and once you have context installed normally this is done automatically as is format generation) in the reported 'tree' files in the cache you can check if files like context.mkiv are present This shows that mtxrun finds the correct configuration file--as far as I know, /usr/share/texmf-dist/web2c/texmfcnf.lua is the only instance of texmfcnf.lua on my system. And then it uses the value I have set in texmfcnf.lua to cache its output: depending on the version of texlive texmf or texmf-dist is used for files you can run mtxrun --variables mtxrun --expansions to see if there are weird settings (maybe from env vars) TEXMFCACHE = /var/cache/texmf, -- not used by context at all TEXMFSYSVAR = $TEXMFCACHE, TEXMFVAR= $TEXMFCACHE, So that's good. Yet the 'context' and 'luatools' commands can't find the lua scripts. Well, I hypothesized that $LUAINPUTS might be wrong, so I tried this: messing with LUAINPUTS should not be needed LUAINPUTS=/usr/share/texmf-dist/scripts/context/lua luatools --generate And it seems to work. However: LUAINPUTS=/usr/share/texmf-dist/scripts/context/lua context --make . resolvers | resolving | using given filetype 'tex' resolvers | resolving | remembering file 'cont-en.mkiv' resolvers | resolving | using given filetype 'tex' resolvers | resolving | remembering file 'cont-en.tex' resolvers | formats | no tex source file with name 'cont-en' (mkiv or tex) resolvers | formats | using format path '/var/cache/texmf/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex' resolvers | resolving | using given filetype 'tex' resolvers | resolving | remembering file 'cont-nl.mkiv' resolvers | resolving | using given filetype 'tex' resolvers | resolving | remembering file 'cont-nl.tex' resolvers | formats | no tex source file with name 'cont-nl' (mkiv or tex) system | total runtime: 0.239 so no file database is present or the database has not all files So now the lua scripts are found, but the context macro files are not. At this point let me describe how my system is set up. As I said above, I'm attempting to use the ConTeXt that comes with TexLive. I've just upgraded TeXLive to the 2013 release, but that does not seem to affect these issues. Anyway, the executables are in /usr/bin; /usr/bin/mtxrun is the complete Lua script (i.e. not a symlink or any sort of stub), which appears to be identical to $TEXMF/scripts/context/stubs/unix/mtxrun. /usr/bin/luatools and /usr/bin/context also appear to be copies of their counterparts in the aforementioned stubs directory. upgrading texlive means wiping out the old one .. maybe there are traces of older texlives? maybe in some local texmf tree in home? The TeXLive packages for Arch provide the following trees: /usr/share/texmf /usr/share/texmf-dist /usr/share/texmf-config Almost everything important is now in /usr/share/texmf-dist, and there are no ConTeXt-related files in /usr/share/texmf. Accordingly, texmf.cnf contains the following definitions: TEXMFDIST = $TEXMFROOT/texmf-dist TEXMFMAIN = $TEXMFDIST TEXMFLOCAL = /usr/local/share/texmf;/usr/share/texmf So I have updated texmfcnf.lua to contain the following: TEXMFDIST = selfautoparent:texmf-dist, TEXMFMAIN = $TEXMFDIST, TEXMFLOCAL = /usr{/local}/share/texmf, texmflocal is normally not used (afaik) it could relate to the texmf/texmf-dist changes (although we made sure that we adapted the scripts etc to support that rather fundamental change in texlive 2013) I'm not sure if that syntax is correct, but the definition of TEXMFLOCAL does not appear to affect the issues I'm concerned with here. Also, I should mention that my main reason for defining indeed (in the garden distribution we also have trees like texmf-context for context, texmf-fonts for user fonts, texmf-project for project specific files, while texmf-local
Re: [NTG-context] Path problems w/ MkIV on Arch Linux
Thanks, Hans ... On Wed, Jul 31, 2013 at 3:32 PM, Hans Hagen pra...@wxs.nl wrote: On 7/31/2013 10:51 PM, Matt Gushee wrote: code, so unless there are serious bugs, I want to use the version included with TexLive. At any rate, that's what I currently have and am trying to use. But I am running into issues with files not being found, e.g.: as a start you could try the distribution from the garden; at least it's a good way to figure out if there is something fishy with your system Okay, I've installed that, and it works fine ... though I had a small glitch along the way that gives me an idea about what the problem may be with the TeXLive version. More about that below. in the reported 'tree' files in the cache you can check if files like context.mkiv are present They weren't. mtxrun --variables mtxrun --expansions Actually, I had already tried that, but I didn't fully understand the output. Here's an example: resolvers | lists | LUAINPUTS resolvers | lists | env: unset resolvers | lists | var: .;$TEXINPUTS;$TEXMF/scripts/context/lua// resolvers | lists | exp: .;.;{home:texmf,!!selfautoparent:texmf-project,!!selfautoparent:texmf-fonts,!!/usr{/local}/share/texmf,!!selfautoparent:texmf-context,!!selfautoparent:texmf-linux,!!selfautoparent:texmf-dist,!!selfautoparent:texmf-dist}/tex/{context,plain/base,generic}//;{home:texmf,!!selfautoparent:texmf-project,!!selfautoparent:texmf-fonts,!!/usr{/local}/share/texmf,!!selfautoparent:texmf-context,!!selfautoparent:texmf-linux,!!selfautoparent:texmf-dist,!!selfautoparent:texmf-dist}/scripts/context/lua// resolvers | lists | res: .;.;{/home/matt/texmf,!!./texmf-project,!!./texmf-fonts,!!/usr{/local}/share/texmf,!!./texmf-context,!!./texmf-linux,!!./texmf-dist,!!./texmf-dist}/tex/{context,plain/base,generic}//;{/home/matt/texmf,!!./texmf-project,!!./texmf-fonts,!!/usr{/local}/share/texmf,!!./texmf-context,!!./texmf-linux,!!./texmf-dist,!!./texmf-dist}/scripts/context/lua/ Are the 'selfautoparent' references supposed to be resolved to specific paths? If so, it certainly appears something was wrong here. so no file database is present or the database has not all files It was the latter, I suspect due to incorrect path settings in the config file. does arch-linux use stock texlive or do they adapt it There are a few, seemingly minor tweaks. There are three patches, all for luatex: poppler-0.20.patch fix-fontforge-encoding.patch luatex-r4449-radical-rule-thickness.patch However, these all seem to deal with small graphics/fonts issues and have no apparent relationship to finding files. There is also a customized texmf.cnf, but NOT a customized texmfcnf.lua. I think that's significant. I said above that I ran into a minor problem when I installed the Contextgarden package. What happened was that I saw two ../bin directories: /opt/context/bin and /opt/context/tex/texmf-linux/bin . At first I thought /opt/context/bin was meant to be used, so I added both directories to my PATH [/opt/context/bin was first]. But that produced errors. Then I removed /opt/context/bin from PATH, and everything was fine. So I think I see what's going on: since many of the path settings in texmfcnf.lua use 'selfauto*' variables, and correct resolution of those depends on where the executables are located. So I suspect that the default config file that comes with ConTeXt in TeXLive assumes that the executables are ... I'm not sure where, but somewhere other than /usr/bin . I could probably fix that, but it would take me a while to figure out the correct values. Anyway, at this point I'm seriously thinking about just forgetting TeXLive and using the standalone ConTeXt package. I doubt I'll be using any other TeX packages in the near future, and I'd rather spend time creating documents than tinkering with config files. Is there anything in TeXLive that's particularly useful with ConTeXt, that is not included in the ConTeXt package? Anyway, many thanks for your prompt attention! -- Matt Gushee ___ 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] underbraces slightly too narrow (with MkIV 2013.05.28)
On 7/10/2013 2:02 PM, Sanjoy Mahajan wrote: In certain cases, display-mathunderbraces are not quite wide enough. Here's a minimal example: === \starttext \placeformula\startformula \underbrace{15\,\tf cm}_{L} \stopformula \stoptext === Using 2013.05.28 00:36 MKIV (from vanilla TL2013), the left brace tip starts under the vertical bar of the 1, instead of enclosing the serif as well. The right brace tip ends between the last two tines of the m, instead of enclosing the whole m and its serifs. With 2013.04.09 10:38 MKII, the brace tips extend just slightly beyond the 15 cm, which is better. However, they seem slightly too close. As a test, I ran the comparable plain-TeX file through LuaTeX and PDFTeX. == $$ \underbrace{15\,\rm cm}_{L} $$ \bye == The gap between the right brace tip and the text is slightly greater (with either LuaTeX or PDFTeX), and it looks right. (With the 2012.05.30 MKIV on live.contextgarden.net, the result is similar to the Lua/PDFTeX versions, though not identical, and also looks reasonable.) it has to do with the fact that we have opentype math fonts now and these are not compatible what you observe is the fact that we have a discrete number of sizes till we run out of them and go stretchable anyhow, i've now defined then in a different way (ok, some more trickery had to be applied as it's one of these aspects of open type math that still inherits old stuff) so in a next version you can do this: \setupmathstackers[vfenced][hoffset=10pt] is it looks like these commands have built-in \limits, these are now set for \overbrace \overparent \overbracket \overbar \underbrace \underparent \underbracket \underbar \doublebrace \doubleparent \doublebracket \doublebar 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] underbraces slightly too narrow (with MkIV 2013.05.28)
In certain cases, display-mathunderbraces are not quite wide enough. Here's a minimal example: === \starttext \placeformula\startformula \underbrace{15\,\tf cm}_{L} \stopformula \stoptext === Using 2013.05.28 00:36 MKIV (from vanilla TL2013), the left brace tip starts under the vertical bar of the 1, instead of enclosing the serif as well. The right brace tip ends between the last two tines of the m, instead of enclosing the whole m and its serifs. With 2013.04.09 10:38 MKII, the brace tips extend just slightly beyond the 15 cm, which is better. However, they seem slightly too close. As a test, I ran the comparable plain-TeX file through LuaTeX and PDFTeX. == $$ \underbrace{15\,\rm cm}_{L} $$ \bye == The gap between the right brace tip and the text is slightly greater (with either LuaTeX or PDFTeX), and it looks right. (With the 2012.05.30 MKIV on live.contextgarden.net, the result is similar to the Lua/PDFTeX versions, though not identical, and also looks reasonable.) -Sanjoy ___ 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] Failure building standalone
I tried building the standalone but ran into a snag. Here is the error message display when I ran first-setup.sh: sh ./first-setup.sh --modules=all --engine=luatex --context=current receiving incremental file list rsync: change_dir /setup/cygwin (in minimals) failed: No such file or directory (2) sent 4 bytes received 8 bytes 3.43 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1508) [Receiver=3.0.7] mtxrun | unknown script './bin/mtx-update.lua' I take this to mean it can't change to Context's /setup/bin The ... setup/cygwin directories are in my local build directory is in /usr/local/context and not located off of root / Is this because the cygwin build is out-of-date or not supported anymore? Regards ___ 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] Failure building standalone
On Thu, Jun 20, 2013 at 3:18 PM, hwit...@gmail.com wrote: I tried building the standalone but ran into a snag. Here is the error message display when I ran first-setup.sh: sh ./first-setup.sh --modules=all --engine=luatex --context=current receiving incremental file list rsync: change_dir /setup/cygwin (in minimals) failed: No such file or directory (2) sent 4 bytes received 8 bytes 3.43 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1508) [Receiver=3.0.7] mtxrun | unknown script './bin/mtx-update.lua' I take this to mean it can't change to Context's /setup/bin It can change to http://minimals.contextgarden.net/setup/cygwin (or rather: it's rsync equivalent). Someone started providing the binaries, but later gave up. However, recent posts seem to suggest that normal windows binaries should work as well. The ... setup/cygwin directories are in my local build directory is in /usr/local/context and not located off of root / Is this because the cygwin build is out-of-date or not supported anymore? It's kind of not-supported because nobody was willing to inspect how to build the binaries, but a few days ago I got reports that it should work. Can you please try to fetch first-setup.sh once more and try again? 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] Failure building standalone
Thanks Mojca. Re-running the command today got me a little further. Thank you. The problem encounted now is: sh ./first-setup.sh --modules=all --engine=luatex --context=current receiving incremental file list sent 64 bytes received 322 bytes 85.78 bytes/sec total size is 10993585 speedup is 28480.79 env: mtxrun: Permission denied I explicity set the permissions to allow me execute access, but script fails toward the end. But, it looks lke the sh script itself is chaning the perameters. Or else my setup is intentionally tricking me. Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Thu, Jun 20, 2013 at 3:18 PM, hwit...@gmail.com wrote: I tried building the standalone but ran into a snag. Here is the error message display when I ran first-setup.sh: sh ./first-setup.sh --modules=all --engine=luatex --context=current receiving incremental file list rsync: change_dir /setup/cygwin (in minimals) failed: No such file or directory (2) sent 4 bytes received 8 bytes 3.43 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1508) [Receiver=3.0.7] mtxrun | unknown script './bin/mtx-update.lua' I take this to mean it can't change to Context's /setup/bin It can change to http://minimals.contextgarden.net/setup/cygwin (or rather: it's rsync equivalent). Someone started providing the binaries, but later gave up. However, recent posts seem to suggest that normal windows binaries should work as well. The ... setup/cygwin directories are in my local build directory is in /usr/local/context and not located off of root / Is this because the cygwin build is out-of-date or not supported anymore? It's kind of not-supported because nobody was willing to inspect how to build the binaries, but a few days ago I got reports that it should work. Can you please try to fetch first-setup.sh once more and try again? 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 ___
Re: [NTG-context] What is the status of ConTeXt's various test suites?
On 6/10/2013 12:59 PM, Sietse Brouwer wrote: Hi, all, There appear to be a number of test suites in existence. (1) The suite on pragma-ade.com. I suspect this is the one Hans actually uses. http://www.pragma-ade.com/download-1.htm (click on cont-tst.7z) (2) The project on foundry.supelec.fr. Most recent file is 3 years old, and most of them are 6-7 years old, AFAICT. Summary: https://foundry.supelec.fr/projects/contexttest/ Files: https://foundry.supelec.fr/scm/viewvc.php/?root=contexttest This is also the suite described on http://wiki.contextgarden.net/Test_suite (3) The ConTeXt unofficial test suite https://github.com/melmothx/context-unofficial-test-suite I want to update the [[Test suite]] page to make it more accurate. So, I'm asking y'all: any inaccuracies in the text at the bottom of this e-mail? Cheers, Sietse * The test suite at pragma-ade.com is Hans's test suite; he runs this suite before uploading a new beta (most times). To contribute a test to this suite, write it in an e-mail and send it to the mailing list. not true: I add examples when I add new functionality and sometimes turn examples from the mailing list in suite examples. I don't run the suite before a beta (I did when the most recent current was made) but Lukáš runs them every now and then and send me an overview of files that fail at his end (some files that need special fonts are excluded). So, I fix (when needed) issues that show up with the suite. QUESTION: when one downloads and unzips this file in a directory, how does one run it? Lukáš has his own scripts. Here I can run this: mtxrun --script testsuite --compare --oldname=cld-compare-old --newname=cld-compare-new --pattern=**/*.cld mtxrun --script testsuite --compare --oldname=mkiv-compare-old --newname=mkiv-compare-mkiv --pattern=**/*.mkiv mtxrun --script testsuite --compare --oldname=mkvi-compare-old --newname=mkvi-compare-mkiv --pattern=**/*.mkvi mtxrun --script testsuite --compare --oldname=tex-compare-old --newname=tex-compare-new --pattern=**/*.tex but that's probably a different method. As it takes a while I must admit that i only ran it for the current (as I do have more fonts on my system). * The test suite at github is managed by users, especially Marco Patzer. To run the suite, just download it and run `run-suite.pl`. Indeed. That one compares output too I think and it can generate reports as well. * The test suite at foundry.supelec.fr is no longer being used. I don't know. QUESTION: are the tests in it already transferred to Hans or Marco's test suite? If not, is that still something we want to do, or can we just bury this suite entirely? I don't know. I happily leave that to others to sort out. 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] Bibliography: spacing in cite, lettering of repeated years
I am just starting with the bibliography module and ran the following test: \cite[authoryear,left=(yes: ,right=; Rk)][frank98foundations] here, \cite[author][frank98foundations], then \cite[year][frank98foundations], then \cite{otrosina88isozyme,frank91ecological,frank98foundations,abraham82dynamics:} said and then { \cite[otrosina88isozyme]} commented and then \cite{abraham82dynamics:} With my setup, that gave: (yes: Frank 1998; Rk) here, Frank, then 1998, then (Otrosina et al. 1988; Frank 1991c,1998; Abraham and Shaw 1982) said and then (Otrosina et al. 1988) commented and then (Abraham and Shaw 1982) I give more on setup below. My three issues: 1. The space after the period in et al. stretches, which does not look right. I tried modifying the otherstext field in various ways, but could not get a working solution. Any advice? 2. With the compress option on for authoryears, the dates 1991c,1998 are correctly combined in the second set, but I would like a space as 1991c, 1998 instead of 1991c,1998. 3. The citations listed here are all of the ones in the current document. The date 1991c should be 1991, without a letter, because there is neither 1991a nor 1991b. Is there a way to get consistent letter of repeated years, such that no letter is present without repeat, and the letters are given in the order in which they appear in the text? --- I am new to ConTeXt, and started by copying someone else' environment. Here are the relevant parts: \usemodule[bib] \setupbibtex[database={main}] \setuppublications [alternative=apa, sorttype=bbl, refcommand=authoryears, criterium=text, numbering=no] \setupcite [year] [pubsep={, }, lastpubsep={ and }, compress=yes, inbetween={}, left={}, right={}] \setupcite [author] [pubsep={, }, lastpubsep={ and }, compress=yes, inbetween={}, left={}, right={}] \setupcite [authoryears] [pubsep={; }, % otherstext={ et al. }, % cannot get that to work % \c!otherstext={ et al.}, lastpubsep={; }, compress=yes, inbetween={ }, left={(}, right={)}] Steve ___ 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] Installing Scribuntu, for Lua on the wiki
On May 23, 2013, at 2:46 PM, Sietse Brouwer sbbrou...@gmail.com wrote: Hi Taco, I'd like to propose thse three extensions for the wiki: No problem for any of them, but you will have to wait a bit. I am too stressed out right now, after the weekend life should be better. Best wishes, Taco * Scribunto [1], which allows writing wikicode extensions in Lua. I ran into a limitation of the template expansion system the other day. Also, this may come in useful for the command reference. [2] [1] http://www.mediawiki.org/wiki/Extension:Scribunto [2] http://www.mail-archive.com/ntg-context@ntg.nl/msg68550.html * BacktickCode, which allows writing `...` instead of code.../code — rather pleasant when writing about commands. The code needs a slight modification so as to ignore backticks inside texcode and context tags, too; see bottom of this e-mail. http://www.mediawiki.org/wiki/Extension:BacktickCode * Semantic Forms (which requirs Semantic Mediawiki), which allows presenting people with a form when creating certain types of pages. http://www.mediawiki.org/wiki/Extension:Semantic_Forms How does that sound to you? Thank you very much, Sietse Here's the modification to BacktickCode: function backtickCodeParse( $parser, $text, $stripState ) { // We replace '`...`' by 'code.../code' and '\`' by '`'. // Text between pre tags is not modified. $text = preg_replace_callback('/pre(.*?)\/pre/s', function ($match) { return 'pre' . preg_replace('/`/', '\`', $match[1]) . '/pre'; }, $text); +$text = preg_replace_callback('/texcode(.*?)\/texcode/s', function ($match) { +return 'texcode' . preg_replace('/`/', '\`', $match[1]) . '/texcode'; +}, $text); +$text = preg_replace_callback('/context(.*?)\/context/s', function ($match) { +return 'context' . preg_replace('/`/', '\`', $match[1]) . '/context'; +}, $text); $text = preg_replace('/([^]|^)`([^`]*)`/', '$1code$2/code', $text); $text = preg_replace('/\`/', '`', $text); return true; } ___ 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] Installing Scribuntu, for Lua on the wiki
Hi Taco, I'd like to propose thse three extensions for the wiki: * Scribunto [1], which allows writing wikicode extensions in Lua. I ran into a limitation of the template expansion system the other day. Also, this may come in useful for the command reference. [2] [1] http://www.mediawiki.org/wiki/Extension:Scribunto [2] http://www.mail-archive.com/ntg-context@ntg.nl/msg68550.html * BacktickCode, which allows writing `...` instead of code.../code — rather pleasant when writing about commands. The code needs a slight modification so as to ignore backticks inside texcode and context tags, too; see bottom of this e-mail. http://www.mediawiki.org/wiki/Extension:BacktickCode * Semantic Forms (which requirs Semantic Mediawiki), which allows presenting people with a form when creating certain types of pages. http://www.mediawiki.org/wiki/Extension:Semantic_Forms How does that sound to you? Thank you very much, Sietse Here's the modification to BacktickCode: function backtickCodeParse( $parser, $text, $stripState ) { // We replace '`...`' by 'code.../code' and '\`' by '`'. // Text between pre tags is not modified. $text = preg_replace_callback('/pre(.*?)\/pre/s', function ($match) { return 'pre' . preg_replace('/`/', '\`', $match[1]) . '/pre'; }, $text); +$text = preg_replace_callback('/texcode(.*?)\/texcode/s', function ($match) { +return 'texcode' . preg_replace('/`/', '\`', $match[1]) . '/texcode'; +}, $text); +$text = preg_replace_callback('/context(.*?)\/context/s', function ($match) { +return 'context' . preg_replace('/`/', '\`', $match[1]) . '/context'; +}, $text); $text = preg_replace('/([^]|^)`([^`]*)`/', '$1code$2/code', $text); $text = preg_replace('/\`/', '`', $text); return true; } ___ 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] [***SPAM***] unwanted space and error in combination of writebetweenlist and placecontent[criterium= local]
Hi, I ran into one error and one problem during building a part as two columns into the toc. 1. Extra line: I am getting an unwanted extra empty line at the bottom of two columns with an even number of total lines - with an odd number of total lines no extra empty line appears. How can I get rid of it? (see attached example) 2. This error only appears only with \placecontent[criterium=local] in combination with a beginning line of \writebetweenlist; with a global \placecontent and \writebetweenlist it works fine. To reproduce this uncomment the line %\placecontent[criterium=local] in the attached example. (Sorry that I was not able to make the example shorter, I needed some meat to fill the toc for the showcases) Thanks, H. --8 \usemodule[subsub] \definehead[paragraphHead][alternative=myheader,section=section-8,number=no] \defineheadalternative [myheader] [alternative=horizontal, renderingsetup=setup:myheader] \startsetups [setup:myheader] \inouter{\headtextcontent} \stopsetups \setuplist[chapter][style=bold,before=\blank,alternative=b,width=1.5em,color=HeadColor] \setuplist[section][margin=1.5em,width=2em] \setuplist[subsection][margin=3.5em,width=3em] \setuplist[paragraphHead][alternative=c,style=\tfx] \def\startParagraphTocColumns{% \writebetweenlist[paragraphHead][location=here]{\setupnarrower[left=2em]\startnarrower[left]\startcolumns[n=2,distance=0mm,balance=yes]}% \ignorespaces} \def\stopParagraphTocColumns{% \writebetweenlist[paragraphHead][location=here]{\stopcolumns\stopnarrower}% \ignorespaces} \starttext \setupcombinedlist[content][list={chapter,section,subsection,textdividerHead,paragraphHead}] \completecontent \startParagraphTocColumns \dorecurse{5}{\paragraphHead{Hasselt makes headlines} \input tufte} \stopParagraphTocColumns \chapter{Lorem ipsum} \section{Sed eram} \chapter{Lorem ipsum} %\placecontent[criterium=local] \section{Sed eram} \section{Sed eram} \startParagraphTocColumns \dorecurse{5}{\paragraphHead{Hasselt makes headlines} \input tufte} \stopParagraphTocColumns \section{Sed eram} \section{Sed eram} \startParagraphTocColumns \dorecurse{4}{\paragraphHead{Hasselt makes headlines} \input tufte} \stopParagraphTocColumns \section{Sed eram} \startParagraphTocColumns \dorecurse{3}{\paragraphHead{Hasselt makes headlines} \input tufte} \stopParagraphTocColumns \section{Sed eram} \section{Sed eram} \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] font-age vs. font-agl
On 5/7/2013 2:07 PM, Philipp Gesang wrote: ···date: 2013-05-07, Tuesday···from: Wolfgang Schuster··· Am 07.05.2013 um 13:47 schrieb Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de: Hi all, the glyph list is a bit of a conundrum. Context (font-enc.lua) will build its glyph list from font-agl.lua and char-def.lua. Luatex-Fonts reads a file named font-age.lua, which is, however, some 500 character definitions short of the canonical Glyph List from Adobe’s resources [1]. On the other hand, font-age contains these definitions table={ [SF1]=9484, [SF2]=9492, [SF3]=9488, [SF4]=9496, [SF5]=9532, [SF6]=9516, [SF7]=9524, [SF8]=9500, [SF9]=9508, [afii208]=8213, } which Adobe denotes padded as SF01;250C SF02;2514 SF03;2510 SF04;2518 SF05;253C SF06;252C SF07;2534 SF08;251C SF09;2524 afii00208;2015 I’m not sure what to make of these differences and how they came to pass except for some older posts in the list archive [2]. So I’m asking for practical reasons: Are the differences of any significance? The first list uses decimal numbers while adobes list uses hexadecimal numbers. I was asking about the names: “SF1” vs. “SF01”; “afii208” vs. “afii00208”. The values are identical. probably names i ran into at some point 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] Can't make ISBN print in bibliography
On Fri, 19 Apr 2013 07:38:18 +0200 Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On 04/19/2013 01:03 AM, john Culleton wrote: Any suggestions? Using MKIV currently. Use \setuppublicationlayout[book] (explained in the bib manual). Thomas Thanks for trying. I tried modfying one of the standard format files (apa) and ran things again. Still no isbn data. Sometimes it is easier to write a program than to modify someone else's. The task is not that complex. So I will write my own program to extract data from a file of information, perhaps the existing .bbl, file and format the selected data in an accepted TeX format. I'll input that file. It will take less time that I have spent already. And it will work, including the ISBN field. Again, thanks. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: Create Book Covers with Scribus available at 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 ___