Re: [NTG-context] One interline space setup trouble
Am 17.02.10 01:24, schrieb Vyatcheslav Yatskovsky: Hi, Wolfgang, Thank you for the visual hint. The space around 2th paragraph is equal, I agree with you. However, why there is only a half of interline space BELOW 1st paragraph, while 3st paragraph has full space ABOVE it? That is the root cause of my problem. Change the height/depth ratio of the interlinespace. \showboxes \starttext \setupinterlinespace[line=12pt] \leftaligned{(gplQT} \setupinterlinespace[line=18pt] \leftaligned{(gplQT} \setupinterlinespace[line=28pt] \leftaligned{(gplQT} \page \setupinterlinespace[height=0.6,depth=0.4,line=12pt] \leftaligned{(gplQT} \setupinterlinespace[height=0.6,depth=0.4,line=18pt] \leftaligned{(gplQT} \setupinterlinespace[height=0.6,depth=0.4,line=28pt] \leftaligned{(gplQT} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Cut marks + alignment marks
Am 16.02.2010 11:04, schrieb Thomas A. Schmitz: On Feb 16, 2010, at 10:42 AM, Jean-Philippe Rey wrote: Hello everybody, I am using the imposition feature of ConTeXt which is very nice. \setuplayout[marking=on] allows me to print cut marks, but this doesn't produce alignment marks. Is there an option to print, along cut marks, traditional alignement marks (hirondelles in French), i.e. cross hairs in a circle exactly positioned at the middle of each four paper sides. Thanks for your answers. Are you looking for something like this? Willi Eggers and I have written a module to support this, but haven't released it yet. If this is what you're looking for, I can send you the file. Hi Thomas, +1 I recently bought a used paper cutter and duplex unit for my printer. Now I'm in need of some nice marks to feed them. 8-) Greetings, Peter 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 : 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 ___
[NTG-context] MkIV grid ?
Hi, I have seen Hans' reply to Peter Rolf from Nov. 19th 2009 on grid snapping (mkiv). What has changed since then? Is there some more info somewhere? I am missing my MkII optimized section setting, like ... grid={page,3.5pt,fit,low} Steffen ___ 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] very strange error with \xypos and vim-typing
On 16-2-2010 23:54, Aditya Mahajan wrote: On Tue, 16 Feb 2010, Aditya Mahajan wrote: On Tue, 16 Feb 2010, Peter Münster wrote: On Tue, Feb 16 2010, Hans Hagen wrote: as i never use vim for pretty printing i can not quickly test it so in order to be able to look into it i need a more precise test case I'm sorry, I can reproduce this error only with the vim module. Can others reproduce it, or am I the only one? I can reproduce the error...but I have no idea what is causing it. Here is a minimal example without the vim-typing module. nasty buglet related to spaces being active solved in next beta 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 - ___ 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] MkIV grid ?
On 17-2-2010 10:58, Steffen Wolfrum wrote: Hi, I have seen Hans' reply to Peter Rolf from Nov. 19th 2009 on grid snapping (mkiv). What has changed since then? Is there some more info somewhere? I am missing my MkII optimized section setting, like ... grid={page,3.5pt,fit,low} i have no time not to explain it but the system is somewhat different than in mkii % \installsnapvalues{loose} {\v!maxdepth:0.8,\v!maxheight:0.8,\v!strut} % \installsnapvalues{normal}{\v!maxdepth:1.0,\v!maxheight:1.0,\v!strut} % \installsnapvalues{tight} {\v!maxdepth:1.2,\v!maxheight:1.2,\v!strut} % none don't enlarge % halfline enlarge by halfline/halfline % line enlarge by line/line % strutenlarge by ht/dp (default) % firstalign to top line % last align to bottom line % mindepth round depth down % maxdepth round depth up % minheightround height down % maxheightround height up %D We're not downward compatible with \MKII ! \definegridsnapping[\v!normal] [\v!maxheight,\v!maxdepth,\v!strut] \definegridsnapping[\v!standard] [\v!maxheight,\v!maxdepth,\v!strut] \definegridsnapping[\v!yes] [\v!maxheight,\v!maxdepth,\v!strut] \definegridsnapping[\v!strict] [\v!maxdepth:0.8,\v!maxheight:0.8,\v!strut] \definegridsnapping[\v!tolerant] [\v!maxdepth:1.2,\v!maxheight:1.2,\v!strut] \definegridsnapping[\v!top] [\v!minheight,\v!maxdepth,\v!strut] \definegridsnapping[\v!bottom] [\v!maxheight,\v!mindepth,\v!strut] \definegridsnapping[\v!both] [\v!minheight,\v!mindepth,\v!strut] \definegridsnapping[\v!broad][\v!maxheight,\v!maxdepth,\v!strut,0.8] % maybe 0.85 \definegridsnapping[\v!fit] [\v!maxheight,\v!maxdepth,\v!strut,1.2] % tight 0.15 \definegridsnapping[\v!first][\v!first] \definegridsnapping[\v!last] [\v!last] \definegridsnapping[\v!high] [\v!minheight,\v!maxdepth,\v!none] \definegridsnapping[\v!low] [\v!maxheight,\v!mindepth,\v!none] \definegridsnapping[\v!line] [\v!line] \definegridsnapping[\v!strut][\v!strut] \definegridsnapping[\v!max] [\v!maxdepth,\v!maxheight,\v!strut] \definegridsnapping[\v!min] [\v!mindepth,\v!minheight,\v!strut] in one (experimental) style i use: % none will effectively smash the box to one line (zero inner) but is the same as strut as outer will snap % however you can use {none,top:3} to move it down 3 lines then % {local,strut} will use the style related settings and move one line down because the font is larger \setuphead [chapter] [grid=strut] \setuphead [section] [grid=strut] most structure components will get a grid key and these are normally local the bottomline is that you snap up/down, within certain rounding specs, and add/subtract/distribute extra lineheights to the ht/dp's of the gridded material 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 - ___ 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] MkIV \placecontent [level=section]
On Wed, Feb 17, 2010 at 2:54 PM, Alan BRASLAU alan.bras...@cea.fr wrote: \placecontent [level=section] or \completecontent [level=section] doesn't seem to work in MkIV, that is level= is ignored. \quote{Minimal} example (for Hans or Taco): contextref.tex (yes, I am getting back to working on the revision under MkIV...) Alan What is the level=section supposed to mean? You do not mean criterium=section, do you? Best regards, Mikael ___ 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] MkIV \placecontent [level=section]
\placecontent[level=section] or \completecontent [level=section] doesn't seem to work in MkIV, that is level= is ignored. \quote{Minimal} example (for Hans or Taco): contextref.tex (yes, I am getting back to working on the revision under MkIV...) 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] MkIV \placecontent [level=section]
On Wednesday 17 February 2010 14:56:54 Mikael Persson wrote: What is the level=section supposed to mean? You do not mean criterium=section, do you? No. criterium=section produces a partial list pertinent to that level. For example, \placecontent [criterium=chapter] prints the per-chapter TOC. level=section truncates the list at a certain level. For example, \placecontent [level=section] should list [part,chapter,section] but not subsection and below. 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] Cut marks + alignment marks
Le 16 févr. 10 à 11:04, Thomas A. Schmitz a écrit : On Feb 16, 2010, at 10:42 AM, Jean-Philippe Rey wrote: Hello everybody, I am using the imposition feature of ConTeXt which is very nice. \setuplayout[marking=on] allows me to print cut marks, but this doesn't produce alignment marks. Is there an option to print, along cut marks, traditional alignement marks (hirondelles in French), i.e. cross hairs in a circle exactly positioned at the middle of each four paper sides. Thanks for your answers. Are you looking for something like this? Willi Eggers and I have written a module to support this, but haven't released it yet. If this is what you're looking for, I can send you the file. That's exactly what I'm looking for. I am very interested by your module and waiting eagerly for your file :-) Thank you very much. -- Jean-Philippe Rey Professeur - École Centrale Paris jean-philippe@ecp.fr 92295 Châtenay-Malabry Cedex - France ___ 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] MkIV \placecontent [level=section]
On Wednesday 17 February 2010 14:54:37 Alan BRASLAU wrote: \placecontent[level=section] or \completecontent [level=section] doesn't seem to work in MkIV, that is level= is ignored. Another funny thing is taking place in the TOC under MkIV: \placecontent (alone) within a \chapter indeed places a partial TOC. However, within a big project (book) with frontmatter, bodymatter, \part, \chapter., appendices, and backmatter, the first chapter of the bodymatter (Chapter 1) also lists sections A.1 and A.2 (coming from Appendix A). A minimal example is too complicated to present here. 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] \setuplabeltext [appendix=Appendix ] broken mkiv
On Tuesday 16 February 2010 23:21:31 Hans Hagen wrote: On 16-2-2010 22:39, Mojca Miklavec wrote: While you keep Hans and others busy, here's another thing that puzzled me: \definehead[appendix][chapter] \definehead[subappendix][section] \starttext \startappendices \appendix{one} \subappendix{one.one} \appendix{two} \subappendix{two.one} \stopappendices \stoptext In mkii it gives A.1 and B.1 for numbering, but in mkiv it gives A.1 and B.2 (it forgets to reset the counter for subappendix). \definestructureresetset [\v!appendix:\s!default] [] [1] % why was this 0 Why \definehead[appendix][chapter]? Why not use \chapter{} and \section{} within \startappendices\stopappendices? \chapter{} and \section{} get put into the TOC. (However, there is a bug and they do not get the proper label: \setlabeltext [appendix=Appendix ] in the head; \setlabeltext [chapter=Chapter ] in the list.) \appendix{} does not get put into the TOC so it works like \title{} rather than \chapter{} Another (related) bug: within \startbackmatter\stopbackmatter \chapter{} (also coming from \completecontent) indeed does not add the labeltext to the head (and are unnumbered) but does add the \setlabeltext [chapter=Chapter ] to the TOC yielding: Chapter References Chapter Index Chapter Table of Contents 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 ___
[NTG-context] gnuplot in mkiv
Hi List, is a direct usage of gnuplot in ConTeXt MKIV possible or does one need to invoke ConTeXt with a special parameter to create a dvi/ps file and convert it to pdf? if so an option of generating the graph and converting it to be included would be nice in that function, so that a direct usage in ConTeXt MKIV would be possible... Greetings Martin 'golodhrim' Scholz ___ 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] gnuplot in mkiv
On Wed, Feb 17 2010, Martin 'golodhrim' Scholz wrote: is a direct usage of gnuplot in ConTeXt MKIV possible Yes. Example: \usemodule[gnuplot] \setupGNUPLOT[terminal=png] \startGNUPLOTscript[sin] plot sin(x) \stopGNUPLOTscript \starttext \useGNUPLOTgraphic[sin] \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] [OT] ASCII text output
Hi Roger, On Tue, 16 Feb 2010, Roger Mason wrote: Aditya Mahajan adit...@umich.edu writes: On Tue, 16 Feb 2010, Roger Mason wrote: I need to convert an exam written in ConTeXt to an ascii text file like the following: Before I go to the trouble of creating a parser to read the ConTeXt input and write the desired output I'm wondering if this can be done with ConTeXt itself. Can you show a small example of the corresponding tex source? \def\mcquestionnumber{14} \mcquestionheader A ruby is a gem of corundum coloured by\crlf {$A$}: Rutile\crlf{$B$}: Calcium (Ca)\crlf{$C$}: Chromium (Cr)\crlf{$D$}: Iron (Fe) and Titanium (Ti)\crlf \mcquestionfooter If you are willing to add more markup, then TeX can do the parsing for you. \startquestion[title={Ruby coloured by}, points=1, difficulty=1] A ruby is a gem of corundum colored \startoptions \option Rutile \option Calcium \correctoption Chrumium \option Iron and Titanium \stopoptions \starthint \stophint \startfeedback ... \stopfeedback \stopquestion You can create a mode for ascii output that redefines all the environments to *typeset* the correct output, which you can then convert to text using pdftotext. Another option is to write everything in XML (it is almost the same ...) question title=..., points=, difficulty=... text A ruby .. /text options option ... /option option ... /option option correct=yes ... /option option ... /option /option hint /hint feedback ... /feedback /question With a few setup commands, ConTeXt can directly typeset an xml file. Parsing the xml file to generate ascii text can be done using your favourite programming language (or using ConTeXt by typesetting the desired output and using pdftotext). And the desired output is... NewQuestion,MC, Title,Ruby coloured by, QuestionText,A ruby is a gem of corundum coloured by Points,1, Difficulty,1, Image,, Option,0,Rutile,, Option,0,Calcium (Ca),, Option,100,Chromium (Cr),, Option,0,Iron (Fe) and Titanium (Ti),, Hint Feedback Maybe a regexp would do, followed by a bit of hand editing, but if there is a way of doing this in ConTeXt that would be very convenient. If this is something that you need to do only a few types, anything quick and dirty will suffice. But for the long run it makes sense to have a more detailed markup and then you do not need to worry about the correctness of the conversion. 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] Mathdesign and Fourier fonts (was What do you miss in ConTeXt?)
On Tue, Feb 16, 2010 at 1:42 PM, Mikael Persson mic...@gmail.com wrote: On Tue, Feb 16, 2010 at 1:31 PM, Hans Hagen pra...@wxs.nl wrote: On 16-2-2010 11:38, Mikael Persson wrote: Thank you Mojca and Aditya for your answers, I hope the mathdesign part of mtx-update.lua will end up in the orignal file. I do not know how to use it now. If I save this file and update with sh firstsetup.sh --extras=all (or --extras=mathdesign) it seems that the mtx-update.lua is overwritten with the version from the server. I do not know howto upgrade with mtx-update.lua without firstsetup.sh. About the fourier fonts. Is there a lot of work to do in math-vfu.lua to get it to work? I looked into that file, but it was a bit hard to understand what is needed... Maybe it is hard work to get the fonts working, but I really think that if we have several text+math fonts easily available in the minimals that will make (new) users very happy. it depends ... if the font is in tex default encoding then it's only a matter of adding a small table I'm not 100% sure how it works wth font encodings, but the fourier doc (http://mirror.ctan.org/fonts/fourier-GUT/doc/latex/fourier/fourier-doc-en.pdf) says that the fonts are _fully_ T1 encoded. Mikael PS: Hans, do you have any comments about the mathdesign patch suggested by Mojca above? I have now manually downloaded the mathdesign fonts (and the charter fonts, not available on the server it seems) The fonts gets used, but I get upright math letters instead of italic ones. My test file is given by \definetypeface[charter][rm][serif][charter] [default] \definetypeface[charter][mm][math] [charter] [default] \setupbodyfont[charter,10pt] \starttext We define, for real $x$, the absolute value of $x$ as \startformula |x|= \startcases \NC \hphantom{-}x \MC x\geq 0,\NR \NC -x \MC x0.\NR \stopcases \stopformula Also let $\alpha$, $\beta$ and $\Gamma$ be\dots \stoptext The output can be found at http://home.imf.au.dk/mickep/mdesign.pdf Typesetting a similar document with LaTeX I get italic math (note also that the \Gamma is upright, I guess that this is an option that is turned on by default by LaTeX) http://home.imf.au.dk/mickep/lmdesign.pdf I guess this has something to do with the following lines in math-vfu.lua mathematics.make_font ( charter-math, { { name = file:bchr8a, features = virtualmath, main = true }, -- { name = md-chr7m.tfm, vector = tex-mr }, { name = md-chri7m.tfm, vector = tex-mi, skewchar=0x7F }, { name = md-chri7m.tfm, vector = tex-it, skewchar=0x7F }, { name = md-chr7y.tfm, vector = tex-sy, skewchar=0x30, parameters = true }, { name = md-chr7v.tfm, vector = tex-ex, extension = true }, { name = msam10.tfm, vector = tex-ma }, { name = msbm10.tfm, vector = tex-mb }, } ) However, I am not able guess what to change (I tried different things available in mdbch.map). Any help is appreciated. Mikael ___ 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] metapost
Hi list, does anybody know how I could start metapost itself standalone from the context-minimals? mpost is telling me there is no mpost.mem and no plain.mem file so it can not start... Thanks for any hint... ___ 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] \setuplabeltext [appendix=Appendix ] broken mkiv
On Wed, Feb 17, 2010 at 18:44, Alan BRASLAU wrote: Why \definehead[appendix][chapter]? Why not use \chapter{} and \section{} within \startappendices\stopappendices? I don't remember exactly (and it was bug anyway even if my code could have been optimized), but I wanted to have different font size, different position, different placement in TOC (Appendix A - Title instea of just A Title), different page breaking, ... Though I still didn't figure out how to have Appendix A - also printed out in TOC (instead of plain A). So I simply defined another type of section (faster solution than figuring out how to change appearance of chapter in appendices only). \chapter{} and \section{} get put into the TOC. (However, there is a bug and they do not get the proper label: \setlabeltext [appendix=Appendix ] in the head; \setlabeltext [chapter=Chapter ] in the list.) \appendix{} does not get put into the TOC so it works like \title{} rather than \chapter{} I defined the second list for that purpose (really ugly, but the fastest way to get it done). But there was a tiny problem with that as well (mkii more problematic) - I didn't manage to get the spacing between two consecutive lists right. For example (compare mkii and mkiv): \definecombinedlist [contenta] [chapter,section] [level=section, criterium=all,alternative=c,aligntitle=yes,width=2.5em] \setuplist [chapter] [style=bold] \setupwhitespace[big] \starttext \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \blank % no effect in mkii at all - remains too narrow \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \blank\blank[big] \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \crlf % too big \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \chapter{a} \section{a.1} \section{a.2} \chapter{b} \section{b.1} \section{b.2} \stoptext Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] metapost
On 17-2-2010 22:18, Martin 'golodhrim' Scholz wrote: Hi list, does anybody know how I could start metapost itself standalone from the context-minimals? mpost is telling me there is no mpost.mem and no plain.mem file so it can not start... Thanks for any hint... i nowadays never call mpost, i just do \startMPpage code \stopMPpage and process that with context 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 - ___ 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] metapost
On Wed, Feb 17, 2010 at 22:18, Martin 'golodhrim' Scholz wrote: Hi list, does anybody know how I could start metapost itself standalone from the context-minimals? mpost is telling me there is no mpost.mem and no plain.mem file so it can not start... Thanks for any hint... You can try texexec --make mpost Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv
On 17-2-2010 22:30, Mojca Miklavec wrote: I defined the second list for that purpose (really ugly, but the fastest way to get it done). But there was a tiny problem with that as well (mkii more problematic) - I didn't manage to get the spacing between two consecutive lists right. For example (compare mkii and mkiv): concerning tricks ... today i defined the hybrids between chapter/title, section/subject etc \definehead[chaptle] [chapter] \definehead[suction] [section] \definehead[subsuction] [subsection] \definehead[subsubsuction][subsubsection] \setuphead [chaptle,suction,subsuction,subsubsuction] [incrementnumber=list] no numbers but title goes to toc. I might even add them to the core some day 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 - ___ 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] MkIV \placecontent [level=section]
Am 17.02.10 14:54, schrieb Alan BRASLAU: \placecontent[level=section] or \completecontent [level=section] doesn't seem to work in MkIV, that is level= is ignored. Not supported in MkIV, write \placelist[chapter,section] 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] metapost
On Wed, Feb 17, 2010 at 22:34, Mojca Miklavec wrote: On Wed, Feb 17, 2010 at 22:18, Martin 'golodhrim' Scholz wrote: Hi list, does anybody know how I could start metapost itself standalone from the context-minimals? mpost is telling me there is no mpost.mem and no plain.mem file so it can not start... Thanks for any hint... You can try texexec --make mpost There's also a switch --formats=... in mtx-update.lua (that is, one can call first-setup.sh with --formats=... switch), but I have probably not tested that yet. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] gnuplot in mkiv
On Wed, Feb 17, 2010 at 20:19, Peter Münster wrote: On Wed, Feb 17 2010, Martin 'golodhrim' Scholz wrote: is a direct usage of gnuplot in ConTeXt MKIV possible Yes. Example: \usemodule[gnuplot] \setupGNUPLOT[terminal=png] \startGNUPLOTscript[sin] plot sin(x) \stopGNUPLOTscript \starttext \useGNUPLOTgraphic[sin] \stoptext The context terminal should also work (that is: you may leave out the \setupGNUPLOT[terminal=png] or replace png with context that's default anyway), but you need some special effort to compile the terminal: git clone git://github.com/mojca/gnuplot.git ./prepare ./configure make If you would like to keep using that, you can do yourself and others the favor and write a request to gnuplot-b...@lists.sourceforge.net to include the terminal in gnuplot's CVS (they say that not enough people have tested and/or requested its inclusion). An alternative is to use the lua-tikz terminal. Peter has an almost-working version that should produce almost-valid (not yet optimized and maybe not completely future-proof yet) ConTeXt output, but is not included in official gnuplot version yet (and also the gnuplot module in ConTeXt needs to be polished a bit in that respect). Using tikz is not ready yet, but is doable if you have some patience. You may use [just-in-time or precompiled] PDF/PS/PNG terminals of course, but you won't be able to add TeX labels and use native document fonts. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [dev-context] 2 columns itmize in letter module possible
Am 17.02.10 22:57, schrieb Jörg Hecke: Hi Wolfgang, sorry for bothering you again. I am using your letter module, but it seems that I am not able to use a 2 column itemize environment? No idea what’s the problem but as a workaround you can use this: \startsimplecolumns[n=2] \startitemize \item ... \stopitemize \stopsimplecolumns \startletter [subject=Verteiben der Position \quotation{nicht hier {\bf B11r} }, opening=Sehr geehrter Herr nicht Hier\textcomma, closing=Mit freundlichen Grüßen\crlf\crlf\crlf Jörg Hecke] \setupletterstyle[closing][inbetween={\blank[3*line]}] \startletter [subject={Vertreiben der Position \quotation{nicht hier {\bf B11r}}}, opening={Sehr geehrter Herr nicht Hier,}, closing={Mit freundlichen Grüßen}, signature={Jörg Hecke}] 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] Magazine imposition.
A person has asked for a solution to this problem: print a dual magazine where the first half is a regular magazine, but the second half is a magazine with the pages upside down with respect to the first half. In other words the back cover is really the front cover of the second magazine. I assume that the page counts of each magazine are equal. I know that Context has an extensive imposition capability but I don't think this particular problem has been addressed. -- John Culleton Create Book Covers with Scribus Printable E-book 38 pages $5.95 http://www.booklocker.com/books/4055.html ___ 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] CritTeXt
Hi people, I've tried to get into contact with Idris Hamid but got no reply so far. Can anybody tell what's the status of the CritTeXt packet? Is there already anything to play around with? Are there any alternatives for critical editing, would it be possible to get old Edmac running wit ConTeXt for example? Greetings, D.Stender ___ 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] CritTeXt
+1 On Thu, Feb 18, 2010 at 8:22 AM, Daniel Stender dan...@danielstender.com wrote: Hi people, I've tried to get into contact with Idris Hamid but got no reply so far. Can anybody tell what's the status of the CritTeXt packet? Is there already anything to play around with? Are there any alternatives for critical editing, would it be possible to get old Edmac running wit ConTeXt for example? Greetings, D.Stender ___ 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 ___ -- luigi ___ 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 ___