Re: [NTG-context] Ideas for restructuring the ConTeXt garden?
Yes, I see that would be a non-trivial problem. Maybe as a stop-gap some ConTeXt files could be provided which at least roughly emulate a few standard LaTeX styles? -Alasdair On Mon, Mar 14, 2011 at 3:54 PM, Aditya Mahajan wrote: > On Mon, 14 Mar 2011, Alasdair McAndrew wrote: > > For example. the LaTeX ieee.sty is available at >> http://delphiwww.cern.ch/delphi$www/private/det/stc/ieee94/mp/ieee.styand >> ACM styles at http://www.acm.org/publications/latex_style/. How hard >> would >> it be to emulate these in ConTeXt? >> > > The hard part is figuring out the values (font size, spaces after sections, > etc) from the LaTeX code. It is difficult to look at > http://mirror.hmc.edu/ctan/macros/latex/contrib/IEEEtran/IEEEtran.cls and > figure out what is the title size for a 10pt document, or how much space > should come between the author block and the start of the two column text, > etc. > > Reverse engineering these values is no fun. That is why I am saying that an > *exact and complete* spec is needed. > > 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 > > ___ > -- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew ___ 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] Ideas for restructuring the ConTeXt garden?
On Mon, 14 Mar 2011, Alasdair McAndrew wrote: For example. the LaTeX ieee.sty is available at http://delphiwww.cern.ch/delphi$www/private/det/stc/ieee94/mp/ieee.sty and ACM styles at http://www.acm.org/publications/latex_style/. How hard would it be to emulate these in ConTeXt? The hard part is figuring out the values (font size, spaces after sections, etc) from the LaTeX code. It is difficult to look at http://mirror.hmc.edu/ctan/macros/latex/contrib/IEEEtran/IEEEtran.cls and figure out what is the title size for a 10pt document, or how much space should come between the author block and the start of the two column text, etc. Reverse engineering these values is no fun. That is why I am saying that an *exact and complete* spec is needed. 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] Ideas for restructuring the ConTeXt garden?
For example. the LaTeX ieee.sty is available at http://delphiwww.cern.ch/delphi$www/private/det/stc/ieee94/mp/ieee.sty and ACM styles at http://www.acm.org/publications/latex_style/. How hard would it be to emulate these in ConTeXt? -Alasdair On Mon, Mar 14, 2011 at 2:32 PM, mathew wrote: > On Sun, Mar 13, 2011 at 19:07, Alasdair McAndrew wrote: > > Speaking as a raw ConTeXt beginner, I would find it very helpful to have > a > > library of different styles: LaTeX, journal, conference and book styles. > > This is what I've been setting out to do, build a set of examples. So > far I've got a custom font example (posted for comment last week) and > a personal letter template. > > I looked at the letter package, but that's far too general. I wanted > something simple and self-contained that I could take and modify, not > a framework. > > So yes, a set of examples of layouts is exactly what I would be likely > to use myself. > > > mathew > > ___ > 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 > > ___ > -- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew ___ 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] Ideas for restructuring the ConTeXt garden?
On Sun, Mar 13, 2011 at 19:07, Alasdair McAndrew wrote: > Speaking as a raw ConTeXt beginner, I would find it very helpful to have a > library of different styles: LaTeX, journal, conference and book styles. This is what I've been setting out to do, build a set of examples. So far I've got a custom font example (posted for comment last week) and a personal letter template. I looked at the letter package, but that's far too general. I wanted something simple and self-contained that I could take and modify, not a framework. So yes, a set of examples of layouts is exactly what I would be likely to use myself. mathew ___ 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] Ideas for restructuring the ConTeXt garden?
On Mon, 14 Mar 2011, Alasdair McAndrew wrote: Speaking as a raw ConTeXt beginner, I would find it very helpful to have a library of different styles: LaTeX, journal, conference and book styles. Although all the information is probably there, it is very scattered around though manuals, the wiki, and other documents, and so is in consequence not always easy to find. Why don't you create a wiki page with the **exact** specifications. Then others can write the ConTeXt code to show how to achieve that specification. We can perhaps have a cookbook section on the wiki, which can use these specification as exercises. Without the exact specification, it is very difficult to understand what a "journal" style or a "book" style means. Not all journals and books have the same style. 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] Ideas for restructuring the ConTeXt garden?
Speaking as a raw ConTeXt beginner, I would find it very helpful to have a library of different styles: LaTeX, journal, conference and book styles. Although all the information is probably there, it is very scattered around though manuals, the wiki, and other documents, and so is in consequence not always easy to find. cheers, Alasdair On Mon, Mar 14, 2011 at 7:34 AM, Aditya Mahajan wrote: > On Sat, 12 Mar 2011, Henry House wrote: > > Procházka Lukáš wrote: >> [...] >> >>> 5) how to better promote context to new/latex users? >>> >>> For LaTeX incomers: it would be good to provide a sample setup (module?) >>> which would make Ctx generated .pdf looking very closely to that been >>> generated by LaTeX. >>> >>> Now, if you see a .pdf document and you are familiar with LaTeX, you >>> recognize immediately whether or not it was generated by LaTeX (Word's >>> signature is also unmatchable). >>> >> > I don't think that we should try to copy that style. > > > The perfect feature of ConTeXt is that all these features may be >>> systematically altered (often [almost] impossible in LaTeX) but you must >>> search enough and study (and maybe ask the forum) to get the result which >>> would fulfil your aesthetic requirements. >>> >> >> I strongly agree that sample set-up code (ideally well-commented so that >> it also serves as a tutorial of sorts) to reproduce the style of LaTeX >> would be helpful. >> > > A better idea will be to show how to create ConTeXt style files for well > defined styles e.g., style for some journal, say AMS or IEEE, or even the > style of LaTeX (if someone can point out its exact specification) > > > The appearance of LaTeX documents isn't perfect but it >> produces reasonably high-quality results suitable for complex technical >> documents right out of the box of the box without any tweaking, whereas >> ConTeXt requires (at least it did for me) some trouble to set it up for >> the first time. To some extent this is not because of the merit of the >> LaTeX design itself but the fact that it is familiar and therefore >> highly readable to someone used to reading it. It is also the point of >> departure for a LaTeX user wanting to convert to using ConTeXt; hence, i >> would imagine many such people would prefer to tweak a LaTeX-like >> document appearance to better suit their needs rather than starting with >> something quite different. Certainly, this was the case for me; being >> basically satisfied with my LaTeX documents but wanting more control and >> the option to use the advanced features of ConTeXt. Having sample set-up >> code that emulated LaTeX would have eased the initial transition for me. >> > > I agree, partially. One of the difficulties in getting a good design with > ConTeXt is that you should know what a good design is! It you have a > pre-specified style guideline, then it is easy to reproduce it in ConTeXt. > If not, you can be stuck up experimenting whether you the space above a > section be twice as big the space below it or the other way round. > > 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 > > ___ > > -- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew ___ 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] Minimals (was: Ideas for restructuring the ConTeXt garden?)
Am 2011-03-13 um 06:03 schrieb Pontus Lurcock: I have the minimals installed but with no automatic setup in .bashrc or similar. So when I need to run ConTeXt, I fire up a new terminal and explicitly ‘source /path/to/minimals/context/tex/setuptex’ before doing anything else. Anything I run in a different terminal just gets the standard paths for the system's TeXLive installation. I do the same on OSX (even if simply because setuptex is too slow for every new Terminal window, where I don’t need it) but set alias setuptex='. /path/to/tex/setuptex /path/to/tex' in my .bashrc (or .profile, that is). Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] simpleslides/metapost bug ?
On Fri, 11 Mar 2011 16:02:32 +0100 zs wrote: Hello everybody. Can you please confirm that following code fails: \usemodule[simpleslides] \starttext \IncludePicture[horizontal][cow][highlight=yes, alternative=circle, x=1, y=1, xscale=1, yscale=1, shadow=bottomleft]{hello} \stoptext And this does not: \usemodule[simpleslides] \starttext \IncludePicture[horizontal][cow][highlight=no, alternative=circle, x=1, y=1, xscale=1, yscale=1, shadow=bottomleft]{hello} \stoptext It seems like something goes wrong when circle is made. I can't find what is wrong from error messages. I will be back on Friday next week to answer. Regards Zdenek Hi, what fails is the shadow for the highlight. Aditya wrote this code, so please curse him :-) I must admit I don't really understand what he did there. As a workaround (or solution?): line 835 of simpleslides-s-default.tex: withcolor transparent ("normal", replace this with withcolor transparent (1, We'll upload a new version when we've found out why this doesn't work anymore! HTH 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 ___
Re: [NTG-context] Is Minimals ready for non-developers to use?
On Sun, Mar 13, 2011 at 17:16, Tom wrote: > Dalyoung, > > I attempted to install Minimals on my Windows system--twice--to no avail. I > selected the current option because I don't want to be constantly updating > the software when I am not using anything that remotely resembles cutting > edge features. There is one thing that is not completely bullet proof. It may happen that "current" stops working when luatex is updated. I will fix this one day (but not right now). It is a bit unfortunate. Can you please try to fetch the beta version instead of current and possibly send the complete from "context --make" and other functions? All you should need is: - fetching & extracting the zip - running first-setup.bat - set path (using C:/ctm/context/tex/setuptex or explicitely) - should not be necessary, but try mtxrun --generate context --make context your-document That should suffice, at least in theory. 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] Ideas for restructuring the ConTeXt garden?
On Sat, 12 Mar 2011, Henry House wrote: Procházka Lukáš wrote: [...] 5) how to better promote context to new/latex users? For LaTeX incomers: it would be good to provide a sample setup (module?) which would make Ctx generated .pdf looking very closely to that been generated by LaTeX. Now, if you see a .pdf document and you are familiar with LaTeX, you recognize immediately whether or not it was generated by LaTeX (Word's signature is also unmatchable). I don't think that we should try to copy that style. The perfect feature of ConTeXt is that all these features may be systematically altered (often [almost] impossible in LaTeX) but you must search enough and study (and maybe ask the forum) to get the result which would fulfil your aesthetic requirements. I strongly agree that sample set-up code (ideally well-commented so that it also serves as a tutorial of sorts) to reproduce the style of LaTeX would be helpful. A better idea will be to show how to create ConTeXt style files for well defined styles e.g., style for some journal, say AMS or IEEE, or even the style of LaTeX (if someone can point out its exact specification) The appearance of LaTeX documents isn't perfect but it produces reasonably high-quality results suitable for complex technical documents right out of the box of the box without any tweaking, whereas ConTeXt requires (at least it did for me) some trouble to set it up for the first time. To some extent this is not because of the merit of the LaTeX design itself but the fact that it is familiar and therefore highly readable to someone used to reading it. It is also the point of departure for a LaTeX user wanting to convert to using ConTeXt; hence, i would imagine many such people would prefer to tweak a LaTeX-like document appearance to better suit their needs rather than starting with something quite different. Certainly, this was the case for me; being basically satisfied with my LaTeX documents but wanting more control and the option to use the advanced features of ConTeXt. Having sample set-up code that emulated LaTeX would have eased the initial transition for me. I agree, partially. One of the difficulties in getting a good design with ConTeXt is that you should know what a good design is! It you have a pre-specified style guideline, then it is easy to reproduce it in ConTeXt. If not, you can be stuck up experimenting whether you the space above a section be twice as big the space below it or the other way round. 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] math spacing
On Sun, Mar 13, 2011 at 13:16, Hans van der Meer wrote: > > It might be that I am missing something here. But I don not understand why in > the math expression below the spacing behind the letters is different. With > this behaviour it seems impossible to name a variable PYR and have it typeset > as such. > > Hans van der Meer > > > \starttext > $\tfd Q,Y,N,P,Y,Z \quad PYR$ > \stoptext I don't know enough about the zillions of math parameters in fonts, but you will notice exactly the same behaviour in plain TeX. If you need to have a variable PYR, you should probably do \def\PYR{PY\kern-2ptR} $\PYR$ (modify kerning at your own will; you might also want to use em instead of pt units, or you could use \! if you don't need to be too accurate) The extensive original spacing is most probably related to the fact that in mathematics you usually mean multiplication when you write one letter after the other. In other cases (for example when you have a function like "sin", "cos", "lim", ...) the spacing will look better. Still, the fact that there is such a huge difference between PY and YR looks more like a tiny font bug to me (but it is already present in CM, so LM is unlikely to change it, at least until they switch to OpenType Math). 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 ___
[NTG-context] Is Minimals ready for non-developers to use?
Dalyoung, I attempted to install Minimals on my Windows system--twice--to no avail. I selected the current option because I don't want to be constantly updating the software when I am not using anything that remotely resembles cutting edge features. I am using a short, lower-case directory name as suggested. MKII appears to work fine but I get the following messages when I try to compile Hello.tex: MTXrun | forcing cache reload MTXrun | resolvers: loading configuration file 'C:/ctm/context/tex/texmf/web2c/texmfcnf.lua' MTXrun | resolvers MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-context.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' I also get similar errors when attempting to run the following: mtxrun --selfupdate mtxrun --generate luatools --generate context --make >From the message archives I see that others have had similar problems but I don't understand what the suggested fixes were. One massage stated that the instructions on ConTeXtGarden were deprecated, but I don't know if the instructions have been changed since that time. Do you have any idea what the problem might be? Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Jeong Dalyoung Sent: Sunday, March 13, 2011 8:49 AM To: ntg-context@ntg.nl Subject: Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV Dear Tom, What version are you using? I am using minimal not TeXlive2010. Of course, there are some bugs in beta. But it would be fixed soon. Moreover, you can have more than one Minimal folder. So it is easy to use stable version if the beta has bugs. BTW, where did you read to use front part instead of frontmatter? There was a thread whose title is "Roman Page numbers". And among the mails on 2009. 2. 4, there was a sample written by Wolfgang . \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1] \stopstructureblockenvironment \starttext \startfrontmatter \completecontent[criterium=all] \chapter{Intro} \input tufte \stopfrontmatter \startbodymatter \chapter{knuth} \input knuth \stopbodymatter \stoptext Mailing list is a good place for me to learn ConTeXt. There are so many things which are not described in the manual. I cannot give you a solution. But many experts who are reading this list will give you a solution. Cheers, Dalyoung ___ 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] change interwordspace twice
Just as a last question on the ratio interwordspace/spaceskip: When I read the info from \showpardata. And it says, eg.: lmroman12-regular interwordspace: 3.912pt interwordstretch: 1.956pt inerwordshrink: 1.304pt Does that mean, I would achieve exactly the same (default) by writing this? \spaceskip3.912pt plus1.956pt minus1.304pt 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] $n\choose k$-issue with OpenType math fonts
Am 13.03.2011 um 16:51 schrieb Aditya Mahajan: > On Sun, 13 Mar 2011, Andreas Harder wrote: > >> I'm afraid, I don't get it. Here is what I tried: >> I copied all stack-relevant values from asana-math.tma and put them in = >> the return section of the goodies file (like showed in lm-math.lfg). But = >> even if I set all values to zero, the output remains the same. Im I = >> doing something wrong?=20 >> >> [snip] >> >> return { >> name = "lm-asana", >> version = "1.00", >> comment = "Goodies that complement asana.", >> author = "Hans Hagen", >> copyright = "ConTeXt development team", >> parameters = { -- test values >> -- data = { >> metadata = { >> math = { >> StackBottomDisplayStyleShiftDown = 0, >> StackBottomShiftDown = 0, >> StackDisplayStyleGapMin = 0, >> StackGapMin = 0, >> StackTopDisplayStyleShiftUp = 0, >> StackTopShiftUp = 0, >> StretchStackBottomShiftDown = 0, >> StretchStackGapAboveMin = 0, >> StretchStackGapBelowMin = 0, >> StretchStackTopShiftUp = 0, >> }, >> }, >> -- }, >> }, >> } > > The return name "lm-asana" is a bit strange. I am not sure if that is > relevant or not. I think "lm-asana" is right, otherwise compilation ends with " Math error: parameter \Umathquad\displaystyle is not set." Andreas ___ 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] $n\choose k$-issue with OpenType math fonts
On Sun, 13 Mar 2011, Andreas Harder wrote: I'm afraid, I don't get it. Here is what I tried: I copied all stack-relevant values from asana-math.tma and put them in = the return section of the goodies file (like showed in lm-math.lfg). But = even if I set all values to zero, the output remains the same. Im I = doing something wrong?=20 [snip] return { name = "lm-asana", version = "1.00", comment = "Goodies that complement asana.", author = "Hans Hagen", copyright = "ConTeXt development team", parameters = { -- test values -- data = { metadata = { math = { StackBottomDisplayStyleShiftDown = 0, StackBottomShiftDown = 0, StackDisplayStyleGapMin = 0, StackGapMin = 0, StackTopDisplayStyleShiftUp = 0, StackTopShiftUp = 0, StretchStackBottomShiftDown = 0, StretchStackGapAboveMin = 0, StretchStackGapBelowMin = 0, StretchStackTopShiftUp = 0, }, }, -- }, }, } The return name "lm-asana" is a bit strange. I am not sure if that is relevant or not. 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] $n\choose k$-issue with OpenType math fonts
Am 06.03.2011 um 15:33 schrieb Hans Hagen: > On 6-3-2011 1:22, Andreas Harder wrote: > >> I don't know the best value either, but et least one could manipulate it. > > the next beta will support parameter overload in the goodies > >parameters = { -- test values >FactorA = 123.456, >FactorB = false, >FactorC = function(value,target,original) return 7.89 * > target.factor end, >FactorD = "Hi There!", >}, I'm afraid, I don't get it. Here is what I tried: I copied all stack-relevant values from asana-math.tma and put them in the return section of the goodies file (like showed in lm-math.lfg). But even if I set all values to zero, the output remains the same. Im I doing something wrong? asana-math.lfg Description: Binary data test-goodies.tex Description: Binary data Greeting Andreas___ 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] Am not getting Roman numeral page numbers in MKIV
Dear Tom, > > What version are you using? > I am using minimal not TeXlive2010. Of course, there are some bugs in beta. But it would be fixed soon. Moreover, you can have more than one Minimal folder. So it is easy to use stable version if the beta has bugs. > > BTW, where did you read to use front part instead of frontmatter? > There was a thread whose title is "Roman Page numbers". And among the mails on 2009. 2. 4, there was a sample written by Wolfgang . \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1] \stopstructureblockenvironment \starttext \startfrontmatter \completecontent[criterium=all] \chapter{Intro} \input tufte \stopfrontmatter \startbodymatter \chapter{knuth} \input knuth \stopbodymatter \stoptext Mailing list is a good place for me to learn ConTeXt. There are so many things which are not described in the manual. I cannot give you a solution. But many experts who are reading this list will give you a solution. Cheers, Dalyoung ___ 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] math spacing
Am 13.03.2011 um 13:16 schrieb Hans van der Meer: > It might be that I am missing something here. But I don not understand why in > the math expression below the spacing behind the letters is different. With > this behaviour it seems impossible to name a variable PYR and have it typeset > as such. It’s font related: \starttext \dontleavehmode\ruledhbox{$Q$}\ruledhbox{$Y$}\ruledhbox{$N$} \switchtobodyfont[pagella] \dontleavehmode\ruledhbox{$Q$}\ruledhbox{$Y$}\ruledhbox{$N$} \switchtobodyfont[termes] \dontleavehmode\ruledhbox{$Q$}\ruledhbox{$Y$}\ruledhbox{$N$} \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 ___
[NTG-context] math spacing
It might be that I am missing something here. But I don not understand why in the math expression below the spacing behind the letters is different. With this behaviour it seems impossible to name a variable PYR and have it typeset as such. Hans van der Meer \starttext $\tfd Q,Y,N,P,Y,Z \quad PYR$ \stoptext ConTeXt ver: 2011.02.25 22:03 MKIV fmt: 2011.3.11 int: english/english 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] why this error?
Am 13.03.2011 um 00:29 schrieb Pontus Lurcock: > I managed to fix this simply by removing the \usemodule[bib] from my > source file -- as if by magic, the bibliography kept working! There is no magic happening, Hans added just the module as a core function which is always present. 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] hanging on missing picture
On 12-3-2011 2:39, Taco Hoekwater wrote: On 12 mrt. 2011, at 14:23, Hans van der Meer wrote: Requesting a non-existing picture does not produce a warning message, but makes ConTeXt hang. An abort is the only thing that helps. It would however be nice if a "missing file" warning is given. A minimal example that shows me the hang: That is not supposed to happen, I think. Normally, you would get a gray box in thr pdf to indicate that the figure was not found. there should be a \normalexpanded in here: \def\externalfigurereplacement#1#2#3% {\setupcolors [\c!state=\v!local]% \normalexpanded{\localframed [\??ef] [\c!width=\figurewidth, \c!height=\figureheight, \c!background=\v!color, \c!backgroundcolor=missingfigurecolor, \c!frame=\@@efframe]}% we need to expand this in order to prevent a loop {\tt\tfxx \nohyphens name: \expanded{\verbatimstring{#1}}\\% file: \expanded{\verbatimstring{#2}}\\% state: \expanded{\verbatimstring{#3 - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 ___
[NTG-context] "latex style" (was : Re: Ideas for restructuring the ConTeXt garden?)
Henry House writes: > I strongly agree that sample set-up code (ideally well-commented so that > it also serves as a tutorial of sorts) to reproduce the style of LaTeX > would be helpful. If you agree, that http://pmrb.free.fr/work/OS/ConTeXt/arbeit.pdf is standard latex style (or koma-script, I don't remember...), then you could use http://pmrb.free.fr/work/OS/ConTeXt/e-phd.tex as starting point. I don't know how useful it is today, perhaps it's completely outdated... -- Peter ___ 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] Ideas for restructuring the ConTeXt garden?
On Sat, 12 Mar 2011 15:35:54 -0800 Henry House wrote: I strongly agree that sample set-up code (ideally well-commented so that it also serves as a tutorial of sorts) to reproduce the style of LaTeX would be helpful. The appearance of LaTeX documents isn't perfect but it produces reasonably high-quality results suitable for complex technical documents right out of the box of the box without any tweaking, whereas ConTeXt requires (at least it did for me) some trouble to set it up for the first time. To some extent this is not because of the merit of the LaTeX design itself but the fact that it is familiar and therefore highly readable to someone used to reading it. It is also the point of departure for a LaTeX user wanting to convert to using ConTeXt; hence, i would imagine many such people would prefer to tweak a LaTeX-like document appearance to better suit their needs rather than starting with something quite different. Certainly, this was the case for me; being basically satisfied with my LaTeX documents but wanting more control and the option to use the advanced features of ConTeXt. Having sample set-up code that emulated LaTeX would have eased the initial transition for me. Pardon my French, but this thread is getting less and less useful, probably because it addresses too many issues at a time. It is rapidly degenerating from a "how to restructure the garden" into a "things I wish others would do so my life becomes easier." If someone says "I added a section to the wiki which explains which ConTeXt settings will give a document equivalent to LaTeX XXX class," fine - I would consider this superfluous, but it may help some people. But even strongly agreeing that somebody else should write a tutorial isn't getting any work done. And the assumption that most or all ConTeXt users are, at their heart, LaTeX renegades is not true, I think. Many advanced users haven't used LaTeX ever or in a long time and wouldn't want to waste their time on learning it just for the sake of such a comparison. Sorry for being so blunt, but I think this will be more helpful if we stay focussed. 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 ___
Re: [NTG-context] Minimals
On Sun, Mar 13, 2011 at 8:56 AM, Taco Hoekwater wrote: > On 03/13/2011 08:42 AM, Alan BRASLAU wrote: >> >> On Sunday 13 March 2011 07:25:03 luigi scarso wrote: >>> >>> On Sun, Mar 13, 2011 at 6:03 AM, Pontus Lurcock wrote: On Sat 12 Mar 2011, mathew wrote: > > My experience on Ubuntu is that if you install the ConTeXt minimals > in your path, they break a bunch of stuff from TeXLive, such as > pdfcrop. I have the minimals installed but with no automatic setup in .bashrc or similar. So when I need to run ConTeXt, I fire up a new terminal and explicitly ‘source /path/to/minimals/context/tex/setuptex’ before doing anything else. Anything I run in a different terminal just gets the standard paths for the system's TeXLive installation. >>> >>> this is the right way to work with minimals (in linux is easy than >>> windows). >> >> Except if one works principly with ConTeXt, in which case it is much >> nicer to have /path/to/minimials by default in PATH. >> >> I do the opposite: if ever I need to use latex (lualatex!), > > If I need lualatex, I just push the TeXLive bin directory to the front > of my path. (exact opposite of Pontus' approach). ah ok, now I see. My PATH env var. has not a TeXLive or minimals path by default. Every time I need a TeXLive or minimals, I open a shell and setup the its path and I never mix the paths --- just open another shell in another working spaces (In linux I use 16 working spaces) or another tab in gnome-terminal. In this way I can work with different TeXLive and different minimals For example I have under /opt/luatex/texlive 2008 2008-texmf-local 2009 2009-texmf-local 2010 2010-texmf-local and ~10 different minimals under opt/luatex Of course this can be a problem with editors that expect just one path, but I use emacs, so... -- 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 ___