Re: [NTG-context] Math align in mkiv
Dear Otared, Am Mittwoch, den 07.12.2011, 05:11 +0100 schrieb Otared Kavian: Thank you having tested the file I sent. did the example work for you with MKIV in the past? As I suspected, your testing confirms that the change or the bug has been introduced in a recent version of ConTeXt mkiv, some time between October and late November. The version I am running is ConTeXt ver: 2011.11.29 23:11 MKIV fmt: 2011.12.2 int: english/english I can also reproduce that behavior using ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.25 int: english/english I think at some time in November Hans did some changes in math alignment after someone reported a bug, and Aditya said he wouldn't have time to (or could not) fix it. There were two issues and the corresponding messages in the archive [1][2]. So if these are related it should work for you using the version from November 24th. Thanks, Paul [1] http://www.ntg.nl/pipermail/ntg-context/2011/063428.html [2] http://www.ntg.nl/pipermail/ntg-context/2011/063451.html align-mkiv.pdf Description: Adobe PDF document %%% align-mkiv.tex % defining an alignment structure \definemathmatrix[alignedcases] [align={right,left,left}, distance=3pt, left={\left\{\;}, right={\right.}, style=\displaystyle] \starttext \startformula \startalignedcases \NC -\partial_t \Delta \psi + \Delta^2 \psi - \Delta \psi \NC = 0 \NC \quad \mbox{in }\, (0,\infty)\times \Omega \NR \NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR \NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega \NR \NC {\partial \psi \over \partial {\bf n}}(t,\sigma ) \NC = 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega. \stopalignedcases \stopformula \CONTEXT\ \contextmark\ \contextversion \stoptext 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] Error while compiling : ! String contains an invalid utf-8 sequence.
On 11/25/2011 09:09 PM, Hans Hagen wrote: It makes me wonder how Thomas gets his greek etc done in bibtex. To be quite honest: I rarely have more than a few words of Greek, and I wrap them up in \localgreek{} markup in my bibtex files, so I assume that's why I have never run into this problem. But it's another example to show that bibtex has huge problems outside of English (ASCII) range. It would be great if we could get rid of it ASAP... 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] Migrating from prosper to simpleslides in creating presentations
On 12/06/2011 11:40 PM, Pavneet Arora wrote: Thanks Wolfgang and Marco for the quick responses. Marco, `impressive' looks just the thing that will easily allow me to add transitions while still using simpleslides to get me going until I can do my own DIY slides. Regards. Glad you found a solution. Maybe just a word explaining why I find it a waste of time to do work on such transitions in simpleslides: even if we accept, for the sake of the argument, that such transitions are more than a mere distraction, it is almost impossible to get acceptable results across platforms and pdf viewers. Most viewers under linux will either not show transitions at all or show them in such an ugly way that your audience may leave in disgust. If something like this doesn't work, newbies will of course assume that it's the module's fault, while in reality, it's the implementation of the pdf viewer. Instead of having inconsistent and potentially unsatisfying results, I prefer to leave these transitions to outside tools. And a tiny bit of anecdotal evidence: I had been using a cube transition for a while in my classroom lectures. I thought it was cool. And then, one day, I was standing somewhere in the back of the classroom while I was changing slides with my remote control, and I saw the effect for the first time from the audience's point of view. The slide pretty much fills up the front wall of the classroom, and watching the cube turn was absolutely nauseating; I was surprised that none of the students had ever complained (or thrown up...). It was horrible, and I have given up all transitions ever since... 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] Migrating from prosper to simpleslides in creating presentations
On 7-12-2011 09:29, Thomas A. Schmitz wrote: Glad you found a solution. Maybe just a word explaining why I find it a waste of time to do work on such transitions in simpleslides: even if we Page transitions have always been part of context pdf support (not that I ever use them as I dislike them too much): \setuppagetransitions[random] No coding needed as it's a viewer control feature. 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 ___
[NTG-context] index (ignore spaces)
Hi, is it possible to enhance the \index command in order to be more tolerant with wrong set spaces? For example ... This is a test \index{Test} text. ... this would give (legitimately) double spaces between test and text. [This would help to finish original latex documents, for in latex authors can type that way] 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] Math align in mkiv
On 6-12-2011 22:52, Otared Kavian wrote: \definemathmatrix[alignedcases] [align={right,left,left}, distance=3pt, left={\left\{\;}, right={\right.}, style=\displaystyle] \starttext \startformula \startalignedcases \NC -\partial_t \Delta \psi + \Delta^2 \psi - \Delta \psi \NC = 0 \NC \quad \mbox{in }\, (0,\infty)\times \Omega \NR \NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR \NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega \NR \NC {\partial \psi \over \partial {\bf n}}(t,\sigma ) \NC = 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega. \stopalignedcases \stopformula \stoptext in math-ali.mkvi line 700 change \dosetmatrixcolumn into \doseteqaligncolumn 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 ___
[NTG-context] How to do coloured heads
Hello, I am new to all of this. First of all, thank you to everyone involved for such an awesome software package. I have been looking for something like this for a while for technical documentation for software projects and had no idea this even existed until... well, yesterday. So, I spent most of the day playing with it. However, I have not managed to work out how to get coloured heads. I am trying to have my section heads in darkgray. So I tried \setuphead[section][style=\tfb\ss\color[darkgray]] which results in a processing error and \setuphead[section][style=\tfb\ss{\color[darkgray]}] which seems to process, but does just not do anything (I did not actually expect that last one to work, but I got a bit desperate). While the manual is well written and certain well laid out, it does not quite work for me as a reference guide in that it does not seem to be complete. So a little help would be much appreciated. Thank you, Malte. ___ 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] How to do coloured heads
On 2011-12-07 21:03, Malte Stien wrote: Hello, I am new to all of this. First of all, thank you to everyone involved for such an awesome software package. I have been looking for something like this for a while for technical documentation for software projects and had no idea this even existed until... well, yesterday. So, I spent most of the day playing with it. However, I have not managed to work out how to get coloured heads. I am trying to have my section heads in darkgray. So I tried \setuphead[section][style=\tfb\ss\color[darkgray]] Better group the arguments of the “style” key as a whole: · \definehead[colorsection][section] \setuphead [colorsection][ style={\tfb\ss\color[darkgray]}, ] \starttext \startcolorsection[title={This should be colored}] \input knuth \stopcolorsection \stoptext \endinput · While the manual is well written and certain well laid out, it does not quite work for me as a reference guide in that it does not seem to be complete. So a little help would be much appreciated. That’s what this list is for. And the wiki … Regards, Philipp which results in a processing error and \setuphead[section][style=\tfb\ss{\color[darkgray]}] which seems to process, but does just not do anything (I did not actually expect that last one to work, but I got a bit desperate). While the manual is well written and certain well laid out, it does not quite work for me as a reference guide in that it does not seem to be complete. So a little help would be much appreciated. Thank you, Malte. ___ 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 ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp2XViP7zNpU.pgp Description: 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] How to do coloured heads
On 12/07/2011 11:16 AM, Philipp Gesang wrote: Better group the arguments of the “style” key as a whole: · \definehead[colorsection][section] \setuphead [colorsection][ style={\tfb\ss\color[darkgray]}, ] or, more ConTeXt-like: \definehead[colorsection][section] \setuphead [colorsection][ style=\ssbf, color=red, ] 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] How to do coloured heads
Thank you. Either of those solutions work fine. Malte. On 07/12/2011, at 21:31, Thomas A. Schmitz wrote: On 12/07/2011 11:16 AM, Philipp Gesang wrote: Better group the arguments of the “style” key as a whole: · \definehead[colorsection][section] \setuphead [colorsection][ style={\tfb\ss\color[darkgray]}, ] or, more ConTeXt-like: \definehead[colorsection][section] \setuphead [colorsection][ style=\ssbf, color=red, ] 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] setupheads
Hello all, I've not been able to find the right combination of commands to change my header style. I'd like to have bold, italic (or slanted), plus change the text size. I currently have the following: \setuphead[section][color=header_dark_blue, aligntitle=float] \definehead[newsection][section] \setuphead[newsection] style=\tfd\boldslanted, before=\page, width=120mm, aligntitle=float, after={\blackrule[color=sectionlineblue,width=125mm,height=1pt]}, ] This gives me bold, slanted text but not the size change. Swapping the tfd and boldslanted will change the size but not the style. Can anyone see where I'm going wrong? Felix ___ 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] Migrating from prosper to simpleslides in creating presentations
Dear Thomas, Nauseating is an apt description ;). In general, I too avoid them, but with this upcoming audience, unadorned may be mistaken (incorrectly) for plain. I do think, however, that `dissolve' is subtle enough to offer a reasonable compromise. BTW, is there a way of doing incremental slides with the simpleslides module like the overlay feature from prosper? Or is that easily achieved in some other way that is native to ConTeXt? Thanks and regards. On 11-12-07 03:29 AM, Thomas A. Schmitz wrote: On 12/06/2011 11:40 PM, Pavneet Arora wrote: Thanks Wolfgang and Marco for the quick responses. Marco, `impressive' looks just the thing that will easily allow me to add transitions while still using simpleslides to get me going until I can do my own DIY slides. Regards. Glad you found a solution. Maybe just a word explaining why I find it a waste of time to do work on such transitions in simpleslides: even if we accept, for the sake of the argument, that such transitions are more than a mere distraction, it is almost impossible to get acceptable results across platforms and pdf viewers. Most viewers under linux will either not show transitions at all or show them in such an ugly way that your audience may leave in disgust. If something like this doesn't work, newbies will of course assume that it's the module's fault, while in reality, it's the implementation of the pdf viewer. Instead of having inconsistent and potentially unsatisfying results, I prefer to leave these transitions to outside tools. And a tiny bit of anecdotal evidence: I had been using a cube transition for a while in my classroom lectures. I thought it was cool. And then, one day, I was standing somewhere in the back of the classroom while I was changing slides with my remote control, and I saw the effect for the first time from the audience's point of view. The slide pretty much fills up the front wall of the classroom, and watching the cube turn was absolutely nauseating; I was surprised that none of the students had ever complained (or thrown up...). It was horrible, and I have given up all transitions ever since... Thomas -- - - Pavneet Arora Waroc Fine Audio + Custom Home Cinema www.waroc.com 416.937.WAROC (9276) ___ 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] Migrating from prosper to simpleslides in creating presentations
BTW, I am using evince under Ubuntu and haven't noticed too many inconsistencies, but then I don't normally use transitions, but do use incremental slides a lot, which I understand are also only pertinent with PDFs: from p. 4 of the prosper manual in the section for Overlays, ``All those macros are only really meaningful in pdf mode; in ps mode, they do nothing or interpret their argument, depending on the option no/accumulate.'' On 11-12-07 03:29 AM, Thomas A. Schmitz wrote: On 12/06/2011 11:40 PM, Pavneet Arora wrote: Thanks Wolfgang and Marco for the quick responses. Marco, `impressive' looks just the thing that will easily allow me to add transitions while still using simpleslides to get me going until I can do my own DIY slides. Regards. Glad you found a solution. Maybe just a word explaining why I find it a waste of time to do work on such transitions in simpleslides: even if we accept, for the sake of the argument, that such transitions are more than a mere distraction, it is almost impossible to get acceptable results across platforms and pdf viewers. Most viewers under linux will either not show transitions at all or show them in such an ugly way that your audience may leave in disgust. If something like this doesn't work, newbies will of course assume that it's the module's fault, while in reality, it's the implementation of the pdf viewer. Instead of having inconsistent and potentially unsatisfying results, I prefer to leave these transitions to outside tools. And a tiny bit of anecdotal evidence: I had been using a cube transition for a while in my classroom lectures. I thought it was cool. And then, one day, I was standing somewhere in the back of the classroom while I was changing slides with my remote control, and I saw the effect for the first time from the audience's point of view. The slide pretty much fills up the front wall of the classroom, and watching the cube turn was absolutely nauseating; I was surprised that none of the students had ever complained (or thrown up...). It was horrible, and I have given up all transitions ever since... Thomas -- - - Pavneet Arora Waroc Fine Audio + Custom Home Cinema www.waroc.com 416.937.WAROC (9276) ___ 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] Tikz/pgf colour issue
I just upgraded to the latest beta in order to see if that would fix my header styling issue. Compiling gave me the following error: ! Argument of \pgfutil@context@parse@gray has an extra }. This is defined in: tex\texmf-modules\tex\generic\pgf\utilities\pgfutil-context.def If I change the code to the following (basically just comment out the call to \pgfutil@context@parse@gray) then my document will compile again. That's about my debugging limit - I shall stare at the code a bit more to see if inspiration strikes. % The cmyk part is from Joseph Wright. % See tex.stackexchange.com/questions/27952/cmyk-context-colors-in-tikz \def\pgfutil@registercolor#1{% \edef\pgf@temp{\PDFcolor{#1}}% \edef\pgf@marshal{\noexpand\pgfutil@in@{g}{\pgf@temp}}% \pgf@marshal %\ifpgfutil@in@ %\expandafter\pgfutil@context@parse@gray\pgf@temp\pgf@stop{#1}% %\else \edef\pgf@marshal{\noexpand\pgfutil@in@{rg}{\pgf@temp}}% \pgf@marshal \ifpgfutil@in@ \expandafter\pgfutil@context@parse@rgb\pgf@temp\pgf@stop{#1}% \else \edef\pgf@marshal{\noexpand\pgfutil@in@{k}{\pgf@temp}}% \pgf@marshal \ifpgfutil@in@ \expandafter\pgfutil@context@parse@cmyk\pgf@temp\pgf@stop{#1}% \else \PackageError{pgf}{Color #1 has an unsupported color model.}{}% \pgfutil@definecolor{#1}{gray}{0}% \fi \fi %\fi } Regards, Felix ___ 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] Migrating from prosper to simpleslides in creating presentations
On 7-12-2011 12:44, Pavneet Arora wrote: Dear Thomas, Nauseating is an apt description ;). In general, I too avoid them, but with this upcoming audience, unadorned may be mistaken (incorrectly) for plain. I do think, however, that `dissolve' is subtle enough to offer a reasonable compromise. BTW, is there a way of doing incremental slides with the simpleslides module like the overlay feature from prosper? Or is that easily achieved in some other way that is native to ConTeXt? context s-pre-61 will give you an example (the magic word is Steps .. non intrusive and efficient stepping) 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] setupheads
Am 07.12.2011 um 12:17 schrieb Felix Ingram: Hello all, I've not been able to find the right combination of commands to change my header style. I'd like to have bold, italic (or slanted), plus change the text size. I currently have the following: \setuphead[section][color=header_dark_blue, aligntitle=float] \definehead[newsection][section] \setuphead[newsection] style=\tfd\boldslanted, style=\bsd, 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] Migrating from prosper to simpleslides in creating presentations
Thanks Hans. Will do. Steps sounds perfect for this and my other applications. Regards. -- Sent from my Nokia N900. Please excuse my brevity. - Original message - On 7-12-2011 12:44, Pavneet Arora wrote: Dear Thomas, Nauseating is an apt description ;). In general, I too avoid them, but with this upcoming audience, unadorned may be mistaken (incorrectly) for plain. I do think, however, that `dissolve' is subtle enough to offer a reasonable compromise. BTW, is there a way of doing incremental slides with the simpleslides module like the overlay feature from prosper? Or is that easily achieved in some other way that is native to ConTeXt? context s-pre-61 will give you an example (the magic word is Steps .. non intrusive and efficient stepping) 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] Tikz/pgf colour issue
Further investigation suggests that this is a known issue of using \definecolor colours within a Tikz graphic that decided to manifest itself for the first time when I upgraded. The solution is to do: \unprotect \pgfutil@definecolor{colour_name}{rbg/cmyk/gray}{...colour values...} \protect for all the colours that you want to use. Apologies for the noise. Felix ___ 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] Error while compiling : ! String contains an invalid utf-8 sequence.
Thank you for your answer ! Finally I am back to Latex until this problem is fixed. Though I have no knowledge about it, it seemed to me that the problem I got was more related to hanzi script than to bibtex, since the final problem of misplaced dots I had appeared only with hanzi script. Hans Hagen did not replied to it. That's why I suppose that one day if this problem related to hanzi script becomes a problem of general interest, maybe it will be fixed... Cheers, Alexandre Krispin 2011/12/7 Thomas A. Schmitz thomas.schm...@uni-bonn.de On 11/25/2011 09:09 PM, Hans Hagen wrote: It makes me wonder how Thomas gets his greek etc done in bibtex. To be quite honest: I rarely have more than a few words of Greek, and I wrap them up in \localgreek{} markup in my bibtex files, so I assume that's why I have never run into this problem. But it's another example to show that bibtex has huge problems outside of English (ASCII) range. It would be great if we could get rid of it ASAP... 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 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/http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __**__** ___ -- -- Alexandre KRISPIN 41 rue Guynemer | 93200 Saint-Denis | France tél : 06 28 76 69 34 | http://bijutsu.toile-libre.org ___ 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] Error while compiling : ! String contains an invalid utf-8 sequence.
On 7-12-2011 17:37, Alexandre Krispin wrote: Thank you for your answer ! Finally I am back to Latex until this problem is fixed. Though I have no knowledge about it, it seemed to me that the problem I got was more related to hanzi script than to bibtex, since the final problem of misplaced dots I had appeared only with hanzi script. Hans Hagen did not replied to it. That's why I suppose that one day if this problem related to hanzi script becomes a problem of general interest, maybe it will be fixed... As mentioned on this list using a unicode (utf) engine with bibtex is somewhat tricky. Interesting is that a similar problem occurred with url's: bibtex has hard coded line lengths and if I'm right there has been a fix that made lines wrap on spaces. However that does not help with scripts that have no spaces. Somewhat strange is that bibtex was not made compliant to other tex related programs in the sense that one can configure the line length (which we would then set to 1000 or so). In spite of repeated announcements of bibtex 1.0 (which would probably not fix this issue anyway) it looks like the program is deep frozen. Unfortunately it also has frozen some conventions that make it hard to replace it. Fixing it is probably something that an able programmer can do while watching a movie at the same time were it not that touching bibtex seems to be some kind of sacrilege. I can imagine that someone makes a copy of bibtex, say ctxbibtex, patches it to accept long lines and that we ship that one with context. 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] isn't it too slow?
On 12/06/2011 10:29 PM, Wolfgang Schuster wrote: [...] Why not, this is what I get from your example (time context test.tex): real 0m0.922s user 0m0.853s sys 0m0.061s This is what I got: real0m8.744s user0m6.449s sys 0m0.549s Almost ×10 slower :-(. I have realized that I always use the --purgeall option (to keep my system clean), without it I get: real0m2.466s user0m2.273s sys 0m0.182s But still about ×2.5 slower. Thanks for your help, Pablo -- http://www.ousia.tk ___ 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] isn't it too slow?
On 12/06/2011 10:58 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi pablo, On Tue, 06 Dec 2011 14:07:25 -0700, Pablo Rodríguez oi...@web.de wrote: Otherwise, things like this happen every time I compile a ConTeXt document. Once I had a luatex.dll file out of sync with the latest version of luatex -- don't ask me how it happened -- and it caused loading context macros to take much longer, to reload the cache every run, and to run more times than needed. Looking closely at the log I noticed an engine mismatch. Deleting that file fixed everything. This may have nothing to do with your case in particular, but just to say say that sometimes strange things like this do happen. See also http://archive.contextgarden.net/message/20101118.171849.a179501b.en.html Many thanks, Idris, for your help. No mismatch found in my log file. Pablo -- http://www.ousia.tk ___ 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] \usezipfile
On 7-12-2011 20:06, Wolfgang Schuster wrote: Hi Hans, the \usezipfile command doesn’t work work. Yes, I'd noticed that but had no time yet to look into it I can get rid of one problem when I make the following change in data-zip.lua: function resolvers.usezipfile(archive) local specification = resolvers.splitmethod(archive) -- to be sure local archive = specification.filename if archive and not registeredfiles[archive] then local z = zip.openarchive(archive) if z then local tree = url.query(specification.query).tree or if trace_locating then report_zip(registering, registering archive '%s',archive) end statistics.starttiming(resolvers.instance) resolvers.prependhash('zip',archive) resolvers.extendtexmfvariable(archive) -- resets hashes too registeredfiles[archive] = z -- instance.files[archive] = resolvers.registerzipfile(z,tree) resolvers.instance.files[archive] = resolvers.registerzipfile(z,tree) statistics.stoptiming(resolvers.instance) elseif trace_locating then report_zip(registering, unknown archive '%s',archive) end elseif trace_locating then report_zip(registering, '%s' not found,archive) end end Another problem afterward is that context can’t load the file in the zip archive even though it can find it as seen in the error message: ! I can't find file `lipsum.zip?name=tex/context/third/lipsum/lipsum.tex'. I'll put it on my todo list (in the middle of page-* cleanup now). 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 ___
[NTG-context] `\{start, stop}MPpage`: MetaPost figure does not fit canvas(?) in resulting PDF file
Dear ConTeXt folks, using the following example \starttext \startMPpage draw (0,0)--(10,10)--(15,5)--(20,10); draw (0,0)--(0,10)--(10,10)--(10,5)--(15,5)--(15,10)--(20,10) withcolor blue; \stopMPpage \stoptext it looks like the bottom is not included in the resulting PDF file and at the top there is too much room. (So it looks like the figure is moved too far to the bottom.) Using the examples from the Wiki [1] with circles works though. I am using ConTeXt Standalone. ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.25 int: english/english Thanks, Paul [1] http://wiki.contextgarden.net/Mpgraphic test.pdf Description: Adobe PDF document \starttext \startMPpage draw (0,0)--(10,10)--(15,5)--(20,10); draw (0,0)--(0,10)--(10,10)--(10,5)--(15,5)--(15,10)--(20,10) withcolor blue; \stopMPpage \startMPpage draw fullcircle scaled 2cm; dotlabel.bot(textext((0,0)),origin); \stopMPpage \startMPpage draw fullcircle scaled 2cm; drawarrow (0,0)--(1cm,0); label.bot(textext($r$),(5mm,0)); \stopMPpage \stoptext 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] Math align in mkiv
Dear Paul, Thanks for your attention: as you may have seen, Hans found the fix and after that math align works fine. As you noticed, the issue was related to what you reported some time ago. Best regards: OK On 7 déc. 2011, at 09:03, Paul Menzel wrote: Dear Otared, Am Mittwoch, den 07.12.2011, 05:11 +0100 schrieb Otared Kavian: Thank you having tested the file I sent. did the example work for you with MKIV in the past? As I suspected, your testing confirms that the change or the bug has been introduced in a recent version of ConTeXt mkiv, some time between October and late November. The version I am running is ConTeXt ver: 2011.11.29 23:11 MKIV fmt: 2011.12.2 int: english/english I can also reproduce that behavior using ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.25 int: english/english I think at some time in November Hans did some changes in math alignment after someone reported a bug, and Aditya said he wouldn't have time to (or could not) fix it. There were two issues and the corresponding messages in the archive [1][2]. So if these are related it should work for you using the version from November 24th. Thanks, Paul [1] http://www.ntg.nl/pipermail/ntg-context/2011/063428.html [2] http://www.ntg.nl/pipermail/ntg-context/2011/063451.html align-mkiv.pdfalign-mkiv.tex___ 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 ___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat: +33 1 39 25 46 46 e-mail: otared.kav...@math.uvsq.fr ___ 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] Enumeration in mkiv
Dear Hans, In transferring some stuff from mkii to mkiv, I noticed a change in the way mkiv puts too much distance between the title of an enumeration and the text following it. I am not sure whether I have noticed this before, but my feeling is that the change is somewhat recent. I have put the result of the source below here, http://dl.dropbox.com/u/4316076/enumeration-mkii.pdf and http://dl.dropbox.com/u/4316076/enumeration-mkiv.pdf I think the correct behaviour is the one with mkii. Best regards: OK PS: here is the source file: %%% begin enumeration-mkiv.tex \defineenumeration[exo] [location=hanging, text=Exercise, between=, before=, stopper={.}, after= \blank] \starttext \startexo This is a test with mkiv. \startitemize[n] \item First question. \item Second question. \stopitemize \stopexo \stoptext %%% end enumeration-mkiv.tex ___ 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: root sign an square brackets set too closely
Dear ConTeXt folks, using the root sign √ `\sqrt` and the square brackets [] the distance does not seem to be optimal. \starttext \type{$\left[ \sqrt{x} \right]$}: $\left[ \sqrt{x} \right]$ Without \type{\left} and \type{\right}: $[\sqrt{x}]$ \type{$\left( \sqrt{x} \right)$}: $\left( \sqrt{x} \right)$ With \type{\,}: \type{$\left[ \sqrt{x}\, \right]$}: $\left[ \sqrt{x}\, \right]$ \placeformula \startformula \left[ \sqrt{x} \right] \stopformula \CONTEXT\ \contextmark\ \contextversion \stoptext I am using the following version. ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.25 int: english/english Is that a TeX limitation or should that be type set “correctly” automatically? Thanks, Paul root-and-brackets.pdf Description: Adobe PDF document \starttext \type{$\left[ \sqrt{x} \right]$}: $\left[ \sqrt{x} \right]$ Without \type{\left} and \type{\right}: $[\sqrt{x}]$ \type{$\left( \sqrt{x} \right)$}: $\left( \sqrt{x} \right)$ With \type{\,}: \type{$\left[ \sqrt{x}\, \right]$}: $\left[ \sqrt{x}\, \right]$ \placeformula \startformula \left[ \sqrt{x} \right] \stopformula \CONTEXT\ \contextmark\ \contextversion \stoptext 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 ___
[NTG-context] Possible bug in \unit
There seems to be a bug in the new unit system for \unit{kbit}: % bit \unit{kilo bit} % kbit \unit{kilobit} % kbit \unit{kbit} % kB, shouldn't this be kbit? Another thing: \unit{3.4e-5} yields to 3.4⁻⁵ that's expected according to the manual. But how to get 3.4·10⁻⁵ (either with \cot or \times)? Marco Patzer ___ 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] orphan and widow lines
Hi there, I have been using ConTeXt for some months and one of the things I cannot control is orphan or widow lines appearing in my documents. Isn't there a general method to avoid them? (This should set ragged bottoms, but I'd rather have ragged bottoms than orphan or widow lines.) Thanks for your help, Pablo -- http://www.ousia.tk ___ 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] Columnset error with \setupheader[state=high]
Update: I don't have a solution yet, but here is my attempt to figure out where this problem comes from. I may be (probably am) wrong; I am new to ConTeXt and not an expert on its internals. But I'll toss this out to see if anyone is interested. When \startcolumnset is called, it seems to take a snapshot of the state of the layout (via setuplayout). However, layout can change, even without \setuplayout being explicitly called again, as in the case of header state=high (which modifies the layout of the first page only). By visual inspection, it looks like the columnset output routine continues to use the page dimensions from the first page on subsequent pages. Since the first page has no header space, height of the text box on the first page will be larger than on subsequent pages. Therefore, applying the first page height on subsequent pages will result in text that runs over the footer area. To see if a new call to \startcolumnset would fix things, I tried to find a way to automatically do \startcolumnset again at the beginning of the second page. A crude hack, using the startpostponing mechanism: \startpostponing[2] % do this block on the second page \unexpanded\stopcolumnset\unexpanded\startcolumnset[name] % manually end the current columnset and then start it again. \stoppostponing This unfortunately results in a blank page after the first page; however, the rest of the pages after that blank page have correct columnsets and footers. So a real solution to this problem could perhaps be done in two different ways -- the difference being where in the ConTeXt code it is implemented: A. The columnset output routine listens for changes in the layout state and reloads or adjusts itself when layout state changes; or, B. Any change in layout state passed to the output routine triggers a re-call of the \startcolumnset macro. These are probably oversimplified, but I hope someone who understands the columnset output routine can see what I am trying to get at. -- 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] Possible bug in \unit
On Wed, Dec 7, 2011 at 22:27, Marco net...@lavabit.com wrote: There seems to be a bug in the new unit system for \unit{kbit}: % bit \unit{kilo bit} % kbit \unit{kilobit} % kbit \unit{kbit} % kB, shouldn't this be kbit? kB is kilobyte, not kilobit, but kb is probably also valid? Another thing: \unit{3.4e-5} yields to 3.4⁻⁵ that's expected according to the manual. But the behaviour is wrong. (I just want to say that \cdot 10^{-5} should not be just an option, but the default behaviour.) 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] Possible bug in \unit
On 2011-12-07 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Wed, Dec 7, 2011 at 22:27, Marco net...@lavabit.com wrote: There seems to be a bug in the new unit system for \unit{kbit}: % bit \unit{kilo bit} % kbit \unit{kilobit} % kbit \unit{kbit} % kB, shouldn't this be kbit? kB is kilobyte, not kilobit, Exactly, \unit{kbit} should output kbit, instead of kB. but kb is probably also valid? I don't know, if kb is a valid shortcut for kilo bit. kB outputs kB (kilo byte). I would vote for that kb outputs kbit (kilo bit). But that \unit{kbit} yields kB is definitely wrong. \unit{3.4e-5} yields to 3.4⁻⁵ that's expected according to the manual. But the behaviour is wrong. I don't know if it's wrong. It's very non-intuitive, but I think Hans had a reason not to include the \cdot 10. (I just want to say that \cdot 10^{-5} should not be just an option, but the default behaviour.) +1 Regards Marco Patzer ___ 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] Possible bug in \unit
On Thu, Dec 8, 2011 at 00:12, Marco wrote: On 2011-12-07 Mojca Miklavec wrote: \unit{3.4e-5} yields to 3.4⁻⁵ that's expected according to the manual. But the behaviour is wrong. I don't know if it's wrong. But 5e3 would render 5^3 which is hopefully still 125. It's very non-intuitive, but I think Hans had a reason not to include the \cdot 10. \cdot 10^{x} is pretty long and might be ugly. But writing out exponent without the base is everything but the right approach. Even writing out 5e3 is better than that. 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] Columnset error with \setupheader[state=high]
Those \unexpanded 's are not necessary, sorry. On Wed, Dec 7, 2011 at 4:42 PM, Peter Park Nelson peter.park.nel...@gmail.com wrote: Update: I don't have a solution yet, but here is my attempt to figure out where this problem comes from. I may be (probably am) wrong; I am new to ConTeXt and not an expert on its internals. But I'll toss this out to see if anyone is interested. When \startcolumnset is called, it seems to take a snapshot of the state of the layout (via setuplayout). However, layout can change, even without \setuplayout being explicitly called again, as in the case of header state=high (which modifies the layout of the first page only). By visual inspection, it looks like the columnset output routine continues to use the page dimensions from the first page on subsequent pages. Since the first page has no header space, height of the text box on the first page will be larger than on subsequent pages. Therefore, applying the first page height on subsequent pages will result in text that runs over the footer area. To see if a new call to \startcolumnset would fix things, I tried to find a way to automatically do \startcolumnset again at the beginning of the second page. A crude hack, using the startpostponing mechanism: \startpostponing[2] % do this block on the second page \unexpanded\stopcolumnset\unexpanded\startcolumnset[name] % manually end the current columnset and then start it again. \stoppostponing This unfortunately results in a blank page after the first page; however, the rest of the pages after that blank page have correct columnsets and footers. So a real solution to this problem could perhaps be done in two different ways -- the difference being where in the ConTeXt code it is implemented: A. The columnset output routine listens for changes in the layout state and reloads or adjusts itself when layout state changes; or, B. Any change in layout state passed to the output routine triggers a re-call of the \startcolumnset macro. These are probably oversimplified, but I hope someone who understands the columnset output routine can see what I am trying to get at. -- Peter Park Nelson peter.park.nel...@gmail.com -- 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 ___
[NTG-context] naming of labels: Is »()« allowed?
Dear ConTeXt folks, in ConTeXt I like how I can choose arbitrary names for label and reference them. I think some time ago it was possible to also use »()«. This does not work anymore with ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.25 int: english/english and the following message is in the log file. references unknown reference [][(N)] \definereferenceformat[eqref][left=(,right=)] \starttext \placeformula[(N)] \startformula \Pr\{N = n\} = \Pr\left\{ \min_{1 ≤ k ≤ n} S_k 0 \right\} = p_n^{(1)} \stopformula Is it working? \eqref[(N)] \CONTEXT\ \contextmark\ \contextversion \stoptext Thanks, Paul 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] naming of labels: Is »()« allowed?
Dear ConTeXt folks, Am Donnerstag, den 08.12.2011, 02:18 +0100 schrieb Paul Menzel: in ConTeXt I like how I can choose arbitrary names for label and reference them. I think some time ago it was possible to also use »()«. This does not work anymore with ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.25 int: english/english and the following message is in the log file. references unknown reference [][(N)] \definereferenceformat[eqref][left=(,right=)] \starttext \placeformula[(N)] \startformula \Pr\{N = n\} = \Pr\left\{ \min_{1 ≤ k ≤ n} S_k 0 \right\} = p_n^{(1)} \stopformula Is it working? \eqref[(N)] \CONTEXT\ \contextmark\ \contextversion \stoptext please find the minimal example and the output attached. Thanks, Paul ref.pdf Description: Adobe PDF document \definereferenceformat[eqref][left=(,right=)] \starttext \placeformula[(N)] \startformula \Pr\{N = n\} = \Pr\left\{ \min_{1 ≤ k ≤ n} S_k 0 \right\} = p_n^{(1)} \stopformula Is it working? \eqref[(N)] \CONTEXT\ \contextmark\ \contextversion \stoptext 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 ___
[NTG-context] Copyright Symbol
Hi everyone, How do I get a copyright symbol in ConTeXt, you know the circle with the 'C' in the centre? I expected it to be \textcopyright as in LaTeX, but that does not seem to work. Rather than just telling me the answer, where would I look that up? Sooner or later I will need other symbols. The special characters listed in the manual are quite limited. Is there a list somewhere? Thank you, Malte. ___ 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] Copyright Symbol
On Thu 08 Dec 2011, Malte Stien wrote: How do I get a copyright symbol in ConTeXt, you know the circle with the 'C' in the centre? I expected it to be \textcopyright as in LaTeX, but that does not seem to work. If you're using a font which contains the symbol, and if you're using MkIV, you can just enter © directly as a UTF-8 character in the input file and it should Just Work. (© may be in your keyboard layout, or you may need to use some kind of character chooser utility. On the US-international layout of an Ubuntu Linux system, I get it with [Right Alt]-c.) Rather than just telling me the answer, where would I look that up? Sooner or later I will need other symbols. The special characters listed in the manual are quite limited. Is there a list somewhere? For anything you can't get as a unicode character in your main font, http://wiki.contextgarden.net/Symbols is probably a good place to start. Pont ___ 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] Copyright Symbol
Am 08.12.2011 um 05:12 schrieb Malte Stien: Hi everyone, How do I get a copyright symbol in ConTeXt, you know the circle with the 'C' in the centre? I expected it to be \textcopyright as in LaTeX, but that does not seem to work. Rather than just telling me the answer, where would I look that up? Sooner or later I will need other symbols. The special characters listed in the manual are quite limited. Is there a list somewhere? \starttext \copyright \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] Possible bug in \unit
On Thu, Dec 8, 2011 at 12:20 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Thu, Dec 8, 2011 at 00:12, Marco wrote: On 2011-12-07 Mojca Miklavec wrote: \unit{3.4e-5} yields to 3.4⁻⁵ that's expected according to the manual. But the behaviour is wrong. I don't know if it's wrong. But 5e3 would render 5^3 which is hopefully still 125. It's very non-intuitive, but I think Hans had a reason not to include the \cdot 10. \cdot 10^{x} is pretty long and might be ugly. But writing out exponent without the base is everything but the right approach. Even writing out 5e3 is better than that. 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 ___ I've seen many people writing 5e3 to mean 5·10³, but I've never seen 5e3 to mean 5³. The writing 5e3 = 5·10³ is sometimes called the E-notation [1]. Even though I would never write it like that myself, I vote that 5e3 will render as 5·10³ (or with \times instead of \cdot). Best regards, Mikael [1] http://en.wikipedia.org/wiki/Scientific_notation#E_notation PS One could ask, however, if this really belongs to a unit package. In my world it does not, but I can understand if it is convenient to have there. ___ 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 ___