[NTG-context] using an end of line as parameter
Dear list, I want to format some language tests that different people are preparing. Each one uses different software and there are always problems in format that i want to solve. for a a/b/c questions I receive text that I will format to a list (comments are mine) In den Büchereien gibt es auch … %the question … Kuchen. %option a … Theater. %option b … Workshops. %option c I need to detect \par or whatever sign marks the newline character as an argument delimiter so that I dont have to paste hundreds of times braces for each argument. For the example, I use this macro definition (which does no work!) \long\def\prueba #1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]% {{\bf Beispiel}: #1\\ \qquad a) #2\\ \qquad b) {\bf #3}\\ \qquad c) #4 } I get: tex error on line 493 in file ./prueba.tex: The file ended when scanning an argument. the macro seems to read to the end of file not detecting \par; I know its the \par that causes the problem; I used ^^M also which I read is a sinonym for return but it also does not work. Help would be appreciated (my computer keyboard would appreciate it too...) ___ 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] learning about the grid
Hi everyone, being a newbie I just discovered how different setups for the grid may affect my (very simple) document. In the Details manual (which of course I don't understand because of my unexperience) I read that many people don't use the grid, but when I configure grid=no the whole lines of a section are printed one over the other. Playing with the options and setupinterlinespace I got the unhappily desired 1.3ex that may school requieres for the teaching programs (grid=line, interlinespace=1.3ex), but I somehow feel that's not the right way to go. 1. Why are the lines printed one over the other when grid=no? how do profis then use context without grid? 2. Is there a document where I can read how the grid is conceived to work for the many options in a simple way? thanks in advance ___ 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] context-on-web broken
thanks a lot for the overleaf hack Aditya, i once tried to configure something similar but it did not work! and thanks for the latexcgi link, it has much more speed in processing, though that is not important for me (i am learning the basics in my spare time, so a couple of seconds more or less is ok). On a quick search i found a lot of Zdeněk Svoboda, but i will try to find the one of the project and ask him to offer it to the community, I found context-on-web simple and effective, it even hat a table-generator for easy things. El lun, 26 jun 2023 a las 20:39, Hans Hagen via ntg-context (< ntg-context@ntg.nl>) escribió: > On 6/26/2023 7:53 PM, Aditya Mahajan via ntg-context wrote: > > On Mon, 26 Jun 2023, Miguel Diaz via ntg-context wrote: > > > >> indeed it is a simple simulation of overleaf (for latex). > > > > FWIW, context works on overleaf as well! > > > > Simply create a `latexmkrc` file with the following content: > > > > ``` > > $pdflatex="context --synctex=1 --result=output %S; cp output.log > /compile/output.log;cp output.pdf /compile/output.pdf"; > > $recorder=0; > > $pdf_mode=1; > I found back this link: > > https://davidcarlisle.github.io/latexcgi/testc > > > % !TEX mtxrun --script context > > \starttext > > \dorecurse{500}{\samplefile{tufte}\par} > > \stoptext > > Runs 113 pages in 1.13 sec so quite ok for a remote un I guess. > > I'm not sure how up to date it is. > > (The default is some old tex document using pdftex.) > > Hans > > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://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 > > ___ > ___ 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] context-on-web broken
indeed it is a simple simulation of overleaf (for latex). But trying to learn the basics it is great that you can try context without an installation and configuration. unfortunately the web is no more accesible and when I heard that the maillist hat problems as result of upgrade i thought the web would be in the same server. But it seems the web is not of Pragma but of a university. Sorry for my ignorance! and thanks anyway El lun, 26 jun 2023 a las 9:09, Henning Hraban Ramm via ntg-context (< ntg-context@ntg.nl>) escribió: > Am 26.06.23 um 08:49 schrieb Taco Hoekwater via ntg-context: > > Dear Miguel, > > > >> On 25 Jun 2023, at 22:48, Miguel Diaz via ntg-context < > ntg-context@ntg.nl> wrote: > >> > >> Hi everyone, > >> and sorry if this is not the right place to post. > >> > >> Context-on-web is no more accesible. > > > > What is this context-on-web? I tried searching, but context+web produces > rather useless results. > > https://context-on-web.eu > online IDE by Zdeněk Svoboda of Brno university > > > Hraban > > ___ > 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 > > ___ > ___ 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] context-on-web broken
Hi everyone, and sorry if this is not the right place to post. Context-on-web is no more accesible. Though as a complete newbie to latex and context world I was just making a very basic format definition, i was glad i got a basic working layout. Now i cannot access the online application and I have no copy of the very simple sample file on which i would like to continue with my practice. So, will context-on-web be back? or is there a way to access my files? I can begin again, but it took me over 3 weeks to get the most basic layout! thanks in advance Miguel D. ___ 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 ___