[NTG-context] A thesis not just using, but on, ConTeXt.
I have narrowed down my subject options for a masters thesis (New Media at Universiteit van Amsterdam) and landed on a software studyhttp://en.wikipedia.org/wiki/Software_studiesof TeX through the lens of ConTeXt/LuaTeX (the idea being to document the cutting edge). For instance, the many materialities of a TeX document, the fact that it exists as a source file, an evolving memory heap during compilation, a ready-to-print document, and (often) as a print document. Part of my thesis, and a good reason to investigate ConTeXt, is exploring the material aspects of texts generated specifically for on-screen use/how an interlinked PDF differs from a website/etc. Naturally, a materialist analysis leads to discussing liberational potential, and the entire assemblage of TeX will be examined in light of Benkler's 'virtuous software'. (See Benklerhttp://www.nyu.edu/projects/nissenbaum/papers/jopp_235.pdfor mehttp://mastersofmedia.hum.uva.nl/2009/11/01/git-virtue-github-and-commons-based-peer-production/for more.) More, I'm sure, will arise. The second half of the thesis is an operational component: setting up an online collaborative web application (with Ruby Waves http://rubywaves.com) that is able to interweave git, reST/markdown/HTML (or a new one of my own that I convert to ConTeXt), pandoc (unless option 2), and ConTeXt to craft a system capable of outputting anything, not the least of which a PDF with layout and typesetting specific to that system (in this case, a new open, post/pure peer review journal of new media studies). I feel this must be possible because I've read that some of you folks are running highly automated typesetting jobs with ConTeXt. However, it occurs to me I should discuss the feasibility of at least the operational component with you folks before I end up trying to develop something impossible come March. The theoretical component relates to the operational component in as much as it seeks to justify it--this part is basically saying 'typesetting matters' but in the sense that a good typeset will a) make the journal feel much more established and allow an easy means to produce an on-demand print version, and b) liberate the information in as much as it is available in both PDF and machine-parsable ASCII, along with everything in between. Hmmm, maybe that _is_ taking a bit on.. Especially sense I don't know much ConTeXt at the moment (for instance, not using them on my final papers this semester). However, I will have significant time to dedicate to this thesis (all day every day starting March), and I've become something of an obsessive about TeX and typesetting, despite not having a lot of free time to dedicate right this second. For instance I find myself reading the Mark IV documentation (perfect for a software studies, btw!) rather than other, perhaps more pressing things. I guess I'm just sending a ping out to see what kind of response you folks have to such a project. I don't feel as if anything is set in stone, per se. The final proposal presentation is yet to happen, so I have time to make changes. Sincerely, John Haltiwanger ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \framedparameter
Hi Hans, in MkII the following is possible without problems: \setupcolors[state=start] \startuseMPgraphic{frameborder} drawoptions(withcolor \MPcolor{\framedparameter{framecolor}}) ; draw topboundaryOverlayBox withpen pencircle scaled \the\dimexpr\framedparameter{toprulethickness}\relax; draw bottomboundary OverlayBox withpen pencircle scaled \the\dimexpr\framedparameter{bottomrulethickness}\relax ; draw leftboundary OverlayBox withpen pencircle scaled \the\dimexpr\framedparameter{leftrulethickness}\relax ; draw rightboundary OverlayBox withpen pencircle scaled \the\dimexpr\framedparameter{rightrulethickness}\relax ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic \defineoverlay[frameborder][\useMPgraphic{frameborder}] \defineframed [mpframed] [ toprulethickness=\framedparameter{rulethickness}, bottomrulethickness=\framedparameter{rulethickness}, leftrulethickness=\framedparameter{rulethickness}, rightrulethickness=\framedparameter{rulethickness}, background=frameborder] \starttext \mpframed[width=4cm,height=4cm,toprulethickness=1pt,framecolor=red]{text} \stoptext In MkIV this is no longer possible because \framedparameter accepts only protected keys (e.g. \c!rulethickness) and on the fly key-value-pairs like 'toprulethickness=\framedparameter{rulethickness}' are also useless because you need now \c!toprulethickness to use the value in another command like metapost graphics. Can you provide a mechanism to access these values again on the user side, e.g. \userparameter{framed:toprulethickness}. Best regards, 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \framedparameter
On 4-1-2010 14:04, Wolfgang Schuster wrote: Can you provide a mechanism to access these values again on the user side, e.g. \userparameter{framed:toprulethickness}. beta ... also has: \def\frameddimension#1{\the\dimexpr\framedparameter{#1}\relax} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Natural Tables Cell Borders
Am 31.12.2009 um 23:04 schrieb Curiouslearn: Help needed! The fifth \setupTABLE command below reduces the rulethickness of the bottomframe in cells (2,5) and (3,5). Is there a way to avoid that? I just want the rightframe to be thin in these cells, but the bottomframe to be thick. You can use MetaPost to draw the rules, you can use the example i posted today [1] as starting point. [1] http://www.ntg.nl/pipermail/ntg-context/2010/046077.html 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \framedparameter
Am 04.01.2010 um 17:28 schrieb Hans Hagen: On 4-1-2010 14:04, Wolfgang Schuster wrote: Can you provide a mechanism to access these values again on the user side, e.g. \userparameter{framed:toprulethickness}. beta ... also has: \def\frameddimension#1{\the\dimexpr\framedparameter{#1}\relax} What a nice start of the new year, thank you very much for the quick fix. Best regards and a happy new year, 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] defineenumeration does not work with MKIV. Works with MKII
Minimal example \setuppapersize[letter][letter] \starttext \defineenumeration[problem][text= ,location=inleft] \setupenumerations[problem][stopper=)] \problem problem 1 \problem problem 2 \stoptext In MKIV there are numbers do not appear. Thanks. ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setupenumeration(s) was: defineenumeration does not work with MKIV
Sorry to hijack your post and since we're already there, why are \setupenumerations and \setupdescriptions written in the plural form. \setupenumerations[problem][stopper=)] When I would follow the system from other setup commands in context i expect as correct names \setupenumeration and \setupdescription. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] resetting local footnote number (conversion = character)
I have some local footnotes (conversion = character) and would like to set the counter to a specific value other than “a”. How can I do this? Alan ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Cannot make \digits work with palatino
On Mon, 4 Jan 2010, Hans Hagen wrote: On 3-1-2010 18:38, Alexandre Patry wrote: Hi, when I use the \digits command with default fonts, everything work fine. However, when I set the fonts to palatino, the following documents print 1:234;56 instead of 1.234,56 8- \usetypescript[palatino][ec] \definetypeface [palatino] [mm] [math] [euler] [euler][rscale=1.03] \setupbodyfont[palatino,12pt] \starttext \digits{1.234,56} \stoptext 8- Am I doing something wrong? it's euler related, not palatino so let's redirect this to aditya It works if you change the definition of \dohandledigits to the following \def\dohandledigits {\mathcode`\,=003B \mathcode`\.=003A % were 013B and 013A \expandafter\handletokens\collecteddigits\with\scandigits \ifcase\powerdigits\else\digitpowerseparator^{\savedpowerdigits}\fi} This is because euler takes , and . from mr family (family 0) while in other fonts they come from mi (family 1). I don't understand why the mathcode needs to be changed inside dohandledigits, do cannot figure out a way to fix the bug. One option can be to store the mathcode of , and . before we start manipulating digits, and then restore them to their original values (something like that \pushcatcodetable and \popcatcodetable). 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Cannot make \digits work with palatino
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/04/2010 06:39 PM, Aditya Mahajan wrote: It works if you change the definition of \dohandledigits to the following \def\dohandledigits {\mathcode`\,=003B \mathcode`\.=003A % were 013B and 013A \expandafter\handletokens\collecteddigits\with\scandigits \ifcase\powerdigits\else\digitpowerseparator^{\savedpowerdigits}\fi} Thank you very much, it works perfectly! Alexandre -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLQoh5AAoJEAMYf3C80LjbQ9UH/i+E4CpAfmubkHfPP5zaWga5 lz6ICqTM3gkAwgOfXs0yWif4GS5WBwRhM7AaZfEHJ+zlgjJi/iyKua7cNvEf+OrT tkaNgNeQuQ2f1U3A0iwyA0+0YyBtUj4tfv+YblcKs9QMYWa/s5NCci1hK/16lvhJ IoBU1+5ywIDX1Zvl8EGEDEDZnbDcwG5gtx/W+xaR38o3/wSNoEtywNW5M8AHwO+3 eS5ue4u2QFhoXtfvYsLbCp4CNIF86eAhuYaSUKv7GJKNOFoKUdgYUD5bGKHaz/nV yse531LilFaXlFTlJsbbJDjW3rsDljK849yKF9lkukPtjst1nFl1o9+jm/YgRc4= =Ja9Y -END PGP SIGNATURE- ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Natural Tables Cell Borders
Thanks Wolfgang. I am not yet proficient enough in Metapost or Context to understand your code. But will look at it more carefully later. Meanwhile, is there any further work going on on Natural Tables? Are there plans to introduce the ability to have borders of different thickness for the same cell through simple options. Thanks. On Mon, Jan 4, 2010 at 11:55 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 31.12.2009 um 23:04 schrieb Curiouslearn: Help needed! The fifth \setupTABLE command below reduces the rulethickness of the bottomframe in cells (2,5) and (3,5). Is there a way to avoid that? I just want the rightframe to be thin in these cells, but the bottomframe to be thick. You can use MetaPost to draw the rules, you can use the example i posted today [1] as starting point. [1] http://www.ntg.nl/pipermail/ntg-context/2010/046077.html 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII
Hi. I'm newbie with ConTeXt but have experience with LaTeX. 2010/1/5 Curiouslearn curiousle...@gmail.com: Minimal example \setuppapersize[letter][letter] \starttext \defineenumeration[problem][text= ,location=inleft] \setupenumerations[problem][stopper=)] \problem problem 1 \problem problem 2 \stoptext In MKIV there are numbers do not appear. Thanks. This is because of your settings. Try change location. In order to understand what's wrong with your settings see output for this example (I tried with context minimals): \setuppapersize[A5][A4] \setuplayout[location=middle] \starttext \defineenumeration[problem][text= ,location=inleft] \setupenumerations[problem][stopper=)] \problem problem 1 \problem problem 2 \stoptext In okular (or Adobe Reader) you see that enumeration numbers are out of page and you don't see them. ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupenumeration(s) was: defineenumeration does not work with MKIV
Hi. 2010/1/5 Wolfgang Schuster schuster.wolfg...@googlemail.com: Sorry to hijack your post and since we're already there, why are \setupenumerations and \setupdescriptions written in the plural form. \setupenumerations[problem][stopper=)] When I would follow the system from other setup commands in context i expect as correct names \setupenumeration and \setupdescription. If I understand context manual correctly (I not checked this) (cont-enp.pdf, pp. 181,183) I could use more than one name in \setupenumerations (\setupdescriptions), e.g. \setupenumerations[problem,remark][stopper=)] so name of commands are correct (in some sense one is a limit of several :). ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___