Re: [NTG-context] encoding/compiling issues (macosx)
Hi to all, So, no clues? Being it a fresh install we really do not know what to do...we're getting bored of those little black squares...:-) Thanks Best -a- On 8 Oct 2007, at 16:05, Andrea Valle wrote: Thanks Wolfgang, Can you send e example to the list. http://www.cirma.unito.it/andrea/misc/ 01_etc: the pdf from which we copied and pasted andreaConTeXt: compiled with XeConTeXt (fine) env_etc: the env (we're using a project structure). We have tested both with and without the \enableregime[utf] miriamConTeXt: here we have black boxes miriamXeTeX: here we loose accents prd/pro: just for the record, the structure files semiotiche: the bib files we refer to source: the tex source More: We can't do ctxtools --updatecontext it complaint it cannot fetch the zip you can download the zip-file from pragma-ade.nl or one of the mirrors on unzip the file in your local tex tree Thanks (but why cannot I?) Differences: 1. I am on macbook pro, she's on macbook (both on 2007 intel) 2. I'm using the English version of the macosx system, she's using the Italian one. shouldn't be a problem I guest so too Best -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) __ _ If your question is of interest to others as well, please add an 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 __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] need help with creating a grid with context
Hi Peter, MASON Peter J schrieb: I'm trying to layout a grid of bullets. The results isn't the expected one. Perhaps someone could offer help here? Thanks. Here's the sort of thing I'm doing \setuplayout[leftmargin=0pt, leftmargindistance=0pt, backspace=0pt, rightmargin=0pt, rightmargindistance=0pt, cutspace=0pt, width=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle] %\showlayout \starttext \setuppositioning[unit=cm] \startpositioning \newcount\Row \Row= 0 \loop { ^^ \newcount\Col ^^ \Col = 0 \loop \position(\Col, \Row) {$\bullet$} \ifnum\Col 14 \advance\Col by 1 \repeat } ^^ \ifnum\Row 36 \advance\Row by 1 \repeat \stoppositioning \stoptext You introduce spurious spaces (line break sometimes adds a space) in you loops. See http://tug.ctan.org/tex-archive/info/texbytopic/ if you want to learn more about it. \starttext \setuppositioning[unit=cm] \startpositioning \newcount\Row \newcount\Col \Row=0 \dorecurse{36} {\Col=0 \dorecurse{14} {\position(\Col,\Row){$\bullet$} \advance\Col by 1 }% \advance\Row by 1 } \stoppositioning \stoptext Remove the comment sign behind the inner loop and see what happens. Also see http://wiki.contextgarden.net/System_Macros/Loops_and_Recursion for the nicer ConTeXt loop macros. Best wishes, Peter Before printing, please consider the environment. IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] encoding/compiling issues (macosx)
Hi Andrea, 2007/10/10, Andrea Valle [EMAIL PROTECTED]: Hi to all,So, no clues?Being it a fresh install we really do not know what to do...we're getting bored of those little black squares...:-) I corrected wrong characters in source.tex like following: Semiotica duale anzitutto peché le due distinte origini moderne, da Charles S. Peirce e da Ferdinand de Saussure, hanno determinato due distinte tradizioni, to Semiotica duale anzitutto perché le due distinte origini moderne, da Charles S. Peirce e da Ferdinand de Saussure, hanno determinato due distinte tradizioni, (In an Unicode enabled Editor like Scite there is a difference between é and é) and there were no black boxes in the output of luatex. I could send you the source and the resulting pdf offlist Thanks Best -a- On 8 Oct 2007, at 16:05, Andrea Valle wrote: More: We can't do ctxtools --updatecontext it complaint it cannot fetch the zip you can download the zip-file from pragma-ade.nl or one of the mirrors on unzip the file in your local tex tree Thanks (but why cannot I?) Ifyou use a proxy you can try: ctxtools --updatecontext --proxy=10.213.10.254 (assuming proxy port is 80) Greetings Lutz ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [Fwd: [Fontforge-devel] ORA pro nobis]
I assume some of you may be interested in this book as well. Best wishes, Taco Original Message Subject: [Fontforge-devel] ORA pro nobis Date: 09 Oct 2007 12:57:06 -0700 From: George Williams [EMAIL PROTECTED] Organization: FontForge To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] O'Reilly Associates has finally shipped the English translation of Yannis Haralambous's Fonts Encodings It has a large section of FontForge, though I fear it may be a bit out of date by now. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Fontforge-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fontforge-devel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] need help with creating a grid with context
On 10/10/07, MASON Peter J wrote: Hope to create a regular (1cm spacing) grid on page, of bullets. Ultimately over the whole page. Why not using MetaPost? \starttext \startMPcode % or \startMPpage for i=0 upto 10: for j=0 upto 20: fill fullcircle scaled 1mm shifted ((i,j) scaled 1cm); endfor; endfor; \stopMPcode \stoptext Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] -- PHISHING CONTENT DETECTED-- -- DANGEROUS CONTENT DISARMED -- Re: encoding/compiling issues (macosx)
Ah thanks a lot, didn't think about that (well, I wasn't aware at all that there could be two glyphs for the e.g. accented e) I'll start a string replacement strategy. Many thanks. Best -a- On 10 Oct 2007, at 11:06, Lutz Haseloff wrote: Hi Andrea, 2007/10/10, Andrea Valle [EMAIL PROTECTED]: Hi to all, So, no clues? Being it a fresh install we really do not know what to do...we're getting bored of those little black squares...:-) I corrected wrong characters in source.tex like following: Semiotica duale anzitutto peché le due distinte origini moderne, da Charles S. Peirce e da Ferdinand de Saussure, hanno determinato due distinte tradizioni, to Semiotica duale anzitutto perché le due distinte origini moderne, da Charles S. Peirce e da Ferdinand de Saussure, hanno determinato due distinte tradizioni, (In an Unicode enabled Editor like Scite there is a difference between é and é) and there were no black boxes in the output of luatex. I could send you the source and the resulting pdf offlist Thanks Best -a- On 8 Oct 2007, at 16:05, Andrea Valle wrote: More: We can't do ctxtools --updatecontext it complaint it cannot fetch the zip you can download the zip-file from pragma-ade.nl or one of the mirrors on unzip the file in your local tex tree Thanks (but why cannot I?) Ifyou use a proxy you can try: ctxtools --updatecontext --proxy=The Virus/Spam/Threat Scanner of the computer Science Department - University of Turin - warning: numerical links are often malicious: 10.213.10.254 (assuming proxy port is 80) Greetings Lutz __ _ If your question is of interest to others as well, please add an 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 __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] debian: itemize start=0
Hi, on debian testing this small file \starttext \startitemize[n] \item one \item two \stopitemize blahblah \startitemize[n,continue] \item three \stopitemize \stoptext gives an itemization that starts at zero, plus the continue does not work either (context version: 2007.09.28 16:52 (/usr/share/texmf/tex/context/base/context.tex)). Any hints or preliminary solutions greatly appreciated. P.Link ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] problem with alignment
Hi all, Playing with right alignments this morning, I discovered that \setupalign [left] ipsum in elit Duis placerat nec augue puts text *on the right*, while \setupalign [right] ipsum in elit Duis placerat nec augue puts text *on the left*. The \startalignment[left] and \startalignment[right] commands produce the same inversion. (The \rightaligned command works as expected) ... 12:32 [EMAIL PROTECTED] /home/jean % texexec --version TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD ... -- Jean ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] set headings in the margins
2007/10/9, Aric Bills [EMAIL PROTECTED]: Thanks Wolfgang--your solution does just what I needed. I'll study it. Best regards, Aric (Apologies if I've sent my reply improperly) Hi Aric, you should also take a look at the columnset machanism and his manual. I don't know if it is possible to extent the header in the margin but it supports spanning headers over multiple columns. http://pragma-ade.nl/general/manuals/columns.pdf Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with alignment
2007/10/10, Jean Magnan de Bornier [EMAIL PROTECTED]: Hi all, Playing with right alignments this morning, I discovered that \setupalign [left] ipsum in elit Duis placerat nec augue puts text *on the right*, while \setupalign [right] ipsum in elit Duis placerat nec augue puts text *on the left*. The \startalignment[left] and \startalignment[right] commands produce the same inversion. (The \rightaligned command works as expected) ... 12:32 [EMAIL PROTECTED] /home/jean % texexec --version TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD ... -- Jean Hi Jean, the bevahiour from setupalign is normal and come from the \raggeright definition in plain TeX, it is fixed and can not be fixed beause of backward compatibility. The alignment commands on the other side are newer commands and fix this old behaviour, you run in this problem also with the align keys in the setups for many commands and environments. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] need help with creating a grid with context
2007/10/10, Mojca Miklavec [EMAIL PROTECTED]: On 10/10/07, MASON Peter J wrote: Hope to create a regular (1cm spacing) grid on page, of bullets. Ultimately over the whole page. Why not using MetaPost? \starttext \startMPcode % or \startMPpage for i=0 upto 10: for j=0 upto 20: fill fullcircle scaled 1mm shifted ((i,j) scaled 1cm); endfor; endfor; \stopMPcode \stoptext Mojca Because TeX is faster in this situation and it takes more time to write the Metapost code in external file, process this file, convert it into a PDF file and include it into the document etc. I know what I say because this was one of the reasons why the sgf module place the field within TeX and not with Metapost, a matter of speed and you can reuse the objects. You should also replace the fullcircle with drawdot in your example, drawdot renders better on screen and looks better. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with alignment
Jean Magnan de Bornier wrote: Hi all, Playing with right alignments this morning, I discovered that \setupalign [left] ipsum in elit Duis placerat nec augue puts text *on the right*, while \setupalign [right] ipsum in elit Duis placerat nec augue puts text *on the left*. raggedleft -) use flushright or flushleft if you like that more - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Hiding PDF-Layer
Wolfgang Schuster schrieb: 2007/10/9, Peter Rolf [EMAIL PROTECTED]: Hi Wolfgang, Wolfgang Schuster schrieb: Hi, I want to include PDF layers in document and the should be hidden by default, the current behaviour is to show all layers I defined in my document and this should be later by the user and not when I open the file. The following shortened example from the modules show what I mean, the text Text can be seen when you open the document but it should appear only if you press the VIDE button. \starttext \setupinteraction[state=start] \defineproperty[L1][layer][title=layer 1] ^^ [title={layer 1}, state=stop] should work. Best wishes, Peter \button{HIDE L1}[HideLayer{L1}] \button{VIDE L1}[VideLayer{L1}] \midaligned {\definedfont[Mono at 150pt]% \startproperty[L1] TEST \stopproperty} \stoptext Wolfgang Hi Peter, this did work but you can omit the braces around title 1, you need them only if you have brackets in the title. Hi Wolfgang, Please allow an old man to emphasize a text block by putting it into braces. This way it is easier for me to recognize ;) Greetings, Peter Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Hiding PDF-Layer
Hi Wolfgang, Please allow an old man to emphasize a text block by putting it into braces. This way it is easier for me to recognize ;) Greetings, Peter Hi Peter, this wasn't meant as a critique for you and I accept the style of other people for macros and setups but I was for a moment in my this can be done also in this way mode after I was forced to gave comments on ConTeXt by private mail to a few other TeX users. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] -- PHISHING CONTENT DETECTED-- -- DANGEROUS CONTENT DISARMED -- Re: Re: encoding/compiling issues (macosx)
No way with replacement. This is consistent with my experience on my machine where the original source file compiles with no errors. It's Miriam's install which seems to be buggy. Thanks Best -a- On 10 Oct 2007, at 12:11, Andrea Valle wrote: Ah thanks a lot, didn't think about that (well, I wasn't aware at all that there could be two glyphs for the e.g. accented e) I'll start a string replacement strategy. Many thanks. Best -a- On 10 Oct 2007, at 11:06, Lutz Haseloff wrote: Hi Andrea, 2007/10/10, Andrea Valle [EMAIL PROTECTED]: Hi to all, So, no clues? Being it a fresh install we really do not know what to do...we're getting bored of those little black squares...:-) I corrected wrong characters in source.tex like following: Semiotica duale anzitutto peché le due distinte origini moderne, da Charles S. Peirce e da Ferdinand de Saussure, hanno determinato due distinte tradizioni, to Semiotica duale anzitutto perché le due distinte origini moderne, da Charles S. Peirce e da Ferdinand de Saussure, hanno determinato due distinte tradizioni, (In an Unicode enabled Editor like Scite there is a difference between é and é) and there were no black boxes in the output of luatex. I could send you the source and the resulting pdf offlist Thanks Best -a- On 8 Oct 2007, at 16:05, Andrea Valle wrote: More: We can't do ctxtools --updatecontext it complaint it cannot fetch the zip you can download the zip-file from pragma-ade.nl or one of the mirrors on unzip the file in your local tex tree Thanks (but why cannot I?) Ifyou use a proxy you can try: ctxtools --updatecontext --proxy=The Virus/Spam/Threat Scanner of the computer Science Department - University of Turin - has detected a possible fraud attempt from 10.213.10.254 claiming to be The Virus/Spam/Threat Scanner of the computer Science Department - University of Turin - warning: numerical links are often malicious: 10.213.10.254 (assuming proxy port is 80) Greetings Lutz _ __ If your question is of interest to others as well, please add an 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 _ __ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) __ _ If your question is of interest to others as well, please add an 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 __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Stepping through PDF-Layers
Wolfgang Schuster wrote: Hi, I want to animate layers in a pdf like we can do at the moment with fieldstacks to show always the next picture after the click on a button. \usemodule[pre-60] and look into s-pre-6* to see how to enable it - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] need help with creating a grid with context
On 10/10/07, Wolfgang Schuster wrote: 2007/10/10, Mojca Miklavec: On 10/10/07, MASON Peter J wrote: Hope to create a regular (1cm spacing) grid on page, of bullets. Ultimately over the whole page. Why not using MetaPost? \starttext \startMPcode % or \startMPpage for i=0 upto 10: for j=0 upto 20: fill fullcircle scaled 1mm shifted ((i,j) scaled 1cm); endfor; endfor; \stopMPcode \stoptext Mojca Because TeX is faster in this situation and it takes more time to write the Metapost code in external file, process this file, convert it into a PDF file and include it into the document etc. I know what I say because this was one of the reasons why the sgf module place the field within TeX and not with Metapost, a matter of speed and you can reuse the objects. OK, that's a good point, and I fully agree with it. It's only that I would probably use something like that for really simple, short, one-page documents, where I would be concerned about the speed I need to come to a solution, not with the speed of document processing - half a second more or less. With the route tex - .plt file - gnuplot - tex (metafun) - metapost (- mpto or \sometxt) - pdf, which I frequently use, the situation is much much worse, but it's still acceptable. ConTeXt became at least 10 times faster during the last three or four years. (Or at least that's my impression.) You should also replace the fullcircle with drawdot in your example, drawdot renders better on screen and looks better. Thanks. I always use fill fullcircle for some reason. Perhaps I should changle my habit :) Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] debian: itemize start=0
On 10/10/07, plink wrote: Hi, on debian testing this small file \starttext \startitemize[n] \item one \item two \stopitemize blahblah \startitemize[n,continue] \item three \stopitemize \stoptext gives an itemization that starts at zero, plus the continue does not work either (context version: 2007.09.28 16:52 (/usr/share/texmf/tex/context/base/context.tex)). Any hints or preliminary solutions greatly appreciated. Don't ask me how that was possible. I tried that example and it works fine. Last time (Thread nesting \startitemize, 3 days ago) I had those problems as well, but nobody else has complained about it, so I have never mentioned it. Weird. I have no time to test at the moment, but there seem to have been problems with this for some time already. See also: http://article.gmane.org/gmane.comp.tex.context/36285 Also, in past, people reported many problem with itemization starts with 0 when in dvi mode. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] need help with creating a grid with context
You introduce spurious spaces (line break sometimes adds a space) in you loops. See ... Yes, you're right. A programmer, I tend to think that white space is always good for readability. Thanks for that tip. But I DO like the \dorecurse(...) version better. I didn't know of this macro. I couldn't survive context with this list! Thanks very much. IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. ___ If your question is of interest to others as well, please add an 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 ___