Re: [NTG-context] Font sizes in item group
That worked. I thought it must be something simple. Thanks. Mike On Sat, Jun 6, 2009 at 12:21 AM, Wolfgang Schusterschuster.wolfg...@googlemail.com wrote: Am 05.06.2009 um 23:04 schrieb Michael Bynum: I am trying to find out it there is a way to set the font size for each level of an item group so that as you go down the item group, the font decreases a small amount. I assume there must be a way, but I haven't found anything looking around the manuals. Here is my current item group. \defineitemgroup[bullet][levels=3] \setupitemgroup[bullet][1][1] \setupitemgroup[bullet][2][2] \setupitemgroup[bullet][3][3] \setupitemgroup[bullet][...][...][inner={\switchtobodyfont[xxpt]}] 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] simple-slides: Last slide not formatted
ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.4.16 int: english/english texexec --version: TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD See my previous message for the attached pdf file. Mike On Thu, Jun 4, 2009 at 10:58 PM, Aditya Mahajanadit...@umich.edu wrote: On Thu, 4 Jun 2009, Michael Bynum wrote: I am having a problem with the last slide of my presentation using the simple-slide module. No matter what style I use, the last slide doesn't follow the style chosen and doesn't contain the specified title. In the example below, the title slide and slides 1 - 3 are correctly formatted, but slide 4 only displays the text This is the forth slide in black text on a white background. Is there something I'm doing wrong? \usemodule[simpleslides][style=BigNumber] \setupTitle [ title={Title of Presentation}, author={Author of Presentation}, date={Today}, ] \starttext \placeTitle \SlideTitle {The first slide} This is the first slide. \SlideTitle {The second slide} This is the second slide. \SlideTitle {The third slide} This is the third slide. \SlideTitle {The forth slide} This is the forth slide. \stoptext This works fine here for both mkii and mkiv. I am using the beta from 2009.05.26. What is the version that you are using? 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 ___ ___ 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] Font sizes in item group
I am trying to find out it there is a way to set the font size for each level of an item group so that as you go down the item group, the font decreases a small amount. I assume there must be a way, but I haven't found anything looking around the manuals. Here is my current item group. \defineitemgroup[bullet][levels=3] \setupitemgroup[bullet][1][1] \setupitemgroup[bullet][2][2] \setupitemgroup[bullet][3][3] Thanks, Mike ___ 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] simple-slides: Last slide not formatted
I am having a problem with the last slide of my presentation using the simple-slide module. No matter what style I use, the last slide doesn't follow the style chosen and doesn't contain the specified title. In the example below, the title slide and slides 1 - 3 are correctly formatted, but slide 4 only displays the text This is the forth slide in black text on a white background. Is there something I'm doing wrong? \usemodule[simpleslides][style=BigNumber] \setupTitle [ title={Title of Presentation}, author={Author of Presentation}, date={Today}, ] \starttext \placeTitle \SlideTitle {The first slide} This is the first slide. \SlideTitle {The second slide} This is the second slide. \SlideTitle {The third slide} This is the third slide. \SlideTitle {The forth slide} This is the forth slide. \stoptext Thanks, Mike ___ 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] simple-slides: Last slide not formatted
ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.4.16 int: english/english texexec --version: TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD I attached the pdf that I generate. Mike On Thu, Jun 4, 2009 at 2:42 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Jun 4, 2009, at 8:28 PM, Michael Bynum wrote: I am having a problem with the last slide of my presentation using the simple-slide module. No matter what style I use, the last slide doesn't follow the style chosen and doesn't contain the specified title. In the example below, the title slide and slides 1 - 3 are correctly formatted, but slide 4 only displays the text This is the forth slide in black text on a white background. Is there something I'm doing wrong? I get correct output with the sample code you sent, both with mkii and mkiv. What version of ConTeXt are you running, which engine are you using? Thomas ___ 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 ___ presentation.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] simple-slides: Last slide not formatted
Yeah, I can't rsync at work. I saw the thread about not using rsync, but I didn't want to bother with all of that if I didn't have too. The \page trick worked for me though so thanks. Mike On Thu, Jun 4, 2009 at 3:14 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Jun 4, 2009, at 8:51 PM, Michael Bynum wrote: ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.4.16 int: english/english texexec --version: TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD I attached the pdf that I generate. Mike Hmm, that's out of date. Can you upgrade to the current version? Or, as a workaround, try adding an extra \page just before \stoptext. I have a vague memory of having encountered this problem before, but is disappeared with some version. Thomas ___ 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] Publication list indenting
That's alright. I'll just use linespacing or something. Thanks for the help. Mike On Wed, May 20, 2009 at 3:39 AM, Taco Hoekwater t...@elvenkind.com wrote: Michael Bynum wrote: Yes, it does normally do that. I just noticed that. I originally had set numbering=yes and I had to disable it in my document to get it to align the desired way. Is there a way to have the formatting of the lines the default way but still enable numbering? No, I do not think so, sorry. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Publication list indenting
Yes, it does normally do that. I just noticed that. I originally had set numbering=yes and I had to disable it in my document to get it to align the desired way. Is there a way to have the formatting of the lines the default way but still enable numbering? Thanks, Mike On Mon, May 18, 2009 at 5:18 PM, Taco Hoekwater t...@elvenkind.com wrote: Hi Michael, Michael Bynum wrote: I am trying to get my bibliography list to have indenting on all but the first line of each entry. I tried to apply the solution from http://wiki.contextgarden.net/Shaped_paragraphs but I can't get it to work in the publication list. But doesn't it do that by itself? The apa (=default) style is like that. I tried something like the following, but neither seemed to have any effect on the indenting. That won't work, for sure. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Publication list indenting
I am trying to get my bibliography list to have indenting on all but the first line of each entry. I tried to apply the solution from http://wiki.contextgarden.net/Shaped_paragraphs but I can't get it to work in the publication list. I tried something like the following, but neither seemed to have any effect on the indenting. \definestartstop [exdent] [before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, after=\stopnarrower] \setuppublicationlist[before={\startexdent},after={\stopexdent}] or \startexdent \placepublicationlist \stopexdent Thanks, Mike ___ 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] gVim complier plugin question
I was trying to get the context compiler plugin for gvim working, but I think I may be misunderstanding something about the instructions. I keep getting a compiler not found error when I try to set the compiler so I must have done something wrong. I downloaded the texexec.vim plugin from http://www.vim.org/scripts/script.php?script_id=1925 and copied it to /usr/share/vim/vim70/compiler/texexec.vim I then opened a context file with gvim and typed :compiler=texexec and I get E666: compiler not supported: =texexec It seems like it must be a small mistake, but I'm at a loss to figure out what it is. Does anyone know what I did wrong? Thanks, Mike ___ 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] gVim complier plugin question
Thanks, that fixed my problem. I installed both of the syntax and indent files. It wasn't immediately obvious to me what the indent file does. Should it autoindent something like this without me having to manually tab over? \setuphead[subsection] [number=no, after={\blank[medium]}, before={\placefloats}, textcommand=\mysubsectionhead] Mike On Thu, May 7, 2009 at 11:23 AM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 7 May 2009, Michael Bynum wrote: I was trying to get the context compiler plugin for gvim working, but I think I may be misunderstanding something about the instructions. I keep getting a compiler not found error when I try to set the compiler so I must have done something wrong. I downloaded the texexec.vim plugin from http://www.vim.org/scripts/script.php?script_id=1925 and copied it to /usr/share/vim/vim70/compiler/texexec.vim I then opened a context file with gvim and typed :compiler=texexec and I get E666: compiler not supported: =texexec Sorry, that is a typo in the instructions. You should type :compiler texexec (without the = sign) BTW, you might also be interested in syntax and indent files for ConTeXt http://github.com/adityam/vim-context/tree/master 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 ___ ___ 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] gVim complier plugin question
Hmm, then I must not have something set up correctly. If I type \setuphead[subsection] cr I do not get the indenting as you are showing. Is there someway to check to see if the context.vim indenting file is being used? Mike On Thu, May 7, 2009 at 2:17 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 7 May 2009, Michael Bynum wrote: Thanks, that fixed my problem. I installed both of the syntax and indent files. It wasn't immediately obvious to me what the indent file does. indent files are for specifying filetype specific indent expressions. See :he indent-expression Should it autoindent something like this without me having to manually tab over? \setuphead[subsection] [number=no, after={\blank[medium]}, before={\placefloats}, textcommand=\mysubsectionhead] Yes, it will indent it as \setuphead[subsection] [number=no, after={\blank[medium]}, before={\placefloats}, textcommand=\mysubsectionhead] It also does some simple indentation with \start ... \stop, itemize, and \NC. 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 ___ ___ 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] Group together figure and table
I am trying to find a way to group together a table which lists values in a figure that I have. I would also like to keep seperate references for each so I would rather not use a combination. I saw the \begingroup command while searching through the wiki, but I was unable to determine what it does and it doesn't seem to do what I need. I also tried to setup a buffer, but that didn't ensure that the table and figure were displayed sequentially. Is there a way to do this while keeping both references intact? Thanks. Mike ___ 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] Group together figure and table
That works nicely. Thanks. Mike On Mon, Apr 6, 2009 at 2:25 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 06.04.2009 um 18:17 schrieb Michael Bynum: I am trying to find a way to group together a table which lists values in a figure that I have. I would also like to keep seperate references for each so I would rather not use a combination. I saw the \begingroup command while searching through the wiki, but I was unable to determine what it does and it doesn't seem to do what I need. I also tried to setup a buffer, but that didn't ensure that the table and figure were displayed sequentially. Is there a way to do this while keeping both references intact? Thanks. \starttext \input knuth \placefigure {none} {\setupcombinations[distance=2em] \startfloatcombination[2*1] \placefigure{A dutch cow}{\externalfigure[cow]} \placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC\AR 1 \NC 100 \NC\AR\stoptable} \stopfloatcombination} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \restoreglobalbodyfont messes up superscripts
I was originally trying to make the font inside a table smaller, and when I was trying things out, I ran into a problem with \restoreglobalbodyfont changing the font size of my superscripts from what it was before the command was issued. I really just want to make the font inside my table smaller, but I don't know how to turn off a formating command like \tfxx. I originally thought that was what \par was for, but it doesn't seem to do anything. I then tried \restoreglobalbodyfont, but started running into my issues. Can anyone give me any help with this issue? Mike test.tex -- \starttext Sample Text\high{TEST} \tfxx \placetable[here]{} \starttable{|c|c|} \HL \NC test \NC test \NC\FR \NC test \NC test \NC\LR \HL \stoptable \par Sample Text\high{TEST} \restoreglobalbodyfont \par Sample Text\high{TEST} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Making sure figures are placed within articles
I had that problem as well. You can use the command \placefloats to force any floats that exist to be placed immediately. So to force the floats to be placed within the section or subsection that they are defined, I use the command: \setuphead[section] [before={\placefloats}] \setuphead[subsection] [before={\placefloats}] Mike On Mon, Mar 30, 2009 at 11:52 AM, Vyatcheslav Yatskovsky yatskov...@gmail.com wrote: Hello, I usually place figures in the end of the subsection, using the code: \placefigure [middle]{none}{\externalfigure[filyashkin-1.png][width=0.87\textwidth]} Quite often the figure does not fit the page, and is moved to the next one. Ocassionally, another subsection may start at the beginning of next page, so that my figure is placed inside wrong article. Can I setup \placefigure to move non-fitting figures not only forth, but also back within the subsection? In another words, to can I set up the criterium: place the figure no matter where, but inside the current subsection? Otherwise, it needs many manual corrections and re-compilations to get all figures within corresponding articles. I'd doing my first serious work with ConTeXt, so help me please. Best, Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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] synonym sorting used to work, but now doesn't
I started using the newest version of texlive and now, the behavior for my synonym lists has changed. With the command \synonym[.1.]{.2.}{.3.}, I thought that the sorting used to be based on [.1.] but now it seems that the sorting is based on {.2.}. This is undesireable, because I cannot seperate my alphabetic synonyms from my greek synonyms. Here is a sample of what is happening. % \starttext \definesynonyms[nomenclature][nomenclatures][\infull] \setupsynonyms[nomenclature][criterium=all,width=0.85in] \placelistofnomenclatures \nomenclature[a]{ztest}{This should be first} \nomenclature[b]{ytest}{This should be second} \nomenclature[c]{xtest}{This should be third} \stoptext Mike test.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Is there anything like developer's manual for ConTeXt?
Can someone post a link to the actual reference manual rewrite Taco was talking about? I don't see anything on http://wiki.contextgarden.net/Main_Page#Documentation that looks like a reference manual in progress. Mike On Wed, Mar 18, 2009 at 6:00 PM, David Wooten d...@trichotomic.net wrote: On Mar 17, 2009, at 9:20 AM, Rory Molinari wrote: Taco Hoekwater wrote: Corin Royal Drummond wrote: Many have voiced the same complaint. I understand that Hans and every one are occupied with building MKIV (aka LuaTeX), and that documentation is not their highest priority. There's the wiki, the wonderfully active mailing list, and what used to be decent docs from 2001/2002 timeframe. But yes, it's a steep hill to climb, made worth it only by the relative awesomeness of ConTeXt. You missed the reference manual rewrite effort (which is now in remission mostly because of an extremely depressing lack of user feedback). http://wiki.contextgarden.net/Main_Page#Documentation Hi Taco, I'm sorry that I haven't given much feedback on the documentation project. I got through the Typography chapter, but then was so confounded by the Fonts chapter that I didn't feel able to give comments. I will make another attempt. Cheers, Rory Hi, I'd like to second what Rory said. I was delighted by my first reading of the typography chapter, and had not seen the font chapter until you posted the link above, Taco. I'm also sorry not to have chimed in before. Dave ___ 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] die if a module is missing
This has burned me too. It would be nice if the errors were more prominent, perhaps repeated at the end of the output? Mike On Thu, Mar 12, 2009 at 6:13 AM, Jesse Alama al...@stanford.edu wrote: I was recently debugging some presentation that I was working on in ConTeXt and found, to my surprise, that the problem was that I was using \usemodule[blah-blah] but there was no such module called blah-blah. The output does indeed say that there was no such module, but I didn't see that. Is there a way to set up modules so that, if a module isn't found, an error is generated and the TeX run is stopped? I would have discovered the source of my problem more quickly had I been able to set things up in that way. Thanks, Jesse -- Jesse Alama (al...@stanford.edu) ___ 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] setupsynonym: 2 questions on width
Right, that works for this example, but if I change what nomenclatures are in the list then I would have to go in and manually change the setwidthof{} command. Am I correct in thinking that? I guess ideally I wouldn't have to go in and change the spacing manually every time I update my nomenclatures list. Mike On Wed, Mar 4, 2009 at 7:05 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 04.03.2009 um 18:34 schrieb Michael Bynum: 1.) I have a list of synonyms that I need to print in an aligned list. Is there a way to align the synonym definitions with the longest synonym entry (width=? option maybe)? Here is a small example where the entries do not align. \definesynonyms[nomenclature][nomenclatures][\infull] \setupsynonyms[nomenclature][criterium=all,width=broad] \nomenclature[a]{a}{This is the letter a} \nomenclature[b]{abcdefghijklmnopqrstuvwxyz}{This is the alphabet} \nomenclature[c]{c}{This is the letter c} \def\setwidthof#1\to#2% {\bgroup \setbox\scratchbox\hbox{#1}% \expanded{\egroup\def\noexpand#2{\the\wd\scratchbox}}} \setwidthof{abcdefghijklmnopqrstuvwxyz}\to\nomenclaturewidth \setupsynonyms[nomenclature][width=\nomenclaturewidth] 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 ___
[NTG-context] Eliminate space between float and caption
I am trying to find a way to reduce/eliminate the space between a figure and a caption. The default amount looks rather large to me: larger than the spacing between the caption and the body text. I tried to use the inbetween option in \setupcation, but I can only seem to increase the space between the figure and caption and not reduce it. I saw a reference to details.pdf in the mailing list about more advanced examples of captions, but when I went to www.pragma-ade.com/temp the page no longer exists and I couldn't find details.pdf. Thanks, Mike ___ 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] Eliminate space between float and caption
Thanks, that was the file I was looking for. It seems I was correctly specifying the term inbetween=, but it would seem the inbetween distance is based on the body font as opposed to the caption font. As a result, if a smaller font is used in the caption, inbetween= no longer results in the caption touching the bottom of the figure. Is there a way to base the inbetween distance on the caption font size? Mike \starttext \setupcaption[figure][style=tfa,inbetween=] \reservefigure [height=2cm,width=10cm,frame=on][here][fig:reservation] {An example of a reservation.} \setupcaption[figure][style=tf,inbetween=] \reservefigure [height=2cm,width=10cm,frame=on][here][fig:reservation] {An example of a reservation.} \setupcaption[figure][style=tfx,inbetween=] \reservefigure [height=2cm,width=10cm,frame=on][here][fig:reservation] {An example of a reservation.} \setupcaption[figure][style=tfxx,inbetween=] \reservefigure [height=2cm,width=10cm,frame=on][here][fig:reservation] {An example of a reservation.} \stoptext On Thu, Mar 5, 2009 at 1:16 PM, Willi Egger w.eg...@boede.nl wrote: You can find the document at http://www.pragma-ade.com/dir?path=general/manuals Willi On Mar 5, 2009, at 4:55 PM, Michael Bynum wrote: I am trying to find a way to reduce/eliminate the space between a figure and a caption. The default amount looks rather large to me: larger than the spacing between the caption and the body text. I tried to use the inbetween option in \setupcation, but I can only seem to increase the space between the figure and caption and not reduce it. I saw a reference to details.pdf in the mailing list about more advanced examples of captions, but when I went to www.pragma-ade.com/temp the page no longer exists and I couldn't find details.pdf. Thanks, Mike ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] setupsynonym: 2 questions on width
1.) I have a list of synonyms that I need to print in an aligned list. Is there a way to align the synonym definitions with the longest synonym entry (width=? option maybe)? Here is a small example where the entries do not align. \definesynonyms[nomenclature][nomenclatures][\infull] \setupsynonyms[nomenclature][criterium=all,width=broad] \nomenclature[a]{a}{This is the letter a} \nomenclature[b]{abcdefghijklmnopqrstuvwxyz}{This is the alphabet} \nomenclature[c]{c}{This is the letter c} \starttext \placelistofnomenclatures \stoptext 2.) Also, if the width in setupsynonyms is set to a value smaller than the length of the longest entry, the entry tries to wrap around, but it writes over top of the next entry. Obviously this is not desirable. Is there a way to have the next entry below the wrapped long entry instead of on the same line? An example of this issue. \definesynonyms[nomenclature][nomenclatures][\infull] \setupsynonyms[nomenclature][criterium=all] \nomenclature[a]{a}{This is the letter a} \nomenclature[b]{abcdefghijklmnopqrstuvwxyz}{This is the alphabet} \nomenclature[c]{c}{This is the letter c} \starttext \placelistofnomenclatures \stoptext Thanks, Mike ___ 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] Putting output in different dierectories
Assuming the lack of responses means that there isn't a way to do that using texexec, you could always use a script to do that. #!/bin/sh PAPER=test texexec $PAPER.tex mv $PAPER.pdf ./newdir mv $PAPER.*./newdir2 mv ./newdir2/$PAPER.tex . Then just execute the script instead of directly using the texexec command Mike On Fri, Feb 13, 2009 at 11:04 AM, Cecil Westerhof cldwester...@gmail.com wrote: ConTeXt puts all generated files in the same directory as the sourcefile. Is it possible to put the PDF-file in its own directory en all the other generated files in another directory? -- Cecil Westerhof ___ 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] Creating a nomenclature section?
Yes, I think this will suit my needs. Thank you. I have one additional question though. In the command \definesynonyms[nomenclature][nomenclatures][\infull] What does the [nomenclatures] field do? Looking at the manual it seems to be the plural name input, but what purpose does it serve? On Tue, Feb 17, 2009 at 1:58 PM, Carsten Fechtmann fe...@zarm.uni-bremen.de wrote: Dear Mike if something simple is what you had in mind for this, you might want to try this: \definesynonyms[nomenclature][nomenclatures][\infull] \setupsynonyms[nomenclature] %[criterium=all] \starttext \completelistofnomenclatures \section{Some section} % these could be placed anywhere \nomenclature[PI]{$\pi$}{the ratio of the circumference with respect to the diameter of a circle} \nomenclature[Dia]{$d$}{the diameter of a circle} % References to them can be placed inside the definition, % you might want to write a macro for that if that is a feature you use often \input knuth This is the symbol \PI. Please note that no math mode has to be used here as that is taken care of in the definition. % Nor for the diameter \Dia. And just using the list of nomenclatures again: \placelistofnomenclatures Produces a list (sorted) of all or all used 'nomenclatures'. See also the section about abbreviations in the ConTeXt handbook. There is also the \type{...register} suite of commands if page entries etc.\ are more what is needed. \stoptext Cheers Carsten Am 12.02.2009 um 21:00 schrieb Michael Bynum: I haven't been able to find any documentation about producing a nomenclature section in a document using context. In the absence of a command/module providing the functionality of something like the nomencl package in latex, I was wondering if anyone else had an elegant work around for this issue. I guess I could just use a list to make a nomenclature section, but that would lose a lot of the functionality that makes something like nomencl useful. Mike ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Creating a nomenclature section?
I haven't been able to find any documentation about producing a nomenclature section in a document using context. In the absence of a command/module providing the functionality of something like the nomencl package in latex, I was wondering if anyone else had an elegant work around for this issue. I guess I could just use a list to make a nomenclature section, but that would lose a lot of the functionality that makes something like nomencl useful. Mike ___ 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] Section format using /def
I, apparently, do not understand the syntax and/or uses of /def. I am trying to make section heads appear in all caps and underlined. I originally tried to just use \setuphead, but found that I using the textcommand option I could only either capitalize or underline and not both. I then figured that using a macro was my next best option. Below is what I tried and it does not work. Can someone tell me what I am doing wrong? \def\mysectionhead{\WORD\underbar} \setuphead[section] [number=no, textcommand=\mysectionhead, style={\tfa\bf}] Thanks, Mike ___ 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] Section format using /def
Ah, I think I see. So \define[1]\mysectionhead{\bfa \WORD{\underbar{#1}}} would also be valid. Is \define a context equivalent to the \def command for tex? I couldn't find much documentation on it. Mike On Thu, Feb 5, 2009 at 12:55 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 05.02.2009 um 18:37 schrieb Michael Bynum: I, apparently, do not understand the syntax and/or uses of /def. I am trying to make section heads appear in all caps and underlined. I originally tried to just use \setuphead, but found that I using the textcommand option I could only either capitalize or underline and not both. I then figured that using a macro was my next best option. Below is what I tried and it does not work. Can someone tell me what I am doing wrong? Both commands take parameter and in your example you pass \underbar as argument to \WORD. Two solution are possible for your problem. 1. You define a command with one argument and use both commands nested, it is important to use deeptextcommand for the \WORD style. \define[1]\mysectionhead{\underbar{\WORD{#1}}} \setuphead [section] [number=no, deeptextcommand=\mysectionhead, style={\tfa\bf}] 2. You ca use both text commands and pass one with textcommand and another one with deeptextcommand. \setuphead [section] [number=no, textcommand=\underbar, deeptextcommand=\WORD, style={\tfa\bf}] 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] Section format using /def
Yes, I think I may have an older version of context here at work. I was able to use the deeptextcommand at home, but here at work it wasn't working. It doesn't seem to be recognized. Was it a later implementation perhaps that an older version wouldn't have? Mike On Thu, Feb 5, 2009 at 12:59 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 5 Feb 2009, Michael Bynum wrote: I, apparently, do not understand the syntax and/or uses of /def. I am trying to make section heads appear in all caps and underlined. I originally tried to just use \setuphead, but found that I using the textcommand option I could only either capitalize or underline and not both. I then figured that using a macro was my next best option. Below is what I tried and it does not work. Can someone tell me what I am doing wrong? \def\mysectionhead{\WORD\underbar} \setuphead[section] [number=no, textcommand=\mysectionhead, style={\tfa\bf}] See http://wiki.contextgarden.net/Titles#Formatting_Titles_with_.5Csetuphead and try to use deeptextcommand instead. 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 ___ ___ 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] Page number not updating in layer
Ah ha. That works perfectly. Thank you. Mike On Tue, Feb 3, 2009 at 11:21 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 03.02.2009 um 16:36 schrieb Michael Bynum: Great that fixed it. Sorry about the subject by the way. I thought it would auto add the mailing list prefix. I still can't get the total number of pages to work out right if I have a title page. I used standardmakeup to keep the title page from being numbered, but it is still counted in \totalnumberofpages. Use \lastpagenumber. 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 ___
[NTG-context] Page number not updating in layer
I am trying to use a layer to insert a page number in my document, but the page always displays page number 1. It seems nothing that I have tried has worked. I also don't know how to exclude the first page from the total number of pages count. Here is the code I'm trying to use. \setupoutput[dvipsone] \starttext \definelayer[pagenumber] \setuplayer [pagenumber] [width=\paperwidth, height=\paperheight, state=repeat] \setlayer[pagenumber][preset=lefttop,x=4in,y=5.5in]% {\framed[width=1.25in,align=middle,offset=none]{\tfx Page \getnumber[page]~of~\totalnumberofpages}} \setupbackgrounds [page] [background={pagenumber},state=start] test \page test \page test \stoptext Thanks, Mike ___ 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 ___