[NTG-context] While wiki is down (1): footnotes question
Hi all, I am pretty sure tha answer has to be on the wiki... I have this at the beginning of a paper in order to indicate my institution name, email, etc: \setupfootnotes [conversion=set 3] After that: \setupfootnotes [conversion=numbers] But the standard footnotes begin at 3 (there are two starred footnotes before) while I would like to see them beginnig at 1 of course. I searched the manual, honest! -- 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 ___
[NTG-context] While wiki is down (2): itemize, head
Hi all, When using \head within a itemize environment, with \setupitemize[headstyle=bold] in the preamble, I get a big bold point at the beginning of each line of itemization; how can I get rid of it? tia, -- 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] proverb (was: New Member Introductory Rant)
Dnia Sun, Mar 30, 2008 at 02:03:49PM -0700, David napisa#322;(a): On Sun, 30 Mar 2008 16:50:59 +0200, Mojca Miklavec wrote: I don't know the English version of it (there must be one - if anyone knows it, I would be glad to hear it), but we have a nice saying, literally translated as: Farrier's own mare is always barefoot. (In English it's almost exactly the same, except we usually use the shoemaker's children instead of the farrier's mare.) BTW, in Polish it's similar, although without the children/mare stuff: A shoemaker walks barefoot. David -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Natural tables, offsets
On Sun, Mar 30, 2008 at 7:04 PM, Willi Egger [EMAIL PROTECTED] wrote: Hi Wolfgang, Thanks a lot for this solution! I needed something similiar not so long ago for \framed and used this solution because it could be easy integrated in a setup command. Offset parameters for all margins would be the better solution but this another topic. 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] \in strange behavior
Auto-reply, but a request fro confirmation: Again, it depends in imposition, it seems, isn't it? Without imposition, no probl. Best -a- On 31 Mar 2008, at 11:12, Andrea Valle wrote: Dear all, I'm having a strange behavior. I'm using \in to refer to figures, like in the following: La situazione è schematizzata in \in[structure]. \placefigure[][structure]{Struttura di SC.}{\externalfigure[img/ structure][width=.7\textwidth]} The code has always worked, but this morning the refs in the text are replaced by ?? (while img is correctly displayed, with correct numbering). Any hints? Thanks Best -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) __ _ If your question is of interest to others as well, please add an 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/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an 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] While wiki is down (1): footnotes question
On Mon, Mar 31, 2008 at 8:46 AM, Jean Magnan de Bornier wrote: Hi all, I am pretty sure tha answer has to be on the wiki... Google for setupfootnotes site:contextgarden.net and then click on Cached. The whole garden is still on Google, so you can still read it until Patrick comes back. 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 ___
[NTG-context] \in strange behavior
Dear all, I'm having a strange behavior. I'm using \in to refer to figures, like in the following: La situazione è schematizzata in \in[structure]. \placefigure[][structure]{Struttura di SC.}{\externalfigure[img/ structure][width=.7\textwidth]} The code has always worked, but this morning the refs in the text are replaced by ?? (while img is correctly displayed, with correct numbering). Any hints? Thanks Best -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an 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] While wiki is down (1): footnotes question
Le 31 mars à 11:11:27 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | Hi all, | I am pretty sure tha answer has to be on the wiki... | Google for setupfootnotes site:contextgarden.net and then click on | Cached. The whole garden is still on Google, so you can still read | it until Patrick comes back. Good to know! Anyway it's *back* now! Thanks Mojca, -- 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] t-bib: URL and '%'; spacing between number and text
Hi Tobias, Tobias Burnus wrote: The problem is: If I do not escape the % signs, I get a TeX error. If I escape them with \%, both the link and the printed text show the backslash. What is the proper way of doing it? Yikes. There is no 'proper way' afaik, sorry. I am busy catching up right now, so I have no time to delve into this for the next few days. You will probably have to remind me (end of the week?) Another problem is that I have in the reference list, the space between ] and the author name in [123]Author is too small (they overlap). Is there an easy possibility to make the spacing automatically right or does one need to tweek it manually? \setuppublications[autohang=yes] should work Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Software manual template request
On Mon, 31 Mar 2008, Vyatcheslav Yatskovsky wrote: Hello, Does anyone has a template for software manual? I have vague notion about how it should look like, but, well, I'll know when I see it. ;o) Most modern manuals have common design elements; I wish I had an environment which captures the spirit. Needless to say, untouched LuaTex envinroment gives too much academic look. Can anyone kindly suggest something? Most of the manuals of GNU software are written using texinfo. The advantage is that it is easy to get HTML and info output. There is also docbook, which offers some features for documenting code. Both of them have fairly simple look, so it should be easy to create a ConTeXt module for them. Aditya ___ If your question is of interest to others as well, please add an 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] xetex and attachment: troubles
Dear all, I'm using xetex with fun (as suggested and discussed on the mailing list). I'm revising a previously created document which used attachment command. (the one documented here: http://wiki.contextgarden.net/ Verbatim_text#A_different_approach_to_formatting_and_code_colorization ) The actual version is here: http://www.cirma.unito.it/andrea/sw/sc/prd_tSCIRMA_scr.pdf Now, with ConTeXt no problem. If I use XeConTeXt (-- texexec --xtx) the file is not attached (there's the marker, a link is diplayed, but Acrobat says that there's no attachment). As far as I can say, the problem seems to depend on --xtx switch, Any hints? Thanks Best -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an 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] Ooh, Ahh: I successfully Hansified my Scite Editor on Linux
My life has taken a dramatic turn for the better since I figured out how to move Hans' Scite property files to my Ubuntu installation of Scite. Wow, it's like night and day between the distro defaults and Hans' setup where F7 builds my page and shows me the output in a side pane. Also get pretty line numbers, and a nice grey syntax highlighting scheme. Now I see why Hans like Scite. It's eminently pimpable. Anyone wanting to try this can copy any file name *.properties files from the scite directory on Hans' Context for Windows package off the Pragma server to /usr/share/scite (as root). It's that easy. Holler if you want me to post a zip of the property files. Cheers, Corin Royal Drummond ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New Member Introductory Rant
I would seem that ConTeXt has a natural market in web developers who are used to writing structured documents for layout engines. Personally, I'd like to see a Drupal module that will ConTeXtify a person's website as a book or magazine for printing. How great would it be to have an automatically updating e-book for print and screen generated off your website's content based on your tags/taxonomy. Just add FortheBook tag to an article, and without one having to do any more, it will appear in the PDF available on the front page of your site. There is a LaTeX module for Drupal, but I haven't tried it. I think such a module would help to whet other web developer's appetite for ConTeXT. Have you looked at http://wiki.contextgarden.net/HTML_and_ConTeXt which explains how Saji converted a wiki to (informl) to pdf using ConTeXt. I do not know about Drupal, but similar thing should work. There is also Pandoc which can convert Markdown syntax to ConTeXt. It can also convert html to markdown, so in principle you can use it as html to context converter. (Of course, with this approach you are limited to only things which markdown can capture). Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New Member Introductory Rant
Thanks Aditya Sorry, I have no idea of how things work on a Mac, but it seems strange to hide the entire tex tree simply, the whole usr folder is hidden Ok, I'll take a look an in case come back to the list Best -a- -- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New Member Introductory Rant
On Mon, 31 Mar 2008, Andrea Valle wrote: By reading the source :) Joking of course ... but not entirely. Yes, that's an important point. Many times the options I'm searching for are not documented: so, or I'm able to find an example in wiki/mailing list or probably it would be easy to take a look to the sources, I guess. I know it's far from being polite, but really I'd like to have a How-to-find-your-way-thru-the-source Tutorial for total newbie. The first thing that you need to know is the file where a particular command is defined. You can search the source tree on contextgarden; or grep the files in your computer. After a while you will remember which file defines a particular command. On my mac, they are hidden: so, first step, change your visualization preferences thru a googled script form Terminal. Sorry, I have no idea of how things work on a Mac, but it seems strange to hide the entire tex tree. Second, the (in)famous tex tree structure is far from being clear for me. Almost all of ConTeXt files are in $TEXMF/tex/context/base (fonts, are of course a different issue) Third, and most important, how to extract infos from sources? This is the easiest. Most of ConTeXt commands are written in a consistent manner. Hans uses verbose variable names, which makes it easy to read the code. Also in most cases the source files have lot of comments. Aditya ___ If your question is of interest to others as well, please add an 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] Sections, cross-references and separators
Dear all, I am confused. Here is a minimal version of my problem: --- \setupheads[separator=] %-- this can't be right \setupreferencing[state=start,chapternumber=yes,global=yes] \setupsection[section-1][conversion=Characters] \setupsection[section-2][previousnumber=yes] \setuphead[part][placehead=yes,resetnumber=yes,page=no] \setuphead[chapter][page=no] \setuphead[section][number=no] \setuppagenumbering[partnumber=no] \starttext \placelist[part,chapter,section][alternative=b,partnumber=no] \part[ptest]{Ptest} \chapter[ctest]{Ctest} \section[stest]{Stest} See \in{Chapter}[ctest] (should say A1) and \in{Figure}[ftest] (should say A1.1). \placefigure[here][ftest]{Ftest (should be called A1.1)}{} \stoptext --- What I am aiming for is a style where: Parts are labelled A, B, C [done], Chapters are labelled A1, A2, A3 [done, but...], Cross-references to Chapters call them A1, A2, A3 [not done: I'm getting A.1] Figures are labelled A1.1, A1.2 [not done; I'm getting A.11 (eek!)] Cross-references to Figures call them A1.1, A1.2 [not done: I'm getting A.11] It seems to me that the line \setupheads[separator=] can't possibly be right and is almost certainly causing the missing dot in the Figure number, but it was the only way I could find to remove the dot between the A and the 1 in the chapter label. I have toiled a little with the core-ref code and cannot fathom how any of the variety of uses of the word separator make sense, or indeed if they really have anything to do with it... :-) I'm testing on the garden, using pdfTeX. I'd be *really* grateful for some help with this one. Thanks, Duncan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New Member Introductory Rant
Am 2008-03-31 um 17:33 schrieb Aditya Mahajan: How-to-find-your-way-thru-the-source Tutorial for total newbie. The first thing that you need to know is the file where a particular command is defined. You can search the source tree on contextgarden; or grep the files in your computer. After a while you will remember which file defines a particular command. In case someone overread this: You can search the source tree on contextgarden http://source.contextgarden.net/ And besides the wiki pages, a lot of command documentation is in texshow-web: http://texshow.contextgarden.net/ (Even if unfortunately some groups of commands are missing completely.) On my mac, they are hidden: so, first step, change your visualization preferences thru a googled script form Terminal. Sorry, I have no idea of how things work on a Mac, but it seems strange to hide the entire tex tree. MacOS X hides most of its UNIX stuff from a normal user. But you can just e.g. open /usr/ in Terminal and continue to browse in Finder. Third, and most important, how to extract infos from sources? This is the easiest. Most of ConTeXt commands are written in a consistent manner. Hans uses verbose variable names, which makes it easy to read the code. Also in most cases the source files have lot of comments. And I guess the ConTeXt sources are the only place where the Dodo survived. (At least every Dodo would feel at home between all those dodododos.) ;-) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an 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] Different os, different output (and other)
Hi all, compiling these instructions \defineenumeration[parte][location=left,text=Titolo,headstyle=bold,stopper=.,width=broad,number=yes,conversion=Romannumerals] \defineenumeration[articolo][location=left,text=Articolo,stopper=.,width=broad,number=yes] \defineenumeration[subarticolo][after={\blank[small]},before={\blank[small]},text=,location=inleft,width=broad] \defineenumeration[altec][location=left,text=Allegato,headstyle=bold,stopper=.t,width=broad,conversion=Characters] \defineenumeration[subaltec][after={\blank[small]},before={\blank[small]},text=,location=inleft,width=broad] only under ubuntu the result is as expected: I,1,1,A,1 while under opensuse and freebsd i get 1,1,1,1,1 Why this? Another little question If in defineenumeration[anenumeration] I specify text={\bfc Title} and \startanenumeration{\bfc The History}\stopanenumeration Title and The History are not properly aligned (The History is in higher position). What's wrong? Thanks in advance -- Diego Depaoli (very newbie) ___ If your question is of interest to others as well, please add an 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] Different os, different output (and other)
On Tue, 1 Apr 2008, Diego Depaoli wrote: Hi all, compiling these instructions \defineenumeration[parte][location=left,text=Titolo,headstyle=bold,stopper=.,width=broad,number=yes,conversion=Romannumerals] \defineenumeration[articolo][location=left,text=Articolo,stopper=.,width=broad,number=yes] \defineenumeration[subarticolo][after={\blank[small]},before={\blank[small]},text=,location=inleft,width=broad] \defineenumeration[altec][location=left,text=Allegato,headstyle=bold,stopper=.t,width=broad,conversion=Characters] \defineenumeration[subaltec][after={\blank[small]},before={\blank[small]},text=,location=inleft,width=broad] only under ubuntu the result is as expected: I,1,1,A,1 while under opensuse and freebsd i get 1,1,1,1,1 Why this? Are Opensuse and freebsd using an older version of ConTeXt? (ctxtools --contextversion should tell the context version). There was a bug in enumeration and conversions which was fixed around the middle of last year. Another little question If in defineenumeration[anenumeration] I specify text={\bfc Title} and \startanenumeration{\bfc The History}\stopanenumeration Title and The History are not properly aligned (The History is in higher position). What's wrong? \bfc does not correct interline spacing. If you notice, the Title is aligned at the top to the rest of the text. \showmakeup % \defineenumeration[test][location=left,text={\bfc Title}] \defineenuemration[test][location=left,text={Title},headstyle={\bfc}] \starttext \starttest {\bfc Test} This is a test \input knuth \stoptest \stoptext To get alignment you can do this \starttest {\switchtobodyfont[20pt]\bf Test} This is a test \input knuth \stoptest Hans, can \switchtobodyfont be modified so that it also works for relative font size (a,b,c,x,xx)? Also something is wrong with location=left|right and titles. \defineenumeration[test][location=left,title=yes] \test {A very very long title string} \input knuth The title is not taken into accound while calculating the hanging (mainly because, I did not even consider this case while adding support for titles). I am not sure how the output should look in this case. Should the width of title be taken into account while calculating the hanging width, or should the title be placed with the rest of the enumeration? Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New Member Introductory Rant
On Mon, Mar 31, 2008 at 5:46 PM, Andrea Valle wrote: Thanks Aditya Sorry, I have no idea of how things work on a Mac, but it seems strange to hide the entire tex tree simply, the whole usr folder is hidden OK, but when you install Windows, the whole C:\ directory is hidden as well if I recall it correctly. You have to keep in mind that most users should not bother about things under /usr. For the rest, there is Terminal. 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 ___