[NTG-context] formulas (display math) and grid
I have a layout using a columset and grid. When I insert a formula into a column of text, the text following the formula is not snapped to the grid, and the next paragraph is not indented. How can I make the text return to the grid after a formula? And have normal paragraph indentation? \input tufte\par \placeformula\startformula q = \delta \frac{\partial p}{\partial x} = \delta(\phi) p_{vsat}(\theta) \frac{\partial \phi}{\partial x} = \left[ \frac{\delta_a}{\mu(\theta)} p_{vsat}(\theta) \right] \frac{\partial \phi}{\partial x} \stopformula \input tufte\par Thanks, -- Peter Park Nelson peter.park.nel...@gmail.com ___ 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] Broken Nightly (2012.01.23)
On Wed, 2012-01-25 at 00:11 +0100, Wolfgang Schuster wrote: > This is already fixed. > > mtx-context | current version: 2012.01.24 18:49 Thanks. I'll let you know if the new package works. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] \externalfigure and file size
On Sat, 2012-01-21 at 01:07 +0100, Hans Hagen wrote: > no, png, jpg and pdf are supported directly (as is mp) but fo rother > formats it will either try to find a replacement (there is a whole chain > of lookups) or it will try to run one of the configured converters ... with > > \enabletrackers[graphics.*] > > you can see what happens I tried the above command and it didn't appear to do anything. =( -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] \externalfigure and file size
On Tue, 2012-01-24 at 12:14 +0100, Marco wrote: > A more user friendly error message > would be: > > !LuaTeX error: cannot find inkscape to convert image file 'pic.svg' > ==> Fatal error occurred, no output PDF file produced! Agreed. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Broken Nightly (2012.01.23)
Am 25.01.2012 um 00:02 schrieb Kip Warner: > Hey Hans et al., > > Using ConTeXt ver: 2012.01.23 19:45 MKIV fmt: 2012.1.24 int: > english/english and LuaTeX, Version beta-0.71.0-2012012215 (rev 4358), I > get the following error while typesetting my book: > > ! Undefined control sequence. > \doconvertedstructurecounter >[\v!formula ][] This is already fixed. mtx-context | current version: 2012.01.24 18:49 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] Broken Nightly (2012.01.23)
Hey Hans et al., Using ConTeXt ver: 2012.01.23 19:45 MKIV fmt: 2012.1.24 int: english/english and LuaTeX, Version beta-0.71.0-2012012215 (rev 4358), I get the following error while typesetting my book: ! Undefined control sequence. \doconvertedstructurecounter [\v!formula ][] \flushbothlabelclass #1#2#3->#1#3 #2 ...spaces \doplacecurrentformulanumber \removeunwantedspaces \dos... \flushbothlabelclass #1#2#3->#1#3 #2 \namedtaggedlabeltexts ...\dostarttagged {#1}{#2}} \dostoptagged \endgroup \placecurrentformulanumber ...moveunwantedspaces } \formulaparameter \c! right... ... l.120 \stopformula ? E You want to edit file Source/Terms_and_Concepts/Terms_and_Concepts.tex at line 120 The line it is referring to is the last line of the following code snippet: ... \placeformula[formula:Verhulst equation] \startformula \math{P(t) = \frac{K P_0 {\it e}^{rt}} {K + P_0({\it e}^{r t} - 1)}} \stopformula % Line 120 ... -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] beta
On 24-1-2012 14:15, Otared Kavian wrote: Hi Hans, I updated to the beta (2012.01.24) and doing my usual test suites, I encountered two bugs: one is with \placeformula, another with \int. My minimal test with mkiv is: fixed - 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 ___
Re: [NTG-context] beta
Hi Hans, I updated to the beta (2012.01.24) and doing my usual test suites, I encountered two bugs: one is with \placeformula, another with \int. My minimal test with mkiv is: \starttext Here is a well-known identity due to Leonhard Euler in which the five most important numbers appear: \placeformula[eq:Euler] \startformula {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \mbox{where}\; {\rm i} := \sqrt{-1}. \stopformula By the way, $\int_{0}^{2\pi} \sin(x)dx = 0$. \stoptext and the error message, concerning \placeformula, points to: \doconvertedstructurecounter [\v!formula ][] \flushbothlabelclass #1#2#3->#1#3 #2 ...spaces \doplacecurrentformulanumber \removeunwantedspaces \dos... \flushbothlabelclass #1#2#3->#1#3 #2 \namedtaggedlabeltexts ...\dostarttagged {#1}{#2}} \dostoptagged \endgroup \placecurrentformulanumber ...moveunwantedspaces } \formulaparameter \c!right… while the error message concerning to \int seems to say that \int is not defined. Everything is fine with mkii. Best regards: OK On 24 janv. 2012, at 11:28, Hans Hagen wrote: > Hi, > > I uploaded a beta to the website. The most important upgrades concern the > font subsystem. > > - there was still some mkii code around ... all that has gone ... as a > consequence all code has been overhauled (a rather tedious job) ... some code > might be a bit faster (but nothing fundamental changed) > > - designsizes are now dealt with in a different way but as only lm has them > no one will probably notice .. anyway it saves a lot of definitions and (at > least on my machine) the start up is somewhat faster > > - the type-otf file is no longer used but its content has been distributed > over a some smaller files ... loading these files is rather automatic and it > should be compatible .. again this might give a (small) startup speed > improvement (and a bit less memory which quite certainly goes unnoticed > compared to the average memory usage) > > - bodyfont environments are a bit more flexible now which was one of the > reasons for rewriting much code as there is some complex inheritance and > defaulting going on there > > - Wolfgang is adapting / extending the simple fonts code but in principle it > should still work > > In addition, the lists related code has been reorganized / redone and it > seems to be ok. There have been some conceptual changes to the list rendering > (easier for future extensions) but old commands still apply. It's anyhow > still somewhat experimental. > > Of course there are some fixes and other cleanups done. > > Hans > > - > 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 > ___ ___ 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] \externalfigure and file size
On 2012-01-23 Kip Warner wrote: > IfInkscape isn'tinstalledand theuser > \externalfigure's an SVG, is an error raised with > ConTeXt? Yes and no. An error is raised, but no hint that inkscape is missing. ConTeXt says: !LuaTeX error: cannot find image file 'm_k_i_v_pic.pdf' ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 70 It assumes that the conversion was successful and the converted file is present, that's at least what I read from the error message. A more user friendly error message would be: !LuaTeX error: cannot find inkscape to convert image file 'pic.svg' ==> Fatal error occurred, no output PDF file produced! Marco ___ 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] beta
Hi, I uploaded a beta to the website. The most important upgrades concern the font subsystem. - there was still some mkii code around ... all that has gone ... as a consequence all code has been overhauled (a rather tedious job) ... some code might be a bit faster (but nothing fundamental changed) - designsizes are now dealt with in a different way but as only lm has them no one will probably notice .. anyway it saves a lot of definitions and (at least on my machine) the start up is somewhat faster - the type-otf file is no longer used but its content has been distributed over a some smaller files ... loading these files is rather automatic and it should be compatible .. again this might give a (small) startup speed improvement (and a bit less memory which quite certainly goes unnoticed compared to the average memory usage) - bodyfont environments are a bit more flexible now which was one of the reasons for rewriting much code as there is some complex inheritance and defaulting going on there - Wolfgang is adapting / extending the simple fonts code but in principle it should still work In addition, the lists related code has been reorganized / redone and it seems to be ok. There have been some conceptual changes to the list rendering (easier for future extensions) but old commands still apply. It's anyhow still somewhat experimental. Of course there are some fixes and other cleanups done. Hans - 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 ___
Re: [NTG-context] \note does not preserve formatting -- example
Am 24.01.2012 um 05:44 schrieb Peter Park Nelson: > After updating to the current beta, I discovered that the \note macro > does not format the note marker correctly. > > In the minimal example below, I define an item group for a > paragraph-formatted list of article authors, and an "affiliation" note > for a paragraph-formatted list of affiliations below them. (This is > fairly common in academic journals; I have left out most of the text > formatting.) > > The note marks for the third and fourth authors (Jones and Mandrell), > which are created using the \note macro to reference previous > affiliations, are too small and not bold. > > I would guess this is related to changes around line 122 of > strc-not.mkiv, dealing with the handling of note attributes (see: > \def\usenotestyleandcolor). > \setuppapersize[letter][letter] > > \defineitemgroup[Authorlist] > \setupitemgroup[Authorlist] > [each] > [text] > [symbol=0, Better use “symbol=none”. >margin=no, >align=normal, >width=-10pt, ??? >distance=0pt, >leftmargin=no, >location=top, >textdistance=big] > > \definenote[affiliation] > [numbercommand=\ss, Don’t misuse the number command key for style settings, use the numberstyle key. 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] \note does not preserve formatting -- example
Am 24.01.2012 um 05:44 schrieb Peter Park Nelson: > After updating to the current beta, I discovered that the \note macro > does not format the note marker correctly. > > In the minimal example below, I define an item group for a > paragraph-formatted list of article authors, and an "affiliation" note > for a paragraph-formatted list of affiliations below them. (This is > fairly common in academic journals; I have left out most of the text > formatting.) > > The note marks for the third and fourth authors (Jones and Mandrell), > which are created using the \note macro to reference previous > affiliations, are too small and not bold. > > I would guess this is related to changes around line 122 of > strc-not.mkiv, dealing with the handling of note attributes (see: > \def\usenotestyleandcolor). No, \usenotestyleandcolor is a internal command which pass the values of the style and color keys to the responsible mechanism. The problem is the way how you use the \note command. The \note command has two arguments, the first argument is for the note type (in your case affiliation) and the second for the reference. You can omit the first argument only when you try to print the number of the “footnote” note type but for all other types you need it. 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 ___