Re: [NTG-context] making posters with ContexT
On Wed, May 24, 2006 at 10:55:58PM +0100, batela wrote: > I am trying to making a scientifique poster in Context. I need some > suggestions, > foreground an example, to start. Somebody has a nice example to share? > What is the correct scales for the fonts? Hi, I always start tasks like that by setting the paper size and switching \showframe ;). About the font size: the poster should be readable from 1.5 meter distance. It's good to start from at least 24 pt. You surely realise that you have to be extremely concise in your texts, so you may end up at something like 21 pt (which is suboptimal but acceptable). Attached you find an example (figures not included). Feel free to modify it, share and enjoy. > Jorge BTW, we'd appreciate if you used your real name in the From: header. Have a nice towel day, D.A. -- Science is what happens when preconception meets verification. % vim: set ft=context syn=tex: % This is FPL 2003 poster % $Id: fpl2003-poster.tex,v 1.6 2003/08/26 11:36:49 antos Exp $ % General setup \setupoutput[pdftex] \setuppapersize[A1][A1] \mainlanguage[en] \setupcolors[state=start] \setuppagenumbering[location=] % Layout, backgrounds, graphical elements \setuplayout [grid=yes, backspace=4cm, width=middle, topspace=4cm, header=0cm, footer=1cm, footerdistance=23mm, bottom=0pt, bottomdistance=0pt, height=0.94\paperheight] \setupbackgrounds [text] [frame=on, rulethickness=2mm, frameoffset=2cm, framecorner=round, frameradius=2cm, framecolor=darkblue] \setupthinrules [rulethickness=2mm, color=darkblue] % Other style settings \setupwhitespace[big] \setupbodyfont[sans,21pt] \setupitemize [each] [packed,joinedup] \setuphead [chapter] [number=no, style=\tfa\bf, page=no, after=, color=darkblue] \widowpenalty=1 \clubpenalty=1 \setupfootertexts[\hfill\x Typeset with \ConTeXt\quad\quad Designed by David Anto\v s, 2003] %\showframe %\showgrid % \starttext \startalignment[middle] \startlinecorrection {\tfd\bf Project of IPv6 Router with FPGA Hardware Accelerator} \stoplinecorrection \startcolumns[n=3] {\bf Ji\v r\'{\i} Novotn\'y}\crlf Institute of Computer Science\crlf Masaryk University Brno\crlf Botanick\'a~68a, Brno 602\thinspace00\crlf Czech Republic\crlf [EMAIL PROTECTED] \column {\bf Otto Fu\v c\'{\i}k}\crlf Faculty of Information Technology\crlf Brno University of Technology\crlf Bo\v{z}et\v{e}chova~2, Brno 612\thinspace66\crlf Czech Republic\crlf [EMAIL PROTECTED] \column {\bf David Anto\v{s}}\crlf Faculty of Informatics\crlf Masaryk University Brno\crlf Botanick\'a~68a, Brno 602\thinspace00\crlf Czech Republic\crlf [EMAIL PROTECTED] \stopcolumns \stopalignment % Logos and rule \noindent \thinrule \kern0.03\textwidth \lower0.039\textwidth\hbox{\externalfigure[cesnet-logo][width=0.16\textwidth]} \kern0.03\textwidth \thinrule \kern0.03\textwidth \lower0.01\textwidth\hbox{\externalfigure[liberouter][width=0.2\textwidth]} \kern0.03\textwidth \thinrule % Text itself starts here \startcolumns[n=2] \chapter{Introduction} Personal Computer (PC) as a router is \startitemize \item Reliable and highly functional \item Comparable to middle-class routers (e.g., CISCO~7500) \stopitemize But\dots \startitemize \item Configurable with difficulties (via \type{/etc} files) \item Limited mainly by PCI system bus (up to 2~Gbps with 64bit/66MHz bus) \stopitemize The goal of the \externalfigure[liberouter][height=0.5\baselineskip]{} project: IPv6 router solving those limitations. How? \startitemize \item Hardware accelerator {\em Combo6} \item XML based configuration system {\em Netopeer} \stopitemize \chapter{Router Architecture} Combo6 is a PCI card containing FPGA, memories (SSRAMs and DRAM), expansion connectors, and supporting logic. Network interfaces are mounted on an expansion daughter card for interfaces to be changed easily. \startlinecorrection \midaligned{\externalfigure[combo6][height=12\baselineskip]} \stoplinecorrection Design rules (just pure instance of {\em hardware/software codesign} principles): \startitemize \item Packet switching and filtering will be performed by Combo6 \item PC can do the rest; routing path calculations, configuration, statistics computation \item Communication through PCI is limited to configuration, routing table updates, statistics collection, and exception handling \item Usual Operating System tools can be used, like \type{ifconfig} and routing daemons \stopitemize \chapter{Packet Processing in Hardware} Key idea: Packet processing in FPGA is done by a chain of dedicated processors with simple, specialized instruction sets designed for their particular purposes. We call them {\em nanoprocessors}---they are interpreted by FPGA's microcode. Instruction sets are \quotation{between FSMs and RISC processors.} \startitemize \item Changing nanoprograms in runtime is possible (with no need of VHDL compila
[NTG-context] making posters with ContexT
Hi I am trying to making a scientifique poster in Context. I need some suggestions, foreground an example, to start. Somebody has a nice example to share? What is the correct scales for the fonts? Have a nice day/night Thanks to all Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Installation Problem
At 09:07 AM 5/24/2006, you wrote: >Hans mentioned the minimal context linux distribution. OK, I deleted everything I did yesterday and started over. This time I (think) I tried the minimal contex distribution. Things still aren't working. I am on Redhat Enterprise Linux v4. Thanks again for the help. - Neal Here is what I did today: download http://www.pragma-ade.nl/context/install/justtex.zip download http://www.pragma-ade.nl/context/install/linuxtex.zip move both files to /usr/local cd /usr/local unzip -a justtex.zip unzip -a linuxtex.zip Set up environment: export TEXROOT=/usr/local/tex export TMP=/var/tmp export TEXMFMAIN=$TEXROOT/texmf export TEXMFLOCAL=$TEXROOT/texmf-local export TEXMFFONTS=$TEXROOT/texmf-fonts export TEXMFEXTRA=$TEXROOT/texmf-extra export TEXMFPROJECT=$TEXROOT/texmf-project export TEXMFOS=$TEXROOT/texmf-linux export VARTEXMF=$TMP/texmf-var export TEXARCH=i686 # the results of uname -m export TEXUNIX=Linux # the results of uname -s export PATH=$TEXMFOS/bin:$PATH export HOMETEXMF=$HOME/Library/texmf export TEXMFCNF=$TEXROOT/texmf/web2c export TEXMF=$TEXMFMAIN export TEXMFDBS=$TEXMF export TEXFORMATS=$TEXMFOS/web2c export MPMEMS=$TEXFORMATS export TEXPOOL=$TEXFORMATS export MPPOOL=$TEXPOOL export RUBYLIB=$TEXMFLOCAL/scripts/context/ruby:$RUBYLIB export CTXMINIMAL=yes create the directory specified by $VARTEXMF cd $TEXMFOS/bin chmod +x * chmod -x xpdfsuite.zip download http://www.pragma-ade.nl/context/current/cont-tmf.zip mv cont-tmp.zip to $TEXROOT/texmf cd $TEXROOT/texmf unzip -ao cont-tmf.zip copy texmf/context/config/texexec.rme texexec.ini texexec --verbose Output: TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | --checkcheck versions TeXExec | --figures generate overview of figures TeXExec | --listing list of file content TeXExec | --make make formats TeXExec | --modules generate module documentation TeXExec | --mptexprocess mp file TeXExec | --mpxtex process mpx file TeXExec | --pdfarrange impose pages (booklets) TeXExec | --pdfcombine combine multiple pages TeXExec | --pdfcopy copy pages from file(s) TeXExec | --pdfselectselect pages from file(s) TeXExec | --pdftrim trim pages from file(s) TeXExec | --process process file TeXExec | TeXExec | --help --all shows all switches texexec --make en de nl Output: TeXExec | using search method 'kpsefast' TeXExec | updating file database sed: -e expression #1, char 3: unterminated `s' command sed: -e expression #1, char 3: unterminated `s' command mktexlsr: /usr/local/tex/texmf/ls-R lacks magic string. Skipping... mktexlsr: Done. TeXExec | using tex engine pdfetex TeXExec | using tex format path /usr/local/tex/texmf-linux/web2c/pdfetex TeXExec | generating tex format cont-en This is pdfeTeXk, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (INITEX) %&-line parsing enabled. (/usr/local/tex/texmf/web2c/natural.tcx) entering extended mode ! I can't find file `cont-en'. <*> *cont-en Please type another input file name: I'm stuck because I can't find a file 'cont-en' either. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 'Dot' after Float label Howto?
On Wed, 24 May 2006 13:26:51 -0700, Johannes Graumann <[EMAIL PROTECTED]> wrote: > Hello, > > My proofreader wants the float labels ("Figure 2.5") to end with a dot as > well (as in "Figure 2.5."). > Can somebody please point me at how to achieve that? I thought that stopper would do it, but either I misuse it, or there's a bug in there: the dot appears twice! \setupcaption[figure][stopper=.] \starttext \chapter{joke} \placefigure{What} {\framed[width=5cm]{Hi}} \stoptext Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] 'Dot' after Float label Howto?
Hello, My proofreader wants the float labels ("Figure 2.5") to end with a dot as well (as in "Figure 2.5."). Can somebody please point me at how to achieve that? Thanks, Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XeTeX "hangs"
On 24 mai 2006, at 10:07, Hans Hagen wrote:what do you get when you run that with \tracingall \tracingall Testing... ð and what does \show ð return? and what Testing... ðaaa Hans Hi Hans,This file:%% eth-hans-1.tex\starttextwhat do you get when you run that with \tracingall Testing... ð\catcode`ð=\active \defð{^^F0}\tracingall Testing... ðand what does %\show ðreturn? and what Testing... ðaaaHans \stoptext%% end eth-hans-1.textypeset with XeConTeXt gives a PDF where again one has "Testing... ð" in the first occurence, and then "Testing... ° 0", and the process takes some 41 seconds... eth-hans.pdf Description: Adobe PDF document If the above file is typeset with ConTeXt alone it stops with the error message:! Missing number, treated as zero. ∞l.9 \catcode`√∞ =\active \def√∞{^^F0}? Process abortedIf the line \show ð is uncommented in the above file, then XeConTeXt stops with this error message:[]\*12ptrmtf* and what does @\par via @@0 b=0 p=-1 d=100@@1: line 1.2- t=100 -> @@0{vertical mode: \show}> ð=macro:->^^F0.l.14 \show ð ? Process abortedBest regards: OK___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \pagefigure does not increment page number
On Tue, 23 May 2006, Berend de Boer wrote: > Hello All (probably Hans :-) ), > > \pagefigure does increment the page number. It doesn't place a page > number, I can understand that. But why does it not increment the page > number? Is that by design? > > I'm using the context release of 27 April 2006. Or should I upgrade? I do not know anything about pagefigure. However, looking at its code the following should increment pagenumbers. \unprotect \def\startnumpagefigure {\dodoubleempty\dostartnumpagefigure} \def\dostartnumpagefigure[#1][#2]% {\bgroup \getparameters[\??ex][\c!offset=\v!overlay,#2]% \startTEXpage[\c!offset=\@@exoffset]% \incrementnumber[page] %< Added \externalfigure[#1][#2]\ignorespaces} % so we can put some text below the graphic \def\stopnumpagefigure {\stopTEXpage \egroup} \def\numpagefigure {\dodoubleempty\donumpagefigure} \def\donumpagefigure[#1][#2]% {\dostartnumpagefigure[#1][#2]\stopnumpagefigure} \protect \starttext \input knuth \input knuth \input knuth \startnumpagefigure[dummy][offset=1cm] \blank This is a dummy figure \stopnumpagefigure \input knuth \stoptext HTH, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] problem with \setupitemize
On Wed, 24 May 2006 17:53:54 +0200 (CEST), Peter Münster <[EMAIL PROTECTED]> wrote: > Hello, > > "\setupitemize[packed][margin=3em]" > does not work, but > "\setupitemize[packed] > \setupitemize[margin=3em]" > works. > Is this normal or a bug?` I guess it's because that with more than one option group, the first is for the kind of item (1, n, etc.), at least as shown in the manual. The following works: \setupitemize[1][packed][margin=3em] Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Textbackground overlapping
On Wed, 24 May 2006 01:50:41 +0200, nico <[EMAIL PROTECTED]> wrote: > On Tue, 23 May 2006 17:15:28 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > >>> >> not yet interfaced but public anyway >> >> \chardef\kindofpagetextareas\plusone >> > But I've seen a side effect of this setting. It appears rarely, and I had > difficulties to reproduce it. So, please find attached the cut-and-pasted > buggy page to have exactly the same placements. Here is a simple test case able to reproduce the problem (same behaviour with context live). Seems related to some vertical stretching stuff in a page. \chardef\kindofpagetextareas\plusone \setupcolors[state=start] \setupwhitespace[medium] % needed to activate the buggy stuff... \definetextbackground[listing][background=color] \starttext \input tufte\footnote{A footnote} blah blah blah blah blah \section{Section} \input tufte blah blah \startitemize \item a \item a \item a \item a \item a \item a \stopitemize \stoptext Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] problem with \setupitemize
Hello, "\setupitemize[packed][margin=3em]" does not work, but "\setupitemize[packed] \setupitemize[margin=3em]" works. Is this normal or a bug?` Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Installation Problem
On 5/24/06, Neal Lester <[EMAIL PROTECTED]> wrote: > At 12:49 AM 5/24/2006, you wrote: > > > >Neal Lester wrote: > > > I am trying to verify my installation. > > > > > > When I try to run texexec against the test file given in the > > > installation instructions I don't get a dvi or pdf file. The output is: > > > >What instructions did you follow, precisely? I see some problems in > >your output, but it will be easier to explain using those instructions. > > I followed the instructions at: > > http://www.pragma-ade.nl/general/manuals/minstall.pdf > > First I used the TeX that came with my Linux distribution (RedHat > Enterprise Linux v4) but that didn't work (perhaps it was too > old). Then I installed teTeX ( http://www.tug.org/tetex/ ) which > came with an old version of context that got in the way. I removed > that old version and installed the version from here ( > http://www.pragma-ade.nl/context/current/cont-tmf.zip ). The cont-tmf.zip archive doesn't (directly) update programs (texmfstart, texexec, etc.) Tetex's texexec is a script that runs perl on the result of 'kpsewhich -format=texmfscripts texexec.pl'. You need to make sure kpsewhich finds the new texexec.pl. You can also try the version I posted recently that looks for the ruby scripts. I like to keep context in a separate tree, texmf-cont, so it is easy to see what files comes from cont-tmf in logs, etc. > Thomas Esser has (apparently just) announced that he will no longer > be maintaining teTeX. Which version of TeX do you recommend I install? Hans mentioned the minimal context linux distribution. Red Hat will have to make a decision about TeX. In the interim, you may have to do a bit of extra work to stay current. The nice thing about teTeX and TeX Live is that they have been designed so they can be self-contained, with texmf trees and binaries under one top-level directory so you can add and remove them without the need for a package manager to keep things sorted. -- George N. White III <[EMAIL PROTECTED]> Head of St. Margarets Bay, Nova Scotia ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] t-bib and explicitly italizising title parts
Taco Hoekwater wrote: >@ARTICLE{article-minimal, > author = {L[eslie] A. Aamport}, > title = {The {\it Gnats\/} and Gnus Document Preparation System}, > journal = {\mbox{G-Animal's} Journal}, > year = 1986, >} This works indeed - I was missing the '\/' bit. However, now I have trouble to keep explicit capitalization inside the italisized strech ... Something like title = {{\it {S}accharomyces cerevisiae\/}} now lacks the required upper case for the 'S' - is there any TeX command analogous to '\it' forcing capitalization? Thanks, Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] t-bib (extra special experimental version), XML and nocite
Taco Hoekwater wrote: > \def\nocite[#1]% >{\processcommalist[#1]\addthisref > \processcommalist[#1]\docitation} Changing the 'nocite' definition to this did it. Thanks! Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Making posters with ConTeXT
On Wed, 24 May 2006, Johan Sandblom wrote: > No doubt I am being dense, but trying the examples in m-streams.tex > after inserting > \usemodule[streams] invariably yield this error > > > systems : system commands are enabled > system : module streams loaded > (./m-streams.tex > system : module streams (line 314) already loaded > color : system rgb is global activated > ! Undefined control sequence. > l.317 \definestreamlayer >[block] > ? > > > Johan The following example works fine on my computer (using ConTeXt ver: 2006.05.17 10:08) \usemodule[streams] \starttext \definestreamlayer[whatever][width=12cm] \startstreamlayer[whatever] \startitemize[columns,two][after=] \item one \item two \item three \item four \stopitemize \stopstreamlayer \framed[strut=no,align=normal]{\placestreamlayer[whatever]\obeydepth} \starttextstreamlayer[whatever] \startitemize[columns,two] \item one \item two \item three \item four \stopitemize \stoptextstreamlayer \framed[strut=no]{\placetextstreamlayer[whatever]} \stoptext Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Installation Problem
At 12:49 AM 5/24/2006, you wrote: >Neal Lester wrote: > > I am trying to verify my installation. > > > > When I try to run texexec against the test file given in the > > installation instructions I don't get a dvi or pdf file. The output is: > >What instructions did you follow, precisely? I see some problems in >your output, but it will be easier to explain using those instructions. I followed the instructions at: http://www.pragma-ade.nl/general/manuals/minstall.pdf First I used the TeX that came with my Linux distribution (RedHat Enterprise Linux v4) but that didn't work (perhaps it was too old). Then I installed teTeX ( http://www.tug.org/tetex/ ) which came with an old version of context that got in the way. I removed that old version and installed the version from here ( http://www.pragma-ade.nl/context/current/cont-tmf.zip ). Thomas Esser has (apparently just) announced that he will no longer be maintaining teTeX. Which version of TeX do you recommend I install? Thanks, Neal ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Making posters with ConTeXT
No doubt I am being dense, but trying the examples in m-streams.tex after inserting \usemodule[streams] invariably yield this error systems : system commands are enabled system : module streams loaded (./m-streams.tex system : module streams (line 314) already loaded color : system rgb is global activated ! Undefined control sequence. l.317 \definestreamlayer [block] ? Johan 2006/5/24, Hans Hagen <[EMAIL PROTECTED]>: > Johan Sandblom wrote: > > This is an early version of a poster I have used. It is quite > > non-standard but shows some options for placing things and fonts. > > > take a look at m-streams.tex > > when you use streams, you can build your poster from snippets that are > actually pages, i'e. you can then do most of the tricks that you normally do > in the mvl (page stream) > > Hans > > > - > 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 > - > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Making posters with ConTeXT
Johan Sandblom wrote: > This is an early version of a poster I have used. It is quite > non-standard but shows some options for placing things and fonts. > take a look at m-streams.tex when you use streams, you can build your poster from snippets that are actually pages, i'e. you can then do most of the tricks that you normally do in the mvl (page stream) Hans - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index sorting for other languages that English
Thanks Hans, it works with my test file, unless I set up:\setupregister[index][expansion=xml]which i need for correct processing of the XML files.If I simply add this command into the testing TeX file (no XML), the Czech sorting stops to work and all accented characters are placed under "A".Regarding the sorting itself (sort-lan.tex): I found the definiton of the sorting quite strange, let's say, incomplete. It makes no sense to separate ccaron while all other accented letters are placed under the unaccented ones.I'll update the definitions, test it and send it to you.-RichardFrom: Hans Hagen [mailto:[EMAIL PROTECTED]To: mailing list for ConTeXt users [mailto:[EMAIL PROTECTED]Sent: Tue, 23 May 2006 17:02:53 +0200Subject: Re: [NTG-context] Index sorting for other languages that EnglishRichard Gabriel wrote: > Hello Hans, > > after an upgrade I noticed thar the index sorting works even worse > than before (tested on Czech, Chinese and Japanese, but probably > related to non-ASCII characters in common). > > With TeXExec 5.4.3, all words beginning with national (accented) > characters were put into a separate ("symbols") group and placed > before "A". This was not good but more or less acceptable. > With TeXExec 6.2.0, words beginning with accented characters are > placed under certain unaccented letter. My colleague found out that > these words are sorted according the first unaccented letter. This is > unacceptable and unusable. > > We do a "work-around" so we try to avoid indexing words beginning with > accented charaters. But it's impossible in many cases. > I'd like to ask you to improve the index sorting. Could I help or > contribute in some way? > > Attached is a testing file, which creates 2 indexes from various Czech > words (covering the Czech alphabet). The index should be sorted > exactly that way as the terms are written in the file. > actually the nex texexec implementation does czech sorting but it's not enables yet in context itself (was experimental until now) - download the latest version (i uploaded a version that enables it) - don't forget \mainlanguage[cz] at the top of your document - in sort-lan.tex you can see how czech sorting is defined (context adds a lot of into to the tui file in order to get sorting done) - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] tabulation spacing
andrea valle wrote: > Ah! now I remember. > Thanks as usual > > > >> btw \unknown is a shortcut for $\ldots$ >> > > good to know, I use it a lot: is there a place in the docs where to > find these kinds of info? > not this one probably, but it's used a lot Hans - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Controlling figure placement?
Hi there, this is the only thing I could come up with, using manual page breaks and not using an area at all: Before \starttext, do \setupbackgrounds[page][background=pagegraphics] \definelayer[pagegraphics][x=0cm,y=0cm,width=\paperwidth,height=\paperheight] \useexternalfigure[pdf01][01-x3.pdf][scale=1000] Within the columnset, at the appropriate place do \page %if necessary, manual spacing adjustment on the last line of the prev. Page \setupheader[state=empty] \setupfooter[state=empty] \setlayer[pagegraphics][x=0mm, y=0mm]{\externalfigure[pdf01]} ~\page This is more or less ugly, since I have to break pages manually and maybe need to adjust spacing on the page before the image. But I'm used to it, that's the way I did it in LaTeX when I used the multicols package. I just thought there must be a more elegant solution within Context. I did try to place the background in the columnsetarea (which worked), but in there never got rid of the headers. Does anyone know if it's possible? Hans maybe? Because that would be the one thing I need. If it's not possible I'll just keep doing the LaTeX thing in Context, and have the advantage of column spans for introduction text as a bonus... Michael > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von Ehrt, Michael > Gesendet: Mittwoch, 24. Mai 2006 09:54 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Controlling figure placement? > > Hi again, > > > Is there a way that gives more control over figure > placement within a > > columnset area? What I'd like to do is: > > > > - have a columnset area that covers a whole page > > - if possible, leave out headers and footers on that page > (don't know > > how) > > - place an external figure on that page which is the same > size as the > > whole page, 210 by 297mm. > > > > What I tried so far is: > > > > \definecolumnset[test][n=3,distance=15pt] > > \definecolumnsetspan[intro][n=2] > > \definecolumnsetarea[one][fixed][x=1,y=1,nx=3,ny=46,page=3,sta > > te=start] > > \definecolumnsetarea[two][fixed][x=1,y=1,nx=3,ny=46,page=5,sta > > te=start] > > \setupcolumnsetareatext[one][\setups{mypdf}] > > \setupcolumnsetareatext[two][\setups{myjpg}] > > \startsetups[mypdf]\externalfigure[01-x3.pdf]\stopsetups > > \startsetups[myjpg]\externalfigure[01.jpg]\stopsetups > > > I managed to clear headers and footers by using > > \setupcolumnsetareatext[one][{\page[no,blank]\setups{mypdf}}] > \setupcolumnsetareatext[two][{\page[no,blank]\setups{myjpg}}] > > But this has the problem that it clears ALL headers and footers on > subsequent pages. Trying to clear them using > \setupheader[text][state=empty] here didn't work. What I > actually looked > for was something like > > \adaptlayout[3,5][command={\setupheader[text][state=empty]\set > upfooter[t > ext][state=empty]}] > > But this doesn't exist. Also, changing the layout width is > not possible > with adaptlayout, which might fix the left-right-positioning... > > Does anyone know how to do it? > > Cheers > > Michael > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Making exams in Context
� wrote: > I need to prepare an exam. My choice is obviously ContexT, but > I have some difficulty in generating multiple choice questions in > random order. > Each student will have one different exam. > In Latex I use MUCH (http://fourier.math.uoc.gr/~mk/much/). Did you can > tell me if it has a similar > solution in ConTexT? > attached is something i made in 2000 i just tested it and it should work ok in the latest context / acrobat texexec examn.tex or if you like texexec examn.xml (which assumes a recent texexec otherwise you need to say --env=ex-tex) the code that deals with the randomixaiton is in m-examn.tex Hans - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] tabulation spacing
Ah! now I remember. Thanks as usual > btw \unknown is a shortcut for $\ldots$ good to know, I use it a lot: is there a place in the docs where to find these kinds of info? Best -a- > -- > > - > 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 > - > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] tabulation spacing
andrea valle wrote: > Evidently I'm missing something. > > {\switchtobodyfont[14pt] > \starttabulate > \NR > \NC {\bf FRAME} \NC {\bf 1} \NC {\bf 2} \NC {\bf 3} \NC $\ldots$ \NC\NR > \NC bin: 1\NC freqval 1 \NC freqval 2 \NC freqval 3 \NC > $\ldots$\NC\NR > \NC \NC ampval 1 \NC ampval 2 \NC ampval 3 \NC > $\ldots$\NC\NR > \NC bin: 2\NC freqval 1 \NC freqval 2 \NC freqval 3 \NC > $\ldots$\NC\NR > \NC \NC ampval 1 \NC ampval 2 \NC ampval 3 \NC > $\ldots$\NC\NR > \NC bin: 512 \NC freqval 1 \NC freqval 2 \NC freqval 3 \NC > $\ldots$\NC\NR > \NC \NC ampval 1 \NC ampval 2 \NC ampval 3 \NC > $\ldots$\NC\NR > \NR > \stoptabulate > } > > This seems to work, but I have a strange spacing between the first two > columns and the last three ones. > Could anyone explain to me why? > > because you didn't give a template (which means that you get the default [|l|p|] \starttabulate[|l|l|l|l|l|] btw \unknown is a shortcut for $\ldots$ -- - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Installation Problem
Neal Lester wrote: > I am trying to verify my installation. > > When I try to run texexec against the test file given in the > installation instructions I don't get a dvi or pdf file. The output is: > > TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 > first download the latest version and try to get the new texexec running (otherwise, try the minimal context linux distribution) Hans - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XeTeX "hangs"
Otared Kavian wrote: > Hi Mojca, > > Trying your minimal file on my Mac OS X, with XeConTeXt or with plain > XeTeX, I observe the same hanging... > > However, the following, taken out of an example sent to you by > Jonathan K., works fine with both (indeed commenting out \starttext > and \stoptext in plain XeTeX): > > \starttext > \font\lmec = ec-lmr10 at 36 pt > > \lmec > Testing... ð > > Testing... ^^F0 > > \catcode`č=\active \defč{^^a3} > \catcode`š=\active \defš{^^b2} > \catcode`ž=\active \defž{^^ba} > > Testing... čšž > > \stoptext > > while the following results in a PDF file with "Testing... ° 0" > > \starttext > \catcode`ð=\active \defð{^^F0} > > Testing... ð > > \stoptext > > Needless to tell you that all this seems extremely obscure to me... > what do you get when you run that with \tracingall \tracingall Testing... ð and what does \show ð return? and what Testing... ðaaa Hans - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Making posters with ConTeXT
This is an early version of a poster I have used. It is quite non-standard but shows some options for placing things and fonts. Regards, Johan \setuppapersize[A0][A0] \setuplayout[backspace=2cm, topspace=2cm, leftedge=2cm, leftedgedistance=0cm, rightedge=0cm, rightedgedistance=0cm, leftmargin=2cm, leftmargindistance=0cm, rightmargin=2cm, rightmargindistance=0cm, footer=0cm, header=0cm, location=singlesided, width=fit, height=fit] \startbuffer[Intro] \BoxTitle{Introduction} Experiments investigating the difference between finding something vaguely famililar and actually recollected may be performed using the ``remember/know'' paradigm. Subjects are required to specify whether correctly recognized items were explicitly ``remembered'' or merely familiar, ``known''. In spite of experimental design difficulties, a number of imaging studies have also been performed (Eldridge, Henson). One difficulty in designing these imaging experiments is that one would ideally like the subject to answer to questions at once in the recognition situation: first, whether they recognize the item and if they do, second, whether they ``remembered'' it or ``knew'' it. In the imaging context this is problematic and has been the generator of some creativity in experimental design. Instead of having the subjects making two responses to the same stimulus in the same session (like Eldridge et al) or having them choose between ``remember'', ``know'' or ``neither'' in the recognition situation (like Henson et al), we collected the hits and fed them back to the subjects in a new imaging session asking the subjects to state whether the previous recognition event was one of recollecting or finding familiar, or that they cannot recall. \par \stopbuffer \startbuffer[Methods] \BoxTitle{Methods} Paradigm illustrated** Twenty young and healthy volunteers were scanned while recognizing 80 words (encoded during an anatomical scan) out of 160. One subject was discarded because of bizarre task-related movement. Three others were discarded because they had less than five ``know'' events. The words were presented for two seconds and the gap between them was four seconds. There were three sessions of 88 scans with a TR of 4.2 seconds. After these three sessions, the subjects' hits were extracted and two debriefing sessions were constructed containing the hits, randomly ordered, with 30 percent null events. We sorted hit events in the recognition sessions according to whether they were subsequently ``remembered'', ``known'' or ``guessed''.\par \stopbuffer \startbuffer[DataAnal] \BoxTitle{Data Analysis} \kap{EPI} images were realigned, normalized and smoothed to 12mm \kap{FWHM}. No slice timing correction was performed. For each person, $t$-contrasts of the \kap{HRF}, as well as its temporal and dispersion derivatives were estimated. These were used in a second-level \kap{ANOVA} to estimate the difference between remember and know. \par \stopbuffer \startbuffer[Results] \BoxTitle{Results} Subjects performed very well on the task. Hits minus false alarms averaged 0.53. 65 percent of hits were 'remembered', 26 percent were 'known' and nine percent were 'guessed'. The contrast between 'remembered' and 'known' hits at recognition shows in the lingual/fusiform gyrus on the right and the precuneus on the left. The contrast between 'remembered' and 'known' hits at debriefing sessions shows activations also in the precuneus bilaterally and the middle frontal gyrus on the right. \par \stopbuffer \startbuffer[Table] %\placetable[right]{Proportions} {\bTABLE[frame=on, offset=1mm, framecolor=twhite] \setupTABLE[row][first][backgroundcolor=tgrey] \setupTABLE[row][last][backgroundcolor=tgrey] \bTR\bTD[align=left] $n$\eTD\bTD 19 \eTD\bTD 16 \eTD\eTR \bTR\bTD Remember \eTD\bTD\eTD\bTD\eTD\eTR \bTR\bTD Know \eTD\bTD\eTD\bTD\eTD\eTR \bTR\bTD Guess \eTD\bTD\eTD\bTD\eTD\eTR \bTR\bTD False alarms \eTD\bTD\eTD\bTD\eTD\eTR \bTR\bTD Correct rejections \eTD\bTD\eTD\bTD\eTD\eTR \bTR\bTD Misses \eTD\bTD\eTD\bTD\eTD\eTR \eTABLE} \stopbuffer \startbuffer[Discussion] \BoxTitle{Discussion} . The 'remembered $>$ known' contrast in the recognition session Eldridge et al whereas the corresponding contrast in the debriefing session appears more similar to the increases to R judgments reported by Henson et al.\par \stopbuffer \startbuffer[References] \BoxTitle{References} \tfxx Eldridge, Knowlton, Furmanski, Bookheimer, Engel: Remembering episodes: a selective role for the hippocampus during retrieval. 2000. Nat Neurosci 11:1149\par Henson, Rugg, Shallice, Josephs, Dolan: Recollection and familiarity in recognition memory: an eventrelated functional magnetic resonance imaging study. 1999. J Neurosci 19:3962\par \stopbuffer \setuppagenumbering[
Re: [NTG-context] Controlling figure placement?
Hi again, > Is there a way that gives more control over figure placement within a > columnset area? What I'd like to do is: > > - have a columnset area that covers a whole page > - if possible, leave out headers and footers on that page (don't know > how) > - place an external figure on that page which is the same size as the > whole page, 210 by 297mm. > > What I tried so far is: > > \definecolumnset[test][n=3,distance=15pt] > \definecolumnsetspan[intro][n=2] > \definecolumnsetarea[one][fixed][x=1,y=1,nx=3,ny=46,page=3,sta > te=start] > \definecolumnsetarea[two][fixed][x=1,y=1,nx=3,ny=46,page=5,sta > te=start] > \setupcolumnsetareatext[one][\setups{mypdf}] > \setupcolumnsetareatext[two][\setups{myjpg}] > \startsetups[mypdf]\externalfigure[01-x3.pdf]\stopsetups > \startsetups[myjpg]\externalfigure[01.jpg]\stopsetups I managed to clear headers and footers by using \setupcolumnsetareatext[one][{\page[no,blank]\setups{mypdf}}] \setupcolumnsetareatext[two][{\page[no,blank]\setups{myjpg}}] But this has the problem that it clears ALL headers and footers on subsequent pages. Trying to clear them using \setupheader[text][state=empty] here didn't work. What I actually looked for was something like \adaptlayout[3,5][command={\setupheader[text][state=empty]\setupfooter[t ext][state=empty]}] But this doesn't exist. Also, changing the layout width is not possible with adaptlayout, which might fix the left-right-positioning... Does anyone know how to do it? Cheers Michael ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Installation Problem
Neal Lester wrote: > I am trying to verify my installation. > > When I try to run texexec against the test file given in the > installation instructions I don't get a dvi or pdf file. The output is: What instructions did you follow, precisely? I see some problems in your output, but it will be easier to explain using those instructions. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] t-bib (extra special experimental version), XML and nocite
Johannes Graumann wrote: > I'm not sure whether this is related to the fact that I'm using an > experimental t-bib version which Taco provided to enable correct chapter It probably is, I assume your version's \nocite definition lags behind (because it works for me). The \nocite definition should look like this: \def\nocite[#1]% {\processcommalist[#1]\addthisref \processcommalist[#1]\docitation} Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] t-bib and explicitly italizising title parts
Johannes Graumann wrote: > Hello, > > Is there any way using '\it' in the title of a bib-entry, so that > ConTeXt/t-bib will hand it though into the bibliography listing? Sure, just use \it ;-) Seriously: does that not work for you? I tried @ARTICLE{article-minimal, author = {L[eslie] A. Aamport}, title = {The {\it Gnats\/} and Gnus Document Preparation System}, journal = {\mbox{G-Animal's} Journal}, year = 1986, } and it ran without any trouble. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context