Re: [NTG-context] ConTeXt source browser website update
This is really a nice interface! Thank you so much for all this work! Willi > On 7 Jun 2020, at 16:25, Taco Hoekwater wrote: > > Hi all, > > I just replaced the software of https://source.contextgarden.net/ by a Lua > implementation that uses Hans Hagen’s SciTE lexers for syntax highlighting > and a Lua-generated search index. > > There is no official documentation yet (because I may want to change some > stuff still) but here is some relevant information: > > * The search field uses a Lua string pattern to match a single word (no > multi-word search as of yet). > > See https://www.lua.org/manual/5.3/manual.html#6.4.1 for the syntax of lua > string patterns. > > * The search index only contains 7-bit ASCII ‘words’ that contain at least > one of 'a-zA-Z’ (writing an LPEG for unicode matching is a tricky and > probably would be quite slow even if I could make it work). > > Still, this should be ok-ish because most of the ConTeXt source is ASCII, > except for the interface files. > > * The files context-en.xml, mtxrun{.lua}, and all of the files in the > tex/context/patterns subtree are skipped in the search index. Also skipped > are words shorter than 3 bytes, lua keywords, and words having more than > (approx) 1500 hits > > * On the plus side, because of the SciTE lexer, “contextversion’ and > “\contextversion” are separate entries in the search index. And you can > search for “\@@kldirection”. > > * For text file types that have no SciTE lexer there is no syntax > highlighting, and binary files are ignored altogether. > > The rest of the interface should be self-explanatory. > > Suggestions for improvements are welcome. > > > Index statistics: > > 4085 files processed, 178 skipped, 3744 with matches > 120733 words found > 119154 words exported to word.idx > 37928 comment words found > 36880 words exported to comment.idx > 26756 documentation words found > 26018 words exported to docs.idx > > The word.idx is roughly 11 megabytes. > > Have fun, > > 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] Using \defineoverlay for a framed text
Hello listmembers, I try to use a Metapost drawing as a background to a framed text. — I can not make it working though… \startuniqueMPgraphic{Markings} %{Markings:\overlaywidth:\overlayheight} fill OverlayBox enlarged 5mm withcolor blue; \stopuniqueMPgraphic \defineoverlay[Marks]{\useMPgraphic{Markings}} \setupframed[background=Marks] \setupframedtexts [frame=on, background=Marks] \starttext \framedtext{Hello World!} \blank \framed{Hello World!} \stoptext What is wrong with this code? Kind regards Willi ___ If your question is of interest to others as well, please add an 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] Using \defineoverlay for a framed text
Hi Marco, thank you! :-) Willi > On 16 Jun 2020, at 14:44, Marco Patzer wrote: > > On Tue, 16 Jun 2020 14:37:17 +0200 > Marco Patzer wrote: > >> On Tue, 16 Jun 2020 14:17:09 +0200 >> Willi Egger wrote: >> >>> I try to use a Metapost drawing as a background to a framed text. — >>> I can not make it working though… >>> >>> \startuniqueMPgraphic{Markings} >>> %{Markings:\overlaywidth:\overlayheight} fill OverlayBox enlarged >>> 5mm withcolor blue; \stopuniqueMPgraphic >>> >>> \defineoverlay[Marks]{\useMPgraphic{Markings}} >> >> \defineoverlay[Marks][{\useMPgraphic{Markings}}] > > Better: > > \defineoverlay[Marks][\useMPgraphic{Markings}] > > Marco > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://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] Pagenumbering with \setupcounter[userpagenumber]
Good evening! I am trying to make use of the userpagenumber counter. I have a book at hand, where I need to adjust the start of the pagenumbering. It appears to me, that the \setupcounter[userpagenumber[state=stop] and later the \setupcounter[userpagenumber][state=start,start=7] is not giving the expected result. MWE: % Context file \mainlanguage[en] \usetypescript[termes] \setupbodyfont[termes,9pt] \setuppapersize [A5][A5] \setuppagenumbering[location=,alternative=doublesided] \setupheadertexts [text] [] [\userpagenumber] [\userpagenumber] [{\getmarking[chapter]}] \setupfootertexts [] [\pagenumber] [\pagenumber] [] \setupmakeup[standard][top=,bottom=,doublesided=yes] \setupcounter[userpagenumber][state=stop] \starttext \startstandardmakeup[page=yes,doublesided=yes] \strut \godown[.2\textheight] \rightaligned{Bramble-Bees} \stopstandardmakeup \startstandardmakeup[doublesided=yes,page=yes] \strut \godown[.1\textheight] \startalignment[middle] {\bfb BRAMBLE-BEES AND OTHER} \blank[line] {\bfa by J. HENRI FABRE} \stopalignment \vfill \startalignment[middle] {TRANSLATED BY ALEXANDER TEIXEIRA DE MATTOS, F.Z.S.} \stopalignment \stopstandardmakeup \starttitle[title={TRANSLATOR'S NOTE.}] \input ward \stoptitle \setupcounter[userpagenumber][state=start,number=7] \starttitle[title=Contents] \placelist[chapter] \stoptitle \startchapter[title=Ward] \input ward \stopchapter \startchapter[title=Knuth] \input knuth \stopchapter \stoptext Is this a bug or do I miss something? Kind regards Willi ___ If your question is of interest to others as well, please add an 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] About testing rest of space on a page
Good evening! I have a bookproject in which sections are ended with a small graphical element. Now as usual this graphic might be moved to a new page which is of course unwanted. At this moment I have: \startsetups endsection \vfil \placefigure[middle,none][]{}{\externalfigure[ornament2][height=2\lineheight]} \stopsection \stopsetups \def\stopmysection{\setups{endsection}} I use then instead of \stopsection the \stopmysection. This works except that the ornament is in some cases placed on the next page. — My question is whether it is possible to do a \testpage and evaluate the result hereof and then using either the placement of the ornament and stop the section or just end the section without ornament? Kind regards Willi ___ If your question is of interest to others as well, please add an 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] About testing rest of space on a page
Hello Taco and Wolfgang! Thank you both for the reply and input. — I am going to play :-) Kind regards Willi > On 30 Jul 2020, at 21:25, Wolfgang Schuster > wrote: > > Taco Hoekwater schrieb am 30.07.2020 um 09:05: >>> On 29 Jul 2020, at 23:08, Willi Egger wrote: >>> >>> Good evening! >>> >>> I have a bookproject in which sections are ended with a small graphical >>> element. Now as usual this graphic might be moved to a new page which is of >>> course unwanted. >>> >>> At this moment I have: >>> >>> \startsetups endsection >>> \vfil >>> \placefigure[middle,none][]{}{\externalfigure[ornament2][height=2\lineheight]} >>> \stopsection >>> \stopsetups >>> >>> \def\stopmysection{\setups{endsection}} >>> >>> I use then instead of \stopsection the \stopmysection. This works except >>> that the ornament is in some cases placed on the next page. — My question >>> is whether it is possible to do a \testpage and evaluate the result hereof >>> and then using either the placement of the ornament and stop the section or >>> just end the section without ornament? >> You can put your setups *inside* the test: >> >> \definepagechecker >>[willi] >>[method=1,before=,after=,inbetween={\setups{endsection}}] >> >> \def\stopmysection >>{\checkpage[willi][lines=4]} >> >> The before=/after= pair is used when a page break is forced by the test, >> inbetween= is used if there is no forced break. >> >> (\testpage is a wrapper around \checkpage: >> https://source.contextgarden.net/page-brk.mkiv?search=testpage#l564 ) > > No need for a new \stop command. > > \setuphead > [section] > [aftersection={\checkpage[willi][lines=4]}] > > 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] Placing a section ending depending on odd/even sectionnumber
Hi, now I have another hurdle to be taken :-) — Depending on the odd or even number of the section I have to place an ornament at the end of the section. I have sofar the following setup: \define\stopmysection {\setups{endsection}} \startsetups endsection \doifelse {\currentheadnumber} %{\headnumber[section][current]}{odd} {even} {\vfil {\bf End of even numbered section} \stopsection% } {\vfil {\bf End of odd numbered section} \stopsection% } \stopsetups \starttext \startsection[title=Ward] \setuppagenumbering[conversion=romannumerals] \input ward \stopmysection \startsection[title=Knuth] \setuppagenumbering[conversion=numbers] \input knuth \stopmysection \stoptext However the the evaluation of the sectionnumber results always in “false”, having therefore always odd as a sectionending. What to change in order to get the desired result? Kind regards Willi ___ If your question is of interest to others as well, please add an 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] Placing a section ending depending on odd/even sectionnumber
Wolfgang, thank you so much for your help! Hm, when reading your explanation I start to understand my short cut in thinking about solving the problem. I will build it into my project… Thanks and kind regards Willi > On 4 Aug 2020, at 19:46, Wolfgang Schuster > wrote: > > Willi Egger schrieb am 04.08.2020 um 18:56: >> Hi, >> now I have another hurdle to be taken :-) — Depending on the odd or even >> number of the section I have to place an ornament at the end of the section. >> I have sofar the following setup: >> [...] >> However the the evaluation of the sectionnumber results always in “false”, >> having therefore always odd as a sectionending. > > You have two problem: > > 1. To get the current value for \currentheadnumber you have use > \determineheadnumber[section] before you use it but the example below shows a > better method. > > 2. What you do with \doifelse{...}{even} is to compare the numeric value of > the section with the string "even" which is always false. To check whether > the value is odd or even you have to use the \ifodd command. > >> What to change in order to get the desired result? > > begin example > \startsetups [section:odd] > \vfill > \bold {End of odd numbered section} > \stopsetups > > \startsetups [section:even] > \vfill > \bold {End of even numbered section} > \stopsetups > > \startsetups [section:end] > \ifodd\namedheadnumber{section} > \directsetup{section:odd} > \else > \directsetup{section:even} > \fi > \stopsetups > > \setuphead > [section] > [aftersection=\directsetup{section:end}] > > \starttext > > \startsection[title=Ward] > \input ward > \stopsection > > \page > > \startsection[title=Knuth] > \input knuth > \stopsection > > \stoptext > end example > > 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] Header bottom line vanishing after 87 pages
Hello good morning, I encounter a strange problem when compiling my project. The book has 252 pages, compilation runs without errors. But after 87 pages the bottom frame of the header is turned off. The \setupbackgrounds command is given only once in the preamble. — So I am curious what that can be. I tried to reproduce the problem by a simple 255 page loop, but there the issue does not appear. There is no difference between MKIV and LMTX, no difference in older version and yesteray evening’s version of ConTeXt. My question is whether anybody has an idea how to track down this issue. Kind regards Willi ___ If your question is of interest to others as well, please add an 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] \checkpage in the TOC
Hello! humble, in another book I am trying to improve the list of contents. On different places occur page breaks which should be addressed and corrected. I tried to use the method \checkpage[][], however my attempts are not succesful. For your reference I include a screenshot of the problematic pagebreak. \definepagechecker [willi] [method=1,before=,after=,inbetween={\page}] \setuplist [chapter] [prefix=no, sectionnumber=no, headnumber=no, alternative=command, command=\Mychaptercommand, inbetween={\checkpage[willi][lines=4]} Thank you for advice! Kind regards Willi ]___ If your question is of interest to others as well, please add an 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] \checkpage in the TOC
Beste Hans! thank you so much for your solution! After plying I will remember your last statement in your answer :-) Kind regards Willi > On 12 Aug 2020, at 02:04, Hans Hagen wrote: > > On 8/10/2020 11:02 PM, Willi Egger wrote: >> Hello! >> humble, in another book I am trying to improve the list of contents. On >> different places occur page breaks which should be addressed and corrected. >> I tried to use the method \checkpage[][], however my attempts are not >> succesful. >> For your reference I include a screenshot of the problematic pagebreak. >> \definepagechecker >> [willi] >> [method=1,before=,after=,inbetween={\page}] >> \setuplist >> [chapter] >> [prefix=no, >> sectionnumber=no, >> headnumber=no, >> alternative=command, >> command=\Mychaptercommand, >> inbetween={\checkpage[willi][lines=4]} >> Thank you for advice! >> Kind regards >> Willi >> ] > Here's an example of an actually already quite old mechanism .. > > \showinjector > > \setinjector[register][3][\column] > \setinjector[list][2][{\blank[3*big]}] > > \starttext > \placelist[section][criterium=text] > \blank[3*big] > \placeregister[index][criterium=text] > \page > \startsection[title=Alpha] first \index{first} \stopsection > \startsection[title=Beta] second \index{second} \stopsection > \startsection[title=Gamma] third \index{third} \stopsection > \startsection[title=Delta] fourth \index{fourth} \stopsection > \stoptext > > .. so you now have something to wikify .. > > 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 / 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] VisualStudioCode on Linux
Hello Linux users! Can somebody tell me how to get the extension for ConTeXt to be installed for VisualStudioCode? Thani you in advance! Kind regards Willi ___ If your question is of interest to others as well, please add an 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] VisualStudioCode on Linux
Hi Mikael, thank you so much for your instructions and tasks.json! Indeed it works! Kind regards Willi > On 25 Sep 2020, at 07:50, Mikael Sundqvist wrote: > > Hi, > > I got help from the list, and in the end I did the following (I have ConTeXt > installed in $HOME/ConTeXt-lmtx/). I hope it is complete. > > ln -s > $HOME/ConTeXt-lmtx/tex/texmf-context/context/data/vscode/extensions/context > $HOME/.vscode/extensions/ > > Then I added a task file (also essentially found here, I think): > > %%% Begin of file $HOME/.config/Code/User/tasks.json > { > "name" : "context", > "tasks" : [ >{ >"label": "ConTeXt LuaMetaTeX", >"type": "shell", >"command": "export > PATH=$HOME/ConTeXt-lmtx/tex/texmf-linux-64/bin/:$PATH;mtxrun --autogenerate > --script context '${file}'", >"args": [], >"options": { >"cwd": "${fileDirname}" >}, >"group": { >"kind": "build", >"isDefault": true >}, >"problemMatcher": [] >} > ] > } > %%% End of file > > Then, in the extension setting inside code, I had to enable the color scheme > for context. > > Then it works to compile with ctrl+shift+B. > > /Mikael > > PS I also have some add-on for LaTeX installed, and for that reason I have > started to use the file extension .mkiv for ConTeXt. Then the add-ons don't > clash. > > On Thu, Sep 24, 2020 at 11:30 PM Willi Egger wrote: > Hello Linux users! > > Can somebody tell me how to get the extension for ConTeXt to be installed for > VisualStudioCode? > > Thani you in advance! > Kind regards > > Willi > > ___ > If your question is of interest to others as well, please add an 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 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] help with forced page break in TOC
Hello Julian, the mechanism does not work in the typesetting of the TOC. Whatt you is the following, when the book is in a final stage: run the file with \showinjector. This will give you in the left margin the numbers of the different TOC-entries. Now you can say \setinjector[list] [“the number of the injector where the break must take place][\page] I hope that this is solving your issue. Kind regards Willi > On 5 Oct 2020, at 04:53, jbf wrote: > > I am unable to adapt the example given in > https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break to my > situation: > > In my case, the ToC has no chapters per se, but uses a defined \mytitle. This > produces a series of unnumbered items in the ToC. > > The example in contextgarden tells me to first define the break, which I have > done: > > \definelistextra[page][before=\page] > It then tells me to call this in where I \placecontent (in my case I am using > my own defined \placecombined list[content]). The example given in the wiki > is: > > \placecontent[extras={6=page}] > But I have unnumbered items which are titles (mytitles), so I am not sure > what to replace '6' with. I tried: > > \placecombinedlist[content][extras={mytitle title={Elements of > Reading}=page}] since 'Elements of reading' is the title before which I want > the page break to occur. This does not work. I tried variation of it, e.g. > since it is the third such title I tried ][extras={3=page}] but that does > nothing either. > > Any clues as to how I can resolve this small problem? > > Julian > > ___ > If your question is of interest to others as well, please add an 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] Filler rules
Good afternoon! I am dealing with a book, which has a short black rule under the title of the chapters. I see, that the old rule mechanisms are no more available in LMTX and are replaced by fillers. Now with the following setup, I would expect a 50mm line placed centered. Hoewever this seems not to work in this way. What am I missing? kind regards Willi \definefiller [Titlerule] [alternative=rule, left=\hfil, right=\hfil, method=local, width=50mm, height=2pt, leftmargin=1pt, rightmargin=1pt, align=middle] \starttext \midaligned{Some text} \filler[Titlerule] \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filler rules
Hoi, In earlier times we had something like \definerule[…][…] and \setuprule[…][…]. This made it possible to create lines of a define width. — So what I found is the fillers, which apparently are not meant for the purpose I am looking for. Kind regards Willi > On 14 Oct 2020, at 16:33, Wolfgang Schuster > wrote: > > Willi Egger schrieb am 14.10.2020 um 15:48: >> Good afternoon! >> >> I am dealing with a book, which has a short black rule under the title of >> the chapters. >> >> I see, that the old rule mechanisms are no more available in LMTX and are >> replaced by fillers. > > What mechanism do you mean, fillers are just a high level interface to > leaders. > > 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] A Spanish introduction to ConTeXt Mark IV
Good evening Joaquin, first of all congratulations for your initiative, this is really an impressive piece of work! Without wanting to critisize I think, that in general MKIV documents should be made up with \start”elment” … \stop”element”. This will be important for all those, who also need to produce xml. I encountred two things in your book: page 96 at the bottom. You write that the “height” is header + headerdistance + textheight + bottomdistance + bottom. This should be footerdistance and footer. — The graphic showing the areas however is correct. page 139 at the top: \chapter[title=…,reference=..]. This should be \startchapter[title=…,reference=…] … \stopchapter Again, thank you for all your work! — Sorry “no hablo Espaniol”… Saludos cordiales Willi > On 14 Oct 2020, at 06:27, Joaquín Ataz López wrote: > > Sorry. By mistake I sent the message as a reply to another one, when in fact > I was trying to start a new thread with it. I'm sending it again (I think > I'll do it right now): > > - > > Good morning to everyone. > > Although I guess it will not be of interest to most of the list members, I > wanted to communicate that I have written an introduction to ConTeXt Mark IV > in Spanish, which can be downloaded at > https://webs.um.es/jal/docs/introCTX.pdf. Its title is "An Introduction (not > too short) to ConTeXt Mark IV". > > ConTeXt is a wonderful document composition system, but there is not much > literature to help you get into it, hence my initiative. The problem is that > I've only been using ConTeXt for a short time and still have many doubts, so > it's possible that the introduction may contain errors. As it has been > written in Spanish I don't think many of you will be able to read it, but I > would appreciate, of course, any suggestions for improvement. The document > is, on the other hand, free and anyone who wants to include it in any ConTeXt > distribution can, of course, do so. Also, if anyone wants the source files, I > have no problem providing them. > > I have not based my introduction on LMTX because I think that for beginners a > more stable system, like LuaTeX, is preferable. > > Finally, I apologize for my bad English level. I read it reasonably well, but > expressing myself in it is much harder for me. > > -- > Joaquín Ataz López > Derecho Civil > Universidad de Murcia > > ___ > If your question is of interest to others as well, please add an 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] Filler rules
Thank you Wolfgang! — In the meantime i was indeed able to setup what i needed with \blackrule Kind regards Willi > On 22 Oct 2020, at 22:09, Wolfgang Schuster > wrote: > > Willi Egger schrieb am 15.10.2020 um 21:59: >> Hoi, >> >> In earlier times we had something like \definerule[…][…] and >> \setuprule[…][…]. This made it possible to create lines of a define width. > > I'm sorry but I'm unable to find any code or proper example for the command. > >> So what I found is the fillers, which apparently are not meant for the >> purpose I am looking for. > > You can try the \blackrule command to add a custom rule after your title. > > 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] How to reproduce a particular head/title style (reformat)
Hi Garulfo! Now! — You managed do do a nice job! :-) Willi > On 15 Nov 2020, at 19:53, Garulfo wrote: > > Hi, > > finally I made some progress and uploaded files to the wiki in "Reports and > articles" Samples section (https://wiki.contextgarden.net/Sample_documents) > > Initial PDF document: >> https://www.hautconseilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf >> > > ConTeXt output : >> https://wiki.contextgarden.net/images/4/45/2020_hcc_rapport_maitriser-l-empreinte-carbone-de-la-france.pdf > > ConTeXt input files (build with pdftotext > markdown > pandoc > manual work > and inkscape): >> https://wiki.contextgarden.net/images/4/45/2020_hcc_rapport_maitriser-l-empreinte-carbone-de-la-france.pdf > > Any feedback is welcome (even if source code is not really clean) > > I learned a lot, and I definitely recommend such an exercise for document > design with ConTeXt : > - take a PDF file with a design you appreciate > - extract the content > - try to reproduce the design with ConTeXt > > > >> I would like to learn "how to ConTeXt" complex titles styles like the one >> seen in the following document: >> - https://wiki.contextgarden.net/images/f/f1/Screenshot_20201103_220818.png >> - source document: >> https://www.hautconseilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf >> 1. doublesided document >> 2. on both side, section title are underlined by a red rule, always "left >> aligned" in the text area, shifted to the right by the same distance than it >> is done for the text of the title, which ends at the right border of the page >> 3. on the left page : section title are overlined by a "second red rule", >> which starts "left aligned" in the text area, and goes across the whole page >> width >> 4. on the right page : the "second red rule" starts from the left border of >> the page, and terminates at the end of the text area > ___ > If your question is of interest to others as well, please add an 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] upload
Hans, I was looking trough your new manuals. Chapeau! Very interesting and good reading! — I wonder whether your day still has 24 hours ;-) — Thank you so much! Willi > On 17 Nov 2020, at 12:55, Hans Hagen wrote: > > Hi, > > I uploaded a new version of lmtx (and mkiv). We're still in the process of > migrating code from mkiv to lmtx (using new features). Anyway, I also > uploaded a few more (preliminary) 'manuals' > > http://www.pragma-ade.com/general/manuals/lowlevel-macros.pdf > http://www.pragma-ade.com/general/manuals/lowlevel-security.pdf > http://www.pragma-ade.com/general/manuals/lowlevel-conditionals.pdf > http://www.pragma-ade.com/general/manuals/lowlevel-boxes.pdf > > but some is work in progress. It shows a bit how things evolve(d) and what ws > and i are dealing with now. More (details) in due time. > > 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 / 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] Problem creating format file after downloading current version: 2021.03.09 11:42
Hello, todau I decided to upgrade my ConTeXt LMTX installation. However I get troubles and can not make a format file due to a fatal error. Please see cont-en-error.log Kind regards Willi cont-en-error.log Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] A Metafun-Problem
Hican somebody tell me why I do not get a trapezoid with bottom angles of 120 degrees?Please try the attached minimal example.Thank you!Willi test.tex Description: Binary data test.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] A Metafun-Problem
Thank you Jairo for your immediate answer. Although it is not yet what I have in mind, I see now what to do. Thanks! Willi > On 12 Apr 2021, at 23:22, Jairo A. del Rio wrote: > > Is this what you need? If so, change unitsquare by fullsquare. > > Jairo > > El lun, 12 de abr. de 2021 a la(s) 16:06, Willi Egger (cont...@boede.nl) > escribió: > Hi > > can somebody tell me why I do not get a trapezoid with bottom angles of 120 > degrees? > > Please try the attached minimal example. > > Thank you! > > Willi > ___ > If your question is of interest to others as well, please add an 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 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] A Metafun-Problem
Hi, Ok, changing the unitsquare into fullsquare is giving a better result, however it is still not the right drawing. I realise, that in this case probably the use of a vector in this way is not appropriate. — I have changed the drawing into something with rotating the top-line of the rectangle around the corner. If I am correct, then this is the right drawing. Thank you again for your answer, it made me see the culprit correctly! Kind regards Willi test.tex Description: Binary data test.pdf Description: Adobe PDF document > On 12 Apr 2021, at 23:22, Jairo A. del Rio wrote: > > Is this what you need? If so, change unitsquare by fullsquare. > > Jairo > > El lun, 12 de abr. de 2021 a la(s) 16:06, Willi Egger (cont...@boede.nl) > escribió: > Hi > > can somebody tell me why I do not get a trapezoid with bottom angles of 120 > degrees? > > Please try the attached minimal example. > > Thank you! > > Willi > ___ > If your question is of interest to others as well, please add an 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 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] Trouble constructing a drawer rail with MP
Hello MP Gurus!I wanted to make a technical drawing. However the enclosed mwe does not give me the required results.While the vector from point 1 is directing in the desired direction of 194 degrees, the second vector from point 2 does not as defined point in the direction of 166 degrees.What am I doing wrong here?Thanks for pointing me into the right direction :-)Willi test-rail.pdf Description: Adobe PDF document test-rail.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Trouble constructing a drawer rail with MP
Hi Jairo! thank you so much, this is precisely what I need. Still I am wondering why this is not working starting at the Pkt[2] but working when starting from Pkt[1]. Kind regards Willi > On 21 May 2021, at 13:15, Jairo A. del Rio wrote: > > Hi! > > Do > > p[102] := (origin--dir(194)*10mm) shifted Pkt[1]; > > and > > p[103] := (origin--dir(166)*10mm) shifted Pkt[2]; > > do what you need? > > Jairo > > El vie, 21 de may. de 2021 a la(s) 05:57, Willi Egger (cont...@boede.nl) > escribió: > Hello MP Gurus! > > I wanted to make a technical drawing. However the enclosed mwe does not give > me the required results. > > While the vector from point 1 is directing in the desired direction of 194 > degrees, the second vector from point 2 does not as defined point in the > direction of 166 degrees. > > What am I doing wrong here? > > > Thanks for pointing me into the right direction :-) > > Willi > > > ___ > If your question is of interest to others as well, please add an 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 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] Trouble constructing a drawer rail with MP
Hello Mikael, thank you very much for the explanation. Indeed I was assuming that giving the starting point of a path followed by a dir would result in a vector starting from that point. — My knowledge about vectors is unfortunately super restricted :-( Thanks Willli > On 21 May 2021, at 21:58, Mikael Sundqvist wrote: > > Hi, > > It was in fact not really "working", but it just happened that it > looked more or less correct in one case, but not in the other. > > For example: The path Pkt[1]--dir(194)*10mm for example is not given > by the two points Pkt[1] and "Pkt[1] shifted 10mm in direction 194 > degrees", but Pkt[1] and the point which is 10mm from the origin, > rotated 194 degrees. > > /Mikael > > On Fri, May 21, 2021 at 9:27 PM Willi Egger wrote: >> >> Hi Jairo! >> >> thank you so much, this is precisely what I need. >> >> Still I am wondering why this is not working starting at the Pkt[2] but >> working when starting from Pkt[1]. >> >> Kind regards >> >> Willi >> >>> On 21 May 2021, at 13:15, Jairo A. del Rio wrote: >>> >>> Hi! >>> >>> Do >>> >>> p[102] := (origin--dir(194)*10mm) shifted Pkt[1]; >>> >>> and >>> >>> p[103] := (origin--dir(166)*10mm) shifted Pkt[2]; >>> >>> do what you need? >>> >>> Jairo >>> >>> El vie, 21 de may. de 2021 a la(s) 05:57, Willi Egger (cont...@boede.nl) >>> escribió: >>> Hello MP Gurus! >>> >>> I wanted to make a technical drawing. However the enclosed mwe does not >>> give me the required results. >>> >>> While the vector from point 1 is directing in the desired direction of 194 >>> degrees, the second vector from point 2 does not as defined point in the >>> direction of 166 degrees. >>> >>> What am I doing wrong here? >>> >>> >>> Thanks for pointing me into the right direction :-) >>> >>> Willi >>> >>> >>> ___ >>> If your question is of interest to others as well, please add an 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 >> 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 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] combinations
Hello everybody, this example given by Hans is interesting. I added it to the Wiki to the command \startcombination. Willi > On 14 May 2021, at 11:39, Hans Hagen wrote: > > On 5/14/2021 6:30 AM, Benny Schurig wrote: >> Hi Julian, >> for me first reply ever with a suggestion: >> You have to set a caption >> https://wiki.contextgarden.net/Command/startcombination >> That worked fine for me: >> \startplacefigure[location=here] >> \setupcombination[distance=0mm,after=] >> {\startcombination[2*1] >> {\externalfigure[res1.jpg][width=.4\textwidth]} {pic 1} >> {\externalfigure[res2.jpg][width=.4\textwidth]} {pic 2} >> \stopcombination} >> \stopplacefigure >> Best, Benny >> Am 14.05.21 um 05:27 schrieb jbf: >>> Hi list, >>> >>> The following MWE is giving me two photos under each other, not beside >>> each. What am I doing wrong? >>> >>> Julian >>> >>> >>> \startplacefigure[location=here] >>> \setupcombination[distance=0mm,after=] >>> {\startcombination[2*1] >>> {\externalfigure[res1.jpg][width=.4\textwidth]} >>> {\externalfigure[res2.jpg][width=.4\textwidth]} \stopcombination} >>> \stopplacefigure > You can also do this: > > \startplacefigure[location=here] >\startcombination[distance=2mm,after=,nx=2,ny=1,location=middle] >\startcontent >\externalfigure[mill.png] [width=.4\textwidth] >\stopcontent >\startcaption >pic 1 >\stopcaption >\startcontent >\externalfigure[hacker.jpg][width=.4\textwidth] >\stopcontent >\startcaption >pic 2 >\stopcaption >\stopcombination > \stopplacefigure > > > - > 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] Font Maguntia not rendering correctly...
Hi all,i have a text from an old publication typeset in Fraktur. — The font I would like to use here is Unifraktur Maguntia. This Font worked before quite well, however now I get wrong renderings. Please refer to the attached MWE.Context version: 2021.06.01 17:04 LMTX What is oing wrong here?Kind regardsWilli MWE.tex Description: Binary data MWE.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] Re: error: Control sequence expected instead of undefined
Hello, I just copied your example code and run it on version 2023-09-26. It compiled just fine. Cheers Willi > On 25 Dec 2023, at 16:09, Jeong Dal via ntg-context > wrote: > > Hi, > > I got an error message as following: > > Control sequence expected instead of undefined > > If I comment out the “\externalfigure[][]” line, then there is no error > message. > > I don’t know what is wrong in the sample code. > Please check the code. > > Thank you for reading. > > Best regards, > > Dalyoung > > %%%* > \starttext > \in{figure}[fig:kruskal1] is my point. > > \startplacefigure[location=,reference=fig:kruskal1,title={}] > \externalfigure[cow][width=.5\makeupwidth] > \stopplacefigure > \stoptext > % > ___ > 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] Re: 2024
Wow Hans! As Fabrice mentioned, this is really like kind of a language and messaging from an ancient time… The shapes are genius. I believe playing this game with open cards is already a challenge to find the matching pairs. I just imagine how difficult it would be to play it as an old fashioned memory with the pictures covered… At least one would have to reduce the number of pairs significantly… Great thing, thank you so much! Willi > On 1 Jan 2024, at 13:28, Hans Hagen wrote: > > Hi, > > As a side effect (spin off) of this years xmas card we have a new years > gimmick: > > https://www.pragma-ade.nl/2023 > > Of course it screams metapost but tex and lua are also involved. See it as > compensation for the lack of an end-of-year update. The last page of the > result has a bit of explanation. > > 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] Re: regular online meet-up
Hi Hraban, hm there is a incongruence of the date. Either it is Wednesday the 14th of February or Tuesday the 13th of February… Which correct? Cheers Willi > On 10 Feb 2024, at 23:01, Henning Hraban Ramm wrote: > > You’re invited to our regular online meet-up, this upcoming > Wednesday, February 13th, 19:00 CET (UTC+1) > > at https://lecture.senfcall.de/hen-rbr-rku-oke > (same, but shorter: https://u.mtxrun.eu/ctxmtg) > > ConTeXt users of all levels are welcome! > > Do you have a subject that you’d like to talk about? > (I hope I’ll manage to show a poster draft…) > > Looking forward to seeing you, > Hraban > > > (Same blurb as always:) > > [Howto] > * No special software installation required; most modern browsers should work > (WebRTC required). > * Open the URL above, accept the privacy statement, > * enter your name, > * click "join" (or "start" if you’re the first), > * click "with microphone", allow your browser to access it, check the audio. > * Your microphone is muted if you join. Activate microphone and/or camera > with the buttons at the bottom. > * Minimize the default presentation with the "screen" button, bottom right. > > * If you’d like to share your screen or upload a file, you can make yourself > the presenter: Click on your user name, change the setting, then you’ll see > the "screen sharing" button beside the camera button; also there’s now > "manage presentations" behind the "plus" button. > Beware there is only one presenter at a time, so don’t kill someone else’s > presentation. > > [Technical hints] > * Sound is usually better if you use a headset (less noise for everyone). > * Connection problems are mostly due to low bandwidth or high latency on your > side, e.g. with mobile connections. > * Sometimes leaving and re-entering helps. > * If audio/video doesn’t work for you, you can still use the text chat. > * Screen sharing needs a lot of bandwidth. > * BigBlueButton documentation applies: > https://bigbluebutton.org/teachers/tutorials/ > > [Netiquette] > * Please use a name that we recognize from here. Some feel uncomfortable with > anonymous lurkers. > * Mute your microphone while you’re not talking. > * It’s nice to show your face at least when you join. > * If there are connection problems, stop camera sharing. > * The room is set to “everyone’s a moderator“, I trust you... > ___ > 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] Re: can we do binding correction?
Hi Hraban, I think we should clarify this. Binding correction is a fixed amount of whitespace in the spine added to the inner white-space. This is to ensure, that the binding, which is consuming white-space, keeps the inner white-space optically as intended.. The page shift mechanism works only with imposition enabled. This ensures, that the type-setting area does not creep towards the spine because multiple sheets of paper are folded in the spine. I doubt whether it is enough to have the measure of the thickness do determine this creeping effect, because we are making folds which are probably more circles than just adding thickness of paper. Willi > On 18 Mar 2024, at 17:35, Hraban Ramm wrote: > > > Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: >> Hraban Ramm schrieb am 17.03.2024 um 22:48: >>> Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz >>> Linux Days today: >>> >>> Can I configure binding correction for saddle-stitched or thread-bound >>> booklets, and if, does it only work with arranging (imposition) or can I >>> enable it somehow for the layout (if the printshop does the imposition)? >> >> 1. \definepageshift + \setuppageshift >> >> 2. \setuplayout[horoffset=] >> >>> Also I recognized I'm not sure about the difference of the layout >>> parameters backspace and cutspace. >> >> backspace is the inner margin and cutspace the outer >> > Hi Wolfgang, thank you! Seems like I was too dense to understand the > description for the \setuplayout parameters in the wiki (and there are more > that I never used, oh my…), and since I never use ConTeXt’s imposition for > serious print products (and never set up a scheme myself), I didn’t know > about pageshift. > > Ok, if I leave imposition to the printshop and they don't do binding > correction in their workflow, I'd need to set horoffset differently for every > single page (i.e. first, second, second-to-last and last the same; 3th, 4th > and from back the same etc.). Or is pageshift applied independently from > arranging? > > And then, it makes no sense to add the same value all the time. I don’t know > if BCOR works this way in LaTeX, but one value (paper thickness) should be > enough in combination with an imposition schema. I.e. if I define a paper > thickness and the number of pages that are in one booklet (as a single > booklet or part of a "proper" book), then the page shift should work > automatically. > > Well, for a single booklet, it could. In a book, booklets can have different > numbers of pages, and then you'd need to define a list… Okay, too > complicated. It’s the printshops's responsibility anyway, and nobody > complained about my books so far. (I'm not perfectionist enough to care.) > > Hraban > > > ___ > 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] Re: can we do binding correction?
Hi Hraban, > On 19 Mar 2024, at 21:56, Hraban Ramm wrote: > > Thank you Willi! > > Generally I know for what binding correction is used, I just never tried to > set it up. If I look carefully at one of our printed booklets, the printshop > also didn’t. So I'd need pageshift without applying imposition (setting it up > wouldn’t hurt). I organise this always with correction to the backspace. > > I didn’t think about vertical pageshift, but of course that’s also needed for > cross-folded sheets. > > I'm not sure how (horizontal) pageshift is supposed to work with full page > images without introducing white borders, but bleed at the inner edge should > be enough. > > Theoretically the shift value should be the same as the paper thickness > (don’t you think?), but there’s some deformation involved, so a factor might > make sense? I think that this would be quite cumbersome, paper thickness of higly coated papers vs. novel-printing paper… I believe one would have to establish this thickness for each project unless the same paper is used... > Unfortunately I threw out my old books on printing technology long ago, and > my newer one doesn’t cover bookbinding (I’m not at home anyway). I think, that many printshops do not possess neither old books including bookbinding nor do they care about the wishes of the binder … Pity, that you threw them out, but i understand, that circumstances might be such that you have to take decisions… Willi > > Hraban > > Am 19.03.24 um 17:01 schrieb Willi Egger: >> Hi Hraban, >> >> I think we should clarify this. >> >> Binding correction is a fixed amount of whitespace in the spine added to the >> inner white-space. This is to ensure, that the binding, which is consuming >> white-space, keeps the inner white-space optically as intended.. >> >> The page shift mechanism works only with imposition enabled. This ensures, >> that the type-setting area does not creep towards the spine because multiple >> sheets of paper are folded in the spine. >> >> I doubt whether it is enough to have the measure of the thickness do >> determine this creeping effect, because we are making folds which are >> probably more circles than just adding thickness of paper. >> >> >> Willi >> >>> On 18 Mar 2024, at 17:35, Hraban Ramm wrote: >>> >>> >>> Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: >>>> Hraban Ramm schrieb am 17.03.2024 um 22:48: >>>>> Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz >>>>> Linux Days today: >>>>> >>>>> Can I configure binding correction for saddle-stitched or thread-bound >>>>> booklets, and if, does it only work with arranging (imposition) or can I >>>>> enable it somehow for the layout (if the printshop does the imposition)? >>>> 1. \definepageshift + \setuppageshift >>>> >>>> 2. \setuplayout[horoffset=] >>>> >>>>> Also I recognized I'm not sure about the difference of the layout >>>>> parameters backspace and cutspace. >>>> backspace is the inner margin and cutspace the outer >>>> >>> Hi Wolfgang, thank you! Seems like I was too dense to understand the >>> description for the \setuplayout parameters in the wiki (and there are more >>> that I never used, oh my…), and since I never use ConTeXt’s imposition for >>> serious print products (and never set up a scheme myself), I didn’t know >>> about pageshift. >>> >>> Ok, if I leave imposition to the printshop and they don't do binding >>> correction in their workflow, I'd need to set horoffset differently for >>> every single page (i.e. first, second, second-to-last and last the same; >>> 3th, 4th and from back the same etc.). Or is pageshift applied >>> independently from arranging? >>> >>> And then, it makes no sense to add the same value all the time. I don’t >>> know if BCOR works this way in LaTeX, but one value (paper thickness) >>> should be enough in combination with an imposition schema. I.e. if I define >>> a paper thickness and the number of pages that are in one booklet (as a >>> single booklet or part of a "proper" book), then the page shift should work >>> automatically. >>> >>> Well, for a single booklet, it could. In a book, booklets can have >>> different numbers of pages, and then you'd need to define a l
[NTG-context] Re: command line arguments
Hello Hraban, I puzzled a while. To me the —arguments= option does not work. I saw then on the Wiki, that one can also add documentarguments as —schema=2UP —numberofpages=16. I further changed to \startdocument … \stopdocument. Please look at the attached file Willi impositiontest-2.tex Description: Binary data > On 19 Mar 2024, at 21:41, Hraban Ramm wrote: > > Following up on the other imposition question, I'm trying to make an example > file that shows an imposition schema according to command line arguments. > > This way it works for the number of pages, as used in \dorecurse{\Pages}{…}, > but not for the imposition schema. Typesetting \Schema looks right, but > \setuparranging doesn’t work. Where's my error? > > \def\Schema{\doifelsedocumentargument{schema}{\getdocumentargument{schema}}{1*8}} > \def\Pages{\doifelsedocumentargument{numberofpages}{\getdocumentargument{numberofpages}}{16}} > > \setuparranging[\Schema] > > > Find the full example attached, I call it like > > context --autopdf=auto --arrange impositiontest.tex --schema=TRYPTICHON > --numberofpages=32 > > Hraban > > ___ > 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] Underbar
Hello everybody, I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. MWE: \setupbar[offset=-.5,dy=-.5] \starttext Hello! \blank \underbar{Good buye!} \stoptext I am using the latest version of ConTeXt from March 11. Do I miss something? Kind regards Willi ___ 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: Underbar
Thank you Wolfgang! This is what I needed. Willi > On 28 Mar 2024, at 17:56, Wolfgang Schuster > wrote: > > Willi Egger schrieb am 28.03.2024 um 17:23: >> Hello everybody, >> >> I have a text, where a couple of lines are typeset with \underbar. — To me >> this underbar is a fraction to near the text. So I wanted to use >> \setupbar[…] to change the offset. Unfortunately nothing happens whatever I >> try. >> >> MWE: >> >> \setupbar[offset=-.5,dy=-.5] > > \setupbar[underbar][offset=-0.5] > > Wolfgang > > ___ > 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] Figure reference failing
Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? Kind regards Willi test.pdf Description: Adobe PDF document test.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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: Figure reference failing
Hm, I see. This question appeared while using the tug-boat-style. Taking the example at the end of the style I adapted my article accordingly. However I missed the point to enable the mode “columns”… Thanks for the explanation! Willi > On 10 Apr 2024, at 14:21, Hans Hagen wrote: > > On 4/10/2024 1:30 PM, Taco Hoekwater wrote: >>> On 10 Apr 2024, at 13:04, Willi Egger wrote: >>> >>> Hello, >>> >>> It seems, that the referencing mechanism is failing. I detected this with >>> the January version and the current version: 2024.04.01 08:59. >>> >>> Could some one confirm this? >> It fails for me as well, when "mode=columns" is used. > compare with and without mode columns: > > \starttext > >\enablemode[columns] > >As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can > have >more than one cell in a row. > >\startplacetable[mode=columns,reference=demo-1] >\externalfigure[cow][width=\textwidth] >\stopplacetable > >\samplefile{tufte} > > \stoptext > > so basically we have an "at the spot" placement or a float > > 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] Re: correcting Wikipedia
Hi Pablo, thanks for making this correction, a pebble to improve Wikipedia… Willi > On 25 Jul 2024, at 18:19, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > just by accident, I discovered that the English Wikipedia had attributed > ConTeXt to https://en.wikipedia.org/wiki/Hans_Hagen (a German computer > science professor). > > I corrected this info and also removed the internal links to that > article that belong to “our” Hans (Hagen). > > Just in case the wording may be improved, I wrote (reprashing a previous > sentence and adding two links to pages with photo): > > (Prof. Dr.) Hans Hagen is not to be confused with Hans Hagen, the author > of the ConTeXt macro package for the TeX typesetting system.[5] > > [5] ConTeXt’s author comes from the Netherlands (he is a digital > typographer, no academic). In any case, German Hans Hagen and Dutch Hans > Hagen are clearly not the same individual. > > Many thanks in advance, > > Pablo > ___ > 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] Re: Margins using 2UP imposition schema
Angel, I used a lot of impositioning in the past. If you want to have small white space at the outer edge, then do not use width=fit. Control the inner whitespace with backspace=… Then calculate the width of the textarea you want and set this value in width=... There is no need to use cutspace in your approach. Willi > On 14 Sep 2024, at 19:08, Angel M Alganza wrote: > > Hello: > > I'm composing an A5 booklet printed on an A4 paper using the 2UP imposition > schema. I believe, in such case, margins should be controlled using > 'backspace' and 'cutspace' options of the \setuplayout command, but I'm > afraid I don't quite understand how to use those properl. I want to make the > 'external' margin (right on odd pages and left on even pages) as small as > possible, and the 'internal' margin larger, so that I can hole punch the > booklet. > > I believe, in such case, margins should be controlled using 'backspace' and > 'cutspace' options of the \setuplayout command, but I'm afraid I don't quite > understand how to use those properly. Here's a minimal example: > > \setuppapersize[A5][A4] > \setuparranging[2UP,rotated] > \setuplayout > [topspace=13pt, > backspace=30pt, > cutspace=-20pt, > width=fit, > height=fit, > header=0pt, > footer=0pt] > \setuppagenumbering[state=stop] > \setupbodyfont[small] > \starttext > \dorecurse{20}{\input tufte \vskip 1em} > \stoptext > > I wonder how I could reduce the left margin and increase the left one on the > even pages. > > Any pointers, please? > > Thank you so much in advance. > Ángel > ___ > 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 ___
Re: [NTG-context] booklet set up
Hi Vyatcheslav Humble I am not yet using Luatex... Still, the problem with not processing references coud be related to the utility files. If you process a document with \setuparranging more than once, you loose the correct information in those files. If you want to produce a booklet you could say \setuppapersize[A5][A4] \setuppagenumbering[alternative=doublesided] %\setuparranging[2UP] \starttext ... \stoptext Run texexex with the arranging switched off. Run texexec once with the arranging switched on. Willi On Dec 6, 2007, at 11:10 PM, Vyatcheslav Yatskovsky wrote: > Hello, > > I'm creating a textbook as a booklet (two A5 per A4), and have > difficulties. > > 1) If I use imposition command \setuparranging, then Luatex doesn't > process references. I know, there are workarounds, but I prefer to > create A5 pages and then impose them using nice Acrobat plugin. > However, I don't know how to make Luatex to process left and right > pages differently (for future imposing). If I set "left margin", > then it is really left through the document, but I need it to be on > the right every second page, and vice versa. How to achieve it? > > (I tried 'mirrored' option in \setuppapersize, and got funny > result) ;) > > > 2) I was always scared by explanation of \showlayout on texshow: > > "Horizontal: (if singleside then outside is at right and inside is > at left) > === > width => width of text area > middle: automatic calculation consider A) params > fit: automatic calculation consider A)+B) params > dimension: cutspace should be 0 and is calculated according to > backspace > > A) params: (\paperwidth=\backspace+\makeupwidth+\cutspace) > backspace => width of inner margin > cutspace => width of outer margin (if 0 then = backspace!) > "... > > and so on. It looks like a program, not manual, and I never > understood it, despite it explains very important concept, missed > on Wiki -- 'fit' and 'middle' options. Can someone throw a light > on these? > > Best regards, > Vyatcheslav > > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ > ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > __ > _ BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mkiv
Hi, My personal view is, that we should focus on utf and where necessary on good exeption handling. Once you type your documents directly in utf, most of the language specific things are directly ok. Others like French spacing or language dependent quoting and alike can be handled with the language- switch... Willi On Dec 8, 2007, at 9:48 PM, Mojca Miklavec wrote: > On Dec 7, 2007 7:17 PM, Hans Hagen wrote: >> Hi, >> >> As a prelude to an independent language mechanism for mkiv (the tex >> part) I removes a few thingies. I was wondering ... is anyone using >> language specifics? Active quote stuff? Does that still make sense >> for >> mkiv? After all we can have more advanced exceptions and we have >> utf ... > > enco-fsl can go away (in mkii as well), but not lang-sla.mki* :) > > When looking into enco-fde (the same is true for Slovenian and > Croatian): > > \def\setupDElanguage > {\setuplanguage >[\s!de] >[\c!leftsentence=\leftguillemot, > \c!rightsentence=\rightguillemot, > \c!leftsubsentence=\leftsubguillemot, > \c!rightsubsentence=\rightsubguillemot]} > > I have suggested another way of handling that a few days ago (no > conclusions met). > > Discretionaries should be handled by LuaTeX itself, right? So I guess > that they're not really needed if they find their way into mkiv. > > Then only "a, "o, "u, "s are left for German. (I already wanted to ask > for "c -> č, "s -> š and "z ->ž mappings for Slovenian once, but I > have changed my mind. I find it extremely ugly, although I used to > write that way before someone has told me about > \usepackage[cp1250]{inputenc} > > I would vote against supporting them ("a, "o, "u) in LuaTeX, but it's > not up to me. > > 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 > __ > _ BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] TeX ligatures in XeTeX/LuaTeX: ``who needs them''?
Hi Mojca, On Dec 8, 2007, at 11:04 PM, Mojca Miklavec wrote: > Hello, > > just wondering: how many ConTeXt-ers depend on ligatures such as: >'' (double quote) and '' (two single quotes) -> right double quote > `` -> left double quote > ,, -> DOUBLE LOW-9 QUOTATION MARK Handling different languages, so one needs a way to insert the ligs in the text. With UTF this is less of a problem > > or even more weird ones: > !` -> inverted exclam > ?` -> inverted question > << -> LEFT POINTING GUILLEMET (never heard of that ligature) >>> -> RIGHT POINTING GUILLEMET For Spanish this is definitevely necessary. Again if coded in UTF there is no problem. > > Some ligatures are handy indeed: > -- -> endash > --- -> emdash > ' -> right single quote (I'm, isn't etc.) Sure this is important, I suggest to add the horizontal ellipsis > > I'm posting that question to get some feedback about which ones are > expected to work/are fundamental for XeTeX & LuaTeX, so that others > might be dropped from default additional font features (for > third-party fonts). (I'm thinking about replacing tex-text in XeTeX > with something: > - more minimalistic > - compatible with mkiv. > Of course, users are still free to provide "tex-text" mapping > explicitely as it's probably going to hang aound forever, together > with XeTeX itself.) > > Mojca Willi > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > 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 > __ > _ BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] TeX ligatures in XeTeX/LuaTeX: ``who needs them''?
Hi Mojca, On Dec 9, 2007, at 7:48 PM, Mojca Miklavec wrote: > On Dec 9, 2007 5:07 PM, Willi Egger wrote: >>> or even more weird ones: >>> !` -> inverted exclam >>> ?` -> inverted question >> >> For Spanish this is definitevely necessary. Again if coded in UTF >> there is no problem. > > Do Spansh users still key them in like that (apart from old TeX-ies > who have never heard abot anything beyond \v, \", \')? I mean: would > anyone miss those two ligatures? (I assume that people need to use > inverted quotation marks in Word as well ...) > I was not to the point on this and I misinterpreted your question. Sorry. Indeed the well known coding of umlauts and alike with \"... should be there for sake of compatibility. - If those would vanish, this would mean for me to re-encode a couple of thousand pages ... Coming back to the quotation-marks. IMHO one should stick to the \quote and \quotation constructs. This and only this allows you to change the appearance of the marks depending on a given language or adjust them to the style of a print-house/publisher. I would suggest not to make provisions in order to automatically convert ,, into „ . There will be consistency problems and the behaviour of Word i.e. that things happen while you have difficulty to control them. > Ono problem is that that's a "well known" TeX behaviour though > (documented in beginner's manual as well). > >>> Some ligatures are handy indeed: >>> -- -> endash >>> --- -> emdash >>> ' -> right single quote (I'm, isn't etc.) >> >> Sure this is important, I suggest to add the horizontal ellipsis > > \dots? But what if one decides to use, say, 10 dots in a row? That > might lead to weird effects (non-evenly spaced dots). -- and --- have > been well established, so one would be careful enough before writing > "--". And there's \dots, so that one could have been mapped to > ellipsis if needed. > The ellipsis is typographically an important 'character'. So todays solution with \dots or \unknown is fine to me. When necessary one can adjust the kerning of the dots for style-purposes. Otherwise one could discuss to convert three consecutive dots (and only those) to the horizontal ellipsis in Unicode, which would look always better than three dots from the keyboard. Also here it is questionable whether to have automatic conversion. Again this is resembling Word and how to keep grip on what is happening. IMHO the user who places an x-number of dots or dashes must know what he does. There might not be a generic solution for such cases. Willi > Thanks, > 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 ___
Re: [NTG-context] LaTeX float pages in ConTeXt
Hi, just found this question intriguing ... When changing Wolgangs suggestion into: \setupfloat[figure][default={force,top,page}] You get what you where asking for. Willi On Dec 13, 2007, at 9:37 AM, Wolfgang Schuster wrote: > \setupfloat[figure][default={here,top,bottom,page}] ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Luatex startup difficulties
Hi, It has taken quite some time. ... now I would like to get started with Luatex. I have installed justtex, upgraded context to the latest version, upgraded the binaries to the latest version (Version snapshot-0.20.2-2007121720 (Web2C 7.5.6)). luatools --generate texexec --lua --make --all texexec --make --all My testfile is: \enableregime[utf] \starttext There is text. \stoptext ConTeXt ver: 2007.12.26 20:00 MKIV fmt: 2007.12.26 int: english/ english ... This went wrong: ...luatex/tex/texmf-local/tex/context/base/font- otf.lua:1759: table index is nil . \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...ame #1\csname #2#3#4#5\endcsname \tryingfontfalse \fi ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \ifskipfontchar... \getvalue [EMAIL PROTECTED]@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.1 Humble, my stupid question is: what is wrong here? Willi ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Luatex startup difficulties
Hi, Thanks for this patch! After replacing the line with you patch I tried to run the file again. - Error remained. - May be I should remake the formats. Now I get the following eror during regeneration of the formats: ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font- def.lua:436: attempt to index field 'otf' (a nil value). \mkdefinefontfeature ...preset_context("#1","#2")} l.3539 [liga=yes,kern=yes,tlig=yes,trep=yes] % texligatures=yes,texquotes=yes Again, I am at a loss. Willi On Dec 29, 2007, at 10:59 AM, Taco Hoekwater wrote: > if d.name then > if d.unicode then > characters[d.unicode] = { description = d } > else > characters[d.unicodeenc] = { description = d } > end > end BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Luatex startup difficulties
Hi Taco, strange, even after deleting the complete cache and regenerating it with luatools --generate again, the error remains. Willi On Dec 29, 2007, at 3:30 PM, Taco Hoekwater wrote: > Willi Egger wrote: >> Hi, >> >> Thanks for this patch! >> >> After replacing the line with you patch I tried to run the file >> again. - Error remained. - May be I should remake the formats. >> >> Now I get the following eror during regeneration of the formats: >> >> ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font- >> def.lua:436: attempt to index field 'otf' (a nil value). >> \mkdefinefontfeature ...preset_context("#1","#2")} > > Perhaps just junk in the cache, caused by the earlier problems. > Try deleting the fonts/* subpath of the luatex-cache? > > (the cache path can be deduced from the LuaTools messages) > > 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 > __ > _ BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Luatex startup difficulties
Hi Hans and Taco, Luatex --version reveals: This is build 915, created on 20071128T092554Z Compiled with libpng 1.2.15; using libpng 1.2.15 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.01 Binaries where fetched from http://foundry.supelec.fr/projects/luatex/ This is LuaTeX, Version snapshot-0.20.2-2007121720 (Web2C 7.5.6) (beta) I tried also to switch to the snapshot version from http:// foundry.supelec.fr/projects/luatex/ This is luaTeX, Version 3.141592-snapshot-0.15.0-2007103113 This is build 762, created on 20070926T144212Z Compiled with libpng 1.2.15; using libpng 1.2.15 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.01 I deleted the cache. After luatools --generate texexec --lua --make --all I get the same error: ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font- def.lua:436: attempt to index field 'otf' (a nil value). \mkdefinefontfeature ...preset_context("#1","#2")} l.3539 [liga=yes,kern=yes,tlig=yes,trep=yes] % texligatures=yes,texquotes=yes Willi On Dec 29, 2007, at 9:20 PM, Hans Hagen wrote: > Willi Egger wrote: >> Hi Taco, >> >> strange, even after deleting the complete cache and regenerating it >> with luatools --generate again, the error remains. > > what version of luatex do you run .. > > luatex --version > > - >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] Luatex startup difficulties
Hi Hans, indeed, I mistakenly commented the original lines of the first error with % instead of --. Hereafter I left the patch Taco gave in the file font-otf.lua. Running texexec --lua --make --all worked then with This is luaTeX, Version 3.141592-snapshot-0.15.0-2007103113 ConTeXt ver: 2007.12.26 20:00 MKIV fmt: 2007.12.29 int: english/ englis Compiling my simple file ended with an error: error: ...luatex/tex/texmf-local/tex/context/base/node-ini.lua:438: bad argument #2 to 'kerning' (luatex.node expected, got boolean) Then I reverted to the beta This is LuaTeX, Version snapshot-0.20.2-2007121720 texexec --lua --make --all run without problem. Compiling my simple file worked then! So, sorry for the noise! Thanks for all your responses! Willi On Dec 29, 2007, at 10:22 PM, Hans Hagen wrote: > Willi Egger wrote: >> Hi Hans and Taco, >> >> Luatex --version reveals: >> >> This is build 915, created on 20071128T092554Z >> Compiled with libpng 1.2.15; using libpng 1.2.15 >> Compiled with zlib 1.2.3; using zlib 1.2.3 >> Compiled with xpdf version 3.01 >> >> Binaries where fetched from http://foundry.supelec.fr/projects/ >> luatex/ >> >> This is LuaTeX, Version snapshot-0.20.2-2007121720 (Web2C 7.5.6) >> (beta) >> >> I tried also to switch to the snapshot version from http:// >> foundry.supelec.fr/projects/luatex/ >> >> This is luaTeX, Version 3.141592-snapshot-0.15.0-2007103113 >> >> This is build 762, created on 20070926T144212Z >> Compiled with libpng 1.2.15; using libpng 1.2.15 >> Compiled with zlib 1.2.3; using zlib 1.2.3 >> Compiled with xpdf version 3.01 >> >> I deleted the cache. >> After luatools --generate >> texexec --lua --make --all > > taco and i need to look into it, somehow luatex behaves like an older > version > >> I get the same error: >> >> ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font- >> def.lua:436: attempt to index field 'otf' (a nil value). > > that's because you introduced an arror in font-otf.lua > > Hans > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ > ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > __ > _ BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] many columns and then one column on the same page
Hi Yvon, late, but still issuing the command \column moves you to the next column. Willi On Jan 12, 2008, at 5:13 PM, Yvon Henel wrote: > hello all > > I've failed to find how I could put first some text in two columns > and then > other text in one column on the same page. > After \stopcolumnsep my text goes on a new page. > > Any hint would be greatly appreciated > > Many thanks > -- > Yvon Henel > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > 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 > ______ > _ BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] How to not reset page numbers with a new part?
Hi Bart, \setuppagenumbering[way=bytext] is your friend. Willi On Feb 12, 2008, at 6:35 PM, Bart Wise wrote: > When I define a new part to my document (\part{Part One}), the page > numbers > always get reset to 0. How do I prevent this? > > Thanks, > Bart > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > 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] References title in Norwegian
Hi Trond, Intreaguing question ... \mainlanguage[no] \setupheadtext[no][pubs=Literatur] Willi On Feb 21, 2008, at 6:41 PM, Trond Lossius wrote: > Hi, > > I'm writing a publication in Norwegian containing citations and > references. I use > > \completepublications[criterium=all] > > at the end of the tex file to get the references. The only problem is > that the title of it when typeset show up as "References" in > English. Is > it possible somehow to substitute that for the Norwgeian equivalent > "Litteratur"? > > I'm using the MacTex distro from http://www.tug.org/mactex/ > > > Thanks a lot, > Trond > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > 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 > ______ > _ BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] t-tikz: problem with colorspace pgfprgb
Hi Mojca, I would welcome such a feature! Willi On Mar 3, 2008, at 3:25 PM, Mojca Miklavec wrote: > So ... feel free to test it (should I set up automatic updates of tikz > from cvs for the minimals?). BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Arrange a pdf file
Hi, I do not understand what is going on here: Earlier one could say: texmfstart texexec --arrange --print=2UP --environments=arrange code- review.pdf with in the environment file: \definepapersize [offset=15pt] \setuppapersize [A5,landscape][A4,portrait] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setuppagenumbering[location=,alternative=doublesided] \starttext \copypages[code-review.pdf][width=0pt] \stoptext Resulting in a neat arranged document. However with the earlier and latest version (march 11) this fails, because the pdf-file (in this example "code-review") is deleted! !pdfTeX error: pdftex (file ./code-review.pdf): reading image file failed ==> Fatal error occurred, no output PDF file produced! Willi BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Arrange a pdf file
Hi Wolfgang, thanks for your line of code! - Stupid me used --arrange in place of --pdfarrange! Willi On Mar 16, 2008, at 12:18 PM, Wolfgang Schuster wrote: > On Sat, 15 Mar 2008 23:45:59 +0100 > Willi Egger <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> I do not understand what is going on here: >> >> Earlier one could say: >> >> texmfstart texexec --arrange --print=2UP --environments=arrange >> code- >> review.pdf > > texexec --pdfarrange --paperformat=A5A4 --print=2UP code-review.pdf > > 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 > ______ > _ BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Compiling error \subpagenumber
Hi, I got a series of files, which are organized in a project-structure. With the following versions I get the desired output: ConTeXt ver: 2007.12.18 19:11 MKII fmt: 2008.3.19 int: english/english ConTeXt ver: 2008.01.11 12:09 MKIV fmt: 2008.1.11 int: english/english Since the update lately the project does not compile anymore: ConTeXt ver: 2008.03.11 23:55 MKII fmt: 2008.3.15 int: english/ english Undefined controlsequence ...ubpage }{\newnofsubpages }{\oldsubpage} }\endwrite \actualshipout ... \box \postponedcontent \box 0}} \else \message {[\ifarrang... \myshipout ... \fi {\thisisrealpage \realfolio #1} \gotonextrealpage \aftersh... \dofinaloutput ...agebody #1#2\setpagecounters }}} \fi \the \everyaftershipou... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... ... l.84 \stopfrontmatter Hans, could you have a look into this? Kind regards Willi ___ If your question is of interest to others as well, please add an entry to the Wiki! 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 LuaTeX
Hi, I just tried to update context with ctxtools --updatecontext. I receive though the following error while preparing the format-files (cont-en.fmt) (/Applications/luatex/tex/texmf-local/tex/context/base/core-inc.mkiv ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/core- inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode " .. "#1" .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.21 \registerctxluafile{core-inc}{1.001} Hm, what to do? Kind regards Willi ___ If your question is of interest to others as well, please add an entry to the Wiki! 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 LuaTeX
Taco thanks! This helped. Willi On Mar 19, 2008, at 10:32 AM, Taco Hoekwater wrote: > > > Willi Egger wrote: >> Hi, >> >> I just tried to update context with ctxtools --updatecontext. >> >> I receive though the following error while preparing the format-files >> (cont-en.fmt) >> >> (/Applications/luatex/tex/texmf-local/tex/context/base/core-inc.mkiv >> ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/core- >> inc.lua:85: attempt to index global 'img' (a nil value). >> \ctxluabytecode ...ode " .. "#1" .. str) end end } >> >> \registerctxluafile ...{\the \luabytecodecounter } >>\fi >> l.21 \registerctxluafile{core-inc}{1.001} >> >> Hm, what to do? > > You need a binary of luatex 0.25.0. The best way to get one is to > download the right one for your platform from the minimals > >http://minimals.contextgarden.net/current/bin/luatex/ > > Best wishes, > Taco > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ > ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > __ > _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Compiling error \subpagenumber
Hio, in addition to this mail I can inform you, that the project compiles without problem with ConTeXt ver: 2008.03.11 23:55 MKIV fmt: 2008.3.19 int: english/english Willi On Mar 19, 2008, at 10:05 AM, Willi Egger wrote: > Hi, > > I got a series of files, which are organized in a project-structure. > With the following versions I get the desired output: > > ConTeXt ver: 2007.12.18 19:11 MKII fmt: 2008.3.19 int: english/ > english > ConTeXt ver: 2008.01.11 12:09 MKIV fmt: 2008.1.11 int: english/ > english > > Since the update lately the project does not compile anymore: > > ConTeXt ver: 2008.03.11 23:55 MKII fmt: 2008.3.15 int: english/ > english > > Undefined controlsequence > > ...ubpage }{\newnofsubpages }{\oldsubpage} > > }\endwrite > \actualshipout ... \box \postponedcontent \box 0}} > \else \message {[\ifarrang... > \myshipout ... \fi {\thisisrealpage \realfolio #1} > \gotonextrealpage \aftersh... > \dofinaloutput ...agebody #1#2\setpagecounters }}} > \fi \the \everyaftershipou... > \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 > \resetselectiepagina \incr... > > ... > > l.84 \stopfrontmatter > > > Hans, could you have a look into this? > > > Kind regards > > Willi > > > > > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > 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] Compiling error \subpagenumber
Hello Wolfgang, thanks a lot for your solution of the subpageno-error! Kind regards Willi On Mar 20, 2008, at 8:46 PM, Wolfgang Schuster wrote: > subpageno BOEDE Book and Electronic Document Engineering Willi Egger [EMAIL PROTECTED] KvK 17138708 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] setuparranging issue
Hi Andrea, On Mar 28, 2008, at 1:34 PM, Andrea Valle wrote: > Hi to all, > > I have an A5 paper size to be printed on an A4. > Substantially, I'd like to have 2 pages on a paper sheet. > Now, I can use \setuparranging[2*2]. Works fine if I want to print, > cut and bind. > 4 1 > 2 3 > > > But I'd like also to have another option, simply a sequence of > pages (for screen reading, printing and binding without cutting) > This: > 1 2 > 3 4 \setuparranging[XY] %one sheet with x rows and y columns is your friend Auguri Willi > Sorry, I guess it's really easy, but cannot figure out... > > Thanks > > Best > > -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] Natural tables, offsets
Hi Wolfgang, Thanks a lot for this solution! Willi On Mar 29, 2008, at 6:23 PM, Wolfgang Schuster wrote: > On Fri, 28 Mar 2008 14:02:55 -0700 > David <[EMAIL PROTECTED]> wrote: > >> Hi all >> >> I'm using the natural table environment, and would like the text in >> each cell to have some horizontal offset from the cell boundaries >> - but >> I don't want to change the vertical offset. Is there a way to do >> this? > > \starttext > > \startsetups table:margins > > \rightskip=1cm\relax > \leftskip=1cm\relax > > \stopsetups > > \setupTABLE > [setups=table:margins] > > \bTABLE > \bTR > \bTD \input ward\par \eTD > \bTD \input ward\par \eTD > \eTR > \bTR > \bTD \input ward\par \eTD > \bTD \input ward\par \eTD > \eTR > \eTABLE > > \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] ConTeXt meeting moved to October/November
Gosh! - I do hope this is a 1st of april joke! Willi On Apr 1, 2008, at 8:15 PM, Mojca Miklavec wrote: > Hello, > > I'm sorry to inform you that due to some other unavoidable obligations > at the faculty, I have been forced to move the ConTeXt meeting to 29th > October - 3rd November, unless I will be able to find someone else to > take over the organisation. > > More information to come in the following days. > > I'm really sorry for the incovenience, > 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 ___
Re: [NTG-context] Discussion: correspondence with ConTeXt
Hi Wolfgang, First of all thanks for this initiative! - Until now I composed a letter based on a "template" I build one day. Nothing special though. - Still a module which would allow for writing letters and quotes consistently would make live easier. As I am living in the Netherlands, we use commonly block-style letters. Will your module provide the possibility to use a header on the first page and e.g. a smaller something in the margin on the second and following pages? Will your module provide page-numbering switched on beginning at the second page if the document is longer than 1 page? - This last point is in my environment always a struggle... The Dutch TeX users group has released on CTAN a ntgclass.zip (LaTeX). There are three articles which might help to "enlighten" you. Unfortunately two of the three articles are written in Dutch (briefdoc.pdf, brief.pdf). In case you intend to include ideas contained in this NEN-1026 style letter I am happy to help you translating the important parts of those articles. I am looking forward to your module Kind regards Willi On Apr 17, 2008, at 10:13 AM, Wolfgang Schuster wrote: > Hi all, > > > Preface > > > most of the discussions in the last weeks on the list > concerned LuaTeX and MkIV with the topic fonts, xml and bugs, > currently not implemented functions and bug and in the last > few days also mplib. I will try start with this mail a > hopefully interesting discuassions wuth many people about the > current state to use ConTeXt for correspondence in personal > and business live. > > > > Introduction > > > Although ConTeXt has many features and can be used for nearly > every type of document with many features to adapt the layout > to ones personal requirements we have still a few places where > something is missing or force us to use another tool. I will > focus myself for the moment on the missing support for a real > module to write letter and other correspondence. > > > > The Past and the present > > > A few modules had been written in the past to write letter but > wether they are not available like Hans own module or it is to > complicated to use. > > Hans own module m-letter.tex was never included in the main > distribution and the documentation [1] was never finished but > it is now possible to find a older version in the list > archives. The strong point on the module are the possibility > to change the size and position of the address and reference > fields but it was nearly impossible to add extra information > like values for sender or to make big changes in the layout. > > The second option to write a letter was and is Holger Schöners > letterstyle environment [2], he provided a layout for german > letters with a DIN style and macros to store address and > sender information. What looked like a good solution to me at > first glance had also many disadvatages, the names for the > fields in the refrence line used hard to memorize name like > \lettersenderkey... and no high level interface to set them. > Another point to me which prevented me from using the style > was the hard way to change the layout, the environment > provided commands to change the values but all was done with > simple definition and no setup command. > > A few user write their own simple setups and environemnts to > write letter [2,3] but none of them was really confugrable or > provided a real interface. > > > > The future > > > The lack of any good soution for this topic forced me to write > my own letter module for ConTeXt. I started myself with Hans > letter module and added a extra field to add my own address > but this was at a time where I was still new to ConTeXt and > most of the content in m-letter.tex where confusing to me and > I had problem to adapt the layout to my own requirements. > After I gained a little bit more knowledge in TeX and ConTeXt > is started to write a new module from scratch with the option > to load style files and set the information for the address > and all other information with a better interface. > > After nearly one and a helf years and 2 major revisions I have > nearly finished my module and would will make it now available > also to other users. But before I make my last stable version > online I want to discuss a few points with interested users. > > > > The discussion > > > Before I start to give you information about my module and > give you the chance to mention your own wishes or thoughts > about the inteface I'm interested what do you use currently to > write you own correspondence (letter, invoices etc.). > > After this interesting question for me I will now make a few > information about my module available. > > The module use by default the definition for german business > letters as layout where the position for the address block and > the reference line are defined. To change the layout for your > own letter I provide the option to change the default settings > with the one for all command \se
Re: [NTG-context] Discussion: correspondence with ConTeXt
Hi Wolfgang, I will try to provide you with something. The difficulty is, that I do not have LaTeX running. So please some patience. Kind regards Willi On Apr 18, 2008, at 10:13 AM, Wolfgang Schuster wrote: > Can you show me a few example letters with values for all fields, > I saw a few in Hans letter documentation [1] ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Arranging into Signatures?
Hi Michael, Arranging pages is not changed from MKII to MKIV. The possibilities are: % \setuparranging[2*16] %section: one sheet 2 x 16 pages = 32 pages % \setuparranging[2*8] %section: one sheet 2 x 8 pages = 16 pages % \setuparranging[2*4] %section: one sheet 2 x 4 pages = 8 pages % \setuparranging[2*2] %section: one sheet 2 x 2 pages = 4 pages % \setuparranging[2**2] %section: one sheet 2 x 2 pages = 4 pages % \setuparranging[2SIDE]%2 pages next to each other single sided only! % \setuparranging[2TOP] %2 pages above each other, single sided only! % \setuparranging[2UP] %2 pages next to each other, n sheets arranged for a single booklet! % \setuparranging[2DOWN]%2 pages above each other, n sheets arranged for a single booklet! % \setuparranging[2TOPSIDE] %two odd pages on one side, two even pages verso, above each other % \setuparranging[2*4*2]%section of 16 pages: 2 sheets, 4 pages front and backside % \setuparranging[2*2*4]%section of 16 pages: 4 sheets, 2 pages front and backside % \setuparranging[XY] %one sheet with x rows and y columns There is no option to make sections with 32 pages directly based on US-letter paper. Stil what you can do is to compile your document normally without arranging. In a second step you can use texexec to select ranges of 32 pages into a "section-1.pdf" then in a "section-2.pdf" etc. In a third step you can arrange the pages in the "section-files" as usual with \setuparranging[2UP]. On the other hand I suggest to prepare sections of 16 pages. Then you can use the \setuparranging[2*4*2] or \setuparranging[2*2*4] options directly on the whole document. Normally I consider the sections containing 32 pages too thick for getting a nice book with rounded back. Anyhow if you have more than one section you will have to sew them together. This is much easier with 4 sections of 16 pages than with 2 sections of 32 pages. Kind regards Willi On May 7, 2008, at 3:44 PM, [EMAIL PROTECTED] wrote: > (I am still using mkii, which I suspect may matter in this case) > I am able to produce rather nice booklets on US Letter paper, printing > double-sided two-up pages that fold into a booklet and using > texexec --arrange to make it work properly. For documents longer > than about 32 pages, it isn't really practical to fold in half. > What would y'all recommend if I want to arrange the pages into > signatures, each containing about 32 pages, that can then be > somehow bound together? An external PDF rearranger might > be an option, I suppose. > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > 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] [Fwd: problem with context]
Hello, A somewhat similar question came from Henning Hraban Ramm some time ago. Wolfgang Schuster prepared a solution... I will send you an example-file and the necessary macro-file off-line. Willi On May 28, 2008, at 4:34 PM, Hans Hagen wrote: > > -- > > - > 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 > - > > From: Kerstin Labusga <[EMAIL PROTECTED]> > Date: May 27, 2008 12:32:16 PM GMT+02:00 > To: [EMAIL PROTECTED] > Subject: problem with context > > > Dear collegues, > > I have a problem with a table and I hope you can help me on. I would > like to rotate a table by 90 degree. I found the command \rotate[]{}, > but it doesn't work with the table. Do you have another command that I > can try? > Thank you for helping me on. > > Kerstin Labusga / Redaktion / Publications > GIGA German Institute of Global and Area Studies/ > Leibniz-Institut für Globale und Regionale Studien > > Neuer Jungfernstieg 21 / D-20354 Hamburg > Tel. 0049-(0)40-42825-583, Raum 315 > E-mail: [EMAIL PROTECTED] > > > > > > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > 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] [Fwd: problem with context]
Hi, Of course... Wili rotatedtable-notrotatedcaption.tex Description: Binary data rotatesplit.tex Description: Binary data On May 29, 2008, at 8:43 AM, Wolfgang Schuster wrote: Hi Willi, A somewhat similar question came from Henning Hraban Ramm some time ago. Wolfgang Schuster prepared a solution... I will send you an example-file and the necessary macro-file off- line. Can you send the solution also to the list, it's hard to remeber things after a long time and it will also help other users with the same problem. I don't know what his problem is with the table but \placetable[90]{caption}{my table code} should work. Willi Greetings 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] (scientific) poster
Hi, Possibly the attached file might helpo you getting going. I prepared this for a short presentation at the CnTeXt meeting in Epen last year. kind regards Willi Postertutorial.tex Description: Binary data On Jun 13, 2008, at 1:03 PM, Pau wrote: Hi, I have googled, looked in the pragma site etc for a template (style) of an a0 poster. Doing this with latex is a bit of a nightmare and the result is not very appealing. I am looking for something in the size of a0 with embedded boxes with plots, equations etc. If such a file existed and was to be found somewhere I'd be grateful if you gave me a link. thanks __ _ If your question is of interest to others as well, please add an entry to the Wiki! 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] NTG bijeenkomst in Purmeend
Beste TeX-gebruikers, de NTG organiseert a.s. donderdag 26 juni een bijeenkomst. Iedereen, die interesse heeft is hartelijk uitgenodigd om na de ledenvergadering aan te schuiven en mee te luisteren. Het programma ziet er uit als volgt: 09:30 Ontvangst met koffie en thee 10:00 Ledenvergadering met bestuursverkiezingen 10:45 Pauze 11:00 Hans Hagen: MATHml 11:30 Taco Hoekwater: MPlib: het project, de library en de toekomst 12:15 Siep Kroonenberg: TeX-Live installatie 12:45 Lunch 14:00 Hans Hagen; Actuele stand van ontwikkeling op LuaTeX 14:30 Frans Goddijn: Zelf je boek uitgeven 15:00 Pauze 15:30 Willi Egger: Brieven in internationale context 16:00 Einde van de bijeenkomst De bijeenkomst vindt plaats in het Partycentrum Concordia, Koemarkt 45, 1441 DB Purmerend Vriendelijke groeten Willi Egger Secretaris NTG ___ If your question is of interest to others as well, please add an entry to the Wiki! 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 ver: 2008.07.14 18:07 MKIV
Hi LUA-users, Yesterday I installed a complete new set of minimals on my MAC (OSX 10.4). Now I get very strange results wit MATPOST. The file compiled contains a large definition which is used as an inclusion to produce a series of similar drawings with different parameters. When compiling the document with texexec --lua the fist page is ok. The second and the following pages contain each page all the previous drawings on top of each other. If the same drawing-set is compiled with texexec in MKII mode (This is MetaPost, version 1.085 (kpathsea version 3.5.6dev), some elements are distorted. It concerns elements, which are rotated and shifted. The fullcircle contained in the drawing is distorted too. Further also this document contains on the second and following pages the drawings from the previous pages stacked. This file compiles correctly with This is pdfTeXk, Version 3.141592-1.40.1 (Web2C 7.5.6) (format=cont- en 2008.3.21) 16 JUL 2008 14:38 ConTeXt ver: 2008.03.11 23:55 MKII fmt: 2008.3.21 int: english/ english I tried to make a small test file. However this did not show the problem described above. For someone who want to test I can provide the source and my pdfs offline. Willi ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Using fontfeatures ...
Hi, I am trying to use fontfeatures contained in my new otf-font Seravek. I am getting Seravek in the file but no way to activate the oldstyle figures and the small caps. :-( Can someone give m a clue? Willi I got until now the following typescript: % \definefontfeature % [OldstyleFigures] % [language=nld,script=latn,mode=node,calt=no,clig=yes,rlig=yes,onum=yes] \starttypescript [sans] [seravek] \definefontsynonym [SeravekBasic-Roman] [file:SeravekBasic- Regular] [features=default] \definefontsynonym [SeravekBasic-Bold] [file:SeravekBasic- Bold] [features=default] \definefontsynonym [SeravekBasic-Italic] [file:SeravekBasic- RegularItalic][features=default] \definefontsynonym [SeravekBasic-Bold-Italic][file:SeravekBasic- BoldItalic] [features=default] \stoptypescript \starttypescript [sans] [seravek] [name] \definefontsynonym [Sans] [SeravekBasic-Roman] [features=default] \definefontsynonym [SansItalic][SeravekBasic-Italic] [features=default] \definefontsynonym [SansBold] [SeravekBasic-Bold] [features=default] \definefontsynonym [SansBoldItalic][SeravekBasic-Bold-Italic] [features=default] \definefontsynonym [SansRegularCaps] [Sans] [features=smallcaps] % \definefontsynonym [SansBoldCaps] [SansBold][features=smallcaps] % \definefontsynonym [SansItalicCaps] [SansItalic] [features=smallcaps] % \definefontsynonym [SansBoldItalicCaps] [SansBoldItalic] [features=smallcaps] \stoptypescript \starttypescript [Seravek] \definetypeface [Seravek] [ss] [sans][seravek][default] \definetypeface [Seravek] [mm] [math] [modern][default] \stoptypescript I tried this with the following test-code: \setupoutput[pdftex] \enableregime[utf] % \definefontfeature % [OldstyleFigures] % [language=nld,script=latn,mode=node,calt=no,clig=yes,rlig=yes,onum=yes] \definefontfeature[default] [method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes] \usetypescriptfile[seravek] \usetypescript[Seravek] \setupbodyfont[Seravek,12pt] % \def\sc{\setfontfeature{smcp}} % \def\os{\setfontfeature{onum}} \starttext Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9 \blank {\sc Hello World!} \blank {\bf Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9} \blank {\it Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9} \blank \bi Hello World {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9! \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt ver: 2008.07.14 18:07 MKIV
Hi Mojca, thanks for your immediate reply. - Because I have still an older version running here, I do not depend on immediate repair. - Anyway I believe there will soon be a new version of MPlib though. Kind regards Wiilli On Jul 16, 2008, at 2:55 PM, Mojca Miklavec wrote: > On Wed, Jul 16, 2008 at 2:43 PM, Willi Egger wrote: >> Hi LUA-users, >> >> >> Yesterday I installed a complete new set of minimals on my MAC (OSX >> 10.4). >> >> Now I get very strange results wit MATPOST. The file compiled >> contains a large definition which is used as an inclusion to produce >> a series of similar drawings with different parameters. When >> compiling the document with texexec --lua the fist page is ok. The >> second and the following pages contain each page all the previous >> drawings on top of each other. > > We (blame *me*) just followed Taco's request to test the new mplib, > and you are the third one to complain. I think that Taco is eagerly > waiting for such bug reports :) :) :) > > If you need the old working metapost, let me know. > > Mojca > > PS: we have a nice way to go back in time with ConTeXt, but no nice > way to go back in time with binaries yet. > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ > ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > __ > _ ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Using fontfeatures ...
Hi Wolfgang, Thanks for your reply. I tried your suggestions, but unfortunately none of the versions gives oldstyle nor small caps. ;-( Kind regards Willi On Jul 16, 2008, at 2:56 PM, Wolfgang Schuster wrote: > On Wed, Jul 16, 2008 at 2:48 PM, Willi Egger <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I am trying to use fontfeatures contained in my new otf-font Seravek. >> >> I am getting Seravek in the file but no way to activate the oldstyle >> figures and the small caps. :-( >> >> Can someone give m a clue? >> >> Willi >> >> >> I got until now the following typescript: >> >> >> % \definefontfeature >> % [OldstyleFigures] >> % >> [language=nld,script=latn,mode=node,calt=no,clig=yes,rlig=yes,onum=ye >> s] >> >> \starttypescript [sans] [seravek] >>\definefontsynonym [SeravekBasic-Roman] [file:SeravekBasic- >> Regular] [features=default] >>\definefontsynonym [SeravekBasic-Bold] [file:SeravekBasic- >> Bold] [features=default] >>\definefontsynonym [SeravekBasic-Italic] [file:SeravekBasic- >> RegularItalic][features=default] >>\definefontsynonym [SeravekBasic-Bold-Italic][file:SeravekBasic- >> BoldItalic] [features=default] >> \stoptypescript >> >> \starttypescript [sans] [seravek] [name] >>\definefontsynonym [Sans] [SeravekBasic-Roman] >> [features=default] >>\definefontsynonym [SansItalic][SeravekBasic-Italic] >> [features=default] >>\definefontsynonym [SansBold] [SeravekBasic-Bold] >> [features=default] >>\definefontsynonym [SansBoldItalic][SeravekBasic-Bold-Italic] >> [features=default] >>\definefontsynonym [SansRegularCaps] [Sans] >> [features=smallcaps] >>% \definefontsynonym [SansBoldCaps] >> [SansBold][features=smallcaps] >>% \definefontsynonym [SansItalicCaps] >> [SansItalic] [features=smallcaps] >>% \definefontsynonym [SansBoldItalicCaps] >> [SansBoldItalic] [features=smallcaps] >> \stoptypescript >> >> \starttypescript [Seravek] >>\definetypeface [Seravek] [ss] [sans][seravek][default] >>\definetypeface [Seravek] [mm] [math] [modern][default] >> \stoptypescript >> >> >> I tried this with the following test-code: >> >> \setupoutput[pdftex] >> \enableregime[utf] >> >> % \definefontfeature >> % [OldstyleFigures] >> % >> [language=nld,script=latn,mode=node,calt=no,clig=yes,rlig=yes,onum=ye >> s] >> \definefontfeature[default] >> [method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes] >> >> \usetypescriptfile[seravek] >> \usetypescript[Seravek] >> \setupbodyfont[Seravek,12pt] >> >> >> % \def\sc{\setfontfeature{smcp}} >> % \def\os{\setfontfeature{onum}} > > \def\sc{\setfontfeature{smallcaps}} > \def\os{\setfontfeature{oldstyle}} > > or > > \def\sc{\setfontfeature{smallcaps}} > \def\os{\setfontfeature{OldstyleFigures}} > >> \starttext >> Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9 >> \blank >> {\sc Hello World!} >> \blank >> {\bf Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9} >> \blank >> {\it Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9} >> \blank >> \bi Hello World {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9! >> \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] ConTeXt ver: 2008.07.14 18:07 MKIV
Hello, indeed, that was the problem in MKIV. - Though this runs really fast, it is to adopt a new attitude! ;-) Willi On Jul 16, 2008, at 4:38 PM, Taco Hoekwater wrote: > > > Mojca Miklavec wrote: >> On Wed, Jul 16, 2008 at 2:43 PM, Willi Egger wrote: >>> Hi LUA-users, >>> >>> >>> Yesterday I installed a complete new set of minimals on my MAC (OSX >>> 10.4). >>> >>> Now I get very strange results wit MATPOST. The file compiled >>> contains a large definition which is used as an inclusion to produce >>> a series of similar drawings with different parameters. When >>> compiling the document with texexec --lua the fist page is ok. The >>> second and the following pages contain each page all the previous >>> drawings on top of each other. >> >> We (blame *me*) just followed Taco's request to test the new mplib, >> and you are the third one to complain. I think that Taco is eagerly >> waiting for such bug reports :) :) :) > > This is not really a bug. Willi saved the drawing in a picture > variable, and each drawing simply added to the saved drawing. > > In mkiv, all images are processed sequentially in a single metapost > job. This is quite different from mkii where each image had its own > metapost run. It means that in mkiv, you have to clean up after > yourself if you want your images to be independent of eachother. > > 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] OTF features
Dear OTF-users, Is there a simple way to get to know the features wich a given OTF has? Happy TeXing! Willi ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] OTF features
Hans, thanks! That is great. Willi On Aug 5, 2008, at 3:44 PM, Hans Hagen wrote: > Willi Egger wrote: >> Dear OTF-users, >> Is there a simple way to get to know the features wich a given OTF >> has? > > ok, there is one now ... (attached file goes to scripts/context/lua > > >mtxrun --script font --list "zapfinoextra.*four" --info > MtxRun | > MtxRun | fontname: zapfinoextralt-four > MtxRun | fullname: ZapfinoExtraLT-Four > MtxRun | filename: zapfinoextralt-four.otf > MtxRun | > MtxRun | feature : -> latn rom > MtxRun | feature : aalt -> latn dflt > MtxRun | feature : case -> latn afk nld rom trk dflt > MtxRun | feature : crcy -> latn afk nld rom trk dflt > MtxRun | feature : dlig -> latn afk nld rom trk dflt > MtxRun | feature : dnom -> latn afk nld rom trk dflt > MtxRun | feature : dpng -> latn afk nld rom trk dflt > MtxRun | feature : frac -> latn afk nld rom trk dflt > MtxRun | feature : liga -> latn afk nld rom trk dflt > MtxRun | feature : locl -> latn afk nld rom trk dflt > MtxRun | feature : numr -> latn afk nld rom trk dflt > MtxRun | feature : ordn -> latn afk nld rom trk dflt > MtxRun | feature : ornm -> latn dflt > MtxRun | feature : sups -> latn afk nld rom trk dflt > MtxRun | > > > - > 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 not modules then modules = { } end modules ['mtx-fonts'] = { > version = 1.001, > comment = "companion to mtxrun.lua", > author= "Hans Hagen, PRAGMA-ADE, Hasselt NL", > copyright = "PRAGMA ADE / ConTeXt Development Team", > license = "see context related readme files" > } > > dofile(input.find_file("font-syn.lua")) > > scripts = scripts or { } > scripts.fonts = scripts.fonts or { } > > function scripts.fonts.reload(verbose) > fonts.names.load(true,verbose) > end > > local function showfeatures(v,n,f,s) > local filename = input.find_file(f,type) or "" > if filename ~= "" then > local ff = fontforge.open(filename) > if ff then > local data = fontforge.to_table(ff) > fontforge.close(ff) > local features = { } > local function collect(what) > if data[what] then > for _, d in ipairs(data[what]) do > if d.features then > for _, df in ipairs(d.features) do > features[df.tag] = features[df.tag] > or { } > for _, ds in ipairs(df.scripts) do > features[df.tag][ds.script] = > features[df.tag][ds.script] or { } > for _, lang in ipairs(ds.langs) do > features[df.tag][ds.script] > [lang] = true > end > end > end > end > end > end > end > collect('gsub') > collect('gpos') > input.verbose = true > input.report("") > input.report("fontname: %s",v) > input.report("fullname: %s",n) > input.report("filename: %s",f) > input.report("") > for _, f in ipairs(table.sortedkeys(features)) do > local ff = features[f] > for _, s in ipairs(table.sortedkeys(ff)) do > local ss = ff[s] > input.report("feature : %s -> %s %s",f,s, > (table.concat(table.sortedkeys(ss), " ")):lower()) > end > end > input.report("") > end > end > end > > function scripts.fonts.list(pattern,reload,all,info) > if reload then > input.report("fontnames, reloading font database") > end > local t = fonts.names.list(pattern,reload) > if reload then > input.report("fontnames, done\n\n") > end > if t then > loc
[NTG-context] Index struggles
Hi community! Please run the attached sample file and see whether you get a correct index. In my case I only get the indicator letters and under each indicator a single letter with page number therafter. Do I miss something? I am running luatex ConTeXt ver: 2008.08.11 11:45 MKIV fmt: 2008.8.11 int: english/english Thanks Willi Index.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] XY-arranging
Hi Guru's In the pdftex environment the enclosed file will result in an address- label on position 8 from the top on a sheet with 14 labels. When compiling this file with LuaTeX, then the label is placed somewhere down left and the dimensions are messed up. I am stummied... Currently I am using : ConTeXt ver: 2008.08.11 11:45 MKIV fmt: 2008.8.11 int: english/english Kind regards Willi XY-arrange-test.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] XY-arranging
Hallo Wolfgang, Thanks a lot for your immediate reply. - It works indeed. Just out of curiositiy: is there a reason why you suggest standardmakeup, it works also with \placelayer[Etiket]\page? Willi On Sep 13, 2008, at 7:27 PM, Wolfgang Schuster wrote: > \startstandardmakeup > \placelayer[Etiket] > \stopstandardmakeup ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] 'See also' entries in register
Dear Duncan, its a long time since you posted this ... After the fun in Bohinj, I try to catch up ... I do not know which version of Context you use. With ConTeXt ver: 2008.08.11 11:45 MKIV fmt: 2008.8.11 int: english/english I get the desired result i.e. the page-number behind ConTeXt. However also here with ConTeXt ver: 2008.08.11 11:45 MKII fmt: 2008.8.11 int: english/english, the pagenumber is assigned to the "see" entry. Willli On Aug 18, 2008, at 5:41 PM, Duncan Hothersall wrote: > \starttext > I wish I was going to the ConTeXt\index{ConTeXt} meeting this year to > enjoy all the fun\seeindex{ConTeXt}{also fun}. > \placeindex > \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] showcase on mac?
Hi, This is strange. I use also the 8.1.2 version of Acrobat Reader on a MAC with OS 10.4. I have precisely the same problems als Frans mentioned. - I now realize that I encountered this already a longer time ago, but due to the fact that I download manuals directly from the tree, I forgot this. Kind regards Willi On Sep 28, 2008, at 5:21 PM, Stanley Hudson wrote: > I had the same problem with Safari. I am not a fan of Adobe > installations and all the extra stuff that goes on with them, but > installing Reader did fix it. > > Stan > > . > On Sep 28, 2008, at 9:05 AM, Frans Goddijn wrote: > >> When I click on the showcase link, my Firefox 3.0.3 _downloads_ de >> PDF, doesn't show it in the browser. I then double click the >> downloaded file, Adobe Reader 8.1.2 starts up and if I click a link, >> it says "There was an error opening this document. This file >> cannot be >> found." >> >> I deleted the Reader and downloaded/installed Reader 9.0.0 from the >> Adobe website. This time no error message but also no action when I >> click on any link but "quit" >> >> Still, it must be something on my machine, since others don't have >> this problem. >> >> Best >> >> Frans >> >> >> >> On 28 sep 2008, at 14:13, Hans Hagen wrote: >> >> Frans Goddijn wrote: >>> Willi Egger helped me get a minimal install working on my mac and >>> I'm >>> working on a collection of columns illustrated with pictures. It's >>> been a while since I used Context so I want to download some basic >>> manuals to refresh my memory and learn new things. >>> >>> On my Windows machine I can view/navigate and download manuals from >>> the >>> http://www.pragma-ade.nl/showcase.pdf >>> page, but on my mac this doesn't work. In the Safari browser, >>> nothing >>> happens if I click on the "manuals" link. In Firefox, the showcase >>> PDF >>> is downloaded and I can open it. After allowing the file to go full >>> screen, I get error messages for the links "there was an error >>> opening >>> this document/ the file cannot be found', execpt on the "quit" >>> link ;-) >>> >>> Is there a simple thing I should change to make it work on the >>> mac as >>> well? >> >> doesn't acrobat work? (the mac pdf browser is somewhat limited); best >> use acrobat reader as plugin >> >> >> - >> 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 >> _ >> __ > > __ > _ > If your question is of interest to others as well, please add an > entry to the Wiki! > > 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] New Context Installation on Windows XP
Hoi Erik, Ik heb helaas geen ervaring met Miktex. Heb je geprobeerd om texmfstart texexec.pl --make te gebruiken i.p.v. texexec alleen? Groet Willi Erik Van Eynde wrote: Gegroet contexts wizards, I try to install the last CONTEXT on a XP Windows: Miktex distribution, Winedt; Perl. -For LaTeX no problemt at all. -For context: >> texexec --make gives me unknown filetype texmfscripts ... for output: TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 current path : F:/Context_Folder/example locating ini file : kpsewhiching texexec.ini on scripts locating ini file : kpsewhiching texexec.ini elsewhere locating ini file : found by kpsewhich reading : d:/ludittex/texmf/context/config/texexec.ini setting : 'TeXShell' to 'miktex' for 'all' setting : 'UseEnginePath' to 'true' for 'all' setting : 'UsedInterfaces' to 'en nl metafun mptopdf' for 'all' setting : 'UserInterface' to 'en' for 'all' setting : 'TeXExecutable' to 'tex' for 'all' setting : 'MpExecutable' to 'mpost' for 'all' setting : 'MpToTeXExecutable' to 'mpto' for 'all' setting : 'DviToMpExecutable' to 'dvitomp' for 'all' setting : 'DviSpecialScript' to 'dvispec' for 'all' setting : 'MpFormat' to 'metafun' for 'all' setting : 'TeXFormatFlag' to '&' for 'all' setting : 'MpFormatFlag' to '&' for 'all' setting : 'TeXHashExecutable' to 'initexmf --update-fndb' for 'miktex' setting : 'TeXExecutable' to 'pdfetex' for 'miktex' setting : 'TeXVirginFlag' to '--initialize' for 'miktex' setting : 'TeXPassString' to '--alias=context --translate-file=natural.tcx' for 'miktex' setting : 'TeXBatchFlag' to '--interaction=batchmode' for 'miktex' setting : 'TeXNonStopFlag' to '--interaction=nonstopmode' for 'miktex' setting : 'MpToTeXExecutable' to 'mptotex' for 'miktex' setting : 'MpVirginFlag' to '--initialize' for 'miktex' setting : 'MpPassString' to '--alias=mpost --translate-file=natural.tcx' for 'miktex' setting : 'MpBatchFlag' to '--interaction=batchmode' for 'miktex' setting : 'MpNonStopFlag' to '--interaction=nonstopmode' for 'miktex' setting : 'TeXFormatFlag' to '--undump=' for 'miktex' setting : 'MpFormatFlag' to '--undump=' for 'miktex' used setting : TeXShell = miktex used setting : SetupPath = used setting : UserInterface = en used setting : UsedInterfaces = en nl metafun mptopdf used setting : TeXFontsPath = . used setting : MpExecutable = mpost used setting : MpToTeXExecutable = mptotex used setting : DviToMpExecutable = dvitomp used setting : TeXProgramPath = used setting : TeXFormatPath = used setting : ConTeXtPath = used setting : TeXScriptsPath = used setting : TeXHashExecutable = initexmf --update-fndb used setting : TeXExecutable = pdfetex used setting : TeXVirginFlag = --initialize used setting : TeXBatchFlag = --interaction=batchmode used setting : TeXNonStopFlag = --interaction=nonstopmode used setting : MpBatchFlag = --interaction=batchmode used setting : MpNonStopFlag = --interaction=nonstopmode used setting : TeXPassString = --alias=context --translate-file=natural.tcx used setting : TeXFormatFlag = --undump= used setting : MpFormatFlag = --undump= used setting : MpVirginFlag = --initialize used setting : MpPassString = --alias=mpost --translate-file=natural.tcx used setting : MpFormat = metafun used setting : MpFormatPath = used setting : UseEnginePath = 1 used setting : FmtLanguage = used setting : FmtBodyFont = used setting : FmtResponse = used setting : TcXPath = used setting : SetFile = applications will use : --help overview of all options and their values --help all all about all options --help short just the main options --help mode ... pdf all about a few options --help '*.pdf' all about options containing 'pdf' more info http://www.pragma-ade.com/general/manuals/mtexexec.pdf http://www.ntg.nl/mailman/listinfo/ntg-context total run time : 0 seconds Afterwards I run a small sample file compiling stops with ... Runaway argument? \c!directory ={\setupsystem [\c!n =1] \setupsystem [inputfile=test.te\ETC. ! File ended while scanning use of \dosetupsystem. \par I What wriong here This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4
Re: [NTG-context] distance with \godown
Hello Jessica, Hm, indeed your code does give a somewhat strange behaviour. - I played with it a bit and I changed the following things. 1. Make alle MP-graphics which are static \startreusableMPgraphic..\stopreusableMPgraphic. Use in the layerdefinitions \reuseMPgraphic{} -- This makes the compilation a couple of times faster, because MP must not be called for the calculation of all graphics at all pages. 2. In order to get the "kasten" steady all lines should start with \gotopage{...}[]. Another point is, that you might want to have a look at pp 113 of the metafun manual. I do not know, whether this is wat you had in mind. Kind regards Willi Jessica Holle wrote: Hi I have a problem... I I don't know in which way I should solve... I've make a presentation. It's not very fine done but I'm proud that this works :-) I've made a graphic in metafun and make a overlay with this as the background. Then I defined a framed box with the same values as the graphic, use the overlay as a background and nice I have my menu. But then I make a small space with \godown and now the framed section goes down and up from page to page. This phenomenon is only when I do the link (\goto) on the whole framed. When I put the link on the text there is no problem. Hope aou understand my problem it's difficult to understand. I think you can compile this and look to the left side, hope it works to compile here is my tex file (not nice but works) %/// % Präsentation für einfache Gelegenheiten :-) % % erstellt von Jessica Holle % benötigt wird eine teTeX Installation mit dem ConTeXt Zusatz % 14/10/2005 %/// %/// % Generalle Formationen %/// \setupoutput[pdftex] \usemodule[pre-general] \setupcolors[state=start] \setupcolor[rgb] \definecolor[back][white]%s=.95] \definecolor[back2][r=.6,g=.7,b=.8] \definecolor[migr][r=0,g=.8,b=0] \definecolor[hegr][r=0,g=0,b=0] \definepapersize[PP][width=24cm,height=18cm] \setuppapersize[PP][PP] \setupbodyfont[sansserif,22pt] \setuplayout [width=220mm, height=147mm, backspace=10mm, topspace=23mm, top=00mm, header=00mm, footer=0mm, bottom=0mm, margin=0mm] %// % Die Praesi wird im Vollbildmodus gestartet %// %\setupinteractionscreen[option=max] %// % Unglaubliche Option für interaktive Schaltflächen %// \setupinteraction[state=start] % % Grafiken mit Metafun erstellt % %\startuseMPgraphic{teilstrich} %path p ; p := (0cm,0cm)--(21cm,0cm)--(21cm,0.1cm)--(0cm,0.1cm) --cycle ; %drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{migr}) ; %fill p ; %\stopuseMPgraphic \startuseMPgraphic{teilstrich} path p ; p := (0cm,0cm)--(21.5cm,0.1cm)--(0.0cm,0.15cm)--cycle ; drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{migr}) ; fill p ; \stopuseMPgraphic \startuseMPgraphic{teilstrich2} path p ; p := (0cm,0cm)--(0.1cm,0cm)--(0.1cm,12.5cm)--(0cm,12.5cm) --cycle ; drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{migr}) ; fill p ; \stopuseMPgraphic \startuseMPgraphic{grund} path p ; p := (0cm,0cm)--(24cm,0cm)--(24cm,18cm)--(0cm,18cm)--cycle ; drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{hegr}) ; fill p ; \stopuseMPgraphic \definelayer[grund] \setuplayer[grund][state=repeat] \setlayer[grund][present=righttop,width=\textwidth,height =\textheight]{\useMPgraphic{grund}} %/// % senkrechter grauer Strich auf der rechten und linken Seite %/// \startuseMPgraphic{senkstrich} path p ; p := (0cm,0cm)--(17.6cm,0cm)--(17.6cm,0.1cm)--(0cm,0.1cm) --cycle ; drawoptions(withpen pencircle scaled 0.1mm withcolor lightgray) ; fill p rotated 90 ; \stopuseMPgraphic \definelayer[senkstrich] \setuplayer[senkstrich][state=repeat] \setlayer[senkstrich][present=left,x=0.6cm,y=0.2cm] {\useMPgraphic{senkstrich}} \definelayer[senkstrich2] \setuplayer[senkstrich2][state=repeat] \setlayer[senk
Re: Antwort: Re: [NTG-context] distance with \godown
Hi Jessica, I think this has to do with interaction. In my opinion it is important that each line is starting with \gotopage and not sometimes with \framed. My be that your MPgraphic "kasten" should be working with \overlaywidth and \overlayheight in order to prevent problems discussed in the metafun manual. Have a good weekend Willi Jessica Holle wrote: Yes this works. Thx, But I've testet it with godown=0pt When I say this is to much distance between the "kastens" and comment "\godown=0pt" out there is the same strange thing. When I comment it on all my pages out there is a bigger distance between the first and second "kasten". Why? Why only on this point? Where does it comes from? How can I disable this? Hope you have an answer to this :-) thx Jessica ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] long quotation problem
Hi Alan, I tried your code. I made the extract to be typeset in red.- Indeed a poor spacing. I withdrew the \godown[0.10pc]. The result looked fine to me. Then I replaced the \godown by \blank[halfline], the result was again o.k. Finally the \godown[0.10pc] was replaced with \godown[12pt] and the result looks o.k. to me. - So may be that there is a problem with your unit pc. Willi Alan Bowen wrote: I have been adapting some of my old Plain TeX macros to ConTeXt, using hints and suggestions from the ConTeXt wiki. What I have thus far works exactly as desired in the body text, but fails in the footnotes. I have appended some encoded text that shows the problem. Note the poor line-spacing and (unwanted) indentation in the first line of the quotation in the footnote: this quotation should look the same as the one in the body text. I realize that I could fix this simply by inserting a \noindent in the footnote, for instance. But I am trying to reduce the amount of thinking an coder has to do, and so would really like to define the startextract..\stopextract environment more effectively. Any pointers or suggestions for fixing this will be gratefully received. Cheers, Alan % Paragraph setup \indenting[big,yes] \setupwhitespace[medium] \setupparagraphs[tolerance=verystrict] %Footnote setup \setupfootnotes[conversion=numbers, way=bytext,location=page,rule=on,bodyfont=10.1pt,style=normal] \setupfootnotes[indenting=yes] \setupfootnotes[interaction=yes] \setupnotedefinition[footnote][indenting={big,yes}] % Extract setup \definestartstop[extract][ before={\godown[0.10pc] \indenting[next] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right]}, after={\stopnarrower \godown[0.25pc] \indenting[yes]}] \starttext Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. \startextract Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien. \stopextract \noindent Nam consectetuer. Sed aliquam, nunc eget euismod ullamcorper, lectus nunc ullamcorper orci, fermentum bibendum enim nibh eget ipsum. Donec porttitor ligula eu dolor. Maecenas vitae nulla consequat libero cursus venenatis. Nam magna enim, accumsan eu, blandit sed, blandit a, eros.% \footnote{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim.% \startextract Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien. Nam consectetuer. Sed aliquam, nunc eget euismod ullamcorper, lectus nunc ullamcorper orci, fermentum bibendum enim nibh eget ipsum. Donec porttitor ligula eu dolor. \stopextract \noindent Maecenas vitae nulla consequat libero cursus venenatis. Nam magna enim, accumsan eu, blandit sed, blandit a, eros.}\ % Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien. Nam consectetuer. Sed aliquam, nunc eget euismod ullamcorper, lectus nunc ullamcorper orci, fermentum bibendum enim nibh eget ipsum. Donec porttitor ligula eu dolor. Maecenas vitae nulla consequat libero cursus venenatis. Nam magna enim, accumsan eu, blandit sed, blandit a, eros. \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] alignment of figures
Hi Jörg, Sorry I am not capable to give you an appropriate answer to your questions. I had a look at your doc. It is impressive! - With which environment are you preparing the chemical formulae? I was wondering whether it would be nicer to have the shortcuts like "Pa" in the outer margin. I suggest this, because in your case after binding the document, you will have difficulties to see the shortcuts as prominent elements (sorry this is the bookbinder speaking). Kind regards Willi Jörg Hagmann wrote: Answering one of my own questions: The subsection heads should be capitals. Setting textstyle=cap doesn't do anything. Setting style=cap gives an error (see end of message). style=slanted works, commands (\cap, \kap) don't work. \cap{some text} used in the text works. style=\sc works. Cheers, Jörg. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TeX & chemistry (was: alignment of figures)
Hi Jörg, \relax. We are still here and I believe that on this list is quite some guru's knowledge ... to help in this matter Willi Jörg Hagmann wrote: Many thanks for all the suggestions on incorporating chemical formula. PPCHEMTEX now looks like something to play with, but not something I will switch to whith a deadline for writing the book coming closer. From the publisher I got an example of the layout (a book they had published), and they have symbols in the inside-margins. The "binding" (gluing?) seems to allow that. It's not pretty, but the book opens flat on a table. And this might interest or amuse the professionals on this site: half a year ago, I sent in a "test chapter" as a pdf file, accompanied by a tex-file. I expected them (whoever is responsible) to say they wanted it in Word (they had told me that based on the test-chapter, they would prepare a Word-"mask" for me to fill in text and figures), but to my surprise they thought it looked pretty good, and that if I could "do just a few minor changes", they could print it as is - but that they didn't have anybody who "knows TeX". Now of course I'm a bit nervous, not to say afraid, because I'm pretty sure the "minor changes" will be way beyond my capabilities... Cheers, Jörg. Prof. Dr.med. Jörg Hagmann-Zanolari Institute of Biochemistry and Genetics DKBW, University of Basel Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 6953049 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] suggestion for \startitemize.
Dear John, There is no need to change anything, it is already there: \starttext \setupitemize[1][symbol=n] \setupitemize[2][symbol=a] \setupitemize[3][symbol=A] \setupitemize[4][symbol=R] \startitemize \item One \startitemize \item Second level \startitemize \item Capitals at third level \startitemize \item Roman numerals at fourth level \stopitemize \stopitemize \stopitemize \item Two \stopitemize \stoptext Kind regards Willi John R. Culleton wrote: It is possible to nest \startitemize sequences, But each level requires a different parameter in the \startitemize statement. OTOH the \orderedlist command in eplain.tex uses 1,2,3 for the outside list, then a,b,c for the first nest, roman numerals for the next nest and finally "*" for the innermost list. A similar automatic sequence or sequences would be useful in Context. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Request for joing mailing list
Dear Sir, Please refer to the following link, where you can subscribe to the mailing-list: http://www.ntg.nl/mailman/listinfo/ntg-context Kind regards Willi Egger Secretary NTG krishan gopal goswami wrote: Dear Sir, I am impressed with ConTeXt features. I want to join the mailing list to get updated on developments. Kind Regards Krishan Gopal __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] (Re)installing mswintex
Hi Sytse, You made a complete new installation of the minimal ConTexT. - What you also should do is update the lm-fonts with the zip you can find at the Pragma-site. I believe that this can solve your problem. At least in my case I updated the cont-tmf.zip and cont-lmt.zip into an existing minimal ConTeXt (an instllation which is about 2 months old) and it worked out of the box. Kind regards Willi Sytse Knypstra wrote: Dear ConTeXt users, Yesterday I reinstalled the minimal ConTeXt under Windows XP. I carried out the following steps: 1. Rename the old directory C:\tex into C:\old_tex 2. Download mswintex.zip from Pragma 3. Unzip into C:\ (all files and directories are now under C:\tex) 4. Start a CMD shell and run the commands: > cd c:\tex > setuptex.bat > mktexlsr > texexec --make --alone nl en metafun Then I tried a minimal example and it gave me the following warnings: [1.1 Warning: pdfetex.exe (file pdftex.map): cannot open font map file ] and, in the end: Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 72 not found What did I do wrong? Sytse Knypstra ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Mini-survey: What do you do with ConTeXt?
Hi, No there is no reason to be shy! - Context has become THE tool for all typesetting purposes. So in my environment letters, invoices, addres-labels, envelop-printing, greetingcards etc are made up in Context together with functionality provided by Metafun. A favorite issue is making flowcharts for e.g. bookbinding guides, meatprocessing or visualization of the production of a tool. Next to all this I write my own books which are completely made up in Context including imposition of the pages for folding sections in order to end up with sewn books. E.g I prepared a 600 pages book which includes over a 120 drawings and metapost-figures. This book is bound as a girdle-book. - Whenever I am asked to give a presentation there is Context involved. - Why? Just because I know I can achieve what I want! Though there is sometimes a bit of hassle after all the changes in the tex-tree occuring during time, Context is still the best environment I have ever tried. Many thanks Hans for this great environment! Willi Taco Hoekwater wrote: Hi all, For the next issue of the ntg's Maps journal, Hans and I believe it would be nice to publish the collected responses to this simple question: What do you do with ConTeXT? We think it would be nice to see all the various ways in which people experience ConTeXt. We are not looking for articles, in fact we really want just a small amount of text per user, nothing longer then you would normally type in an email message. One, perhaps two paragraphs that simply tell about your personal experience using (or playing with) (or fighting with) (or yelling at) (or staring at in bewilderment) (or revelling in) (or running away from) ConTeXt. If you like this idea, just reply to this message. I will then collect and merge the responses, and finally put a pdf on-line somewhere. Don't be shy! Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Warning Trojan.Agent.EZ in texmfstart
Hi, I know this has been asked before, only that I did not experience the problem ... Since months I use Bitdefender antivirus software. I never experienced any problem running texmfstart. However since three days Bitdefender thinks, that the executable texmfstart from 27-07- 2005 contains a Trojan. I checked the size of texmfstart.exe. I got an older version which is 580kB the one which gives problems has 596kB. Copying the older version into the tex-tree works fine and Bitdefender does not complain. First question is: which is the actual version and size of texmfstart.exe? Provided that there is nothing wrong with texmfstart.exe with the size of 596kB should I contact the Bitdefender developpers? Kind regards Willi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Textblock does not match the layout parameters
Hi, While developping a page-layout for a book I cam across the following strange behaviour: The textblock in the attached example is larger than the paramters in the layout section would indicate. The pagenumber in the footer however respects the layout-parameters. Showframe does print the correct layout as given in de layout section. To me it looks like a calculation error. Hans could you please comment on this? Thanks Willi % Test-file % \showframe gives the correct dimensions. % The textblock however is larger than it should be. Interestingly it is at left and right margin % the same amount. % The pagenumber in the footer is placed correctly. % Context file % filename: boek-zetspiegel.tex % Willi Egger % 17-11-2005 \setupoutput[pdftex] \setupbodyfont[rm,10pt] \definepapersize[Boek][width=125mm,height=200mm] \setuppapersize[Boek][A4] \setuppagenumbering[state=start,location={footer,marginedge},alternative=doublesided] \setuplayout [topspace=16.7mm, header=0pt, headerdistance=0pt, margin=8mm, backspace=10.4mm, textwidth=93.8mm, margindistance=1mm, footerdistance=3\bodyfontsize, footer=1.5\bodyfontsize, location=middle] \setuptolerance[tolerant] \starttext \showframe \dorecurse{10}{\input tufte \blank[0.5cm]} \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Textblock does not match the layout parameters
Hi Hasn en Taco, sorry, that I caused this noise, stupid me used the wrong parameter! - As usual Context works to expectation. Willi Hans Hagen wrote: Taco Hoekwater wrote: Willi Egger wrote: Hi, While developping a page-layout for a book I cam across the following strange behaviour: The textblock in the attached example is larger than the paramters in the layout section would indicate. The pagenumber in the footer however respects the layout-parameters. Showframe does print the correct layout as given in de layout section. To me it looks like a calculation error. Hans could you please comment on this? It looks like the 'textwidth' key functions as an override switch. If you use the 'width' key, all of the measurements are consistent with eachother, and, otoh it gets even sillier if you use textwidth but set it to, e.g., 200mmm. Whether this is by design or an error is unknown to me. :-) it's by design (but you're free to doubt the design quality): textwidth is for special purposes (i needed it when i had to center a one column text on a special page layout) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Back to sidebars.
Hi, since wich version is this command in the distro? At least in my case with ConTeXt ver: 2005.11.16 fmt: 2005.11.17 there is not. Willi Taco Hoekwater wrote: Hi, John R. Culleton wrote: \long\def\sidebar#1{\placeintermezzo{}{\startmyohmy #1 \relax\stopmyohmy}} ...which seems to work. Can anyone find a hole in this method? Should be fine. If you like \start ... stop pairs, you can also do it like this if you prefer: \long\def\startJCsidebar#1\stopJCsidebar% {\placeintermezzo{}{\startmyohmy #1 \relax\stopmyohmy}} There already is a sidebar mechanism, so \startsidebar is 'taken'. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PhD Style for ConTeXt
Hi Renaud, Since I ws dealing with some aspects of your questions recently ... I'm working on it now, I've build my document following a complete structure (project, environment, products, components) as described in the manual, well done... The layout is now as I want using \setuplayout. Currently, I'm working on title. I've found the \setuplabeltext[fr][chapter=Chapitre] command to customize chapter name but then, I will draw a line or graphics under my chapter title and don't know how to deal with properly. Moreover, I experienced some problems with TOC and the use of \title for my introduction chapter (I don't want numbering on this). Eventually, how can I bypass header or footer for a chapter page ? Thanks, up to now I'm very pleased with ConTeXt, METAFUN and METAPOST !!! 1. Lines under the chapter-title: If it should be a simple line then you can use \setupbackgrounds[header][text][bottomframe=on]. If it should be a graphical element one can think of approaches like: \setupcolors[state=start] \startuseMPgraphic{HeaderDeco} numeric w, h, repeats; path p[]; w := OverlayWidth ; h := OverlayHeight ; repeats := abs(TextWidth/BodyFontSize); p[1] := unitsquare xscaled w yscaled h ; draw p[1] withcolor white; p[2] := fullcircle scaled BodyFontSize; p[3] := fullcircle scaled .25BodyFontSize; draw p[2] shifted (.5BodyFontSize,0); for i = 1 upto repeats: if odd i : filldraw p[3] shifted (i*BodyFontSize+.5BodyFontSize,0); else : draw p[2] shifted (i*BodyFontSize+.5BodyFontSize,0); fi; endfor; \stopuseMPgraphic \setuphead[chapter][command=\Myheader] \setupheadtext [chapter=Chapitre] \defineoverlay[HeaderDeco][\uniqueMPgraphic{HeaderDeco}] \def\Myheader#1#2{% \framedtext [width= \overlaywidth, height=6\bodyfontsize, background={foreground,HeaderDeco}, offset=0pt, strut=no, frame=off, align=middle]{% \headtext{chapter} #1 \blank[small] #2}} \starttext \chapter{Here we go!} \stoptext 2. Bypassing header and footer: \noheaderandfooterlines or \setuphead[chapter][header=high] Kind regards Willi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Back to sidebars.
Aha! Thanks Taco! Willi Taco Hoekwater wrote: Willi Egger wrote: Hi, since wich version is this command in the distro? At least in my case with ConTeXt ver: 2005.11.16 fmt: 2005.11.17 there is not. It is defined in plus-rul.tex, activated by \usemodule[plus] I don't know whether it is documented or not, i found it by grep-ping the context source files. (that is a routine action for me: it helps prevent redefinitions) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context