[NTG-context] Project setup query
This is a minor issue—to which I expect the answer will be simple, something I should know by now but do not. I am just trying to see if I can streamline a working directory. In Directory01, I have a number of prd_NameXX.tex files as well as a Directory02 which contains .tex files that are to be called on by each one of the prd_Name.tex files. Is there a way to identify the TEX root for each of the common files (in Directory02) so that the file will be processed when I process any one of the prd files in Directory01? I have tried % !TEX root=../prd_\mystring.tex with, e.g., \def\mystring{Name01} in the prd_Name01.tex file, but that does not seem to work—the various .tex files re not found. What puzzles me is that the environment files in Directory02 are found. (That they are identified in a prj file in Directory01 does not seem to be the reason why.) There is no problem if I move the contents of Directory02 into Directory01. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] output file name query
In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each instance. So, in processing a file, how does one go directly from prd_filename.tex to myfilename.pdf rather than to prd_filename.pdf—assuming that it is possible? Any tips or pointers to what I should be reading will be greatly appreciated. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] referencing both real and user pagenumbers
I have a collection of papers printed previously that are to go into a single volume so that, while the papers retain their original pagination and internal cross-referencing, they are also paginated continuously. I have managed to do this using userpagenumbers for the individual papers and realpagenumbers for the volume as a whole. Re cross-referencing: \at and \in etc. return userpagenumbers (which I need). But I also need them (or something like them) to return realpagenumbers as well. Is there a way to do this? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \frac and vertical spacing issue in mathfractions
In the current beta ( LuaMetaTeX, Version 2.06.05), \m{\frac{28}{8\times29}} puts the numerator and denominator too close to the dividing line. Similarly for the variants of \frac and \over. \m{{28}\over{8\times29}} Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] problem with counters (page)
My efforts to set up a new page counter in the footertexts of a book are not proving successful. The following code shows the nature of the problem. \definecounter[volpage][type=page, way=bypage] \starttext \setcounter[volpage][5] \dorecurse{3}{\startTEXpage[offset=2pc] \input ward \blank[medium] \centerline{\red\tfa\rawcounter[volpage]\incrementcounter[volpage]} \stopTEXpage} \stoptext As you will see, the counter is not incremented on pages 2 and 3. I expect that I have missed something important. But what? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with counters (page)
Hi, Taco— Thanks for the suggestion. I have tried it with \incrementcounter before and after the TEXpage. Sadly, neither worked. This mwe is an attempt to capture the failure of the following in processing a product with numerous components: \definecounter[volpage][type=page, way=bypage] \setupfootertexts[text] [] [{\centerline{\raise\NumberRaise\hbox{\rawcounter[volpage]}} \incrementcounter[volpage]}] [{\centerline{\raise\NumberRaise\hbox{\rawcounter[volpage]}} \incrementcounter[volpage]}] [] If your suggestion had worked, I would have had difficulty in applying it. Alan On Wed, Jun 10, 2020 at 3:14 AM Taco Hoekwater wrote: > Hi, > > Incrementing the counter outside of the TEXpage should work. > > Best wishes, > Taco > > > On 9 Jun 2020, at 23:34, Alan Bowen wrote: > > > > My efforts to set up a new page counter in the footertexts of a book are > not proving successful. The following code shows the nature of the problem. > > > > \definecounter[volpage][type=page, way=bypage] > > \starttext > > \setcounter[volpage][5] > > \dorecurse{3}{\startTEXpage[offset=2pc] > > \input ward > > \blank[medium] > > > \centerline{\red\tfa\rawcounter[volpage]\incrementcounter[volpage]} > > \stopTEXpage} > > \stoptext > > > > As you will see, the counter is not incremented on pages 2 and 3. > > > > I expect that I have missed something important. But what? > > > > Alan > > > ___ > > If your question is of interest to others as well, please add an entry > to the Wiki! > > > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > wiki : http://contextgarden.net > > > ___ > > Taco Hoekwater > Elvenkind BV > > > > > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with counters (page)
Thanks, Taco! That works in my mwe. I added way=bytext in my env file and the output is just what I need. Best, Alan On Wed, Jun 10, 2020 at 9:44 AM Taco Hoekwater wrote: > Hi Alan, > > Sorry, I should have actually tried your MWE. You do *not* want > way=bypage here, as that resets the counter to one at the start > of the next page (it is useful for footnotes that are numbered > per-page, but not for actual page counters). > > > \definecounter[volpage][type=page] > \starttext > \setcounter[volpage][5] > \dorecurse{3}{\startTEXpage[offset=2pc] > \input ward > \blank[medium] > > \centerline{\red\tfa\rawcounter[volpage]\incrementcounter[volpage]} > \stopTEXpage} > \stoptext > > > > On 10 Jun 2020, at 15:05, Alan Bowen wrote: > > > > Hi, Taco— > > > > Thanks for the suggestion. I have tried it with \incrementcounter before > and after the TEXpage. Sadly, neither worked. > > > > This mwe is an attempt to capture the failure of the following in > processing a product with numerous components: > > > > \definecounter[volpage][type=page, way=bypage] > > \setupfootertexts[text] > > [] > > [{\centerline{\raise\NumberRaise\hbox{\rawcounter[volpage]}} > > \incrementcounter[volpage]}] > > [{\centerline{\raise\NumberRaise\hbox{\rawcounter[volpage]}} > > \incrementcounter[volpage]}] > > [] > > > > If your suggestion had worked, I would have had difficulty in applying > it. > > > > Alan > > > > On Wed, Jun 10, 2020 at 3:14 AM Taco Hoekwater > wrote: > > Hi, > > > > Incrementing the counter outside of the TEXpage should work. > > > > Best wishes, > > Taco > > > > > On 9 Jun 2020, at 23:34, Alan Bowen wrote: > > > > > > My efforts to set up a new page counter in the footertexts of a book > are not proving successful. The following code shows the nature of the > problem. > > > > > > \definecounter[volpage][type=page, way=bypage] > > > \starttext > > > \setcounter[volpage][5] > > > \dorecurse{3}{\startTEXpage[offset=2pc] > > > \input ward > > > \blank[medium] > > > > \centerline{\red\tfa\rawcounter[volpage]\incrementcounter[volpage]} > > > \stopTEXpage} > > > \stoptext > > > > > > As you will see, the counter is not incremented on pages 2 and 3. > > > > > > I expect that I have missed something important. But what? > > > > > > Alan > > > > ___ > > > If your question is of interest to others as well, please add an entry > to the Wiki! > > > > > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > > > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > > wiki : http://contextgarden.net > > > > ___ > > > > Taco Hoekwater > > Elvenkind BV > > > > > > > > > > > ___ > > 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://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > 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://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > wiki : http://contextgarden.net > > > ___ > > Taco Hoekwater > Elvenkind BV > > > > > > ___ > If your question is of interest to others as well, please add an entry to > the
Re: [NTG-context] new version
The problem with vertical spacing in \frac and \over is fixed. Many thanks, Hans! Alan On Wed, Jun 10, 2020 at 4:03 AM Hans Hagen wrote: > Hi, > > I uploaded a new version. There have been no changes to the typesetting > machinery although we're still in the process of finetuning some updated > low level macros. There was a fix in the font machinery (thanks to Kai) > but that will probably go unnoticed as the issue has been there for years. > > Now, that doesn't mean that nothing has been changed. First of all there > is a new data related mechanism. After Wolfgang had updated the > definition files it became official. It was on the agenda for a while > but finally a nice solution surfaced. > > The new thing is luatables that obey grouping. Normally what you do at > the lua end is kind of global, but there can be cases where you really > want it to behave like tex: obeying \bgroup/\egroup, { } etc. The > examples given below show that you can create them at the tex end and > access them in tex as well as lua. > > \starttext > > \dorecurse {100} { > \setdatavalue{#1}{#1} > } > > \start \tttf \darkred \raggedright \dorecurse {100} { > #1=\scratchcounter\getdatavalue{#1}\the\scratchcounter > } \par \stop \blank > > \start \tttf \darkgreen \raggedright \dorecurse {100} { > #1=\thedatavalue{#1}% > } \par \stop \blank > > \bgroup \tttf > \newluatable\testtable > \setluatable\testtable{ foo = 123, bar = "456", oof = "rab" } >% \inspectluatable\testtable > \darkblue > foo = \getfromluatable\testtable{foo}\par > bar = \getfromluatable\testtable{bar}\par > oof = \getfromluatable\testtable{oof}\blank > \bgroup > \useluatable\testtable > \setluatable\testtable{ foo = 123123, bar = "456456" } >% \inspectluatable\testtable > \darkmagenta > foo = \getfromluatable\testtable{foo}\par > bar = \getfromluatable\testtable{bar}\par > oof = \getfromluatable\testtable{oof}\blank > \startluacode > local t = context.luatables.get("testtable") > print(t.foo,t.bar,t.oof) > \stopluacode > \egroup > \darkyellow > foo = \getfromluatable\testtable{foo}\par > bar = \getfromluatable\testtable{bar}\par > oof = \getfromluatable\testtable{oof}\blank > \startluacode > local t = context.luatables.get("testtable") > print(t.foo,t.bar,t.oof) > \stopluacode >% \inspectluatable\testtable > \egroup > > \bgroup \tttf > \newluatable\moretable > \setluatable\moretable{ 1, "foo" } > \darkblue > [1] = \getfromluatable\moretable{1}\par > [2] = \idxfromluatable\moretable 2 \blank > \bgroup > \useluatable\moretable > \setluatable\moretable{ foo = 123123, bar = "456456" } > \darkmagenta > [1] = \getfromluatable\moretable{1}\par > [2] = \idxfromluatable\moretable 2 \blank > \startluacode > local t = context.luatables.get("moretable") > print(t[1],t[2]) > \stopluacode > \egroup > \darkyellow > [1] = \getfromluatable\moretable{1}\par > [2] = \idxfromluatable\moretable 2 \blank > \startluacode > local t = context.luatables.get("moretable") > print(t[1],t[2]) > \stopluacode > \egroup > > \stoptext > > This is only available in lmtx (until i see a real reason to cook up an > alternative for mkiv, which is unlikely as no context code depends on > this being available, at least not now). The datavalue macro you see > there can be used to create massive amounts of numeric variable > independent of counters, not that we really need it, but it was very > cheap to implement. > > At the engine level there also have been some changes but these should > not be visible for users. We just mention: > > - extensions to the macro definition and expansion mechanisms (for > instance optional arguments, optional delimiters, and silent error > recovery; there will be some explanation in the evenmore document and at > some point - when stable - in the manual) .. this permits some cleaner > low level code; only things were done that had no impact on performance > (as macro definition and expansion is used a lot) and didn't make the > code messy (it actually became cleaner) > > - some additional substring (ok, tex has no string, just tokens) parsing > capabilities with optional tokens, which again permits a bit cleaner low > level code > > - a slightly reorganized handling of tokens (one of tex's basic data > structures) in the lua token interface so that we get a more meaningful > and robust subsystem (basically getting rid of funny numbers) ... this > also will be discussed in an evenmore chapter .. not that users need it > (i think) > > - as a side effect (or necessity) some low level recoding (and > abstraction) had to happen but as far as we can see it works ok (i admit > it was a slow, tedious job
[NTG-context] fatal error with latest lmtx
Hi— I have just installed (clean) the latest lmtx. Processing \starttext Hello world! \stoptext fails with this error message: Fatal Error > Your format does not match the base files! Format Version > 2020.08.14 18:28 LMTX Files Version > 2020.08.14 18:27 Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] latest lmtx
When I process \starttext Hello, world! \stoptext I get the following error message: /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file or directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun resolvers | formats | executing runner 'run luametatex format': /Applications/LuaMetaTeX/tex/texmf-osx-64/bin/luametatex --jobname="Version" --fmt=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui cont-yes.mkiv --c:autogenerate --c:currentrun=1 --c:file-line-error --c:fulljobname="./Version.tex" --c:input="./Version.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="1" --c:texmfbinpath="/Applications/LuaMetaTeX/tex/texmf-osx-64/bin" mtx-context | fatal error: return code: 11 There is definitely a file /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine. Previous versions of lmtx process without any problem. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest lmtx
No, Hraban, and I have never had a directory /Users/bowen1/context-osx-64. Does Luametatex 2.10 (Context 2020.09.03) now require one? Alan On Sat, Sep 5, 2020 at 10:26 AM Henning Hraban Ramm wrote: > > > > Am 05.09.2020 um 16:08 schrieb Alan Bowen : > > > > When I process > > \starttext > > Hello, world! > > \stoptext > > I get the following error message: > > > > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file > or directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun > > > > resolvers | formats | executing runner 'run luametatex format': > /Applications/LuaMetaTeX/tex/texmf-osx-64/bin/luametatex > --jobname="Version" > --fmt=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt > --lua=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui > cont-yes.mkiv --c:autogenerate --c:currentrun=1 --c:file-line-error > --c:fulljobname="./Version.tex" --c:input="./Version.tex" --c:kindofrun=1 > --c:maxnofruns=9 --c:synctex="1" > --c:texmfbinpath="/Applications/LuaMetaTeX/tex/texmf-osx-64/bin" > > mtx-context | fatal error: return code: 11 > > > > There is definitely a file > > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine. > > Previous versions of lmtx process without any problem. > > The message doesn’t ask for the engine file, but for the mtxrun script > mentioned in line 9 of the engine. > > Is /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun still valid in > your installation? > > Hraban > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest lmtx
Hi, Otared— I had #!/bin/zsh #set path= ($path /usr/texbin /Applications/LuaMetaTeX/tex/texmf-osx-64/bin) export PATH=~/context-osx-64/tex/texmf-osx-64/bin:~/context-osx-64/bin:~/context-osx-64/tex/texmf-osx-64/bin ~/context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --directives="system.showerror" --autopdf "$1" --purgeall but on reading your response and checking my LuaMetaTeX directory, I changed the 2nd line to export PATH=~/tex/texmf-osx-64/bin:~/context-osx-64/bin:~/context-osx-64/tex/texmf-osx-64/bin and the files now process as they should. It is odd that it worked before with the mistaken entry. Many thanks to you and Hraban for your help! Alan On Sat, Sep 5, 2020 at 11:46 AM Otared Kavian wrote: > Hi Alan, > > Where did you install LuaMetaTeX? > For instance my LuaMetaTeX.engine contains the following three lines: > > #!/bin/bash > > export > PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin > > /context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script > context --directives="system.showerror" --autopdf "$1" --purgeall > > where I am invoking the file > /context-osx-64/tex/texmf-osx-64/bin/mtxrun > which is in the folder context-osx-64 where I installed LuaMetaTeX by > running > sh install.sh > > Therefore your LuaMetaTeX.engine file should contain the correct path. > > Best regards: Otared > > > On 5 Sep 2020, at 17:19, Alan Bowen wrote: > > > > No, Hraban, and I have never had a directory > /Users/bowen1/context-osx-64. Does Luametatex 2.10 (Context 2020.09.03) now > require one? > > > > Alan > > > > On Sat, Sep 5, 2020 at 10:26 AM Henning Hraban Ramm > wrote: > > > > > > > Am 05.09.2020 um 16:08 schrieb Alan Bowen : > > > > > > When I process > > > \starttext > > > Hello, world! > > > \stoptext > > > I get the following error message: > > > > > > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such > file or directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun > > > > > > resolvers | formats | executing runner 'run luametatex format': > /Applications/LuaMetaTeX/tex/texmf-osx-64/bin/luametatex > --jobname="Version" > --fmt=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt > --lua=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui > cont-yes.mkiv --c:autogenerate --c:currentrun=1 --c:file-line-error > --c:fulljobname="./Version.tex" --c:input="./Version.tex" --c:kindofrun=1 > --c:maxnofruns=9 --c:synctex="1" > --c:texmfbinpath="/Applications/LuaMetaTeX/tex/texmf-osx-64/bin" > > > mtx-context | fatal error: return code: 11 > > > > > > There is definitely a file > > > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine. > > > Previous versions of lmtx process without any problem. > > > > The message doesn’t ask for the engine file, but for the mtxrun script > mentioned in line 9 of the engine. > > > > Is /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun still valid > in your installation? > > > > Hraban > > > ___ > > 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://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > 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://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > wiki : http://contextgarden.net > > > ___ > > > ___ > If your question is of interest to others as well, please add an entry to >
[NTG-context] numbering pages included by \copypages
I need to include several documents in a single paginated file. Treating the source file (.tex) of each document as a component file in a .prd file is one way to go. But I was wondering if it might be possible to do get the same result using the .pdf files of each document instead. \copypages is promising: it includes the. pdf files and the counter in the resultant .prd file is correct. But what I still have to get is the page number on all pages of the included .pdf files except the first page in each. I looked at \startpagefigure but that would be a very cumbersome way to go since there over 350 pages to include, given that it handles only one page at a time. I hope that this makes sense. Any suggestions or pointers will be most welcome. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] numbering pages included by \copypages
After further testing guided by Hans’ suggestion, I now have \setupexternalfigures[location=default] \setuplayer[preset=rightbottom, method=overlay]{} \setuppagenumbering[color=darkmagenta] \starttext \getfiguredimensions[HannahBW.pdf] \dorecurse{\noffigurepages}{ \startTEXpage[pagestate=start] \layeredtext[] [boffset=3pc, roffset=3pc] {\darkmagenta\subpagenumber} {\externalfigure[HannahBW.pdf][page=#1]} \stopTEXpage } \stoptext which works, though it would arguably be better if there is a way to prevent the subpage number on the first page of every included file. Alan On Fri, Sep 25, 2020 at 6:12 AM Hans Hagen wrote: > On 9/25/2020 5:53 AM, Aditya Mahajan wrote: > > On Fri, 25 Sep 2020, Wolfgang Schuster wrote: > > > >> Aditya Mahajan schrieb am 24.09.2020 um 23:48: > >>> On Thu, 24 Sep 2020, Alan Bowen wrote: > >>>> Any suggestions or pointers will be most welcome. > >>> > >>> See if this gives you any ideas > >>> > >>> https://adityam.github.io/context-blog/post/include-multi-page-pdf/ > >> > >> When both document have the same size you can replace TeXpage with a > "page" > >> layout. > >> > >> \startlayout[page] > >> \dorecurse{\noffigurepages}{\externalfigure[...][page=\recurselevel]} > >> \stoplayout > > > > Thanks for the comment (also I didn't know about \startlayout .. > \stoplayout). Unfortunately, in my use case, the paper sizes may not be the > same.. I am typically attaching published journal articles and some are > published on letter paper and some on A4. > > \setupexternalfigures[location=default] > > \starttext > > \dorecurse {5} {Before #1\page} > > \getfiguredimensions[oeps.pdf] > > \startsetups SomeNumber > \vbox to \overlayheight \bgroup > \vss > \hbox to \overlaywidth \bgroup > \hss > \bfd \red You can figure it out: \pagenumber > \hss > \egroup > \vss > \egroup > \stopsetups > > \defineoverlay[SomeNumber][\setups{SomeNumber}] > > \dorecurse {\noffigurepages} { > \startTEXpage[pagestate=start] > \externalfigure[oeps.pdf][page=#1,background=SomeNumber]% > \stopTEXpage > } > > \dorecurse {5} {After #1\page} > > \stoptext > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] page counter problem
he page counter does not increase in the first iteration an PDf inclusion but seems to work properly after that. Have attached a sample file (69K) that will serve to show the problem—at least, on my machine. \starttext \setupexternalfigures[location=default] \setuplayer[preset=middlebottom, method=overlay]{} \setcounter[userpage][101] \noheaderandfooterlines \getfiguredimensions[HannahBW.pdf] \dorecurse{\noffigurepages} {\vbox to \paperheight {\vskip-\dimexpr\headerheight+\headerdistance+\topspace\relax \hbox to \hsize {\hskip-\backspace \layeredtext[] [boffset=3pc] {\red\userpagenumber} {\externalfigure[HannahBW.pdf][page=#1]}% \hss}% \vss} } \dorecurse{\noffigurepages} {\vbox to \paperheight {\vskip-\dimexpr\headerheight+\headerdistance+\topspace\relax \hbox to \hsize {\hskip-\backspace \layeredtext[] [boffset=3pc] {\red\userpagenumber} {\externalfigure[HannahBW.pdf][page=#1]}% \hss}% \vss} } \stoptext HannahBW.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] no frontmatter head on recto page
Thank you, Taco, for the fix *and* the helpful explanation. The file now works (and I can now put this project to bed!) Alan On Wed, Sep 30, 2020 at 7:44 AM Taco Hoekwater wrote: > > > > On 30 Sep 2020, at 11:46, jbf wrote: > > > > For some reason that I cannot work out, the recto page header is not > appearing in frontmatter sections like Foreword. It is important to note > that for this item I am using: > > > > \definehead > > [foreword] [chapter]… > > ‘chapter' suppresses the header by default on the first page. > > at a guess: > > \setuphead[foreword][header=start] > > Best wishes, > Taco > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] no frontmatter head on recto page
My apologies for the mixed message. A. On Wed, Sep 30, 2020 at 8:56 AM Alan Bowen wrote: > Thank you, Taco, for the fix *and* the helpful explanation. > > The file now works (and I can now put this project to bed!) > > Alan > > On Wed, Sep 30, 2020 at 7:44 AM Taco Hoekwater wrote: > >> >> >> > On 30 Sep 2020, at 11:46, jbf wrote: >> > >> > For some reason that I cannot work out, the recto page header is not >> appearing in frontmatter sections like Foreword. It is important to note >> that for this item I am using: >> > >> > \definehead >> > [foreword] [chapter]… >> >> ‘chapter' suppresses the header by default on the first page. >> >> at a guess: >> >> \setuphead[foreword][header=start] >> >> Best wishes, >> Taco >> >> >> ___ >> If your question is of interest to others as well, please add an entry to >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] page counter problem
Thank you, Taco, for the fix *and* the helpful explanation. The file now works (and I can now put this project to bed!) Alan On Wed, Sep 30, 2020 at 7:38 AM Taco Hoekwater wrote: > Hi Alan, > > > On 30 Sep 2020, at 12:50, Alan Bowen wrote: > > > > he page counter does not increase in the first iteration an PDf > inclusion but seems to work properly after that. Have attached a sample > file (69K) that will serve to show the problem—at least, on my machine. > > It is not the iteration itself. Try with another pdf with more than 2 > pages and you > will see that it happens in the first page(s). > > The problem is that you are not giving ConTeXt a fair chance to update the > page number, > because a series of \vbox to \paperheight {}’s cannot cleanly be broken > into separate > pages. The solution is to use > > \dorecurse{\noffigurepages} >{\vbox to \paperheight > > {\vskip-\dimexpr\headerheight+\headerdistance+\topspace\relax > \hbox to \hsize > {\hskip-\backspace > \layeredtext[] > [boffset=3pc] > {\red\userpagenumber} > {\externalfigure[HannahBW.pdf][page=#1]}% > \hss}% > \vss}\page > } > > where the extra \page command allows ConTeXt to properly process the page > breaks. > > Best wishes, > Taco > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] oldstyle numerals in STIX Two Math
I am trying to get the STIX Two fonts to display oldstyle numerals. I have the oldstyle numerals in STIX Two Text, the problem is the math font. So far, my mwe is: \definefontfamily[mainface][rm][STIX Two Text][] %onum=yes does not seem to work \definefontfamily[mainface][mm][STIX Two Math][] \definefontfeature[f:oldstyle][onum=yes] \setupbodyfont[mainface, 18pt] \addfeature{f:oldstyle} \starttext 123456789 \blank[big] $\sqrt{2} + 1234$ \stoptext Any pointers will be greatly appreciated. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] oldstyle numerals in STIX Two Math
Thanks, Hraban.That’s a helpful start I guess the challenge now is to get STIX Two Math to use the oldstyle numerals in STIX Two Text (by adapting code that Wolgang gave me for using oldstyle numerals with TexGyre Math). When I ran mtxrun --script fonts --list --info stixtwotext, I got mtx-fonts | onum cyrl dflt mtx-fonts |dflt dflt mtx-fonts |grek dflt mtx-fonts |latn dflt rom trk Sadly, I have no idea what this means or how it might help in identifying the Unicode range of the oldstyle numerals in STIX Two Text. And that is something I need to take advantage of Wolfgang’s code. Alan On Wed, Oct 21, 2020 at 10:31 AM Henning Hraban Ramm wrote: > > > > Am 21.10.2020 um 15:59 schrieb Alan Bowen : > > > > I am trying to get the STIX Two fonts to display oldstyle numerals. > > > > I have the oldstyle numerals in STIX Two Text, the problem is the math > font. > > > > So far, my mwe is: > > \definefontfamily[mainface][rm][STIX Two Text][] %onum=yes does not seem > to work > > \definefontfamily[mainface][mm][STIX Two Math][] > > \definefontfeature[f:oldstyle][onum=yes] > > > > \setupbodyfont[mainface, 18pt] > > \addfeature{f:oldstyle} > > > > \starttext > > 123456789 > > \blank[big] > > $\sqrt{2} + 1234$ > > \stoptext > > > > Any pointers will be greatly appreciated. > > mtxrun --script fonts --list --info stixtwomath > > shows that STIX Two Math doesn’t provide the onum feature. > > Hraban > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] issue with LMTX and itemize
Hi, Pablo— Shouldn’t it be either \item a or \startitem a\stopitem ? Alan On Sat, Nov 7, 2020 at 9:52 AM Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \starttext > \startitemize > \item a\stopitem > \stopitemize > \stoptext > > With latest LMTX from today, I don’t get any item marker. > > Could you confirm the issue? > > Many thanks for your help, > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] issue with LMTX and itemize
and on mine with today’s standalone. A. On Sat, Nov 7, 2020 at 10:27 AM Pablo Rodriguez wrote: > On 11/7/20 4:11 PM, Alan Bowen wrote: > > Hi, Pablo— > > > > Shouldn’t it be either > > \item a > > or > > \startitem a\stopitem > > ? > Hi Alan, > > of course, the sample reads: > > \starttext > \startitemize > \startitem a\stopitem > \stopitemize > \stoptext > > But the issue still happens on my LMTX installation. > > Many thanks for your help, > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Scheherazade New loading issue
Though Scheherazade New font loads properly with the today’s LMTX, I cannot get it to load with LMTX from 2020.09.20 (which I must stay with for now because the latest one has its own complaints about my files). \definefallbackfamily[mainface][][Scheherazade New] [range=arabic] \definefontfamily[mainface][rm][STIX Two Text] \setupbodyfont [mainface, 24pt] \starttext Arabic—ؼ {\bf ؼ} \stoptext with ConTeXt ver: 2020.09.20 23:02 mkiv lua stats > loaded fonts: 2 files: stix2text-bold.otf, stix2text-regular.otf with ConTeXt ver: 2020.11.07 mkiv lua stats > loaded fonts: 4 files: stix2text-bold.otf, stix2text-regular.otf, scheherazadenew-bold.ttf, scheherazadenew-regular.ttf I should add that the old Sheherazade font works well with v. 2020.09.20. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Scheherazade New loading issue
Thanks, Pablo. I ran the script but it made no difference. Scheherazade New was loaded with ver: 2020.11.07 12:47 but not with ver: 2020.09.20 23:02 The console file for the latter shows: selectfont > the requested fallback font 'Scheherazade New' for typeface 'mainface' style 'rm' was ignored because no files where found. And yet Scheherazade New sits beside Scheherazade (which 2020.09.20 finds) in ~/Fonts. I fixed my definition of \definefallbackfamily—thanks for catching that. Alan On Sat, Nov 7, 2020 at 1:25 PM Pablo Rodriguez wrote: > On 11/7/20 6:58 PM, Alan Bowen wrote: > > Though Scheherazade New font loads properly with the today’s LMTX, I > > cannot get it to load with LMTX from 2020.09.20 (which I must stay with > > for now because the latest one has its own complaints about my files). > > > > \definefallbackfamily[mainface][][Scheherazade New] > > [range=arabic] > > \definefontfamily[mainface][rm][STIX Two Text] > > \setupbodyfont [mainface, 24pt] > > > > \starttext > > Arabic—ؼ > > > > {\bf ؼ} > > \stoptext > > Hi Alan, > > I have just downloaded and compiled your sample: > > system > ConTeXt ver: 2020.09.20 23:02 LMTX fmt: 2020.11.7 > int: english/english > [...] > mkiv lua stats > loaded fonts: 4 files: scheherazadenew-bold.ttf, > scheherazadenew-regular.ttf, stix2text-bold.otf, stix2text-regular.otf > > Please, run "mtxrun --script cache --erase && mtxrun --generate" and I > think the new compilation will be fine. It seems to be that your > previous ConTeXt version cannot find fonts installed later. > > BTW, "\definefallbackfamily[mainface][][Scheherazade New]" should read > "\definefallbackfamily[mainface][rm][Scheherazade New]". But it doesn’t > affect your issue. > > Just in case it helps, > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] issue with \cite in ConTeXt ver: 2020.12.22 22:14 LMTX fmt: 2020.12.22
\cite no longer works as expected MWE: \startsetups[tightspace] \spaceskip 0.5\interwordspace plus.5\interwordstretch minus \interwordshrink \stopsetups \def\dostartbibitem[#1][#2]% {\doifsomethingelse{#2}% {\startBibItem[reference={#1},title={#2}]}% {\startBibItem[reference={#1},title={#1}]}% } \def\startbibitem{\dodoubleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \definereferenceformat [cite] [type=title,left={},right={}] \definereferenceformat [bibpage] [type=page] starttext Now \cite[test 2020] on page \page \startbibitem[test 2020] \input ward \stopbibitem \stoptext Instead of “Now test 2020 on page”, I get “Now 248>BibItem:referencetext on page” and no sign of an internal link. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] text alignment issue
In the last few versions of luametatex standalone, paragraphs that were once justified now appear ragged right. My insertions of \setupparagraphs[align=wide/normal/yes] and \setupalign[wide/normal/yes] have had no effect. Is there some new coding that is needed to get justified text? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] text alignment issue
Fixed in today’s standalone. Many thanks—and best wishes for 2021!! Alan On Wed, Dec 30, 2020 at 10:51 AM Alan Bowen wrote: > In the last few versions of luametatex standalone, paragraphs that were > once justified now appear ragged right. My insertions of > \setupparagraphs[align=wide/normal/yes] and \setupalign[wide/normal/yes] > have had no effect. Is there some new coding that is needed to get > justified text? > > Alan > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \startblockquote…\stopblockquote issue
In the latest standalone ( ConTeXt ver: 2020.12.30 16:45 LMTX fmt: 2020.12.30), \startblockquote and \stopblockquote do not work when I use the key, method=font, or include \setupquotation[method=font]. MWE %\setupquotation[method=font] \setupdelimitedtext[blockquote][ % method=font, before={\blank[small,fixed] \setupnarrower[left=1.5pc,right=0pc] \startnarrower[left,right] \noindentation\switchtobodyfont[9pt]}, after={\par\stopnarrower \blank[small,fixed] \noindentation},] \starttext \input ward \startblockquote \input ward \stopblockquote \stoptext I am attempting to get protrusion of the left double quotation mark into the left margin when possible at the start of a line and do not understand why my block quotations are not appearing as expected. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \setupcolors and \underbar bug?
The mwe \starttext \setupcolors[state=stop] {\darkred Test} \underbar{Here} \stoptext fails: “Here” does not appear above the underbar (which has the correct length). When \setupcolors[state=stop] is commented out, the file runs as it should. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] yesterday’s version of luametatex needed
I need to reinstall luametatex version 2.08.13. Is there a page somewhere describing how to do this? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] outputting components in their own PDFs
I have a project-component setup and need to produce a single PDF file containing all the components as well as a PDF file for each component. The single file is easy. Is there a way to automate the generation of the PDF files for the individual components? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] outputting components in their own PDFs
Denis— Many thanks for your explanation. It works very well in my separating components (chapters) and is going to save me a lot of time. Thanks too to Hans. And my apologies for missing the earlier discussion: my internet access and email has been very flakey of late and I know that I have lost messages. In fact, I found Denis’s reply and the earlier exchange by going to the list Archive. All best, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] error with recent standalone (luametatex)
Files that ran well with ver ConTeXt ver: 2021.02.20 16:50 LMTX and earlier now fail with the following message: tex error > tex error on line 74 in file c_Review-0201-01_Bojowald.tex: lua error: run callback [36]: [string "/Applications/LuaMetaTeX/tex/texmf-context/te..."]:1343: attempt to concatenate a boolean value (local 'v') stack traceback: [string "/Applications/LuaMetaTeX/tex/texmf-context/te..."]:1343: in local 'w' [string "/Applications/LuaMetaTeX/tex/texmf-context/te..."]:1358: in function <[string "/Applications/LuaMetaTeX/tex/texmf-context/te..."]:1353> 64 \startparagraph 65 Some facts are compiled in the synthesis. The representations and inscriptions in the stairwells and kiosk show parallels to other cult buildings [702]. In several cases there are allusions to the ritual Opening of the Mouth [702]. 66 \stopparagraph 67 68 \startparagraph 69 In the synopsis, selected texts are compared [711–725]. The parallels are clearly arranged. 70 \stopparagraph 71 72 \startparagraph 73 The book contains bibliography [737–765], indices [767–809], tables [1a–41b], and color tables [1–7]. 74 >> \stopparagraph Is this a bug or has something changed that I am uns=aware of yet? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] PDF custom properties
I should like to set the PDf properties so that the Document Info panel has Editor ... Title ... Subtitle ... Subject ... Keyword The problem is that currently \setupinteraction[subtitle=text,] goes to Subject and that there are no keys to get output labelled Subject or Editor. I have experimented with \pdfbackendsetinfo{ key }{ Text } but, so far, unsuccessfully. If this is possible,any suggestions about how to do it will be most welcome. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF custom properties
Hi, Pablo— My inquiry concerns the possibility of getting *custom* properties that I could specify using \setupinteraction in a way that would output in the PDF file (under Document Info or Document Properties) as: Editor (not Author) editors names Title title of work Subtitle (not Subject)the subtitle of the work Subject the subject of the work Keywordkeywords See https://wiki.contextgarden.net/Interaction PDF Header and Custom Properties. Thanks for the PDF spec file. I will check it out for any hints about non-standard metadata. Alan On Tue, Mar 23, 2021 at 4:33 PM Pablo Rodriguez wrote: > On 3/23/21 8:25 PM, Alan Bowen wrote: > > I should like to set the PDf properties so that the Document Info panel > has > > Editor ... > > Title ... > > Subtitle ... > > Subject ... > > Keyword > > > > The problem is that currently > > \setupinteraction[subtitle=text,] goes to Subject and that there are no > > keys to get output labelled Subject or Editor. > > Sorry, Alan, I’m afraid I don’t get your point. > > \setupinteraction > [state=start, > title=Title, > author=Author, > subtitle=Subject, > keyword=Keyword] > \starttext > \null > \stoptext > > According to the PDF spec > ( > https://www.adobe.com/content/dam/acom/en/devnet/pdf/PDF32000_2008.pdf#nameddest=G13.2348400 > ), > there is no editor field in standard metadata (unless you mean creator > or producer). > > Just in case it might help, > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF custom properties
Many thanks, Pablo. That does indeed help. I now have the metadata that I want. And, as I have discovered, I will need to get PDFPen Pro to access more than just the Document info panel. Until then, I will rely on Acrobat Reader to ensure that it is available. Very best, Alan On Wed, Mar 24, 2021 at 2:57 PM Pablo Rodriguez wrote: > On 3/23/21 10:12 PM, Alan Bowen wrote: > > Hi, Pablo— > > > > My inquiry concerns the possibility of getting *custom* properties that > > I could specify using \setupinteraction in a way that would output in > > the PDF file (under Document Info or Document Properties) as: > > > > Editor (not Author) editors names > > > > Title title of work > > Subtitle (not Subject)the subtitle of the work > > Subject the subject of the work > > Keywordkeywords > > > > See https://wiki.contextgarden.net/Interaction PDF Header and Custom > > Properties. > > Hi Alan, > > it seems that the key field cannot contain spaces. So it should read: > > \pdfbackendsetinfo{key}{ Text } > > Otherwise, Acrobat Reader (both latest DC in Windows and version 9.5 in > Linux) cannot open the document. > > And the information is displayed in the custom tab from document > properties, not in the description tab. > > Here is an image of the dialog: > > > https://community.adobe.com/legacyfs/online/1160244_PDF%20Document%20Properties%20Example.JPG > > Acrobat Reader version 9.5 doesn’t contain that tab and it cannot > display the field. > > I hope it helps now, > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] latest standalone—lua error
With ConTeXt ver: 2021.04.28 18:39 LMTX fmt: 2021.4.29 int, I am now getting the following error on compiling with files that were OK previously. Is there something that I need to change? Alan lua error > lua error on line 232 in file ../../env_Aestimatio-00.tex: registered function call [1151]: ...TeX/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:648: attempt to index a nil value (field 'tf') stack traceback: ...TeX/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:648: in field 'filefallback' ...TeX/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:666: in field 'mathfallback' ...TeX/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:692: in field 'fallback' ...TeX/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:782: in function <...TeX/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:777> (...tail calls...) 222 expansion=quality, 223 mode=node, 224 force=yes, 225 ] 226 \definefallbackfamily[mainface] [mm] [STIX Two Text] 227 [range=digitsnormal, 228 force=yes, 229 features=f:oldstyle] 230 231 \definefontfamily[mainface][mm][STIX Two Math] 232 >> 233 \setupbodyfont[mainface, 10pt] 234 235 \setupalign[hanging, stretch, hz] 236 237 %% French 238 %At beginning insert: 239 % \mainlanguage[fr] 240 % \setcharacterspacing[frenchpunctuation] 241 % \startsetups[footnote:french] 242 %\setcharacterspacing[frenchpunctuation] mtx-context | fatal error: return code: 256 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest standalone—lua error
Hi, Wolfgang— I copied all the fonts to a new document (file attached) and ran ConTeXt. The problem persists. The cause, I think, comes in the lines: \definefallbackfamily[mainface] [mm] [STIX Two Text] [range=digitsnormal, force=yes, features=f:oldstyle] which used to give me oldstyle numerals. bowen1@acbs-mbp ~ % mtxrun --script fonts --list --all stixtwotext yields identifier familynamefontnamefilename subfont instances stixtwotext stixtwotext stixtwotext /Users/bowen1/Library/Fonts/STIX2Text-Regular.otf stixtwotextnormalstixtwotext stixtwotextitalic STIXTwoText-Italic.otf stixtwotextregular stixtwotext stixtwotextmedium STIXTwoText-Medium.otf On Thu, Apr 29, 2021 at 2:25 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Alan Bowen schrieb am 29.04.2021 um 18:29: > > With ConTeXt ver: 2021.04.28 18:39 LMTX fmt: 2021.4.29 int, I am now > getting the following error on compiling with files that were OK > previously. Is there something that I need to change? > > > The error is caused by the fallback font for math but you have create a > minimal example because I'm unable to reproduce it (copy all font settings > to a new document and run ConTeXt). > > Can you also check if the font files are found by ConTeXt: > > mtxrun --script fonts --list --all stixtwotext* > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > FontTest.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest standalone—lua error
Hi, Wolfgang— The mwe is: \definefontfamily[mainface][rm][STIX Two Text] [protrusion=quality, expansion=quality, mode=node, force=yes, features={default, f:oldstyle}, ] ] \definefallbackfamily[mainface] [mm] [STIX Two Text] [range=digitsnormal, force=yes, features=f:oldstyle] \definefontfamily[mainface][mm][STIX Two Math] \setupbodyfont[mainface, 20pt] \starttext Hello world! 123456789 \m{123456789} \oldstyle{123456789} \stoptext The problem disappears if I remove either \definefallbackfamily[mainface] [mm] [STIX Two Text] [range=digitsnormal, force=yes, features=f:oldstyle] or \definefontfamily[mainface][mm][STIX Two Math] But in neither case do I get oldstyle numerals. Note too that, when I remove \definefontfamily[mainface][mm][STIX Two Math], my log file has mkiv lua stats > loaded fonts: 2 files: lmmono10-regular.otf, lmroman10-regular.otf with no mention of STIX Two Text. Yet ConTeXt is aware of the STIX Two Math and STIX Two Text fonts. WE had a power failure very recently. I wonder if that has screwed things up. Alan On Fri, Apr 30, 2021 at 9:45 AM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Alan Bowen schrieb am 30.04.2021 um 13:19: > > Hi, Wolfgang— > > I copied all the fonts to a new document (file attached) and ran ConTeXt. > The problem persists. The cause, I think, comes in the lines: > > \definefallbackfamily[mainface] [mm] [STIX Two Text] > [range=digitsnormal, > force=yes, > features=f:oldstyle] > which used to give me oldstyle numerals. > > > I'm unable to reproduce the error with your example and most of the > fallbacks are ignored because I don't have the fonts. > > To ensure there is no problem with the format and font database delete the > cache and rebuild it: > > mtxrun --script cache --erase > mtxrun --generate > > When this doesn't help you simplify your example. First remove one > \definefallbackfamily at a time and afterwards remove \definefontfamily > until the error disappears. > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest standalone—lua error
I removed and then reinstalled luametex: the problem persists. A. On Fri, Apr 30, 2021 at 11:21 AM Alan Bowen wrote: > Hi, Wolfgang— > > The mwe is: > \definefontfamily[mainface][rm][STIX Two Text] > [protrusion=quality, > expansion=quality, > mode=node, > force=yes, > features={default, f:oldstyle}, > ] > ] > \definefallbackfamily[mainface] [mm] [STIX Two Text] > [range=digitsnormal, > force=yes, > features=f:oldstyle] > > \definefontfamily[mainface][mm][STIX Two Math] > > \setupbodyfont[mainface, 20pt] > > \starttext > > Hello world! > > 123456789 > > \m{123456789} > > \oldstyle{123456789} > > \stoptext > > The problem disappears if I remove either > \definefallbackfamily[mainface] [mm] [STIX Two Text] > [range=digitsnormal, > force=yes, > features=f:oldstyle] > or > \definefontfamily[mainface][mm][STIX Two Math] > > But in neither case do I get oldstyle numerals. > > Note too that, when I remove \definefontfamily[mainface][mm][STIX Two > Math], my log file has > mkiv lua stats > loaded fonts: 2 files: lmmono10-regular.otf, > lmroman10-regular.otf > with no mention of STIX Two Text. > > Yet ConTeXt is aware of the STIX Two Math and STIX Two Text fonts. > > WE had a power failure very recently. I wonder if that has screwed things > up. > > Alan > > On Fri, Apr 30, 2021 at 9:45 AM Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com> wrote: > >> Alan Bowen schrieb am 30.04.2021 um 13:19: >> >> Hi, Wolfgang— >> >> I copied all the fonts to a new document (file attached) and ran ConTeXt. >> The problem persists. The cause, I think, comes in the lines: >> >> \definefallbackfamily[mainface] [mm] [STIX Two Text] >> [range=digitsnormal, >> force=yes, >> features=f:oldstyle] >> which used to give me oldstyle numerals. >> >> >> I'm unable to reproduce the error with your example and most of the >> fallbacks are ignored because I don't have the fonts. >> >> To ensure there is no problem with the format and font database delete >> the cache and rebuild it: >> >> mtxrun --script cache --erase >> mtxrun --generate >> >> When this doesn't help you simplify your example. First remove one >> \definefallbackfamily at a time and afterwards remove \definefontfamily >> until the error disappears. >> >> 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://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] installing luametatex query
I have re-installed the latest luametatex (macOS) following the directions on the wiki ( https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS) Though luametatex --version mtxrun --generate are successful, context --version context --make --all gets mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' and luatools --generate gets zsh: command not found: luatools Any suggestions will be gladly received. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Syriac (Estrangelo Edessa) query
I am trying to set text in the Syriac font Estrangelo Edessa. Right now, I have the following (taken for the wiki): \definefontfeature[semitic-complete] [mode=node,analyze=yes,language=dflt,ccmp=yes, autoscript=position,autolanguage=position, init=yes,medi=yes,fina=yes,isol=yes, mark=yes,mkmk=yes,kern=yes,curs=yes, liga=yes,dlig=yes,rlig=yes,clig=yes,calt=yes] \definefontfeature[arabic] [semitic-complete] [script=arab] \definefontfeature[syriac] [arabic] [fin2=yes, fin3=yes, med2=yes] \definefallbackfamily[mainface][rm][estrangeloedessa] [range={syriac}, features=syriac] \definefontfamily[mainface][rm][STIX Two Text] [protrusion=quality, expansion=quality, mode=node, force=yes, features={default, f:oldstyle}] \setupbodyfont[mainface, 20pt] \starttext Hello world! { \setupalign[r2l] ܐܝܟ ܟܝܢܐ ܕܐܐܪܣ ܡܲܥܕܢܘܬܗܘܢ ܘܡܲܥܒܿܕܝܢ ܩܪܒ̈ܐ ܘܚܣܡܐ ܠܗܠܝܢ } \stoptext Though the file compiles, the Syriac text does not look the same as the source text (Estrangelo Edessa unicode). See attachment. Any guidance in fixing this will be gladly received. Alan Disclaimer: I do not know Syriac. FontTest.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \setcharacterspacing
With \definecharacterspacing [test] \setupcharacterspacing [test] ["00AB] [right=.1, alternative=1] \setupcharacterspacing [test] ["00BB] [left=.1, alternative=1] \startsetups[test] \setcharacterspacing[test] \stopsetups \starttext «anyword» \stoptext there is no additional space after and before the guillemets. I am using lmtx in the ConTeXt ver: 2021.04.29 23:09 standalone Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing
Wolfgang—Thank you. That works very nicely! Alan On Mon, May 17, 2021 at 2:44 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Alan Bowen schrieb am 17.05.2021 um 20:38: > > With > > \definecharacterspacing [test] > > \setupcharacterspacing [test] ["00AB] [right=.1, alternative=1] > > \setupcharacterspacing [test] ["00BB] [left=.1, alternative=1] > > > > \startsetups[test] > > \setcharacterspacing[test] > > \stopsetups > > > > \starttext > > «anyword» > > \stoptext > > there is no additional space after and before the guillemets. > > \starttext > \setup[test] > «anyword» > \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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing
That is very good to know and it works in simple cases. But I am finding that in a product/component structure, I get the proper spacing only when • the environment file has the \startsetups...\stopsetups • either \setup[test] or \setuplanguage[fr][setups=test] is in the component file. Is this expected behavior? (Before I just \setcharacterspacing[test] in the env file but now it only works when in the component file) Alan On Mon, May 17, 2021 at 3:11 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Alan Bowen schrieb am 17.05.2021 um 20:57: > > Wolfgang—Thank you. That works very nicely! > > You can also remove the \startsetups and \stopsetups commands to enable > the spacing. > > When you want the spacing only for certain languages you can use > \setuplanguage to load the setups-block for them: > > \setuplanguage >[fr] >[setups=test] > > \starttext > > «anyword» > > {\fr «anyword»} > > \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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing
Hi, Wolgang— The mwe files in a product/component structure are attached. Everything works as desired with the current env file. If one comments out the startsetups...\stopsetups, the guillemets are not properly spaced in the body text, while those in the footnote are fine. If one comments out the \setup line, the guillemets are not properly placed anywhere. Please let me know if this is expected behavior— and I will try troubleshooting my own files to see why my env file has to have the \startsetups...\stopsetups line and the component file, the \setup line if I am to get what I need. Alan On Mon, May 17, 2021 at 4:00 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Alan Bowen schrieb am 17.05.2021 um 21:50: > > That is very good to know and it works in simple cases. But I am finding > that in a product/component structure, I get the proper spacing only when > • the environment file has the \startsetups...\stopsetups > • either \setup[test] or \setuplanguage[fr][setups=test] is in the > component file. > > Is this expected behavior? > > (Before I just \setcharacterspacing[test] in the env file but now it only > works when in the component file) > > > Can you make a simple example, it's possible there is a reset somewhere > which disables the feature at the end of the environment or the start of > the component file. > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > c_CharSpTest.tex Description: TeX document prd_CharSpTest.tex Description: TeX document env_CharSpTest.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] updating luametatex
I seem to be stuck at ver. 209.08 (context ver. 2021.04.29). I downloaded context-osx-64.zip and made a clean install following the instructions for macOS on the wiki. context—version showed v. 2021.04.29 So I removed texmf cache and ran mtxrun —generate context —make context —version still showed ver. 2021.04.29 when I ran sh install.sh again, the result was the same. The version installed was still 2021.04.29 But this time the log showed an error mtx-install | running: /Users/bowen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/mtxrun --generate lua error : startup file: ...owen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/mtxrun.lua:13845: ')' expected near mtx-install | running: /Users/bowen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/mtxrun --script cache --erase lua error : startup file: ...owen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/mtxrun.lua:13845: ')' expected near mtx-install | running: /Users/bowen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/mtxrun --generate lua error : startup file: ...owen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/mtxrun.lua:13845: ')' expected near mtx-install | running: /Users/bowen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/context --make en lua error : function call: ...owen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/mtxrun.lua:13845: ')' expected near There is a problem with ver 04.21.29 that I am hoping will be fixed in a later version. So staying at ver 2021.04.29 is not ideal. Any suggestion to fix this? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] oldstyle math
I no longer get oldstyle numerals in the math environment (ConTeXt ver: 2021.04.29 ) with \definefontfamily[mainface][rm][STIX Two Text] [protrusion=quality, expansion=quality, mode=node, force=yes, features={default, f:oldstyle}, ] \definefallbackfamily[mainface] [mm] [STIX Two Text] [range=digitsnormal, force=yes, features=f:oldstyle, ] \definefontfamily[mainface][mm][STIX Two Math] \setupbodyfont[mainface, 10pt] \starttext 123456789 \m{123456789} \stoptext What have I missed? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] oldstyle math
Thanks, Wolfgang. That’s good to know, I guess. I had hoped to stay with the older version in order to complete a project. But now I see that I must update. Sadly this brings me to the unresolved problem that updating with sh install.sh stopped working in early May. So, I will resume the thread in which I first mentioned this problem and see if there is any way forward. Alan On Wed, Jun 2, 2021 at 4:56 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Alan Bowen schrieb am 02.06.2021 um 22:07: > > I no longer get oldstyle numerals in the math environment (ConTeXt ver: > 2021.04.29 ) with > \definefontfamily[mainface][rm][STIX Two Text] > [protrusion=quality, > expansion=quality, > mode=node, > force=yes, > features={default, f:oldstyle}, > ] > \definefallbackfamily[mainface] [mm] [STIX Two Text] > [range=digitsnormal, > force=yes, > features=f:oldstyle, > ] > \definefontfamily[mainface][mm][STIX Two Math] > \setupbodyfont[mainface, 10pt] > > \starttext > 123456789 > > \m{123456789} > \stoptext > > What have I missed? > > > Works fine with the latest version. > > mtx-context | current version: 2021.06.01 17:04 > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] rtl fontfallback family issue?
With the latest LMTX standalone (ConTeXt ver: 2021.06.18) the Syriac text is not printed. \setupdirections[bidi=global, method=unicode] \definefontfeature [syriac] [syriac] [language=dflt, script=syrc] \definefallbackfamily[mainface][rm][Estrangelo Edessa] [range={syriac}, features=syriac] \definefontfamily[mainface][STIX Two Text] \setupbodyfont[mainface, 18pt] \starttext Syriac { ܐܝܟ ܟܝܢܐ ܕܐܐܪܣ ܡܲܥܕܢܘܬܗܘܢ ܘܡܲܥܒܿܕܝܢ ܩܪ̈ܒܐ ܘܚܣܡܐ ܠܗܠܝܢ } \stoptext The same is true if I use \def\Syr{\definedfont[name:estrangeloedessa*syriac]} and insert \Syr before the Syriac text. I have the same issue with my Arabic font fallback but not with my Greek font fallback. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \placeinitial problem
Hi— \placeinitial seems to fail when there is a footnote in the paragraph. At least \startparagraph \placeinitial \input ward \footnote{A footnote.} \stopparagraph only works when the footnote is commented out. I am running lmtx [ConTeXt ver: 2023.06.22 LMTX fmt: 2023.6.26] Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Re: \placeinitial problem
Hans— The latest version fixes the \placeinitial issue. Many thanks! Alan On Sun, Jul 16, 2023 at 5:09 PM Alan Bowen wrote: > Hi— > \placeinitial seems to fail when there is a footnote in the paragraph. At > least > > \startparagraph > \placeinitial \input ward \footnote{A footnote.} > \stopparagraph > > > only works when the footnote is commented out. > > I am running lmtx [ConTeXt ver: 2023.06.22 LMTX fmt: 2023.6.26] > > Alan > > > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] text over text
I am typesetting some transliterated medieval German and need to place one letter, e.g., an “e” in scriptsize over another letter, e.g., a “u” in text size. I have managed to get this in italics using \mathstackers and \definemathmatrix, but I need both letters in roman face and at text size. Is there a way to do this or would another approach be better? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] text over text
Alan Bowen schrieb am 11.12.2023 um 19:14: ... <https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/thread/UGT4DKIJ7OJKDVBHFDBKH6XUZVQV6BNC/#> I am typesetting some transliterated medieval German and need to place one letter, e.g., an “e” in scriptsize over another letter, e.g., a “u” in text size. I have managed to get this in italics using \mathstackers and \definemathmatrix, but I need both letters in roman face and at text size. Is there a way to do this or would another approach be better? \ruby{e}{u} Wolfgang Thank you, Wolfgang. That’s got it nicely! Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] start/end pages in ToC
Our journal is currently in the process of moving to continuous publication of items in a given volume as they are ready. This entails re-jigging the ToC so that it now includes the start and end page numbers of each item. So far, I have everything pretty much in the right place, but for the page numbers I am getting only “??”. I am not sure why this is happening and would be grateful if someone could tell me why or point me to documentation that explains the problem and how to solve it. Many thanks in advance. My minimalish working example: \definehead[SourceTitle][chapter] \setuphead[SourceTitle][page=yes, footer={ItemData}] \definehead[StudyTitle][chapter] \setuphead[StudyTitle][page=yes, footer={ItemData}] \definetext[ItemData][footer][ {\at[\Reference]– \at[\namedstructureuservariable{}{authorInitials}endPage]} ] \setuplist[SourceTitle][ state=start, textcolor=black, alternative=startendpages, criterium=all, headnumber=no, interaction=page, numberalign=flushright, before={\blank[2.2ex, fixed]}, inbetween=\endgraf, ] \setuplist[StudyTitle][ state=start, textcolor=black, alternative=startendpages, criterium=all, headnumber=no, interaction=all, numberalign=flushright, before={\blank[2.2ex, fixed]}, inbetween=\endgraf, ] \define\ToCEntry{% \structurelistuservariable{author}\crlf \structurelistuservariable{title}\hfill% \at[\structurelistuservariable{reference}]–% \at[\structurelistuservariable{authorInitials}endPage] } \definelistalternative[startendpages] [renderingsetup=list:startendpages] \startsetups[list:startendpages] {\ToCEntry} \vglue1pc \stopsetups \starttext {\tfa\bf Contents} \blank[line, fixed] \WORD{Sources} \blank[halfline, fixed] \placelist[SourceTitle][criterium=all] \blank[line, fixed] \WORD{Studies} \blank[halfline, fixed] \placelist[StudyTitle][criterium=all] \page[makeup] \setnumber[userpage][1] \def\Reference{RefSo01} \startSourceTitle[reference={\Reference}, bookmark=Source01, title={}][ title=Source01, author=Author01, authorInitials=ABC, reference={\Reference}, ] \input knuth \page \dorecurse{25}{\input ward\par} \reference[ABCendPage]{} \stopSourceTitle \page[makeup] \setnumber[userpage][1] \def\Reference{RefSo02} \startSourceTitle[reference={\Reference}, bookmark=Source02, title={}][ author=Author02, title=Source02, authorInitials=PQR, reference={\Reference}, ] \input knuth \page \dorecurse{10}{\input ward\par} \reference[PQRendPage]{} \stopSourceTitle \page[makeup] \setnumber[userpage][1] \def\Reference{RefSt01} \startStudyTitle[reference={\Reference}, bookmark=Study01, title={}][ author=Author03, title=Study01, authorInitials=XYZ, reference={\Reference}, ] \input knuth \blank[big] \page \dorecurse{15}{\input ward\par} \reference[XYZendPage]{} \stopStudyTitle \page[makeup] \stoptext Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] last page number for a list
How can I get the last page number of a chapter for a list (ToC)? Outside of a list, I use \lastpagenumber. But that does not work in a list such as the ToC. Any tips or pointers will be gladly received. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: last page number for a list
Hi, Bruce— This does not quite work—the page numbers are those of the first page of the chapter, not the last. But thanks for the tip about \writetolist. Perhaps I can get that to work. What I need are ToC entries like AuthorName ShortTitle 1–6 I need this pagination because one of the requirements of continuous publication on the OJS is that once an item is published changes are not permitted. So I cannot go with normal continuous publication since, for us anyway, items are not processed in strict sequential order (e,g., we may have, paper+paper+ review+paper...) If it helps: I currently have \startFMTitle[reference=\Reference, title={}][itemAuthor=AuthorName, itemTitle=ShortTitle,...] \setuplist[FMTitle][state=start, alternative=startendfmpages, criterium=all,] (\Reference is defined at the in the preamble to input of the file/component.) \definelistalternative[startendfmpages][renderingsetup=list:startendfmpages] \startsetups[list:startendfmpages] \structurelistuservariable{itemAuthor}\crlf \structurelistuservariable{itemTitle}\hfill% \at[\currentlistentrypagenumber]–\at[\lastpagenumber] \vglue1pc \stopsetups where I have \reference[\lastpagenumber]{} at the end of the file. But this gives me ??–viii (the viii is correct and interactive) for the FMTitle. Sadly the entries for all my other Titles (SourceTitle, StudyTitle...) is ??–viii. (Each title is a modified chapter.) Curiously, \at[\Reference]–\convertnumber{r}{\lastpagenumber} and \at[\Reference]–\at[\lastpagenumber] work properly in the body text. The overall structure is project-product sort with many components in the product. This is probably TMI. The bottom line is that I am truly stumped. All best, Alan On Wed, Apr 3, 2024 at 6:56 AM Bruce Horrocks wrote: > > > > On 30 Mar 2024, at 19:59, Alan Bowen wrote: > > > > How can I get the last page number of a chapter for a list (ToC)? > > > > Outside of a list, I use \lastpagenumber. > > But that does not work in a list such as the ToC. > > > > Any tips or pointers will be gladly received. > > > I'm not quite sure what you want to do with these numbers: something like > printing out a contents page but instead of the start page of a chapter it > shows the last page of the chapter? > > If so then try creating a custom list and use \writetolist immediately > before each \stopchapter command? > > \definelist[LastPages][criterium=all] > \starttext > \completecontent > \page > \completelist[LastPages] > \page > \dorecurse{10}{ > \startchapter[title={This is my chapter}] > This is a chapter\par \dorecurse{6}{\input knuth } \input > math-kontinuitet-sv > > \writetolist[LastPages]{3.}{\namedstructurevariable{chapter}{title}} > \stopchapter > } > \stoptext > > But I can't get the number option of \writetolist to work - the "3." above > is ignored. :-( > > — > Bruce Horrocks > Hampshire, UK > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] ConteXt commands in an rtl environment
I am having trouble entering ConteXt commands in an rtl language, in this case Hebrew. How does one make the last(left hand) letter of the Hebrew word אשר a superscript? My experiments with \high{...} have not been successful so far in part, I think, because I have not got the brackets right. Any tips or pointers will be gratefully received. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: ConteXt commands in an rtl environment
I discovered what the problem was. Just in case someone else may also wonder how to do this, one way (not necessarily the best) is to insert: {ר}high\ where the letter in parentheses (resh) should be entered in a l2r context, not r2l. Alan On Sun, Apr 28, 2024 at 4:23 PM Alan Bowen wrote: > I am having trouble entering ConteXt commands in an rtl language, in this > case Hebrew. > > How does one make the last(left hand) letter of the Hebrew word > אשר > a superscript? > > My experiments with \high{...} have not been successful so far in part, I > think, because I have not got the brackets right. > > Any tips or pointers will be gratefully received. > > Alan > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] \brokenpenalties query
I have in the past relied on \setpenalties\brokenpenalties{1}{1}\ to set the penalty for a page break after a hyphen. But with the latest LMTX, when I run the file, I get the error message Errorcount has to be 1 for \brokenpenalties Any advice on how to fix the file would be most welcome. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: \brokenpenalties query
Mikael and Hans— Thank you so much for your help.Your advice regarding \brokenpenalities and \clubpenalities is greatly appreciated and will solve a problem that I was having from time to time in paginating my journal. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: \brokenpenalties query
I have found entries on \widowpenalty, \widowpenalties, \orphanpenalty, \orphanpenalities and look forward to learning about vertical expansion. Many thanks, Hans. Alan On Thu, Jun 20, 2024 at 4:56 PM Hans Hagen wrote: > On 6/20/2024 10:33 PM, Alan Bowen wrote: > > Mikael and Hans— > > > > Thank you so much for your help.Your advice regarding \brokenpenalities > > and \clubpenalities is greatly appreciated and will solve a problem that > > I was having from time to time in paginating my journal. > + \widowpenalties > > one works top down, the other bottom up and when they colide they add up > > there are some more new ones, like \orphanpenalty (and \orphanpenalties) > as well as \todlerpenalty as well as multriple parpasses > > another new feature is vertical expansion > > some is documented alreaydy and more details will follow (probably after > the ctx meeting) > > Hans > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | 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 / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] installing latest beta
I have been unable to install the latest ConTeXt beta—both sudo texhash sudo fail (stall) when updating /usr/local/texlive/2007/texmf-dist/ls-R... The last beta worked as expected and, so far as I know, there have been no changes in my installation. Any suggestions? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] installing latest beta
I did some basic housecleaning of caches and so forth and tried again. sudo texhash now works, though it took 10 minutes (as opposed to the usual 30 seconds). No idea why. sudo texexec --make --all ran as expected. Anyway all I needed was patience. Sorry to impose on yours. A. On Dec 12, 2007, at 09;14,24 , Alan Bowen wrote: I have been unable to install the latest ConTeXt beta—both sudo texhash sudo fail (stall) when updating /usr/local/texlive/2007/texmf-dist/ls-R... The last beta worked as expected and, so far as I know, there have been no changes in my installation. Any suggestions? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] interaction query
In my preface, I have \setupinteraction[state=start,color=blue,style=rm] \definehead[LevelBHead][subject] \setupsectionblock[LevelBHead][number=no,page=right] \setuphead[LevelBHead][style={\tf\rm},interaction=yes] and in the source file proper, \LevelBHead{Comment 3: {\em In de caelo} {\tf 481.12--15}\hfill ref.\ \at[fnComment3]n\in[fnComment3]} When I compile the file I get the proper heading and the cross- reference works as it should. What is odd is that this reference is not in blue. All my other kinds of cross-references look and behave as they should. Any remedies for this admittedly minor problem will be greatly appreciated. Cheers, Alan PS I am using mkii. A. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] interaction query
Thanks, Hans, but i still cannot get this to work. Here is a simple file that conveys the problem (working link, but wrong color). Alan ~ \setupinteraction[state=start,contrastcolor=blue,color=blue,style=rm] \definehead[LevelBHead][subject] \setupsectionblock[LevelBHead][number=no,page=right] \setuphead[LevelBHead][style={\tf\rm},interaction=yes] \starttext \dorecurse{2}{\input knuth}\reference[Reference]{} \dorecurse{3} {\input knuth}. \LevelBHead{B{-}Header\hfill\at[Reference]} \dorecurse{2}{\input knuth} \stoptext ~ On Feb 14, 2008, at 17;39,01 , Hans Hagen wrote: > Alan Bowen wrote: >> In my preface, I have >> >> \setupinteraction[state=start,color=blue,style=rm] > > add contrastcolor=blue > >> When I compile the file I get the proper heading and the cross- >> reference works as it should. What is odd is that this reference is >> not in blue. All my other kinds of cross-references look and behave >> as >> they should. > > same page refs get contrastcolor > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] interaction query
Thanks, Hans. That is good to know. The cross-reference however is still in the wrong color. Is it a problem just on my box? Alan On Feb 15, 2008, at 08;07,27 , Hans Hagen wrote: > Alan Bowen wrote: > >> \dorecurse{2}{\input knuth} > ^ add a space here, or \relax > > > \input whatever \relax > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] interaction query
Wolfgang, Many thanks for this. It does the job perfectly. I supplemented your suggestion (following your lead) with \definereferenceformat [givenote] [command=\in, left={\color[blue]}] which gives me references formatted exactly as I need. All best, Alan On Feb 15, 2008, at 09;05,18 , Wolfgang Schuster wrote: > On Fri, Feb 15, 2008 at 2:35 PM, Alan Bowen <[EMAIL PROTECTED]> > wrote: >> Thanks, Hans. That is good to know. >> >> The cross-reference however is still in the wrong color. Is it a >> problem just on my box? > > What do you want is not supported but you define your own command > with a colored pagenumber. > > \setupcolors[state=start] > > \setupinteraction[state=start,contrastcolor=blue,color=blue,style=rm] > > \definereferenceformat > [givepage] > [command=\at, > left={\color[blue]}] > > \definehead[LevelBHead][subject] > \setupsectionblock[LevelBHead][number=no,page=right] > \setuphead[LevelBHead][style={\tf\rm},interaction=yes] > > \starttext > \dorecurse{2}{\input knuth\par}\reference[Reference]{} > \dorecurse{3}{\input knuth\par} > > \LevelBHead{B{-}Header\hfill\givepage[Reference]} > \dorecurse{2}{\input knuth\par} > \stoptext > > Wolfgang > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] interaction query
Again, thanks, Wolfgang. I was not quite sure what Hans was driving at, and so appreciate your further help. Best, Alan On Feb 16, 2008, at 04;25,14 , Wolfgang Schuster wrote: > On Fri, Feb 15, 2008 at 9:16 PM, Alan Bowen <[EMAIL PROTECTED]> > wrote: >> Wolfgang, >> >> Many thanks for this. It does the job perfectly. I supplemented your >> suggestion (following your lead) with >> >> \definereferenceformat >> [givenote] >> [command=\in, >> left={\color[blue]}] >> >> which gives me references formatted exactly as I need. > > you should better use, as Hans told in his mail the simple color > command > could cause a unwanted result. > > \definereferenceformat > [givenote] > [command=\in, > left={\startcolor[blue]}, > right=\stopcolor] > > Wolfgang > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] aligning the stoppers in numbered itemizations
Can anyone point me to instructions/explanations of how to set up a numbered itemization so that the stoppers (periods) are vertically aligned? What I want should look like this: 1. an entry 2. an entry ... 10. an entry Many thanks. Alan___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] aligning the stoppers in numbered itemizations
Many thanks, Wolfgang. That has it perfectly. Cheers, Alan On Apr 21, 2008, at 09;53,06 , Wolfgang Schuster wrote: > On Mon, Apr 21, 2008 at 3:35 PM, Alan Bowen <[EMAIL PROTECTED]> > wrote: >> Can anyone point me to instructions/explanations of how to set up a >> numbered >> itemization so that the stoppers (periods) are vertically aligned? >> What I want should look like this: >> >> 1. an entry >> 2. an entry >> ... >> 10. an entry >> >> Many thanks. > > \startitemize[n,fit,broad][itemalign=flushright] > \dorecurse{10}{\item item} > \stopitemize > > Wolfgang > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] % in URL
I am trying to typeset a URL that has numerous “%”s in it which I am replacing with “\%”s. The problem is that while the typeset URL works, the printed URL is showing the “\%”s rather than just the “%”s. For example, \useURL [Hoyrup2007bURL] [{http://www.akira.ruc.dk/~jensh/Publications/2005\ %7BR{\percent}7D1_Folkerts_vol-1.PDF}] [] [{http://www.akira.ruc.dk/~jensh/Publications/2005\%7BR\ %7D1_Folkerts_vol-1.PDF}] produces a link that works but reads as http://www.akira.ruc.dk/~jensh/Publications/2005\ %7BR{\percent}7D1_Folkerts_vol-1.PDF I notice that “\&” behaves as it should in this context. Any suggestions or pointers to a solution will be much appreciated. I am using ConTeXt ver: 2008.04.18 14:17 MKII . Best, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] % in URL
Again, many thanks, Wolfgang. The key is to use \from rather than \goto. As for using just % in the links, \useURL [Hoyrup2007bURL] [{http://www.akira.ruc.dk/~jensh/Publications/2005%7BR%7D1_Folkerts_vol-1.PDF }] [] [{http://www.akira.ruc.dk/\~{}jensh/Publications/2005\%7BR\%7D1 \_Folkerts\_vol-1.PDF}] works but looks odd, since TeXShop (my editor) puts everything from the the first “%” on in the URL field (the 2nd field) in red (indicating that it is commented out). Using “\%” in this field seems to work too. Very best, Alan On Apr 22, 2008, at 02;14,05 , Wolfgang Schuster wrote: > On Tue, Apr 22, 2008 at 4:00 AM, Alan Bowen <[EMAIL PROTECTED]> > wrote: >> I am trying to typeset a URL that has numerous "%"s in it which I am >> replacing with "\%"s. The problem is that while the typeset URL >> works, >> the printed URL is showing the "\%"s rather than just the "%"s. >> >> For example, >> \useURL >> [Hoyrup2007bURL] >> [{http://www.akira.ruc.dk/~jensh/Publications/2005\ >> %7BR{\percent}7D1_Folkerts_vol-1.PDF}] >> [] >> [{http://www.akira.ruc.dk/~jensh/Publications/2005\%7BR\ >> %7D1_Folkerts_vol-1.PDF}] >> >> produces a link that works but reads as >> http://www.akira.ruc.dk/~jensh/Publications/2005\ >> %7BR{\percent}7D1_Folkerts_vol-1.PDF >> >> I notice that "\&" behaves as it should in this context. >> >> Any suggestions or pointers to a solution will be much appreciated. > > You could write % just as % in your links. > > \useURL > [Hoyrup2007bURL] > [http://www.akira.ruc.dk/~jensh/Publications/2005%7BR%7D1_Folkerts_vol-1.PDF > ] > > \starttext > \from[Hoyrup2007bURL] > \stoptext > > Wolfgang > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Arabic transliteration
Greetings! I am trying to typeset some transliterated Arabic and one of the diacritical marks is giving me a problem. How does one put what looks like a breve accent (a cup or concave arc) under an letter in ConTeXT? Cheers, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Arabic transliteration
Many thanks, Idris and Mojca. If all goes well, I will move to luatex this summer---that really does seem to be the way to go---and then investigate XeTeX, which I gather is now functioning well with luatex. For now, however, I will have to cobble a macro using hints that Mojca provided. By the way I am using Latin Modern (ec encoding). Very best, Alan > On Tue, 13 May 2008 15:53:17 -0600, Alan Bowen <[EMAIL PROTECTED]> > wrote: > >> Greetings! >> >> I am trying to typeset some transliterated Arabic and one of the >> diacritical marks is giving me a problem. How does one put what looks >> like a breve accent (a cup or concave arc) under an letter in >> ConTeXT? > > I used to use macros for that purpose, with the latest Latin Modern > fonts > you should have every Arabic transliteration character you need, > including > the arc under the , ie, ḫ. In luatex you just type ḫ. Try it! > > Best wishes, Idris On May 13, 2008, at 18;24,02 , Mojca Miklavec wrote: > Hello, > > First of all, it's nice if the font provides that character. Which > fonts are you using for your document? > > I wanted to send you an example of how it can be done in different > ways, but there seems to be in interesting problem with XeTeX at the > moment, so I wasn't able to play with it. > > But in general: > > a) simply use character U+032E (combining breve below) > It kind-of-works with LM, but not perfect (there has been some > discussion about how to improve the behaviour of combining accents in > LM) > > b) use character brevebelow from LM and use TeX to place the accent, > see enco-ini.tex for examples > > Of course you can assign your own macro to either of the two options > to access the accent more easily. > > Mojca > < > brevebelow > .tex > > > < > brevebelow > .pdf > > > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Arabic transliteration
Ugly things indeed, Mojca. And even more so given my limited skills. Here is what I have for “H” with a breve accent below. \def\Hbrevebelow{H\smash{\lower1.9ex\hbox{\kern-3pt\llap{\char'010}}} \kern3pt} This only “works” in an italic environment by the way. With apologies to the wizards on this list, Alan On May 14, 2008, at 13;17,49 , Mojca Miklavec wrote: > On Wed, May 14, 2008 at 4:41 PM, Alan Bowen wrote: >> Many thanks, Idris and Mojca. >> >> If all goes well, I will move to luatex this summer---that really >> does >> seem to be the way to go---and then investigate XeTeX, which I gather >> is now functioning well with luatex. For now, however, I will have to >> cobble a macro using hints that Mojca provided. > > My hint(s) only work in XeTeX and LuaTeX. > >> By the way I am using Latin Modern (ec encoding). > > With ec encoding you really need to do ugly things. You need to > compose a character by more or less manually lowering the breve accent > and take care for italic correction yourself. Not even accent > primitive can be used for it. And you cannot use the combining accent > after the character or the proper Unicode glyph (though the latter > might be possible by patching some definition in ConTeXt core), you > always need to use a macro. > > With XeTeX and LuaTeX all that comes (almost) for free. > > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] inter-word spacing (initials)
I have the latest ConTeXt and am using mkii. One used to be able to reduce the spacing after an initial by by typing “.\”, but this no longer seems to work. Compare the inter-word spacing in \starttext A. E. Samuel\crlf A.\ E.\ Samuel \stoptext If the is a difference here, I am having trouble seeing it; and on a typeset page, the gaps after the initials just seem too big. In general, I find that the spacing after certain characters ---e.g., “)”---has been increased of late. Is this in fact the case? Or should I go back to my old glasses? Cheers, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] inter-word spacing (initials)
I have the latest ConTeXt and am using mkii. One used to be able to reduce the spacing after an initial by by typing “.\”, but this no longer seems to work. Compare the inter-word spacing in \starttext A. E. Samuel\crlf A.\ E.\ Samuel \stoptext If the is a difference here, I am having trouble seeing it; and on a typeset page, the gaps after the initials just seem too big. In general, I find that the spacing after certain characters ---e.g., “)”---has been increased of late. Is this in fact the case? Or should I go back to my old glasses? Cheers, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
Thanks, David. I tried \starttext A. E. Samuel\crlf A.\ E.\ Samuel\crlf A.~E.~Samuel \stoptext and can see no difference (ConTeXt ver: 2008.07.14 18:07 MKII). The tilde is not really a good way for me to go. The problem is that I publish a journal in which the bibliography is punctuated mainly by “.” Introducing tildes (which make spaces non-breaking) would affect the line-breaking negatively. Alan On Jul 16, 2008, at 22;27,59 , David wrote: > On Tue, 15 Jul 2008 17:30:19 -0400, Alan Bowen wrote: > >> I have the latest ConTeXt and am using mkii. >> >> One used to be able to reduce the spacing after an initial by by >> typing “.\”, but this no longer seems to work. Compare the >> inter-word spacing in >> >> \starttext >> A. E. Samuel\crlf >> A.\ E.\ Samuel >> >> \stoptext >> >> If the is a difference here, I am having trouble seeing it; and on a >> typeset page, the gaps after the initials just seem too big. >> >> In general, I find that the spacing after certain characters ---e.g., >> “)”---has been increased of late. Is this in fact the case? Or should >> I go back to my old glasses? > > Have you tried: > > \starttext > A. E. Samuel\crlf > A.~E.~Samuel > > \stoptext > > ? > > Last time I tried, this one worked for me. > > David > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
That is my understanding too, Wolfgang. But I am just not seeing it either in the example or in my documents. So what’s up? As I said in a more recent posting, this is affecting my journal adversely. Alan On Jul 17, 2008, at 07;56,25 , Wolfgang Schuster wrote: > On Tue, Jul 15, 2008 at 11:26 PM, Alan Bowen <[EMAIL PROTECTED]> > wrote: >> I have the latest ConTeXt and am using mkii. >> >> One used to be able to reduce the spacing after an initial by by >> typing ".\", but this no longer seems to work. Compare the >> inter-word spacing in >> >> \starttext >> A. E. Samuel\crlf >> A.\ E.\ Samuel >> >> \stoptext >> >> If the is a difference here, I am having trouble seeing it; and on a >> typeset page, the gaps after the initials just seem too big. >> >> In general, I find that the spacing after certain characters ---e.g., >> ")"---has been increased of late. Is this in fact the case? Or should >> I go back to my old glasses? > > AFAIK the '\ ' after the dot should prevent to stretch the space. > > Wolfgang > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
Thanks, David. I had not realized that there was a command \fixedspaces. Is it documented somewhere? The sample file \starttext \fixedspaces A. E. Samuel\crlf A.\ E.\ Samuel\crlf A.~E.~Samuel \stoptext still produces the same spacing for “A. E. Samuel” and “A.\ E.\ Samuel”. The spacing in “A.~E.~Samuel” is visibly larger. We seem to have lost a very fundamental TeX feature here—and gained others of questionable value such as the increased spacing after “)”. Is there a way for a user to (re)define or customize such spacing issues? Alan On Jul 17, 2008, at 09;46,18 , David wrote: On Thu, 17 Jul 2008 07:46:21 -0400, Alan Bowen wrote: Thanks, David. I tried \starttext A. E. Samuel\crlf A.\ E.\ Samuel\crlf A.~E.~Samuel \stoptext and can see no difference (ConTeXt ver: 2008.07.14 18:07 MKII). The tilde is not really a good way for me to go. The problem is that I publish a journal in which the bibliography is punctuated mainly by “.” Introducing tildes (which make spaces non-breaking) would affect the line-breaking negatively. Oh - sorry about that. What happens if you use your preferred way, but add the command \fixedspaces somewhere previously in the document? I've discovered that this command is now required to get either the \ . or the ~. to have any effect for me. The problem is, I don't know how to turn it off afterwards. :-) David ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] inter-word spacing (initials)
My original query has generated some interesting sidelines but no solution, at least none that I can see. So, with all due apologies, I shall presume on your patience by restating my query. In (English) typography the spacing after a period within a sentence is less that that after a period at the end of a sentence. Since the days of Plain TeX, one achieved the proper spacing after an intra- sentence period by entering “.\”. My problem is that this no longer seems to work with recent versions of ConTeXt/MKII: “.\” does not seem to have any effect at all. So, how are we now to get the proper spacing after an intra-sentence period? Are there some language/spacing commands that need to be invoked in the prelims now? Sample text: \starttext A. E. Samuels and other scholars. The community of time{-}keepers. A.\ E.\ Samuels and other scholars. The community of time{-}keepers. \stoptext Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
Thanks, Peter. You are right about (Plain) TeX--I just got into the habit of inserting them. Defining my own macro to reproduce the control space is a possibility, and I will do that IF the current behavior of “.\ ’ and the tilde in MKII is not remedied. (I have not switched to MKIV yet, but wonder what happens there.) The downside is that there is a good number of documents that will require have to be encoded accordingly. Cheers, Alan On Jul 18, 2008, at 14;40,39 , Peter Rolf wrote: > Alan Bowen schrieb: >> My original query has generated some interesting sidelines but no >> solution, at least none that I can see. So, with all due apologies, I >> shall presume on your patience by restating my query. >> >> In (English) typography the spacing after a period within a sentence >> is less that that after a period at the end of a sentence. Since the >> days of Plain TeX, one achieved the proper spacing after an intra- >> sentence period by entering “.\”. My problem is that this no >> longer seems to work with recent versions of ConTeXt/MKII: “. >> \” >> does not seem to have any effect at all. >> > are you sure of that? > > a citation from "The TeXbook", chapter 12: Glue > > "Another way to get TeX to put out a normal space is to type '\ ' > (control space); e.g., 'Mr.\ Drofnats' would be almost the same as > 'Mr.~Drofnats', exept that a line might end after the 'Mr.'. " > > also: you don't need a control space here > > from the exercise 12.5: > > "TeX doesn't consider a period or question mark or exclamation point > to > be the end of a sentence if the preceding character is an uppercase > letter, since TeX assumes that such uppercase letters are most likely > somebody's initials'. " > > > what you want is just a smaller skip. so how about a *local* use of > something like > > \def\ {\thinspace}% > > donno if this is possible (side effects) in your environment. maybe > one > of the gurus can give an answer. anyhow, interesting stuff :) > > > best wishes, peter > >> So, how are we now to get the proper spacing after an intra-sentence >> period? Are there some language/spacing commands that need to be >> invoked in the prelims now? >> >> Sample text: >> \starttext >> >> A. E. Samuels and other scholars. The community of time{-}keepers. >> >> A.\ E.\ Samuels and other scholars. The community of time{-}keepers. >> >> \stoptext >> >> Alan >> ___ >> If your question is of interest to others as well, please add an >> entry to the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : https://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ___ >> > > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
Thanks, Peter. I was wondering about MKIV. (Switching is on my summer “to do” list.) Best, Alan On Jul 18, 2008, at 15;22,31 , Peter Münster wrote: > On Fri, Jul 18 2008, Alan Bowen wrote: > >> In (English) typography the spacing after a period within a sentence >> is less that that after a period at the end of a sentence. Since the >> days of Plain TeX, one achieved the proper spacing after an intra- >> sentence period by entering “.\”. My problem is that this no >> longer seems to work with recent versions of ConTeXt/MKII: “. >> \” >> does not seem to have any effect at all. > > There are 2 kinds of spaces: > > - inter-word space, that means a normal (strechable) space betweem > words, > examples: > * word word > * word, word > * WORD. word > * word.\ word > * \mainlanguage[fr] word. word > > - bigger space after period in english text: > * \mainlanguage[en] word. word > > And if you consider the following test-file: > > \starttext > x. x, x x\crlf > x, x. x x\crlf > x,\ x.\ x\ x\crlf > x.\ x,\ x\ x\crlf > X. X, X X\crlf > X, X. X X\crlf > X,\ X.\ X\ X\crlf > X.\ X,\ X\ X > \stoptext > > you see 2 bugs: > > - in MKIV there is no bigger space after "x." > - in MKII the space after "x.\ " is a big one > > Tested with context source date: 2008.07.18 18:38. > > Cheers, Peter > > -- > http://pmrb.free.fr/contact/ > > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] inter-word spacing (initials)
I apologize to all, but circumstances oblige me to pick up a very pedestrian thread for the third time. As Peter Münster noted: in the following test-file \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X \stoptext you see 2 bugs: - in MKIV there is no bigger space after "x." - in MKII the space after "x.\ " is a big one The problem remains in ConTeXt ver: 2008.07.31 16:30 for MKII (which I am using). I am do not know if here have been any changes in MKIV. Is there a fix for this in the works? I am about to publish a series of pages which will look vastly better if this is fixed. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
Many thanks, Charles. This does work and I will use it if push comes to shove, as we say. Alan On Aug 2, 2008, at 22;46,00 , Charles P. Schaum wrote: Alan, If you wand quick and dirty because you are against a hard deadline, use inline math mode and insert negative space $\!$ AFTER the x. and IMMEDIATELY BEFORE the next bit. You could also define a macro \negspace to do it as well: \def\negspace{$\!$} so that x, x. \negspace x x will yield the spacing that x, x.\ x x ought to. It's an UGLY hack, but you'd be surprised at how ugly I hacked my own thesis in LaTeX to get it converted to Word and get it in on time. The very memory is traumatic. Charles On Sat, 2008-08-02 at 18:57 -0400, Alan Bowen wrote: I apologize to all, but circumstances oblige me to pick up a very pedestrian thread for the third time. As Peter Münster noted: in the following test-file \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X \stoptext you see 2 bugs: - in MKIV there is no bigger space after "x." - in MKII the space after "x.\ " is a big one The problem remains in ConTeXt ver: 2008.07.31 16:30 for MKII (which I am using). I am do not know if here have been any changes in MKIV. Is there a fix for this in the works? I am about to publish a series of pages which will look vastly better if this is fixed. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
Thanks, Hans. In my test file I now have \mainlanguage[en] \unexpanded\def\ {\mathortext\normalspaceprimitive\space} \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X \stoptext Unfortunately, I do not see any effect in the output (under MKII). The space after a period looks the same as the space after “.\ ”, though it should be bigger. Alan On Aug 3, 2008, at 12;05,30 , Hans Hagen wrote: Alan Bowen wrote: I apologize to all, but circumstances oblige me to pick up a very pedestrian thread for the third time. As Peter Münster noted: in the following test-file \starttext x. x, x x\crlf x, x. x x\crlf x,\ x.\ x\ x\crlf x.\ x,\ x\ x\crlf X. X, X X\crlf X, X. X X\crlf X,\ X.\ X\ X\crlf X.\ X,\ X\ X \stoptext you see 2 bugs: - in MKIV there is no bigger space after "x." - in MKII the space after "x.\ " is a big one The problem remains in ConTeXt ver: 2008.07.31 16:30 for MKII (which I am using). I am do not know if here have been any changes in MKIV. Is there a fix for this in the works? I am about to publish a series of pages which will look vastly better if this is fixed. \unexpanded\def\ {\mathortext\normalspaceprimitive\space} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
Thanks, Hans. I simplified the test file. \mainlanguage[en] \unexpanded\def\ {\mathortext\normalspaceprimitive\space} \starttext A. E. Samuels. A.\ E.\ Samuels. \stoptext Do you see the required difference at your end? On my screen, the two lines look exactly the same (regardless of the length of the paragraphs). Alan On Aug 3, 2008, at 16;45,43 , Hans Hagen wrote: > Alan Bowen wrote: >> Thanks, Hans. In my test file I now have >> >> \mainlanguage[en] >> \unexpanded\def\ {\mathortext\normalspaceprimitive\space} >> >> \starttext >> >> x. x, x x\crlf >> x, x. x x\crlf >> x,\ x.\ x\ x\crlf >> x.\ x,\ x\ x\crlf >> X. X, X X\crlf >> X, X. X X\crlf >> X,\ X.\ X\ X\crlf >> X.\ X,\ X\ X >> >> \stoptext >> >> Unfortunately, I do not see any effect in the output (under MKII). >> The >> space after a period looks the same as the space after “.\ ”, >> though it >> should be bigger. > > use \break instead, \crlf does a \hfill since there is no need for > stretch when using crlf > > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] inter-word spacing (initials)
That’s got it, Hans! I have replaced all my old “.\ ” with “.|~|”. My pages look much better now. Many thanks indeed. All best, Alan On Aug 4, 2008, at 10;23,22 , Hans Hagen wrote: > Alan Bowen wrote: >> Thanks, Hans. I simplified the test file. >> >> \mainlanguage[en] >> >> \unexpanded\def\ {\mathortext\normalspaceprimitive\space} >> >> \starttext >> >> A. E. Samuels. >> >> A.\ E.\ Samuels. >> >> \stoptext >> >> Do you see the required difference at your end? On my screen, the >> two lines look exactly the same (regardless of the length of the >> paragraphs). > > sure, a space is a space, instead use: > > A.|~|E.|~|Samuels. > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] updating to new release
I updated to the latest ConTeXt but now get the following error message when I process my files (using TeXShop as the front end, and TeXLive 2007): ConTeXt ver: 2008.08.04 10:10 MKII fmt: 2008.8.9 int: english/english language: language en is active system : cont-new loaded (/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.tex FatalError : Your format does not match the base files! FormatVersion : 2008.08.04 10:10 MKII FilesVersion: 2008.08.09 18:12 The updating process included sudo texhash sudo texexec --make --all so I am puzzled about why the problem occurs. Note: texmfstart ctxtools --contextversion returns CtxTools | context version: 2008.08.09 18:12 (/usr/local/texlive/2007/ texmf-dist/tex/context/base/context.tex) CtxTools | context version: 2008.08.09 18:12 (/usr/local/texlive/2007/ texmf-dist/tex/context/base/cont-new.tex) Reinstalling ConTeXt ver: 2008.08.04 obviates the problem. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] updating to new release
Thanks, Taco. After installing ConTeXt 2008-08-04, I have cont-en.fmt in texmf-var/web2c/pdftex and texmf-var/web2c/xetex Installing ConTeXt 2008-08-15 has the same files in the same places, though I gather that it replaces cont-en.fmt in texmf-var/web2c/pdftex with as TeXExec | tex: 14/08/2008 09:34:24 > /usr/local/texlive/2007/texmf-var/ web2c/pdftex/cont-en.fmt (7381076) would indicate. ConTeXt 2008-08-04 2 works. All later versions do not because of the mismatch in base files. Alan On Aug 11, 2008, at 04;18,42 , Taco Hoekwater wrote: Hi Alan, Alan Bowen wrote: FatalError : Your format does not match the base files! FormatVersion : 2008.08.04 10:10 MKII FilesVersion: 2008.08.09 18:12 The updating process included sudo texhash sudo texexec --make --all so I am puzzled about why the problem occurs. There are really only two options: a) texexec --make --all failed b) the new format is generated in a different place from the old one and the old one is still found first. In both cases, searching your disk for files named "cont-en.fmt" should shed some light on the problem. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt Minimals on Mac
I have installed the Context Minimals following the newbie instructions on the wiki at contextgarden for Mac users. The instructions themselves are clear but should perhaps be updated: • the file originally downloaded is first-setup.sh not first-setup.tsh • to execute this file run ./first-setup.sh not first-setup.sh (at least, the former worked and did not return a “command not found” message). I also configured TeXShop as instructed. But now when I try to typeset a file, I get the error message: Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine does not have the executable bit set. How can I fix this? Alan Note: I am running Mac OS X 10.5.4.___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt Minimals on Mac
Charles, I ran the last command (for “typical”) but now, when I try to typeset \starttext Hello World! \stoptext it appears that there is a “context” folder missing in the minimals that I downloaded. That is, I get /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: /Applications/ ConTeXtMinimals/context: No such file or directory The argument "" is not a valid TEXROOT path. There is no file "/texmf/tex/plain/base/plain.tex" provide a proper tex root (like '. setuptex /something/tex') TeXExec | processing document 'hello.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file hello.top TeXExec | using randomseed 1013 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. (/usr/local/texlive/2007/texmf/web2c/natural.tcx) entering extended mode (./hello.tex which indicates that Texlive 2007 was used. Alan Note: the text of ConTeXtMinimals.engine reads #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ ConTeXtMinimals/context/tex texexec "$1" On Aug 23, 2008, at 12;20,09 , Charles P. Schaum wrote: > Open Applications/Utilities/Terminal from the finder > > Type (or cut n paste from Mail/Entourage) and don't put a carriage > return between these lines (they are wrapped automatically) > > chmod a+x > Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine > > If that fails - and it should not - try: > > sudo chmod a+x > Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine > > > You can substitute: > > chmod a+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine > > for the above path, and you can opt to do > > chmod u+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine > > when only you should execute it or > > chmod g+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine > > if anyone in your group can execute it > > or you can be "typical" and say > > chmod 775 ~/Library/TeXShop/Engines/ConTeXtMinimals.engine > > and that will make everyone executable and you/your group read- > writable. > Since you are using UNIX (as Mac OS X proudly touts) you might want to > snag a reference on shell scripting and basic UNIX commands. Welcome > to > the world beyond Aqua. > > That should do it. > > Charles > > On Sat, 2008-08-23 at 09:23 -0400, Alan Bowen wrote: >> I have installed the Context Minimals following the newbie >> instructions on the wiki at contextgarden for Mac users. >> >> >> The instructions themselves are clear but should perhaps be updated: >> • the file originally downloaded is first-setup.sh not >> first-setup.tsh >> • to execute this file run ./first-setup.sh not first-setup.sh (at >> least, the former worked and did not return a “command not found” >> message). >> >> >> I also configured TeXShop as instructed. But now when I try to >> typeset >> a file, I get the error message: >> Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine does >> not have the executable bit set. >> >> >> How can I fix this? >> >> >> Alan >> >> >> Note: I am running Mac OS X 10.5.4. >> ___ >> If your question is of interest to others as well, please add an >> entry to the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : https://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ___ > > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt Minimals on Mac
Thanks, Charles. which texexec produces /usr/texbin/texexec which context produces nothing. Alan On Aug 23, 2008, at 19;35,43 , Charles P. Schaum wrote: > Yep, it's looking for stuff in other places than you installed it. > > You can confirm that by typing > > which texexec > > or > > which context > > and so forth. > > On the Mac, /usr/texbin is a symbolic link that points to a directory > under /usr/local/texlive > > What you need to do - and I have not installed minimals - is find out > the means to point your files to the right installation or else they > will look for the old one. > > I would suggest to check the wiki until I look into things moew. > > Charles > > > On Sat, 2008-08-23 at 13:16 -0400, Alan Bowen wrote: >> Charles, >> >> I ran the last command (for “typical”) but now, when I try to typeset >> \starttext >> Hello World! >> \stoptext >> it appears that there is a “context” folder missing in the minimals >> that I downloaded. That is, I get >> >> /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: / >> Applications/ >> ConTeXtMinimals/context: No such file or directory >> The argument "" is not a valid TEXROOT path. >> There is no file "/texmf/tex/plain/base/plain.tex" >> provide a proper tex root (like '. setuptex /something/tex') >> TeXExec | processing document 'hello.tex' >> TeXExec | no ctx file found >> TeXExec | tex processing method: context >> TeXExec | TeX run 1 >> TeXExec | writing option file hello.top >> TeXExec | using randomseed 1013 >> TeXExec | tex engine: pdftex >> TeXExec | tex format: cont-en >> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) >> %&-line parsing enabled. >> (/usr/local/texlive/2007/texmf/web2c/natural.tcx) >> entering extended mode >> (./hello.tex >> >> which indicates that Texlive 2007 was used. >> >> Alan >> >> Note: the text of ConTeXtMinimals.engine reads >> >> #!/bin/bash >> source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ >> ConTeXtMinimals/context/tex >> texexec "$1" >> >> On Aug 23, 2008, at 12;20,09 , Charles P. Schaum wrote: >> >>> Open Applications/Utilities/Terminal from the finder >>> >>> Type (or cut n paste from Mail/Entourage) and don't put a carriage >>> return between these lines (they are wrapped automatically) >>> >>> chmod a+x >>> Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> If that fails - and it should not - try: >>> >>> sudo chmod a+x >>> Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> >>> You can substitute: >>> >>> chmod a+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> for the above path, and you can opt to do >>> >>> chmod u+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> when only you should execute it or >>> >>> chmod g+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> if anyone in your group can execute it >>> >>> or you can be "typical" and say >>> >>> chmod 775 ~/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> and that will make everyone executable and you/your group read- >>> writable. >>> Since you are using UNIX (as Mac OS X proudly touts) you might >>> want to >>> snag a reference on shell scripting and basic UNIX commands. Welcome >>> to >>> the world beyond Aqua. >>> >>> That should do it. >>> >>> Charles >>> >>> On Sat, 2008-08-23 at 09:23 -0400, Alan Bowen wrote: >>>> I have installed the Context Minimals following the newbie >>>> instructions on the wiki at contextgarden for Mac users. >>>> >>>> >>>> The instructions themselves are clear but should perhaps be >>>> updated: >>>> • the file originally downloaded is first-setup.sh not >>>> first-setup.tsh >>>> • to execute this file run ./first-setup.sh not first-setup.sh (at >>>> least, the former worked and did not return a “command not found” >>>> message). >>>> >>>> >>>> I also configured TeXShop as instructed. But now when I try to >>>> typeset >>>> a file, I get the error message: >>>> Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals
Re: [NTG-context] ConTeXt Minimals on Mac
Charles--- set produces (inter alia) PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/ bin I created a .profile containing the line source ~/path/to/context/tex/setuptex ~/path/to/context/tex and put it in Macintosh HD/Users/alancbowen/Library But, sad to say, I get the same error when I try to typeset my “Hello World!” file using the™ minimals: /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: /Applications/ ConTeXtMinimals/context: No such file or directory The argument "" is not a valid TEXROOT path. There is no file "/texmf/tex/plain/base/plain.tex" provide a proper tex root (like '. setuptex /something/tex') Alan On Aug 23, 2008, at 21;04,37 , Charles P. Schaum wrote: > Here's a start: > > What's in your path? Typing set in the terminal window should tell > you. > > Second, did you add > > source ~/path/to/context/tex/setuptex ~/path/to/context/tex > > to your ~/.profile > > You need to have the source work from when you log in, and that > happens > in the .profile, not the .bashrc. That way, stuff under Aqua see the > right environment. If you just do cmdline, then .bashrc is OK. > > That's similar to GNOME under Linux/BSD. > > See what happens after you do that. > > Charles > > On Sat, 2008-08-23 at 13:16 -0400, Alan Bowen wrote: >> Charles, >> >> I ran the last command (for “typical”) but now, when I try to typeset >> \starttext >> Hello World! >> \stoptext >> it appears that there is a “context” folder missing in the minimals >> that I downloaded. That is, I get >> >> /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: / >> Applications/ >> ConTeXtMinimals/context: No such file or directory >> The argument "" is not a valid TEXROOT path. >> There is no file "/texmf/tex/plain/base/plain.tex" >> provide a proper tex root (like '. setuptex /something/tex') >> TeXExec | processing document 'hello.tex' >> TeXExec | no ctx file found >> TeXExec | tex processing method: context >> TeXExec | TeX run 1 >> TeXExec | writing option file hello.top >> TeXExec | using randomseed 1013 >> TeXExec | tex engine: pdftex >> TeXExec | tex format: cont-en >> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) >> %&-line parsing enabled. >> (/usr/local/texlive/2007/texmf/web2c/natural.tcx) >> entering extended mode >> (./hello.tex >> >> which indicates that Texlive 2007 was used. >> >> Alan >> >> Note: the text of ConTeXtMinimals.engine reads >> >> #!/bin/bash >> source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ >> ConTeXtMinimals/context/tex >> texexec "$1" >> >> On Aug 23, 2008, at 12;20,09 , Charles P. Schaum wrote: >> >>> Open Applications/Utilities/Terminal from the finder >>> >>> Type (or cut n paste from Mail/Entourage) and don't put a carriage >>> return between these lines (they are wrapped automatically) >>> >>> chmod a+x >>> Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> If that fails - and it should not - try: >>> >>> sudo chmod a+x >>> Users/alancbowen/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> >>> You can substitute: >>> >>> chmod a+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> for the above path, and you can opt to do >>> >>> chmod u+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> when only you should execute it or >>> >>> chmod g+x ~/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> if anyone in your group can execute it >>> >>> or you can be "typical" and say >>> >>> chmod 775 ~/Library/TeXShop/Engines/ConTeXtMinimals.engine >>> >>> and that will make everyone executable and you/your group read- >>> writable. >>> Since you are using UNIX (as Mac OS X proudly touts) you might >>> want to >>> snag a reference on shell scripting and basic UNIX commands. Welcome >>> to >>> the world beyond Aqua. >>> >>> That should do it. >>> >>> Charles >>> >>> On Sat, 2008-08-23 at 09:23 -0400, Alan Bowen wrote: >>>> I have installed the Context Minimals following the newbie >>>> instructions on the wiki at contextgarden for Mac users. >>>> >>>> >>>> The instructions themselves are clear but shoul
[NTG-context] paragraphs in columns query
I have set two paragraphs side by side using \defineparagraphs[TwoColumns] [n=2,tolerance=verytolerant,before={\blank},after={\blank}] \setupparagraphs[TwoColumns][distance=1pc] One of the columns is the length of the page. How do I prevent the two columns from starting a new page? Right now there is a large whitespace on the preceding page. (This problem has been raised before, but I have not yet found the answer.) Any suggestions will be gratefully received. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt Minimals on Mac
Charles---this is very helpful and much appreciated. Alan >> I created a .profile containing the line >> source ~/path/to/context/tex/setuptex ~/path/to/context/tex >> and put it in Macintosh HD/Users/alancbowen/Library > > OK, the source ~/path/to/context/tex/setuptex ~/path/to/context/tex > should be the path to YOUR context minimals (the /path/to/blablabla is > commonly understood among UNIX users as meaning "substitute the path > to > my thingy here." OK > I know where your TeXshop files are (under your Library dir tree) > but I > don't know where the ConTeXt minimals were installed on your > machine. I > have not installed minimals because the TeXLive distribution with > MacTeX > has served me satisfactorily to date. As the wiki says, all the required files are in the /Applications/ ConTeXtMinimals folder. > Please locate the folders context/tex/setuptex and context/tex in the > place where the minimals install put them. Are they under your home > dir > or are they under /usr/local? I do not seem to have a setuptex folder on my box---at least I have not been able to find one under either /usr/local or /Users/ alancbowen/. And there certainly is none in /Applications/ ConTeXtMinimals (as seems to be expected). > > Figure out the FULL pathname from root, > e.g., /usr/local/context/tex/setuptex or whatever it is. Put those > full > pathnames into the source line. > > Now, your .profile file goes in your home dir, /Users/alancbowen. The > Bourne-again shell, bash, must find that file in your home dir when > you > login. OK > /Users/alancbowen is how the UNIX side of OS X sees you, not Macintosh > HD/Users/alancbowen/Library. That's how Aqua things see you. They both > work, but UNIX creates a virtual environment off of a root /, that in > turn has Mac dirs like Applications, Users, and so on. /Users on the > Mac > corresponds to /home on other Unix-like systems. > > And this brings up a good point. > With UNIX pathnames, you have two alternatives for spaces in > pathnames, > e.g., from your home dir: > "~/The Directory/and/its leaves" > ~/The\ Directory/and/its\ leaves Thanks for the clarification. > HTH > > Charles > > > >> But, sad to say, I get the same error when I try to typeset my “Hello >> World!” file using the™ minimals: >> >> /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: / >> Applications/ >> ConTeXtMinimals/context: No such file or directory >> The argument "" is not a valid TEXROOT path. >> There is no file "/texmf/tex/plain/base/plain.tex" >> provide a proper tex root (like '. setuptex /something/tex') >> >> Alan >> >> On Aug 23, 2008, at 21;04,37 , Charles P. Schaum wrote: >> >>> Here's a start: >>> >>> What's in your path? Typing set in the terminal window should tell >>> you. >>> >>> Second, did you add >>> >>> source ~/path/to/context/tex/setuptex ~/path/to/context/tex >>> >>> to your ~/.profile >>> >>> You need to have the source work from when you log in, and that >>> happens >>> in the .profile, not the .bashrc. That way, stuff under Aqua see the >>> right environment. If you just do cmdline, then .bashrc is OK. >>> >>> That's similar to GNOME under Linux/BSD. >>> >>> See what happens after you do that. >>> >>> Charles >>> >>> On Sat, 2008-08-23 at 13:16 -0400, Alan Bowen wrote: >>>> Charles, >>>> >>>> I ran the last command (for “typical”) but now, when I try to >>>> typeset >>>> \starttext >>>> Hello World! >>>> \stoptext >>>> it appears that there is a “context” folder missing in the minimals >>>> that I downloaded. That is, I get >>>> >>>> /Applications/ConTeXtMinimals/tex/setuptex: line 75: cd: / >>>> Applications/ >>>> ConTeXtMinimals/context: No such file or directory >>>> The argument "" is not a valid TEXROOT path. >>>> There is no file "/texmf/tex/plain/base/plain.tex" >>>> provide a proper tex root (like '. setuptex /something/tex') >>>> TeXExec | processing document 'hello.tex' >>>> TeXExec | no ctx file found >>>> TeXExec | tex processing method: context >>>> TeXExec | TeX run 1 >>>> TeXExec | writing option file hello.top >>>> TeXExec | using randomseed 1013 >>>> TeXExec | tex engine: pdftex
Re: [NTG-context] paragraphs in columns query
Thanks, Hans. I have now tried ... preliminary text \starttabulate[|p|p|] \NC long paragraph A \NC long paragraph B \NC\NR \stoptabulate on my setup (ConTeXt 2008.08.04 MK II) and on the wiki (ConTeXt 2008.08.27 MK II). On the wiki: the tabulated paragraphs do not follow upon the preliminary text immediately on the same page but start on their own page. On my setup: the tabulated paragraphs do not follow upon the preliminary text immediately on the same page but start on their own page after some 22 blank pages! (If I run ConTeXt again this number increases.) The entire document should be 6 pages long. I am trying to update any version of ConTeXt---updates after 2008.08.04 will not compile for some reason (I get format mismatch errors). So for now, if I could get this to work on the wiki that would be progress of sorts. Alan On Aug 27, 2008, at 07;33,00 , Hans Hagen wrote: > Alan Bowen wrote: >> I have set two paragraphs side by side using >> >> \defineparagraphs[TwoColumns] >> [n=2,tolerance=verytolerant,before={\blank},after={\blank}] >> \setupparagraphs[TwoColumns][distance=1pc] >> >> One of the columns is the length of the page. How do I prevent the >> two >> columns from starting a new page? Right now there is a large >> whitespace on the preceding page. (This problem has been raised >> before, but I have not yet found the answer.) >> >> Any suggestions will be gratefully received. > > use \starttabulate ... instead > > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] paragraphs in columns query
Hans— Here is the text that produces the problem on the wiki (pdfTeX/MKII option). \starttext adeo aberratum est, ut C. Caesar pontifex maximus suo III et M.\ Aemilii Lepidi consulatu, quo retro delictum corrigeret, duos menses intercalarios dierum LXVII in mensem Novembrem et Decembrem interponeret, cum iam mense Februario dies III et XX intercalasset, faceretque eum annum dierum XLV, simul providens in futurum, ne iterum erraretur: nam intercalario mense sublato annum civilem ad solis cursum formavit. Itaque diebus CCCLV addidit decem, quos per septem menses, qui dies undetricenos habebant, ita discriberet, ut Januario et Sextili et Decembri bini accederent, ceteris singuli; eosque dies extremis partibus mensium adposuit, ne scilicet religiones sui cuiusque mensis a loco summoverentur. Quapropter nunc cum in septem mensibus dies singuli et triceni sint, quattuor tamen illi ita primitus instituti eo dinoscuntur, quod nonas habent septimanas, ceteri tres omnes alii reliqui quintanas.~[{\em De die nat}.\ 20.8||10] \starttabulate[|p|p|] \NC \noindent Things had deviated so much that Gaius Caesar, as \hbox{\em pontifex} {\em maximus} in his third consulship and that of M.\ Aemilius Lepi\-dus, in order to correct the past mistake, inserted between the months of November and December two intercalary months of 67 days, since he had already intercalated 23 days in the month of February, and made that a year of 445 days, at the same time taking care that the mistake would not be repeated in future; for with the intercalary month done away with, he shaped the civil year to the course of the sun. And so to the 355 days he added 10, which he distributed through the seven months which had 29 days as follows: two days were added to January, Sextilis, and December, and one to the others; and he placed these days at the ends of the months, evidently so that the religious ceremonies of each month might not be moved from their place. Therefore now, although there are 31 days in seven months, nevertheless four are distinguished by this feature of the original tradition, that they have the Nones on the seventh day, while the other three remaining ones have them on the fifth. \NC \noindent Things got so bad that Julius Caesar, when he was {\em pontifex max\-imus}, during his third consulship, which he shared with M.\ Aemilius Lepidus, in order to correct the accumlated errors, had to insert two intercalary months with a total of 67 days between November and December, even though he had already made the usual addition of 23 days in February, adding up to a total of 445 days for that year. At the same time he made sure that the problem would not return in the future, for he removed the additional month from the calendar and made the civil year conform to the course of the sun. He added 10 days to the old 355, dividing them up among the seven months that had 29 days. January, Sextilis [August], and December got two, the others (April, June, September, November) got one. He added these days at the end of each month, so that the religious festivals would not be moved from their usual places in the month. That is why to this day we have seven months with 31 days, but we can recognize the four which were set up in the ancient system by the fact they have the Nones on the seventh day, but the other three long months and all the short months have them on the fifth. [Parker, 47] \NC\NR \stoptabulate Of late my own approach to translation has been consciously to seek to replicate the sentence structures of the original Latin or Greek, however long or compressed or contorted they may seem to our English eyes. The often awkward structures of the original are a window into the minds and mental processes of the ancient (and let us not forget, foreign) writers. Thucydides and Tacitus, for instance, are not particularly easy \quote{reads} in the original, and I personally prefer to allow modern readers to gain a sense of the sometimes difficult structures that they use but which most modern translations attempt to smooth out into something more accessible to our ways of thinking and reading. The more we read like them, I tell myself, the more we may think like them and so ultimately appreciate how they saw the world around them. In a world where most of our students in Classics are devoid of Latin and Greek, exposure to the ancient modes of thought and expression increases in importance. \stoptext You will see that the columns “play nice” with text that follows, but not with text that precedes. Alan On Aug 27, 2008, at 13;06,01 , Hans Hagen wrote: Alan Bowen wrote: Thanks, Hans. I have now tried preliminary text \starttabulate[|p|p|] \NC long paragraph A \NC long paragraph B \NC\NR \stoptabulate on my setup (ConTeXt 2008.08.04 MK II) and on the wiki (ConTeXt 2008.08.27 MK II
Re: [NTG-context] paragraphs in columns query
It has been more than 15 hours since I last sent this , so I am trying again. Apologies for any duplication. A. ** Hans— Here is the text that produces the problem on the wiki (pdfTeX/MKII option). \starttext adeo aberratum est, ut C. Caesar pontifex maximus suo III et M.\ Aemilii Lepidi consulatu, quo retro delictum corrigeret, duos menses intercalarios dierum LXVII in mensem Novembrem et Decembrem interponeret, cum iam mense Februario dies III et XX intercalasset, faceretque eum annum dierum XLV, simul providens in futurum, ne iterum erraretur: nam intercalario mense sublato annum civilem ad solis cursum formavit. Itaque diebus CCCLV addidit decem, quos per septem menses, qui dies undetricenos habebant, ita discriberet, ut Januario et Sextili et Decembri bini accederent, ceteris singuli; eosque dies extremis partibus mensium adposuit, ne scilicet religiones sui cuiusque mensis a loco summoverentur. Quapropter nunc cum in septem mensibus dies singuli et triceni sint, quattuor tamen illi ita primitus instituti eo dinoscuntur, quod nonas habent septimanas, ceteri tres omnes alii reliqui quintanas.~[{\em De die nat}.\ 20.8||10] \starttabulate[|p|p|] \NC \noindent Things had deviated so much that Gaius Caesar, as \hbox{\em pontifex} {\em maximus} in his third consulship and that of M.\ Aemilius Lepi\-dus, in order to correct the past mistake, inserted between the months of November and December two intercalary months of 67 days, since he had already intercalated 23 days in the month of February, and made that a year of 445 days, at the same time taking care that the mistake would not be repeated in future; for with the intercalary month done away with, he shaped the civil year to the course of the sun. And so to the 355 days he added 10, which he distributed through the seven months which had 29 days as follows: two days were added to January, Sextilis, and December, and one to the others; and he placed these days at the ends of the months, evidently so that the religious ceremonies of each month might not be moved from their place. Therefore now, although there are 31 days in seven months, nevertheless four are distinguished by this feature of the original tradition, that they have the Nones on the seventh day, while the other three remaining ones have them on the fifth. \NC \noindent Things got so bad that Julius Caesar, when he was {\em pontifex max\-imus}, during his third consulship, which he shared with M.\ Aemilius Lepidus, in order to correct the accumlated errors, had to insert two intercalary months with a total of 67 days between November and December, even though he had already made the usual addition of 23 days in February, adding up to a total of 445 days for that year. At the same time he made sure that the problem would not return in the future, for he removed the additional month from the calendar and made the civil year conform to the course of the sun. He added 10 days to the old 355, dividing them up among the seven months that had 29 days. January, Sextilis [August], and December got two, the others (April, June, September, November) got one. He added these days at the end of each month, so that the religious festivals would not be moved from their usual places in the month. That is why to this day we have seven months with 31 days, but we can recognize the four which were set up in the ancient system by the fact they have the Nones on the seventh day, but the other three long months and all the short months have them on the fifth. [Parker, 47] \NC\NR \stoptabulate Of late my own approach to translation has been consciously to seek to replicate the sentence structures of the original Latin or Greek, however long or compressed or contorted they may seem to our English eyes. The often awkward structures of the original are a window into the minds and mental processes of the ancient (and let us not forget, foreign) writers. Thucydides and Tacitus, for instance, are not particularly easy \quote{reads} in the original, and I personally prefer to allow modern readers to gain a sense of the sometimes difficult structures that they use but which most modern translations attempt to smooth out into something more accessible to our ways of thinking and reading. The more we read like them, I tell myself, the more we may think like them and so ultimately appreciate how they saw the world around them. In a world where most of our students in Classics are devoid of Latin and Greek, exposure to the ancient modes of thought and expression increases in importance. \stoptext You will see that the columns “play nice” with text that follows, but not with text that precedes. Alan On Aug 27, 2008, at 13;06,01 , Hans Hagen wrote: Alan Bowen wrote: Thanks, Hans. I have now tried preliminary text \starttabulate[|p|p|] \NC long