[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl
Hello, I am currently writing my paper for last year's BachoTeX proceedings. I am using tugboat.mkxl module to design the layout. In bachotex proceedings, the author's data and abstract are on a single column and the article is usually typeset on two columns. Comments in tugboat.mkxl states: %D We have several column mechanisms and they all serve a different purpose. Here we %D use pagecolumns. They support much of what we can do in single columns, but of %D course there are exceptions. Floats can go into columns of aremoved to the top or %D bottom when there is no room. We don't span mid column. Notes can go in columns %D or at the end. We can start with a single column (for titles and such). I can't figure out which part of the file should be used/adapted to start with a single column. What I did is to put datas and abstract in a frame and use \placefigure. As stated in pagecolumns manual, everything is put on the top of next page. (BTW, there is a typo: «of aremoved») I don't know, whether this MWE helps is relevant, but just in case, here is what I did: * copy tugboat.mkxl to a new file p-bachotex.mkxl * changed p-bachotex.mkxl like this: \startsetups bachotex:naglowek:columns \defineframedtext [Dane] \setupframedtext [Dane] [width=18cm , align=normal, frame=no] \definenarrower [Streszczenia] [2*middle] \startplacefigure [location={here,none}] {\startDane {\tfa\getvariable{tugboat}{author}}\par \getvariable{tugboat}{address}\par {\tt\getvariable{tugboat}{email}}\par \startStreszczenia \doifelsebufferempty {abstract} { % no abstract } { \blank[line] \enforced\let\\\endgraf \setups[tugboat:abstract:setup] \startAbstracts[title={Abstract}] \stopAbstracts } \stopStreszczenia \stopDane} \stopplacefigure \stopsetups \startsetups tugboat:article:start \starttext \setups{tugboat:columns:presets} \setups{tugboat:banner:setup:\getvariable{tugboat}{type}} \setupheadertexts [\setups{tugboat:banner:text:article}] [pagenumber] \setuppagenumber [number=\getvariable{tugboat}{page}] \startmode[columns] \startpagecolumns \stopmode \setups[tugboat:introduction:article] \doifmodeelse{columns}{ \setups{bachotex:naglowek:columns} } { \setups{bachotex:naglowek:nocolumns} } \stopsetups My article begins so: \enablemode [columns] \usemodule [bachotex] % skipped tugboat variables for this MWE \StartAbstract \input tufte \StopAbstract \StartArticle \input knuth \StopArticle Thank you for your help Damien T ___ 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: OpenBSD install failed
Dear Hans, can you test with OpenBSD|openbsd) case "$CPU" in i*86) PLATFORM="openbsd" ;; amd64) PLATFORM="openbsd$-amd64" ;; *) instead? I tested it, with and without the typo at openbds$-amd64 Having fixed it to OpenBSD|openbsd) case "$CPU" in i*86) PLATFORM="openbsd" ;; amd64) PLATFORM="openbsd-amd64" ;; *) I could install the binaries and compile the basic test doc with \input tufte Thanks a lot! Dear Hraban, Did you try to compile your own binaries? You need CMake and a C compiler. PWD = your installation directory PLATFORM = openbsd7.4-amd64 (if that’s still right) cd $PWD/tex/texmf-context/source/luametatex sh build.sh cp build/native/luametatex "$PWD/tex/texmf-$PLATFORM/bin/" Have fun, Hraban I did not try but took good note, making a port of context suite is in my very long TODO list. Not an official one, I am not able to run -current, but something that helps when I need to upgrade quickly OpenBSD and context. Best regards, Damien Thiriet ___ 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: vim syntax highlighting bug?
Thanks Vincent for your patch, solved this issue. Best regards, Damien Thiriet ___ 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] OpenBSD install failed
Hello, I tried to install OpenBSD 7.4 binaries but failed. What I did: download the zip from pragma unpack it in /usr/local/context chmod 744 install.sh ./install.sh After running it, there is no file in /usr/local/context/tex/texmf-openbsd7.4-amd64/ I searched the mailing list archive and after reading that post from Mojca https://www.mail-archive.com/ntg-context@ntg.nl/msg92131.html I took a look at mtxrun.lua Don't know if this is the issue, but here is grep bsd /usr/local/context/bin/mtxrun.lua output: elseif name=="freebsd" then bits,platform=64,"freebsd-amd64" bits,platform=32,"freebsd" elseif name=="kfreebsd" then bits,platform=64,"kfreebsd-amd64" bits,platform=32,"kfreebsd-i386" Best regards, Damien Thiriet ___ 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] vim syntax highlighting bug?
Hello, Happy New Year! I got into a bug in my Vim syntax highlighting version. Highlight stays in lua mode after ctxlua macro is closed. Here is a MWE, where «this should not be highlitghted as a comment indeed is. \starttext Hello! \ctxlua{context("does the parser work?")} -- this should not be highlighted as a comment \stoptext Do other Vim users come into this? Is my syntax file outdated? I am using this Vim version on OpenBSD 7.3 -stable: VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 6 2023 08:55:14) Included patches: 1-1876 Best regards, Damien Thiriet ___ 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] OBSD 7.3 binary locally compiled… what next?
Hello, you should make tex/texmf-openbsd7.3-amd64 and put 5 files there: luametatex context -> luametatex mtxrun -> luametatex mtxrun.lua context.lua Thanks for your hints. I did as you said but got stucked with a tree structure problem. Since I was lacking the time to dig into it, and a new update was announced, I simply loaded the new binary from pragma. But I now understand the workflow to update to 7.4: update to the latest lmtx (I do not update so often), ugrade OBSD, build the new binary if no upload is available. Anyway, 7.3 binaries work ok. Many thanks! Damien T ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] OBSD 7.3 binary locally compiled… what next?
Hi, I upgraded today my OBSD to 7.3 and… realized too late that texlive binaries were on the compile farm, but not the lmtx ones. That was the opportunity to learn self-install, though. I compiled the binary, but I am stuck with the next step What I did: - rm -rf /usr/local/context/* (now I suspect I should have first updated my 7.2 installation and then, after upgrading to 7.3, compiled the binaries…) - download https://www.pragma-ade.nl/context/latest/cont-tmf.zip - unpacked it into /usr/local/context (unzip cont-tmf.zip -d /usr/local/context/) - cd /usr/local/context/source/luametatex - ./build.sh --native Compilation succeeded, looks like the binary lies in /usr/local/context/source/luametatex/build/native/luametatex What's the next step? There was this message: == tex trees resources like public fonts : tex/texmf/ the context macro package: tex/texmf-context/ the luametatex binary: tex/texmf-native/bin/... optional third party modules : tex/texmf-context/ fonts installed by the user : tex/texmf-fonts/fonts/data/ styles made by the user : tex/texmf-projects/tex/context/user/ binaries: tex/texmf-/bin/luametatex : the compiled binary (some 2-3MB) tex/texmf-/bin/mtxrun : copy of or link to luametatex tex/texmf-/bin/context: copy of or link to luametatex tex/texmf-/bin/mtxrun.lua : copy of tex/texmf-context/scripts/context/lua/mtxrun.lua tex/texmf-/bin/context.lua: copy of tex/texmf-context/scripts/context/lua/context.lua commands: mtxrun --generate : create file database mtxrun --script fonts --reload: create font database mtxrun --autogenerate context ... : run tex file (e.g. from editor) https://www.pragma-ade.nl/context/latest/cont-tmf.zip The tex/texmf/ folder does not exist yet. Does this mean I have to create that part of the tree by hand (which means should I have unpacked the zip at /usr/local/context/tex/texmf rather than /usr/local/context)?I’d bet copying anything(copying mtxrun from /usr/local/context/scripts/context/stubs/unix/mtxrun ? Should I run install.sh – which I not did, assuming maybe wrongly that it would fail, and if so, which options? Thank you for your time, Damien ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] filling buffers in cld documents
Hi, I am used to giving very extensive feedbacks to my pupils. These are buffers with xtables flushing lua vectors. Here is their basic structures: * an environment that stores xtables. Turned into MWE, look like: \startenvironment env_corrige.mkiv \startluacode userdata = userdata or {} function userdata.Critere (commentaire,note,notemax) context.startxcell {"width=11cm","height=2.75cm"} context(Eleve[commentaire]) context.stopxcell () context.startxcell {"width=1.5cm","align=flushright"} context(Eleve[note]) context("/") context(notemax) context.stopxcell () end \stopluacode \startbuffer [grille] \startxtable \startxrow \startxcell \ctxlua {userdata.Critere ("structure","NoteStructure",2)} \stopxcell \stopxrow \stopxtable \stopbuffer \stopenvironment * The main file is divided in subjects, each one of them being the feedback to one pupil. In a MWE fashion \useenvironment [env_corrige] \starttext \startsubject[title={Astérix}] \startluacode Eleve = { structure = "analyse très fine", NoteStructure = 2, } \stopluacode \getbuffer [grille] \stopsubject \startsubject[title={Obélix}] Eleve = { structure = "le détail doit être travaillé. Pensez à la finesse de vos menhirs…" NoteStructure = 1, } \stopsubject \getbuffer [grille] \stoptext Since whatever I fill in those files is written inside luacode environment, I tried to switch to cld documents. Here is my main file in cld version context.useenvironment({"env_corrige"}) context.starttext() context.startsubject({title="Asterix"}) Eleve = { structure = "analyse très fine", NoteStructure = 2, } context.getbuffer({"ExoCorrection"}) context.stopsubsubject() context.startsubject({title="Obélix"}) Eleve = { structure = "le détail doit être travaillé. Pensez à la finesse de vos menhirs…" NoteStructure = 1, } context.getbuffer({"ExoCorrection"}) context.stopsubsubject() context.stoptext() The troubles is that buffers are filled with the last version of Eleve table. I guess this is because the whole file is parsed and then filled in buffers. My understanding of the cld manuel is that context.tobuffer() and context.direct() should be used, but couldn't figure out how. Tried several times, also with context.step but all failed. I think I didn't properly understand the "temp" and str of context.tobuffer description in manual. What changes should I introduce to my cld files? Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] OpenBSD binaries
Wasn't it you who actually suggested to have the two versions? I bet I was… mea maxima culpa. Looks anyway like there are not many OBSD users dealing with ConTeXt… the sources are in the distribution as is build.sh Thanks Hans. I understand these are on https://www.pragma-ade.nl/download-1.htm I'll give it a try during my next holidays… Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] OpenBSD binaries
Hi, I have two question regarding OBSD binaries: 1) the building farm holds two binaries: current -stable version (or -release?) and the previous version. Since upgrading OBSD with sysupgrade is very easy, but AFAIU works only to upgrade from version (n-1) to n where n is current relase number, I wonder if it wouldn't easier to maintain binaries only for the current version: keeping the OS up to date is strongly recommended. https://www.openbsd.org/faq/faq5.html#Flavors This might ease OBSD binaries management. What do other OBSD users think about it? 2) AFAIU, sources are now available for downloading. I understand it would be possible to make a package build for my system, so that I can upgrade OBSD without having to wait for the next binaries upload. * binaries are quite small, so they should compile quite quickly. Am I right? * I believe Mojca has already a compiling script. Where can I find it? * which adress should I point to fetch the sources for compilation? Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] List of publications…
Hi śrīrāma, > I hope you made the format (context --make) after > applying the changes. That's exactly what I missed. Should have read the whole thread and not the last part… Reading your diff, I also didn't comment out the lines with string.tolower and local lowered, but I guess this is not an issue since I commented out all the entries with lowered[tag|field] Many thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] List of publications…
> Till there is a fix, I am able to workaround it by: > • using only lowercase characters (a-z) in the item tags > • comment out all occurrences of > tag = lowered[tag] > field = lowered[field] >in publ-ini.lua > > Sreeram Unfortunately, commenting out all occurrences of those two lines didn't make the job for me. And using lowercase characters is unfortunately a no-op as far as I'm concerned: my bib files have been filled with CamelCase for years, and are loaded by dozens of other files… is there something I missed? current version: 2022.05.02 16:19 Damien ___ If your question is of interest to others as well, please add an 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] ConTeXt meeting 2023(!)
Hi, Being a teacher, I would indeed prefer a meeting during holidays, that would give me a chance to attend sometimes, and meeting locations are often mid-way between France and Poland… Greetings, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] 32-bit OpenBSD
Hi Mojca, hi Hans, OpenBSD 7.1 64-bit binaries works fine, thanks for upgrading ConTeXt to the new OpenBSD version. I don't use 32-bit version so as far as I am concerned, there is no need to compile them. Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] right item marks for associative questions? (śrīrāma)
Hi, > In function 'ListeAleatoireGauche' calling startitemize as below should > help: > context.startitemize ({"8","packed","random"}, {align="righttoleft"}) > > Further, I think you might also need to put the entry into stream in a > group: >context.start() context.lefttoright(t[k]) context.stop() > > Sreeram Many thanks, this solved my problems. I understand context.startitemize() is designed to get several vectors as arguments, something I didn't thought about. Could you explain the whereabouts of calling to context.(start|stop)()? Some expansion stuff? In my MWE, only the first item was left-to-right. Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] right item marks for associative questions?
> You can use different alignment settings to move the bullet points to > the right side of your lists. Thank you Wolfgang, this is exactly what I need. One more question: I am typesetting those questions in lua, because lua vectors were more convenient for reading the whole but I am not sure how should I pass the righttoleft option. I read the cld manual and my guess is I should use function() but looks like I lack some understanding of context proceeding. This is what I did so far \startluacode userdata = userdata or {} function ListeAleatoireGauche(t) context.startitemize {"8","packed","random"} for k=1,#t do context.startitem() context.lefttoright(t[k]) context.stopitem() end context.stopitemize() end function ListeAleatoireDroite(t) context.startitemize {"8","packed","random"} for k=1,#t do context.startitem() context(t[k]) context.stopitem() end context.stopitemize() end function QCMAssociatif(t,u) context.startxtable {"frame=no","columndistance=3cm"} context.startxrow() context.startxcell() ListeAleatoireGauche(t) context.stopxcell() context.startxcell() ListeAleatoireDroite(u) context.stopxcell() context.stopxrow() context.stopxtable() end \stopluacode \starttext \startluacode Author = {"Nietzsche","God"} Quote = {"God is dead","Nietzsche is Dead"} QCMAssociatif (Author,Quote) \stoptext Damien Thiriet ___ If your question is of interest to others as well, please add an 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] right item marks for associative questions?
Thank you for all your answers. I will have a deeper look at them. My first comments: > If you are certain that the there will be no > multi-line item Unfortunately there are often some. History teachers are not known for loving short texts, at least in France. > Using the “columns" feature is one way to go Might be, but I do not always give the same number of answers on both columns Something I forgot to put in my MWE is that I randomize both lists. Messing the answers is a good way to prevent pupils from cheating, especially with long answers.. That makes a four columns table more cumbersome, so I believe. Damien ___ If your question is of interest to others as well, please add an 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] right item marks for associative questions?
Hi! I am used to giving associative questions to my pupils, something like * connect the author with its ideas Friedrich Nietzsche * * "God is dead" Woody Allen * * "Nietzsche is dead, God is dead and I don't feel so good" God * * "Nietzsche is dead" I design it as a two-cells xtable with itemized lists inside. How can I have the item mark on the right side? \starttext \startitemize [8] \startitem Nietzsche \stopitem \startitem Allen \stopitem \startitem God \stopitem \stopitemize \stoptext Greetings, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] withcolor does not apply when anglestriped
Thanks Hans, I like very much your (meta)fun answers, since it is less magic and more understandable for me. Let's play with it now… Damien Thiriet On Fri, Jan 21, 2022 at 01:01:23AM +0100, Hans Hagen wrote: > > but this is way more (meta)fun: > > draw (fullsquare scaled 4cm) > withpattern image ( > draw (bottomboundary p) rotated -60 > withcolor "darkblue" ; > ) > withpatternscale (1/10,1/10) > withpen pencircle scaled 1mm > ; > > (examples in the test suite) > > 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 ___
[NTG-context] withcolor does not apply when anglestriped
Hello list, I noticed today that anglestriped does not take withcolor into account. Givent this MWE \starttext \startMPpage path p; p:= fullsquare scaled 20; draw p anglestriped (1,60,4) withcolor red; \stopMPpage \stoptext p is in black, while I'd expect red Greetings, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] hatching an area without drawing its borders (Hans Hagen)
Hi, Many thanks for this quick addition to the codebase. Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] hatching an area without drawing its borders
Hi, I read the 2015 thread Hatch an area with Metapost (Metafun) and started playing with anglestriped. However in my maps I would like to get my shapes hatched with no borders drawn. How can I achieve it? path p; p := fullcircle scaled 50 randomized 5; draw p anglestriped (1,60,4); Damien Thiriet ___ If your question is of interest to others as well, please add an 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] Bug with OpenBSD 6.9 amd64?
Hi Hans, I tried to download once more, and it succeded. I just wasn't lucky yesterday and installed at a time when server wasn't responding. I compiled a test file, everything went smooth. Sorry for the noise and thanks for your time. Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] Bug with OpenBSD 6.9 amd64?
Hi Hans, I should have looked earlier at the files. Looks like I couldn't download the proper files. Here is the content of mtxrun.lua: 404 Not Found Not Found The requested URL was not found on this server. I will try to download once more, but looks like some links are missing. Damien Thiriet On Thu, May 06, 2021 at 09:58:22PM +0200, Hans Hagen wrote: > On 5/6/2021 9:03 PM, Damien Thiriet wrote: > > Hi, > > > > > > I have just upgraded my LMTX install to OpenBSD 6.9. > > Unfortunately, my first context run aborted with this error message > > > > /usr/local/context/tex/texmf-openbsd6.9-amd64/bin/mtxrun[1]: syntax error: > > `newline' unexpected > > > > I tried mtxrun --generate and ended with alomst the same error message, > > as I could have expected > > /usr/local/context/tex/texmf-openbsd6.9-amd64/bin/mtxrun[1]: syntax error: > > `newline' unexpected > > > > I wiped the cache, then suppressed it, didn't change anything. > > Which informations might be helpful to solve this problem? > i have no clue ... maybe googling for that message helps > > 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 ___
[NTG-context] Bug with OpenBSD 6.9 amd64?
Hi, I have just upgraded my LMTX install to OpenBSD 6.9. Unfortunately, my first context run aborted with this error message /usr/local/context/tex/texmf-openbsd6.9-amd64/bin/mtxrun[1]: syntax error: `newline' unexpected I tried mtxrun --generate and ended with alomst the same error message, as I could have expected /usr/local/context/tex/texmf-openbsd6.9-amd64/bin/mtxrun[1]: syntax error: `newline' unexpected I wiped the cache, then suppressed it, didn't change anything. Which informations might be helpful to solve this problem? Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] issue field in bibliography
Hi, I have questions related with a journal named "Documentation photographque". Each issue is devoted to another theme. How should I declare this theme in bibliography fields when quoting articles? It is quite important to get it, because the main article is always named « Le point sur… » (I don't know exactly how to translate it in English. Something like "an overview of…") so quoting it makes only sense if the issue is named, at best after the title or the number. I thought issue may do it. Am I right? Or would be comment a better place? Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] question about vardef variables
Hi, I have some troubles with understanding metafun's macro mechanism. Given this MWE: \starttext \startMPpage vardef Test (expr ab,cd)= %numeric ab; %numeric cd; draw unitsquare scaled 10 xshifted ab; draw unitsquare scaled 10 yshifted cd; enddef; Test (50,100); \stopMPpage \stoptext Uncommenting the two declarations makes me run intro a silent error. I was lucky enough yesterday to get an explicit error message with a more complex macro. It made me figure out where my problems came from. So here are my two questions: - Why shouldn't we tell metafun if expr is a path, a pair or so on? - Would it be possible to issue an error message each time this wrong declaration is made? Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] odd behaviour of mp odd function in lmtx
Hi, I may have found the bug that broke my metafun file. Looks like it is connected to odd function. This snippet of code: \starttext \startMPpage path p;p:=origin--(20,20); draw p; draw p reflectedabout ((10,10),(10,-10)) withcolor red; for i=1 upto 2: if odd i: draw p yshifted 20 withcolor green; else: draw p xshifted 20 withcolor blue; fi; endfor; \stopMPpage \stoptext does not compile as I would expect (no green line drawn). I noticed such behaviour in 2020.12.30 16:45 version. I updated a few minutes ago and have the same output. I hope I didn't miss anything. Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] odd seems to be broken in lmtx-metafun
Hi, I think I found the bug that made me send a "false positive" a few days ago. Looks like something messes up with metafun odd function. This snippet of code: \starttext \startMPpage path p;p:=origin--(20,20); draw p; draw p reflectedabout ((10,10),(10,-10)) withcolor red; for i=1 upto 2: if odd i: draw p yshifted 20 withcolor green; else: draw p xshifted 20 withcolor blue; fi; endfor; %draw (0,0)--(20,20) withcolor red; \stopMPpage \stoptext does not compile as I would expect it: no green line is drawn (but there is an output). I hope I did not miss something and won't waste your time. This appeared at least in 2020.12.30 16:45 version (I don't update often enough to give better hints) Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] MP reflectedabout broken?
> u is undefined. Ups, sorry for the noise. Too used to adding those u and didn't notice it when proofreading. So I shall now dig into a much complex file to understand why it compiled before updating and stop after… Once again sorry for wasting your time. Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] MP reflectedabout broken?
Hi, I updated ConTeXt yesterday and went through troubles with reflectedabout. This snippet of code \starttext \startMPpage path p[]; p1:= unitcircle scaled 10; p2:= p1 reflectedabout ((15u,-15u),(15u,15)); draw p1; draw p2; \stopMPpage \stoptext doesn't compile with the following error message metafun > log > I'm unable to apply a partially specified transformation except to a fully known pair or transform. Proceed, and I'll omit the transformation. metafun > log > error: Transform components aren't all known metafun > log > metapost> log > metapost> log > metapost> log >= metapost> log > reflectedabout->transformed.begingroup.transform.temp_transform;(EXPR0)transformed.temp_transform= metapost> log > (EXPR0);(EXPR1)transformed.temp_transform=(EXPR1);xxpart.temp_transform=-yypart.temp_transform;xypa... metapost> log > <*> path p[]; p1:= unitcircle scaled 10; p2:= p1 reflectedabout ((15u,-15u),(15u,15)) metafun > log > metafun > log > I'm unable to apply a partially specified transformation except to a fully known pair or transform. Proceed, and I'll omit the transformation. My version: current version: 2020.12.30 16:45 Did I missused this function before? Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with setuphead, page=right
> \setuppagenumbering[alternative=doublesided] That solved the problem, thanks. Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with setuphead, page=right
Hi, \setuphead[subject] [page={yes,right}] \starttext \startsubject[title=test 1] \input ward \stopsubject \startsubject[title=test 2] \input ward \stopsubject \stoptext makes the job on ConTeXt online, but doesn't with my lmtx version. Did the syntax change in lmtx? Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with setuphead, page=right
Hi, The following MWE does not give the output I expect, that is subject starting on page 1 and 3. What did I miss? \setuphead[subject] [page=right] \starttext \startsubject[title=test 1] \input ward \stopsubject \startsubject[title=test 2] \input ward \stopsubject \stoptext Damien Thiriet ___ If your question is of interest to others as well, please add an 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] Bug in lmtx bibliography (numerals in entry?)
Hello, My bibliography files compiles fine in mkiv, but hangs in lmtx Here is the error message: tex error > tex error on line 30 in file ./Nation_rev_empire.mkiv: Use of \btxshowentryinline doesn't match its definition \btxflushlisttext ...tyleandcolor \c!style \c!color \ignorespaces \publ_fast_setup \plusfour \s!list \currentbtxcategory \removeunwantedspaces \endgroup \btxflushlisttext \ifx \currentbtxcombis \empty \else \btxrenderingparameter \c!separator \btxflushlistcombis \fi \btx:list:inject:text ...al \btxinteractivetext \ifx \currentbtxinternal \empty #1\else \goto {#1} [\s!internal (\currentbtxinternal )]\fi \else #1 \fi \btx_entry_inject ...onal \c_btx_list_texts \dostarttagged \t!listtext \s!left \currentbtxbefore \dostoptagged \fi \btx_entry_inject_list_text \ifconditional \c_btx_list_pages \dostarttagged \t!listpage \empty \btx_entry_inject_pages \dostoptagged \fi \ifconditiona... \currentlistentrytitle \dostarttagged \t!listcontent \empty \btx_list_reference_inject \btx_entry_inject \dostoptagged \22>:139>:paragraph ...\relax \fi \fi \fi \begingroup \useliststyleandcolor \c!textstyle \c!textcolor \setstrut \begstrut \currentlistentrytitle \endstrut \endgroup \ifconditional \c_lists_has_page \ifconditional \c_lists_show_page \nobreak \currentlistfiller \beging... […] If you say, e.g., '\def\a1{...}', then you must always put '1' after '\a', since control sequence names are made up of letters only. The macro here has not been followed by the required stuff, so I'm ignoring it. I am using a custom biblio style, but the command \btxshowentryinline is not directly called inside. My ConTeXt version mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.11.19 11:28 mtx-context | main context file: /usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.11.19 11:28 AFAIU, it means my entry shouldn’t have numbers, right? If so, this may be a bug, since entry biblio files often have a number inside Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] new upload
Hi, Problem also fixed on OpenBSD 6.8 amd64. New binaries installed and working like a charm. Makes my workflow much easier, so many thanks to Pablo for finding the bug and to Hans for fixing it. Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles when installing OpenBSD 64 binaries (install.sh?)
Hi Hans, Thanks for your answer. I patched install.sh that way *** install.sh Fri Nov 13 19:14:48 2020 --- /usr/local/context/install.sh Sat Nov 14 20:58:00 2020 *** *** 100,105 --- 100,111 fi fi + if test "$SYSTEM" = "OpenBSD" ; then +if test $(grep -c $(uname -r) $PWD/bin/mtx-install.lua)="0"; then + sed -i "/openbsd/s/[0-9]\.[0-9]/$(uname -r)/" $PWD/bin/mtx-install.lua +fi + fi + $PWD/bin/mtxrun --script ./bin/mtx-install.lua --update --server="$LMTXSERVER" --instance="$LMTXINSTANCE" --platform="$PLATFORM" --erase --extras="$LMTXEXTRAS" cp $PWD/tex/texmf-$PLATFORM/bin/mtxrun$PWD/bin/mtxrun I thought this patch might be usefull upstream. It succeeds in patching mtx-install.lua (I checked commenting all the lines below my patch) but somewhere during the install process, this patched $PWD/bin/mtx-install.lua is replaced by the original one and install fails. What else should I do? Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles when installing OpenBSD 64 binaries (install.sh?)
Hi, I apologize for sending more or less the same message as last week, but it went unnoticed on the mailing list. To sum up, looks like that install.sh cannot fetch the openbsd 6.8 amd64 binaries. I am aware of the *tma issue noticed by some list users, but since I am ripping of anything in my /usr/local/context/ tree before upgrading, shouldn't be an issue. Any help really welcomed, since texlive context package doesn't compile either on my computer, an issue the packager spend time on it and couldn't recreate/resolve. This means I am stick with compiling via ssh on a debian box. Best regards, Damien Thiriet > Date: Sat, 7 Nov 2020 17:32:35 +0100 > From: Damien Thiriet > To: ntg-context@ntg.nl > Subject: troubles when installing OpenBSD 64 binaries (install.sh?) > > Hi, > > > I tried to install the new OpenBSD amd64 binaries (thanks Hans!) > but it failed. I suspect something is wrong with install.sh > > Here is the script I use to install binaries on a new system: > > > #!/bin/ksh > #script pour installer ConTeXt dans une nouvelle version OpenBSD > #Pour lire avant usage > /bin/echo "as-tu bien relu le script avant de le lancer?" > #temps de pause pour la lecture > /bin/sleep 30 > #nettoie avant installation > /bin/rm -rf /usr/local/context/* > > #telecharge > /usr/bin/ftp http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd$(uname > -r)-amd64.zip > > #decompresse > /usr/local/bin/unzip context-openbsd$(uname -r)-amd64.zip -d > /usr/local/context/ > > #va dans le dossier > cd /usr/local/context/ > #change les permissions > /bin/chmod 744 install.sh > #lance install.sh > ./install.sh > > Here is the output log > > > Requesting > http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd6.8-amd64.zip > 100% > |***| > 1255 KB00:01 > 1285778 bytes received in 1.76 seconds (711.15 KB/s) > Archive: context-openbsd6.8-amd64.zip > creating: /usr/local/context/bin/ >inflating: /usr/local/context/bin/mtx-install.lua >inflating: /usr/local/context/bin/mtxrun >inflating: /usr/local/context/bin/mtxrun.lua >inflating: /usr/local/context/installation.pdf >inflating: /usr/local/context/install.sh > mtxrun | forcing cache reload > resolvers | resolving | looking for regular 'texmfcnf.lua' on given > path '/root/texmf/web2c' from specification 'home:texmf/web2c' > resolvers | resolving | looking for regular 'texmfcnf.lua' on given > path '/usr/local/texmf-local/web2c' from specification > 'selfautoparent:/texmf-local/web2c' > resolvers | resolving | looking for regular 'texmfcnf.lua' on given > path '/usr/local/texmf-context/web2c' from specification > 'selfautoparent:/texmf-context/web2c' > resolvers | resolving | looking for regular 'texmfcnf.lua' on given > path '/usr/local/texmf-dist/web2c' from specification > 'selfautoparent:/texmf-dist/web2c' > resolvers | resolving | looking for regular 'texmfcnf.lua' on given > path '/usr/local/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' > resolvers | resolving | looking for fallback 'contextcnf.lua' on given > path '/root/texmf/web2c' from specification 'home:texmf/web2c' > resolvers | resolving | looking for fallback 'contextcnf.lua' on given > path '/usr/local/texmf-local/web2c' from specification > 'selfautoparent:/texmf-local/web2c' > resolvers | resolving | looking for fallback 'contextcnf.lua' on given > path '/usr/local/texmf-context/web2c' from specification > 'selfautoparent:/texmf-context/web2c' > resolvers | resolving | looking for fallback 'contextcnf.lua' on given > path '/usr/local/texmf-dist/web2c' from specification > 'selfautoparent:/texmf-dist/web2c' > resolvers | resolving | looking for fallback 'contextcnf.lua' on given > path '/usr/local/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' > resolvers | resolving | > resolvers | resolving | warning: no lua configuration files found > resolvers | resolving | no texmf paths are defined (using TEXMF) > resolvers | resolving | > mtxrun | the resolver databases are not present or outdated > mtx-install | server : lmtx.pragma-ade.com > mtx-install | instance : instal
[NTG-context] troubles when installing OpenBSD 64 binaries (install.sh?)
4 files of 4045 done, 138996466 bytes, 2.240 seconds 2828 files of 4045 done, 145377377 bytes, 2.360 seconds 3232 files of 4045 done, 151956221 bytes, 2.480 seconds 3636 files of 4045 done, 157895101 bytes, 2.570 seconds 4040 files of 4045 done, 163320456 bytes, 2.700 seconds 4045 files of 4045 done, 163339965 bytes, 2.710 seconds mtx-install | invalid database 'http://lmtx.pragma-ade.com/install-lmtx//tex/texmf-openbsd6.8-amd64.tma' mtx-install | current : %S mtx-install | target : %S mtx-install | removing : mtxrun mtx-install | removing : context mtx-install | copied : mtxrun mtx-install | copied : context mtx-install | running: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/mtxrun --generate sh: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/mtxrun: not found mtx-install | running: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/mtxrun --script cache --erase sh: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/mtxrun: not found mtx-install | running: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/mtxrun --generate sh: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/mtxrun: not found mtx-install | running: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/context --make en sh: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/context: not found mtx-install | mtx-install | tex/texmf:0 files with 0 bytes installed mtx-install | tex/texmf-context:0 files with 0 bytes installed mtx-install | mtx-install | ConTeXt LMTX with LuaMetaTeX is still experimental and when you get a crash this mtx-install | can be due to a mismatch between Lua bytecode and the engine. In that case you can mtx-install | try the following: mtx-install | mtx-install | - wipe the texmf-cache directory mtx-install | - run: mtxrun --generate mtx-install | - run: context --make mtx-install | mtx-install | When that doesn't solve the problem, ask on the mailing list (ntg-context@ntg.nl). mtx-install | mtx-install | update, done cp: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/mtxrun: No such file or directory If you want to run ConTeXt everywhere, you need to adapt the path, like: export PATH=/usr/local/context/tex/texmf-openbsd6.8-amd64/bin:$PATH If you run from an editor you can specify the full path to mtxrun: /usr/local/context/tex/texmf-openbsd6.8-amd64/bin/mtxrun --autogenerate --script context --autopdf ... The following settings were used: server : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl instance : install-lmtx extras : ownpath : /usr/local/context platform : openbsd6.8-amd64 So, binaries can't be found under openbsd-6.8.amd64/bin I looked at install.sh, and I wonder if line 105 and 106 cp $PWD/tex/texmf-$PLATFORM/bin/mtxrun $PWD/bin/mtxrun cp $PWD/tex/texmf-context/scripts/context/lua/mtxrun.lua $PWD/bin/mtxrun.lua cp $PWD/tex/texmf-context/scripts/context/lua/mtx-install.lua $PWD/bin/mtx-install.lua shouldn't be changed to cp $PWD/bin/mtxrun $PWD/tex/texmf-$PLATFORM/bin/mtxrun cp $PWD/bin/mtxrun.lua $PWD/tex/texmf-context/scripts/context/lua/mtxrun.lua cp $PWD/bin/mtx-install.lua $PWD/tex/texmf-context/scripts/context/lua/mtx-install.lua Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with \enablemode
Hi @list, I don't fully understand the \enablemode mechanism. Given this MWE: \startmode[test] \setupframedtext [foregroundcolor=white,style={\tfa}] \stopmode \starttext \startframedtext ceci est un texte \stopframedtext \enablemode [test] \startframedtext ceci est un texte \stopframedtext \stoptext I cannot see the expected effect when I compile, that is both texts are in black. When I compile with context --mode=test both framed texts are in white, which is what I expect. What did I miss? Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with cutafter
Hello, I went into some troubles with cutafter. Must have missed something obvious. \starttext \startMPpage path p[]; p1:= origin -- (100,0); p2:= (50,-50) -- (50,100); draw p1; draw p2; draw (p1 cutafter (p1 intersectionpoint p2)) withcolor red; \stopMPpage \stoptext Can someone explain me why the whole path p1 of this MWE is in red? I expected only its first half to be in red, and the whole line is. Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] Introduction to ConTeXt Wiki pages
Hi Sciurus, This Introduction page is very nice. Great Job! I would just replace the "first ConTeXt document" section with a link pointing to First_Document, section Create a ConTeXt file, because newcomers are likely to begin with that page anyway. Maybe using the same example would make sense? It would be also worth to index it in the Basics index. These are technical stuff that may be discussed further on in the wiki mailing-list. w...@contextgarden.net Best regards, Damien Thiriet On Thu, Oct 22, 2020 at 01:43:28AM +0200, ntg-context-requ...@ntg.nl wrote: > > Hi all, > > Just wanted to put the word out that I have posted two new pages to the > Wiki, both aimed at new users of ConTeXt: > > https://wiki.contextgarden.net/Introduction > https://wiki.contextgarden.net/Some_Basic_Commands > > The first is an introduction to the general principles of writing documents > in ConTeXt, and the second is just a list of commands that beginning users > might be likely to want to use to customize their documents. I expect that I > will be continuing to update the second page in particular, as I find other > such commands or am able to provide further information or links. > > I am myself a relatively new user of ConTeXt (I started using it this > summer, having used LaTeX for many years), so there is a whole lot that I > don't know about it. I have tried to test out everything on these pages, so > while the information there may not be complete, it should at least be > correct. > > I don't claim to be any kind of authority on ConTeXt. I'm enjoying learning > it (including the many things that I have learned from this mailing list!), > and since I have seen in many places (including at the bottom of each > mailing list email) encouragement to contribute to the Wiki, I have begun > doing so. I am continuing to try to learn about ConTeXt, and I have decided > that as I learn things and/or find things on the Wiki that could use > supplementing, I'll try to add what I can. The Introduction to ConTeXt that > I have posted reflects the understanding of ConTeXt that I have gained over > these recent months of using it, however good or bad that understanding may > be. > > I welcome all manner of feedback on these pages (and of course feel free to > edit or contribute to them, as appropriate). Right now neither page is > linked to from anywhere else in the Wiki, so users wouldn't find them except > possibly by accident while searching for something else. If people think > that these pages would be useful, then I'd be happy to let the Wiki > administrators decide where best to put them. > > Thanks, > > > Sciurus > > > > > -- > > Subject: Digest Footer > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > 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 > ___ > > > -- > > End of ntg-context Digest, Vol 196, Issue 44 > ___ If your question is of interest to others as well, please add an 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] no reference output for \namedstructurevariable
Hello, I am facing some issue with \usernamedvariable. Consider this MWE \starttext \startsection[title={Mammals and eggs},reference={mammals}] \namedstructurevariable{section}{title} \namedstructurevariable{section}{reference} and \currentstructurereference \stopsection \stoptext \namedstructurevariable{section}{reference} doesn't give any output, while \currentstructurereference does. Is this a bug or something I miss? I get also no output when I define custom key/value with startsection and call them with namedstructurevariable. Best regards, Damien Thiriet - End forwarded message - ___ If your question is of interest to others as well, please add an 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] unwanted vertical spaces after sectionhead in column layout
Hello list, Looks like lmtx adds extra vertical space after heads. Compare those two MWE: \setuppapersize [S4] \setuphead [subject] [after={}] \starttext \startsubject[title={blabla}] \input knuth \stopsubject \stoptext \setuppapersize [S4] \setuphead [subject] [after={}] \starttext \startcolumns [n=3] \startsubject[title={blabla}] \input knuth \stopsubject \stopcolumns \stoptext Greetings, Damien Thiriet (missing BachoTeX) ___ If your question is of interest to others as well, please add an 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] troubles with latin modern and mutool
Hi Pablo, Hi list, \filterpages made the job and saved me a lot of nerves, another ConTeXt great command! Many thanks for the tips, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with latin modern and mutool
Hello, I am facing some unexpected troubles while splitting my lessons to send them to my pupils. My idea was to use mutool draw to extract only the pages of my presentations relevant to my lesson of the day. Unfortunately, when I do for example mutool draw -o file-beginning.pdf file.pdf 2,5 This extracts pages 2 to 5 I got those warnings warning: cannot create ToUnicode mapping for GWKFXT+LMSans10-Regular The resulting pdf is perfectly readable on my computer, but some pupils claimed they received garbage encoding and an unreadable pdf (on OSX at least). This might be a mutool bug, so I don't send any MWE. Do you know any alternative to mutool draw to send clean pdf from pages of my presentations? Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with latin modern and mutool
As an addition to my mail. I tried poppler pdfseparate and pdfunite, but the resolution is too high and my extract is much eavier than the original file. As an alternative, Is there a way to compile just a part of a context file, keeping the whole toc? My college pupils will get lost if my 3) is changed to a 1) (don't whether this is only typicall for French pupils). Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] extreme table and right frames with vertically spanned cells
Hi list, It looks like switching off right frame is not taken into account when spanning cell vertically. Consider this example: \starttext \startxtable \startxrow \startxcell A \stopxcell \startxcell [ny=2,rightframe=off] B \stopxcell \stopxrow \startxrow \startxcell C \stopxcell \stopxrow \stopxtable \stoptext The output is |A|B |C| | And I would expect |A|B |C| Am I wrong somewhere? Regards and happy new year, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] missing files in cld-mkiv
Hi, Files cld-005.pdf are missing in my version of the clm-mkiv manual. Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] fatal error: there is no valid writable cache path
Hello, Thanks for those precisions regarding whiping the cache. For the sake of future debugging, which mtxrun option should I run to check what is the cache-path in my personal account, having a system-wide install? Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] fatal error: there is no valid writable cache path defined
Hello, I solved the problem deleting the luametatex binaries (that wheren't deleted during my reinstallation) and running ./install.sh once more. Troubles may be connected with the experimental binaries. Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] fatal error: there is no valid writable cache path defined
Hi, I ran into trouble with caches. First I updated the new binaries and they compiled fine under OpenBSD6.6-amd64. Then I uploaded some binaries Hans asked me to test, moved this luametatex to /usr/local/context/tex/texmf-openbsd6.6-amd64/bin/, deleted files inside /usr/local/context/tex/texmf-cache (but not texmf-cache itself, since I understand whipe as cleaning inside it) and ran mtx-run --generate then context --auto. When I tried afterwards to compile those new binaries, I get this error This is LuaMetaTeX, Version 2.01.0 resolvers > caches > fatal error: there is no valid writable cache path defined Running mtx-run --generate on my user account did not solve the problem. I certainly did something wrong. I tried to revert to the standard lmtx binaries running install.sh but those errors are still here. Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] questions about publ-imp-apa.mkvi
Hello, Why do we have in publ-imp-apa.mkvi, line 1182 sq \btxdoif {number} { %\btxleftparenthesis (\btxflush{number} \btxrightparenthesis } and not \btxdoif {number} { \btxleftparenthesis \btxflush{number} \btxrightparenthesis } ? Damien Thiriet ___ If your question is of interest to others as well, please add an 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] typo in publications-customized.tex
Hello, I found a typo in publications-customize.tex. Here is a diff -u that may help to fix it quickly (not used to sending diff, I hope it'll help) --- publications-customize-patched.tex Mon Oct 28 07:26:37 2019 +++ publications-customize.tex Mon Oct 21 13:56:04 2019 @@ -362,7 +362,7 @@ diagnostics as described in the Appendices. Their functional meaning is rather \quote {handled} in contrast to \index {field+ignored}\quote {ignored}. \stopfootnote Note that if a category is \emphasis {not} declared in this \LUA\ -table, then \emphasis {all} of its fields will be considered \index +table, than \emphasis {all} of its fields will be considered \index {field+optional}\quote {optional}. Thus, ignoring this level of control and simply defining additional setups might be sufficient for most use. Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] luametatex install as root in OpenBSD
Hello, When I installed luametatex as root under OpenBSD amd64 this morning, I first had "no permission" to launch context. So I checked my /usr/local/context file (where I unpacked the zip). The symlink context had the right permissions after install process (-rwxr-xr-x root wheel) but not luametatex. I changed permissions for luametatex to -rwxr-xr-x root wheel but maybe it should be introduced at install script level? Btw, context.lua and mtxrun.lua are both installed with permissions -rwxr--r-- root wheel Are those lua script only called by root? Should I change their permissions as well to -rwxr-xr-x? Greetings, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] [NTG-CONTEXT] LTMX crashes on OpenBSD 6.5 amd64
Hello, I tried a system-wide install of luametatex, but having my binaries in a disk mounted with w^xallowed did not change anything. I tried to compile different files, but cannot guess yet where do the crash come from. If it can help, I uploaded the luametatex.core file and files that were compiled during the crash at this adress: http://www.normalesup.org/~dthiriet/luametatex/ When I compiled this file, I had the first crash at page 12. Retrying to compile made it crash at page 3. I did not wipe the cache between compilations, nor made mtxrun --generate and context --make. Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] LTMX crashes on OpenBSD 6.5 amd64
Hi Luigi, Unfortunately I cannot check with an up-to-date mkiv, since I didn't succeed in installing standalone mkiv binaries. But those file compile fine under TexLive 2018 context binaries packaged for OpenBSD 6.5. I will check tomorrow, whether my /home/ has got mount options that may lead to crashing, for example regarding w^x settings. Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] LTMX crashes on OpenBSD 6.5 amd64
Hello, I don't think this is relevant, but lua 5.4 is not installed as a separate package (and nor is available as a package on OpenBSD 6.5). Greetings, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] LTMX crashes on OpenBSD 6.5 amd64
Hi, As I wrote yesterday, I have crashes on LTMX, openbsd6.5-amd64. LTMX version: ConTeXt ver: 2019.10.10 18:15 MKIV beta fmt: 2019.10.19 int: english/english I was not yet able to trace why does it crashes. The crashes is connected with buses, but I can hardly say anything more. Here are the last lines of a crashed-compilation log. Looks likes the file was compiled and then something got wrong. Maybe something gets wrong after some time of compilation. Bigger files crash after 10–12 pages. mkiv lua stats > result saved in file: sprawdziany5C.pdf, compresslevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1 fr::55, load time: 0.000 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmsans10-regular.otf mkiv lua stats > font engine: otf 3.109, afm 1.513, tfm 1.000, 5 instances, 1 shared in backend, 0 common vectors, 1 common hashes, load time 0.321 seconds mkiv lua stats > metapost: 0.005 seconds, loading: 0.122, execution: 0.004, n: 3, average: 0.043, instances: 1, luacalls: 223, memory: 3.265 M mkiv lua stats > graphics processing time: 0.005 seconds including tex, 1 processed images, 1 unique asked, 1 bad names mkiv lua stats > font embedding time: 0.014 seconds, 1 fonts mkiv lua stats > used platform: linux, type: unix, binary subtree: texmf-openbsd6.5-amd64 mkiv lua stats > used engine: luametatex version 2.0, functionality level 20190729, format id 977 mkiv lua stats > control sequences: 46949 of 65536 + 10 mkiv lua stats > lua properties: engine: lua 5.4, used memory: 44 MB, ctx: 43 MB, max: 47 MB), hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 1.781 seconds, 10 processed pages, 10 shipped pages, 5.614 pages/second Bus error (core dumped) mtx-context | fatal error: return code: 35328 Shall I send the dump core somewhere? Greetings, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] LTMX install on OpenBSD amd65 working
Hello, I am very pleased to inform that I was able to install luametatex on OpenBSD amd64 6.5. I fetched the install file on PRAGMA, followed the instructions and was able to compile a basic file with ltmx. I was also able to compile simple files for my pupils. Unfortunately, compilation fails with more complex files (presentations), I’ll describe this on another mail. Anyway, this is great, because OpenBSD 6.6 (released two days ago) ships texlive 2018, and having the \startxcolumn working will be really helpfull when designing key to symbols for my maps. I'm now looking forward for the OpenBSD 6.6 ltmx binaries. Thanks for all this great job, Damien Thiriet ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF viewer poll
Hello, I am using SumatraPDF at school (Windows). Lightweight, opens where it was closed last time (very convenient when you've got presentations up to 100 slides or more that takes several weeks to be discussed). Self actualizes when the ConTeXt source is compiled. At home (OpenBSD), mupdf and zathura. Rather for ratpoisons or Vim fans (keyboard-driven). Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] OpenBSD install broken
Hi Mojca, Hi Robert I tried to install standalone according to your instructions, but I failed one more time. I did the following steps: mkdir context && cd context rsync -ptv rsync://contextgarden.net/standalone/setup/first-setup.sh . ./first-setup.sh Then I changed the line 4049 of bin/mtxrun to local platform="openbsd6.5-amd64" but I obviously did not understand what to do next: calling env PATH="$PWD/bin:$CONTEXTROOT/texmf-$platform/bin:$PATH" MTX_PLATFORM="$platform" \ ./bin/mtxrun --script ./bin/mtx-update.lua --force --update --make --engine=luatex --platform="$platform" --texroot="$CONTEXTROOT" $@ ends quite quickly, with this output mtx-update | available platforms: freebsd freebsd-amd64 linux linux-64 linux-armhf linuxmusl-64 mswin openbsd6.5 openbsd6.5-amd64 osx-64 solaris-intel solaris-sparc win64 resolvers | tds | no 'texmf-openbsd6.5-6.4' under tree '/home//context/' which is the same output as ./first-setup.sh before the change. (changed my home name to ) What did I do wrong? Greetings, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] typo in metafun manual
Hi, There may be a typo in metafun manual, page 104 Hopefully the next explains a bit how it works (you can find explanations zon the internet). Sounds too Dutch for me… Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] Biblatex \crossref equivalent in bibliographies
Hi, With biblatex I was using crossref to shorten my .bib files, as can be seen in this MWE @periodical{DebatMem2002, title = {Le Débat}, number = {122}, langid = {french}, date = {2002} } @article{ChartiersurRicoeur2002, author = {Roger Chartier}, title = {Le passé au présent}, crossref = {DebatMem2002}, pages = {4--11} } Which keys should I use to achieve the same under ConTeXt? I found xcrossref and percentcrossref keys "Bibliographies. The ConTeXt way" but could'nt figure out how to use them. Here is my ConTeXt MWE as a starting point \language [fr] \startbuffer [bib] @periodical{DebatMem2002, title = {Le Débat}, number = {122}, langid = {french}, date = {2002} } @article{ChartiersurRicoeur2002, author = {Roger Chartier}, title = {Le passé au présent}, xcrossref = {DebatMem2002}, %does not work the way I would expect pages = {4--11} } \stopbuffer \usebtxdataset[bib.buffer] \usebtxdefinitions[apa] \definebtxrendering [example][apa] \starttext \nocite[ChartiersurRicoeur2002] \placelistofpublications \stoptext Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] line numbering disappears in custom column layout
Hi, Line numbering disappears when called inside custom columns defined with defineparagraph. This works fine \defineparagraphs[Colonne][n=2] \starttext \startlinenumbering \input knuth \stoplinenumbering \input knuth \stoptext Whereas this does not work as expected \defineparagraphs[Colonne][n=2] \starttext \startColonne \startlinenumbering \input knuth \stoplinenumbering \Colonne \input knuth \stopColonne \stoptext Playing with \setuplinenumbering (location=text and so on) didn't help. Maybe this has to do with setting margins in defineparagraphs, but I can't figure out how to do it. Greetings, Damien Thiriet PS: This is exactly the unanswered question I asked a few days ago on TeX SE https://tex.stackexchange.com/questions/505238/context-line-numbering-disappears-in-custom-column-layout - End forwarded message - ___ If your question is of interest to others as well, please add an 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] configure \digits errata
Hi, I made a mistake in my previous mail. I am looking for an alternativ to \setdigitmode \starttext \setdigitmode 3 \digits 1314000 \stoptext with an output points&commas or thinmuskip&commas. Sorry for the noise, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] configure \digits
Hi, According to the wiki and 2003 article Pasting Digits together, to get 1314000 typeset as 1\,314\,000, I should do \setdigits 3 \digits{1314000} unfortunatly, the \setdigits command looks obsolete (MkII command? Could not find in my ConTeXt help information server (http://localhost:8088/mtx-server-ctx-help.lua? and so on…). I am using 2018 texlive. Maybe job is now done by \setupunit, but couldn't figure out how it works. So what should I do to have numbers typeset the French way (points&commas or thinmuskip&commas)? MWE to be improved \starttext \setdigits 3 \digits{1314000} \stoptext Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] local command description
Hi, Last year after my speech at BachoTeX, Hans told me, that we can get a local catalogue of ConTeXt macros. So I wrote on a piece of paper two commands but did not note much more and now I am not sure what do they stand for mtxrun --script server --auto When I run this, I got this on my console resolvers | trees | analyzing '/home/dthiriet/texmf' mtx-server | running at port: 8088 mtx-server | document root: /usr/local/share/texmf-dist/scripts/context/lua mtx-server | main index file: unknown mtx-server | scripts subpath: /usr/local/share/texmf-dist/scripts/context/lua mtx-server | context services: http://localhost:8088/mtx-server-ctx-startup.lua and then nothing appends for a quite long time (10 minutes). Is it building a base or something like this? How long should I wait to have it made? The second command I note is mtxrun --gethelp --url=http://localhost:8088/mtx-server-ctx-help.lua?command=%command% --command= "\definecolor" When I run this, I get sh: http://localhost:8088/mtx-server-ctx-help.lua?command=definecolor: not found Is it because I did not build the base, or did I miss something (typo or so on?) Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] Unwanted uppercase letter in \high{} within bibliography
Hello @list, I have an unwanted output that might be a bug in my bibliographies. Consider this MWE : \setuppapersize[S4] \mainlanguage[fr] \language[fr] \startbuffer[bib] @book{Manuel5, editor = {Martin Ivernel and Benjamin Villemagne and Jean Hubac}, title = {Histoire Géographie EMC 5\high{ème}, cycle 4}, publisher = {Hatier}, address = {Paris}, year = {2016}, pagetotal = {398}, language = {french} } \stopbuffer \usebtxdataset[bib.buffer] \definebtxrendering [biblio] [apa] [numbering=no, sorttype=cite, title="Bibliographie"] \starttext \nocite[Manuel5] \placelistofpublications \stoptext As you can see, we get Ème in the output instead of ème. Is this a bug, or did I miss something? Regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with \MPinclusions (Taco Hoekwater)
Thanks for your answers, I could significantly reduce my long timeline code. > 1. Variable names x and y are special and cleared before >every graphic. This is related to the fact that “z" is >defined as a shortcut for "(x,y)”. Both of these are >traditional. > >Every metapost graphic does at least this at its start: > >save x,y; >currentpicture := nullpicture; >currentpen:=defaultpen; > >so pair xx[]; would have worked just fine. > >In general, I would advice to stay away from single-letter >variable names inside MPinclusions, and use CamelCase >to avoid clashes with metafun internals. > So, got one more z-related error in Metapost. I bet this is absolutely the n.1 on help-lists. Btw, if I were a scientist, I'd realized that defining x as a pair is quite heretic… And that sounds much familiar to an historian. Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with \MPinclusions
Hi, Why does (1) compile, whereas (2) doesn't? I can't understand why can MPinclusions store path and not pairs. (1) %% \setuppapersize[A4,landscape] \startMPinclusions u:=1mm ; %fond path p ; p:= (0,0) -- (150u,0) -- (150u,95u) -- (0,95u) -- cycle ; pair x[] ; x[0]:= (20u,90u) ; x[1]:= (40u,90u) ; x[2]:= (90u,90u) ; x[3]:= (140u,90u) ; \stopMPinclusions \startreusableMPgraphic{test} draw p ; \stopreusableMPgraphic \starttext \reuseMPgraphic{test} \stoptext (1) %% \setuppapersize[A4,landscape] \startMPinclusions u:=1mm ; %fond path p ; p:= (0,0) -- (150u,0) -- (150u,95u) -- (0,95u) -- cycle ; pair x[] ; x[0]:= (20u,90u) ; x[1]:= (40u,90u) ; x[2]:= (90u,90u) ; x[3]:= (140u,90u) ; \stopMPinclusions \startreusableMPgraphic{test} draw p ; for i=0 step 1 until 3 : drawdot x[i] ; endfor ; \stopreusableMPgraphic \starttext \reuseMPgraphic{test} More generaly, which kind of variables cannot be stored in \startMPinclusions ? Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] xtable and natural tables
Hi list, From Hans xtable manual: As each cell is basically a \framed and as we need to do two passes over the table, this mechanism is not the fastest but it is some two times faster than the natural tables mechanism, and in most cases can be used instead. Manuals examples are of course short ones, but I understand this mechanism is faster even on tables that do not expand on more than one page. Does this mean, that extreme tables should now be considered as the recommended way to build tables? Are there simple cases, when natural tables should be obviously preferred? Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] custom environment for geographical pictures; new head or special float?
Hello, When creating my geography presentations, I often need to show so-called « croquis », that are outlines of maps or landscapes. A typical slide with croquis looks like this: --- title --- outline (a MP graphic) --- key to symbols (natural table) --- All this is enclosed into a makeup to reduce margins. I am now automating this and wonder what should be the best way to do it. * creating a head style at subsection level was my first thought, but on the semantical point of view, it is not the best one, since other slides are not considered as subsubsections. If I stick to this, should I use subsubsection as a default which it's derived from. * creating a float would be better, since this is a float. Would there be a way to insert automatically key to symbols under the metapost graphic? Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] [dev-context] Luatex 1.09.0 announcement (Mojca Miklavec)
Hi, LuaJIT did not work on OpenBSD 6.3 texlive* packages. I can live without it anyway. Does this mean that a ConTeXt live install will be available on OpenBSD 6.4? As usual I would be highly interested, even more since I discovered that using official packages (TL-2017 btw), you have to load everything to get context, since texlive-texmf-full is a texlive-texmf-context dependency. Greetings, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] insert natural table at the top left of some png
Thank you very much Hans ! One of my first thoughts today was using layers (did not think about it earlier, because I was too focused on plain TeX boxes), but I am quite new to this topic. Thanks to your code, I will have time to learn how to use them. Greetings, Damien Thiriet On Mon, Oct 15, 2018 at 11:15:00PM +0200, Hans Hagen wrote: > \definecolor[canaux][h=81b3e0] > > \startreusableMPgraphic{voies} > drawarrow > (0,0) -- (20,0) > withcolor black ; > \stopreusableMPgraphic > > \startreusableMPgraphic{canaux} > drawarrow > (0,0) -- (20,0) > withcolor \MPcolor{canaux} withpen pencircle scaled 2pt; > \stopreusableMPgraphic > > \startbuffer[legend] > \bTABLE[frame=off] > \bTR >\bTH 1) \eTH \bTH Le milieu \eTH \bTH 2) \eTH \bTH Les > activités \eTH > \eTR > \bTR > \bTD > \externalfigure[t:/sources/mill.png][height=12bp] > \eTD > \bTD > zones urbaines > \eTD > \eTR > \bTR > \bTD > \inframed[frame=off,offset=0pt]{\reuseMPgraphic{voies}} > \eTD > \bTD > infrastructures~: voies ferrées > \eTD > \eTR > \bTR >\bTD > \inframed[frame=off,offset=0pt]{\reuseMPgraphic{canaux}} > \eTD > \bTD > infrastructures~: canaux > \eTD > \eTR > \eTABLE > \stopbuffer > > \definelayer > [legend] > [width=\overlaywidth, >height=\overlayheight] > > \starttext > > % \setlayer > % [legend] > % {\getbuffer[legend]} > > \setlayerframed > [legend] > [background=color, >backgroundoffset=2pt, >backgroundcolor=red, >strut=no, >frame=off] > {\getbuffer[legend]} > > \externalfigure > [t:/sources/cow.pdf] > [background={foreground,legend}, >width=0.9\textwidth] > > \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 ___
[NTG-context] insert natural table at the top left of some png
Hello, I am still working on maps and facing some new issue. The program I used to design one map is not convenient for writing key to symbols, and what I have is a map.png file with big spare space on its upper left corner. So I have either to write on the png with ImageMagick or GIMP, or have a nicer output with ConTeXt. I wrote this legend file. \definecolor[canaux][h=81b3e0] \startreusableMPgraphic{voies} path p; p:= (0,0) -- (20,0) ; drawarrow p withcolor black ; \stopreusableMPgraphic \startreusableMPgraphic{canaux} path p; p:= (0,0) -- (20,0) ; drawarrow p withcolor \MPcolor{canaux} withpen pencircle scaled 2pt; \stopreusableMPgraphic \startbuffer \bTABLE[frame=off] \setupTABLE[column][1,3][align={middle,lohi}] \bTR \bTH 1) \eTH \bTH Le milieu \eTH \bTH 2) \eTH \bTH Les activités \eTH \eTR \bTR \bTD \externalfigure[illustrations/zone_urbaine][height=12bp] \eTD \bTD zones urbaines \eTD \eTR \bTR \bTD \leavevmode \reuseMPgraphic{voies} \eTD \bTD infrastructures~: voies ferrées \eTD \eTR \bTR \bTD \leavevmode \reuseMPgraphic{canaux} \eTD \bTD infrastructures~: canaux \eTD \eTR eTR \eTABLE \stopbuffer The idea was to make some \hbox{ \externalfigure[map][width=0.9 \textwidth] \vbox{\hfill -0.9 \textwidth \getbuffer } } to put the boxed legend at this upper left corner. Of course I couldn't succeed, since I do not understand so much boxes. ConTeXt complains with a missing number. How could I achieve such boxing ? Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] line break after \item, but not \stopitem
Hans, Thank you for your answer. > you can do this: > > \setuppapersize[S6] > \setupitemize[1][before={\page}] > > \starttext > > \startitemize[n] > \startitem \input knuth \stopitem > \stopitemize > > \startitemize[continue] > \startitem \input ward >\startitemize[a] > \startitem first point \stopitem > \startitem second point \stopitem > \stopitem >\stopitemize > \stopitem > \stopitemize > > \stoptext > Unfortunately, I have a huge amount of level 1 items, only 10% of them enclosing some level-2 itemization. I bet it would be easier to insert \page with a perl script after each first \stopitem than embedding those 90% items within an itemization (as far as I understand). That's what I did when I converted my beamer presentation into conTeXt ones. In this case however, the code would be far less readable, since those \page will be only for screen mode. Is there any key I could use to introduce page breaks after each level 1 \stopitem ? Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] line break after \item, but not \stopitem
Hi list, I am designing a presentation for my pupils (some lng exercices to learn LibreOfficeDraw by doing). To be sure that they don't misview any question, I decided to force a pagebreak after each first level item. A question on TSE gave me the proper key to \setupitemize, but I am facing an issue I didn't expect. Given this MWE \setuppapersize[S6] \setupitemize[1][inbetween={\page}] \starttext \startitemize[n] \startitem \input knuth \stopitem \startitem \input ward \startitemize[a] \startitem first point \stopitem \startitem second point \stopitem \stopitem \stopitemize \stoptext I expected a page break after each 1 level \stopitem, that is after knuth's text and "second point". However the text is breaking before first point, that is at the beginning of level 2 startitemize, which is AFAIK semantically part of a level 1 item. Do you have any idea to force page break *after* "second point" and not *before* "first point" ? Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] Why do I have to enclose \rawcounter in braces in this MWE ? (Pablo Rodriguez)
Hi Pablo, > just as you wrote it is the way to enclose brackets inside brackets > (you need a pair of braces between them. This is exactly the info I needed. Thanks. Damien Thiriet ___ If your question is of interest to others as well, please add an 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] Why do I have to enclose \rawcounter in braces in this MWE ?
Hello list, Why do I have to enclose \rawcountervalue in braces to get this MWE compiled ? \definecounter[fiche][way=bytext] \setupheadertexts[Fiche méthodologique N.{\rawcountervalue[fiche]} ][][][] \starttext \setcounter[fiche][2] \starttitle[title={Un essai}] \startsection[title={Un premier chapitre}] voilà \stopsection \startsubsection[title={Un deuxième}] tak jest. \stopsubsection \stoptitle \stoptext Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] vim \page highlight
Hello list, Do you know what should I add to my ftplugin/context.vim to have \page highlighted when using ViM ? I tried to understand context.vim color syntax but this is magic to me (mapping is ok, but offtopic). Thanks, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] troubles with standalone install on openbsd6.3-amd64
xmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on weird path '/home/blablabla/context/bin' from specification 'selfautoloc:' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/bin/share/texmf-dist/web2c' from specification 'selfautoloc:/share/texmf-dist/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/bin/texmf-dist/web2c' from specification 'selfautoloc:/texmf-dist/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/bin/texmf/web2c' from specification 'selfautoloc:/texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on weird path '/home/blablabla/context' from specification 'selfautodir:' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/share/texmf-dist/web2c' from specification 'selfautodir:/share/texmf-dist/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/share/texmf/web2c' from specification 'selfautodir:/share/texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/texmf-dist/web2c' from specification 'selfautodir:/texmf-dist/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/context/texmf/web2c' from specification 'selfautodir:/texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '$SELFAUTOGRANDPARENT/texmf-local/web2c' from specification '$SELFAUTOGRANDPARENT/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on weird path '/home/blablabla' from specification 'selfautoparent:' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/share/texmf-local/web2c' from specification 'selfautoparent:/share/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/share/texmf-dist/web2c' from specification 'selfautoparent:/share/texmf-dist/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/share/texmf/web2c' from specification 'selfautoparent:/share/texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/blablabla/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated mtx-update | state, loaded mtx-update | mtx-update | update, start mtx-update | available platforms: freebsd freebsd-amd64 linux linux-64 linux-armhf linuxmusl-64 mswin openbsd6.3 openbsd6.3-amd64 osx-64 solaris-intel solaris-sparc win64 resolvers | tds | no 'texmf-openbsd6.3-amd64' under tree '/home/blablabla/context/tex' Is this all right and what shall I do next or is there a problem, as I think ? Have a nice day, Damien Thiriet ___ If your question is of interest to others as well, please add an 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] context-2011-mathml-update.pdf FlushStep and mupdf
Hi, As suggested a few months ago in thread "which command would give the same effect as \pause in beamer ?", I am digging in context example to use the step mecanism for presentation. I grepped the example folder and founded files using \FlushStep, for example : context-2011-mathml-update.tex The trouble is that when opening context-2011-mathml-update.pdf with mupdf I do not see anything similar to beamer \pause. The whole slides are shown in one piece. I tried several other pdf with Steps mecanism (context-2011-ebook-export, context-2012-thescript, context/2013/context-2013-speed.pdf). Steps weren't displayed in any case. Did I miss something or is it a viewer issue? Thanks, Damien ___ If your question is of interest to others as well, please add an 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] dead link in wiki
Hi, There may be an error in contextgarden's link to NTG MAPS "search the articles" link. It points to http://www.ntg.nl/maps/search.html which seems to be a dead link. I could reach the english version typing http://www.ntg.nl/maps/mapssearch-en.html The proper link for dutch version is http://www.ntg.nl/maps/mapssearch-nl.html. Best regards, Damien Thiriet ___ If your question is of interest to others as well, please add an 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 ___