Re: [NTG-context] Exceptions to assignment syntax [was: Re: labeltext assignment]
Hi Aditya! · > On Mon, 11 Jun 2012, Aditya Mahajan wrote: > >On Mon, 11 Jun 2012, Philipp Gesang wrote: > Other potential topics that fit better on such a page: > > * Why is space after \externalfigure[..][..] gobbled? (in the FAQ) > * Why does \framed not work in the beginning of a line (or why we need > \dontleavehmode) (in the FAQ) > * Why page=yes does not give a page break before sections (why we > need to add continue=no) (in the ML a few days ago) > * Why does marking=on not work when page-layout=print-layout (the > marking is outside the page-layout). (in the ML a few weeks ago, and > on tex.sx) Let’s not forget the float vs. paragraph issue: http://tex.stackexchange.com/questions/56388/avoid-line-break-after-macro Philipp pgpQsEjIursuO.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] Exceptions to assignment syntax [was: Re: labeltext assignment]
Hi Aditya! · > On Mon, 11 Jun 2012, Philipp Gesang wrote: > > >Dear others, please contribute if you know about further setups > >whose parameters behave in a non-standard way. As this is quite > >counterintuitive, I’d like to wikify any known exceptions > >somewhere over here: > >http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt#Optional_Arguments_and_Setups > > That is not a place where I will look for if I were confused. Of course this was meant in addition to the respective entries in the reference, where I would look first. > Perhaps it is better to create a patch entitled "Its not a bug, its > a feature" (or something similar, that lists things like this (and > the left vs leftflushed that is listed in the FAQ). “Caveats” might work well, but we can redirect anyways. I’d add the \setupnote vs. \setupnotation as I always have to look up which is which. Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpocjbfwkaTc.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] Exceptions to assignment syntax [was: Re: labeltext assignment]
On Mon, 11 Jun 2012, Aditya Mahajan wrote: On Mon, 11 Jun 2012, Philipp Gesang wrote: Dear others, please contribute if you know about further setups whose parameters behave in a non-standard way. As this is quite counterintuitive, I’d like to wikify any known exceptions somewhere over here: http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt#Optional_Arguments_and_Setups That is not a place where I will look for if I were confused. Perhaps it is better to create a patch entitled "Its not a bug, its a feature" (or something similar, that lists things like this (and the left vs leftflushed that is listed in the FAQ). Other potential topics that fit better on such a page: * Why is space after \externalfigure[..][..] gobbled? (in the FAQ) * Why does \framed not work in the beginning of a line (or why we need \dontleavehmode) (in the FAQ) * Why page=yes does not give a page break before sections (why we need to add continue=no) (in the ML a few days ago) * Why does marking=on not work when page-layout=print-layout (the marking is outside the page-layout). (in the ML a few weeks ago, and on tex.sx) 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] Exceptions to assignment syntax [was: Re: labeltext assignment]
On Mon, 11 Jun 2012, Philipp Gesang wrote: Dear others, please contribute if you know about further setups whose parameters behave in a non-standard way. As this is quite counterintuitive, I’d like to wikify any known exceptions somewhere over here: http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt#Optional_Arguments_and_Setups That is not a place where I will look for if I were confused. Perhaps it is better to create a patch entitled "Its not a bug, its a feature" (or something similar, that lists things like this (and the left vs leftflushed that is listed in the FAQ). 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 ___
[NTG-context] Exceptions to assignment syntax [was: Re: labeltext assignment]
Hi Wolfgang! · > > Am 11.06.2012 um 21:06 schrieb Philipp Gesang: > > > Hi Hans! > > > > · > > > >> On 11-6-2012 10:01, Philipp Gesang wrote: > >>> Hi all, > >>> > >>> there appears to be something special about how the key-value > >>> list works with \setuplabeltext: > >>> > >>> ··· > >>> \setuplabeltext [ > >>>foo=bar, %% <- comma not allowed here? > >>> % foo=bar %% <- works > >>> ] > >>> \starttext > >>> \labeltext{foo} > >>> \stoptext > >>> ··· > >>> > >>> Normally the trailing comma causes no trouble, but here it won’t > >>> even compile. > >> > >> indeed a slightly different parser is used here > > > > I’ll watch out for these cases, then. > > \definepalet has a similar problem because it uses also a custom parser. Dear others, please contribute if you know about further setups whose parameters behave in a non-standard way. As this is quite counterintuitive, I’d like to wikify any known exceptions somewhere over here: http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt#Optional_Arguments_and_Setups Thanks Philipp > > 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 > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgprCApaJVao5.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] labeltext assignment
Am 11.06.2012 um 21:06 schrieb Philipp Gesang: > Hi Hans! > > · > >> On 11-6-2012 10:01, Philipp Gesang wrote: >>> Hi all, >>> >>> there appears to be something special about how the key-value >>> list works with \setuplabeltext: >>> >>> ··· >>> \setuplabeltext [ >>>foo=bar, %% <- comma not allowed here? >>> % foo=bar %% <- works >>> ] >>> \starttext >>> \labeltext{foo} >>> \stoptext >>> ··· >>> >>> Normally the trailing comma causes no trouble, but here it won’t >>> even compile. >> >> indeed a slightly different parser is used here > > I’ll watch out for these cases, then. \definepalet has a similar problem because it uses also a custom parser. 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] labeltext assignment
Hi Hans! · > On 11-6-2012 10:01, Philipp Gesang wrote: > >Hi all, > > > >there appears to be something special about how the key-value > >list works with \setuplabeltext: > > > >··· > > \setuplabeltext [ > > foo=bar, %% <- comma not allowed here? > > % foo=bar %% <- works > > ] > > \starttext > > \labeltext{foo} > > \stoptext > >··· > > > >Normally the trailing comma causes no trouble, but here it won’t > >even compile. > > indeed a slightly different parser is used here I’ll watch out for these cases, then. Regards Philipp > > - > 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 > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp82VyPU6mph.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] Twittering
On Mon, Jun 11, 2012 at 5:02 PM, Bill Meahan wrote: > Hopefully, this is not (too far) OT. It's definitely not. > I'm not sure how many on the list use Twitter I'm not aware of anyone among the most active users. Ulrik is the only one that comes closest by posting to Facebook and including ConTeXt-related events. > but if you do, you still might > not be aware of the daily "TeXTip" tweets. I wasn't. Thank you for the pointer. > These contain a URL to one place > on the web or another that have something to do with TeX/LaTeX usage. > > I'm thinking it would be great to have a daily "ConTeXtTip" tweet as well. > Am I the only one? > > I'm way too much of a ConTeXt newbie or I'd do it myself. Of course, I > _could_ serve as the Point Of Context and do the actual Tweeting of URLs or > tips that fit into 140 characters that were emailed to me. I believe that you have almost no chance to convince Hans to start tweeting, but independent of the level of your expertise, it should not be a problem to start tweeting based solely on posts on the mailing list. * invitations to events * invitations to join user group * whenever Hans posts "I have released a new beta, it has support for this and that" (those emails can be almost automatically "retweeted") * you could announce every single beta, but the problem is that they usually don't come with any explanation, they are too frequent and very often bugfixes that the majority would not notice, or huge chunks of code with new functionality that might be hard to decode * I could send events when something happens in the distribution (but those events will be very scarce) * tip of the day would indeed be very useful, but who is going to contribute them? If tweets would be nice & useful, it could be useful to set up a cron job to send a summary of tweets from that day to the mailing list once per day. 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] Change font in \startuseMPgraphic
I've run first-setup.bat --modules=all and now it works. Thanks Wolfgang and 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] Twittering
On 06/11/2012 11:31, Hans Hagen wrote: On 11-6-2012 17:26, Procházka Lukáš Ing. - Pontex s. r. o. wrote: IMHO - ConTeXt topics, questions and answers are usually to long to be shrunk to 140 characters. that could actually be the challenge .. minimal tips (alongside minimal examples) Hans Based on the current TeXTip tweets, Posting to the wiki _or other website_ and tweeting the URL would be sufficient. -- Bill Meahan K8QN "The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails." -- William Arthur Ward This message is digitally signed with an X.509 certificate to prove it is from me and has not been altered since it was sent. smime.p7s Description: S/MIME Cryptographic 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] Twittering
On 11-6-2012 17:26, Procházka Lukáš Ing. - Pontex s. r. o. wrote: IMHO - ConTeXt topics, questions and answers are usually to long to be shrunk to 140 characters. that could actually be the challenge .. minimal tips (alongside minimal examples) 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] Twittering
Hello, IMHO - ConTeXt topics, questions and answers are usually to long to be shrunk to 140 characters. I think that the "ConTeXt Point" already exists - it's this forum and wiki (you'll see in the future that two sources are enough sometimes). The more sources (including twits), the more searching, and often the more trying. So that's just my opinion. (And - I don't use any "social network" so far (FB, Twitter, G+, ...), so maybe I'm not the right person to judge pluses and minuses of Ctx on Twitter). Lukas On Mon, 11 Jun 2012 17:02:00 +0200, Bill Meahan wrote: Hopefully, this is not (too far) OT. I'm not sure how many on the list use Twitter but if you do, you still might not be aware of the daily "TeXTip" tweets. These contain a URL to one place on the web or another that have something to do with TeX/LaTeX usage. I'm thinking it would be great to have a daily "ConTeXtTip" tweet as well. Am I the only one? I'm way too much of a ConTeXt newbie or I'd do it myself. Of course, I _could_ serve as the Point Of Context and do the actual Tweeting of URLs or tips that fit into 140 characters that were emailed to me. If this is too far OT, my most profound apologies to the members of the list and especially the list masters. -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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] Twittering
Hopefully, this is not (too far) OT. I'm not sure how many on the list use Twitter but if you do, you still might not be aware of the daily "TeXTip" tweets. These contain a URL to one place on the web or another that have something to do with TeX/LaTeX usage. I'm thinking it would be great to have a daily "ConTeXtTip" tweet as well. Am I the only one? I'm way too much of a ConTeXt newbie or I'd do it myself. Of course, I _could_ serve as the Point Of Context and do the actual Tweeting of URLs or tips that fit into 140 characters that were emailed to me. If this is too far OT, my most profound apologies to the members of the list and especially the list masters. -- Bill Meahan K8QN "The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails." -- William Arthur Ward This message is digitally signed with an X.509 certificate to prove it is from me and has not been altered since it was sent. smime.p7s Description: S/MIME Cryptographic 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] footnotes location=text
Am 11.06.2012 um 15:25 schrieb HermannSchopper: > Hi Wolfgang, > thanks for the quick fix! Unfortunately now the "paragraph" parameter in > \setupnote[footnote][location=text,paragraph=yes] is ignored while it is > working with location=page... You need \setupnote[…][paragraph=yes] and \setupnotation[…][display=no] (best add also “alternative=serried”) to have footnote etc. as a single paragraph. \setupnote[footnote][location=text,paragraph=yes] \setupnotation[footnote][display=no,alternative=serried] 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] footnotes location=text
Hi Wolfgang, thanks for the quick fix! Unfortunately now the "paragraph" parameter in \setupnote[footnote][location=text,paragraph=yes] is ignored while it is working with location=page... best, Daniel - Ursprüngliche Nachricht - Von: "Wolfgang Schuster" schuster.wolfg...@googlemail.com Erhalten: 11.06.2012 13:55 An: daniel.schop...@aon.at Am 11.06.2012 um 13:21 schrieb HermannSchopper: Thanks, I missed that change! And what is the parameter to prevent the footnotes being placed twice? It’s a bug which was fixed a while ago but came back. The code between \unprotect and \protect has to be added/changed in strc-not.mkvi. \unprotect \unexpanded\def\strc_notes_set_delayed {\setfalse\c_strc_notes_delayed \normalexpanded{\rawprocesscommalist[\noteparameter\c!location]\strc_notes_set_delayed_step}} \unexpanded\def\strc_notes_set_delayed_step#1% {\ifcsname\??notedelayed#1\endcsname \csname\??notedelayed#1\endcsname\c_strc_notes_delayed \fi} \protect \setupnote[footnote][location=text] \starttext \dorecurse{10}{\input knuth\footnote{Footnote #1}\par} \placenotes[footnote] \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] Portrait -> Landscape -> Portrait
On Jun 9, 2012, at 7:08 AM, pddzaic wrote: Hello context-friends, I have switched from Latex to Context and my first impression of Context is: WOW :-) Unfortunately, I did not understand how to switch between landscape and portrait. Here a minimal working example: \mainlanguage[en] \setuplayout[ paper=A4, topspace=1cm, header=2cm, headerdistance=0.25cm, footerdistance=0.25cm, footer=0.6cm, bottomspace=1cm, margin=2.5cm, width=middle, height=middle] \starttext \showframe \chapter{First chapter} \input knuth % Change to landscape \page\setuppapersize[A4,landscape][A4,landscape] \section{First section} \input knuth % Reverts to the global layout \page\setuppapersize[A4,portrait][A4,portrait] \chapter{Second chapter} \input knuth \stoptext As you can see in the result the layout of the landscaped-page is not as I expected. Can somebody help me? Works for me: portrait, landscape, portrait. What version of ConTeXT do you have? I have ver: 2012.06.09 01:22 MKIV fmt: 2012.6.10 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ___ 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] footnotes location=text
Am 11.06.2012 um 13:21 schrieb HermannSchopper: > Thanks, I missed that change! > And what is the parameter to prevent the footnotes being placed twice? It’s a bug which was fixed a while ago but came back. The code between \unprotect and \protect has to be added/changed in strc-not.mkvi. \unprotect \unexpanded\def\strc_notes_set_delayed {\setfalse\c_strc_notes_delayed \normalexpanded{\rawprocesscommalist[\noteparameter\c!location]\strc_notes_set_delayed_step}} \unexpanded\def\strc_notes_set_delayed_step#1% {\ifcsname\??notedelayed#1\endcsname \csname\??notedelayed#1\endcsname\c_strc_notes_delayed \fi} \protect \setupnote[footnote][location=text] \starttext \dorecurse{10}{\input knuth\footnote{Footnote #1}\par} \placenotes[footnote] \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] Can C-Pretty-Printing module for MKIV be installed through first-setup
On Mon, Jun 11 2012, Jan Pohanka wrote: > I'd like to use C-Pretty-Printing module. As it is listed on > http://modules.contextgarden.net I thought it should be installed by > first-setup.sh --modules=all. No, it shouldn't, because it doesn't work with latest ConTeXt versions. You could also try http://tlcontrib.metatex.org/cgi-bin/package.cgi/action=view/id=367 but I don't know, if it works with latest ConTeXt. There is also the t-vim module: --8<---cut here---start->8--- \usemodule[vim] \definevimtyping[C][syntax=c] \starttext \startC int main(void) { puts("Hello World!"); return 0; } \stopC \stoptext --8<---cut here---end--->8--- -- 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] footnotes location=text
Thanks, I missed that change! And what is the parameter to prevent the footnotes being placed twice? \definenote [myFoot] \setupnote [myFoot] [location=text] \starttext \input knuth\myFoot{a footnote (which should not be placed on the page)} \page \placeno tes[myFoot] \stoptext cheers Daniel - Ursprüngliche Nachricht - Von: "Wolfgang Schuster" schuster.wolfg...@googlemail.com Erhalten: 11.06.2012 11:34 An: daniel.schop...@aon.at, "mailing list for ConTeXt users" ntg-context@ntg.nl Am 11.06.2012 um 10:58 schrieb HermannSchopper: Dear list, after switching to the current beta (2012.06.09 01:22) manually placed footnotes are being placed _both_ on the page and at the place specified by \placenotes. And another one: I'd like to align the footnote number with the text (instead of having it ahng into the margin). Following http://wiki.contextgarden.net/Footnotes#Special_Needs I tried the location key in \setupnotation but this doesn't seem to do anything. You have to write \setupnotation[…][alternative=…]. 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] Can C-Pretty-Printing module for MKIV be installed through first-setup
Hello, I'd like to use C-Pretty-Printing module. As it is listed on http://modules.contextgarden.net I thought it should be installed by first-setup.sh --modules=all. Unfortunately this module is missing even all others are installed. best regards Jan -- Tato zpráva byla vytvořena převratnou poštovní aplikací Opery: http://www.opera.com/mail/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [dev-context] bTABLE in header and document give unexpected behavior
Sido wrote: >> I had posted a question on stack-exchange and it was suggested to >> post a bug report here. I’m not sure if this is a bug, but it was >> unexpected behavior to me. Wolfgang wrote: > BTW: Please use next time the normal mailing list for such problems and not > the developer list. That was my mistake: I thought it was a bug, and so I advised him to post to dev-context instead of ntg-context. Just to check: is dev-cont...@ntg.nl also for bug reports, or is it exclusively for development discussions and should (probable) bugs also go on ntg-context@ntg.nl? --Sietse ___ 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] footnotes location=text
Am 11.06.2012 um 10:58 schrieb HermannSchopper: > Dear list, > > after switching to the current beta (2012.06.09 01:22) manually placed > footnotes are being placed _both_ on the page and at the place specified by > \placenotes. > And another one: I'd like to align the footnote number with the text (instead > of having it ahng into the margin). Following > http://wiki.contextgarden.net/Footnotes#Special_Needs I tried the location > key in \setupnotation but this doesn't seem to do anything. You have to write \setupnotation[…][alternative=…]. 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] labeltext assignment
On 11-6-2012 10:01, Philipp Gesang wrote: Hi all, there appears to be something special about how the key-value list works with \setuplabeltext: ··· \setuplabeltext [ foo=bar, %% <- comma not allowed here? % foo=bar %% <- works ] \starttext \labeltext{foo} \stoptext ··· Normally the trailing comma causes no trouble, but here it won’t even compile. indeed a slightly different parser is used here - 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] footnotes location=text
Dear list, after switching to the current beta (2012.06.09 01:22) manually placed footnotes are being placed _both_ on the page and at the place specified by \placenotes. And another one: I'd like to align the footnote number with the text (instead of having it ahng into the margin). Following http://wiki.contextgarden.net/Footnotes#Special_Needs I tried the location key in \setupnotation but this doesn't seem to do anything. \showframe \definenote [myFoot] \setupnote [myFoot] [location=text] \definenote[myOtherFoot] \setupnotation[myOtherFoot][location=left] \starttext \input knuth\myFoot{a footnote (which should be placed in the text)} \input knuth\myOtherFoot{ this footnote number should be aligned with the edge of the text.} \page \placenotes[myFoot] \stoptext thanks in advance!best, Daniel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [dev-context] bTABLE in header and document give unexpected behavior
Am 10.06.2012 um 12:19 schrieb Sido Jensma: > This is the first time I am posting here. I am not really sure what a typical > bug report should look like. > > I had posted a question on stack-exchange and it was suggested to post a bug > report here. I’m not sure if this is a bug, but it was unexpected behavior to > me. > > The original question was posted here: > http://tex.stackexchange.com/questions/59134/strange-problem-with-frames-context-tables > > And a ‘not-so-minimal’ example of what is happening is attached (see the last > page). > > I have tested this with extreme tables and don’t get the same behavior. When you use a table environment which is broken across pages together with the same environment in header settings can sometimes mix. In your case it’s best to use \framed in the header which does the same and is also faster but even then one problem remains. By default \framed uses \linewidth for “rulethickness” and natural tables assign a different value to this length, this results in wrong rules in the header when you don’t change the value (see example below). Here is a better version for the header of your document. \startsetups[header] \setupframed[width=0.2\textwidth,height=\headerheight,align=middle,offset=2mm,rulethickness=0.4pt] \dontleavehmode \startframed Rev \stopframed \startframed[width=0.6\textwidth,foregroundstyle=\ssbfa] \getvariable{document}{projectname}\\ \getvariable{document}{documenttitle} \stopframed \startframed some text \stopframed \stopsetups BTW: Please use next time the normal mailing list for such problems and not the developer list. 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] Portrait -> Landscape -> Portrait
Hello context-friends, I have switched from Latex to Context and my first impression of Context is: WOW :-) Unfortunately, I did not understand how to switch between landscape and portrait. Here a minimal working example: \mainlanguage[en] \setuplayout[ paper=A4, topspace=1cm, header=2cm, headerdistance=0.25cm, footerdistance=0.25cm, footer=0.6cm, bottomspace=1cm, margin=2.5cm, width=middle, height=middle] \starttext \showframe \chapter{First chapter} \input knuth % Change to landscape \page\setuppapersize[A4,landscape][A4,landscape] \section{First section} \input knuth % Reverts to the global layout \page\setuppapersize[A4,portrait][A4,portrait] \chapter{Second chapter} \input knuth \stoptext As you can see in the result the layout of the landscaped-page is not as I expected. Can somebody help me? Best regards, Peer___ 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] TeXlive 2012 (testing again)
Hans Hagen writes: > On 10-6-2012 18:39, Marco Pessotto wrote: >> >> Hello there. >> >> I can't get (again) the fonts installed in the texmf-local directory in >> the TeXlive 2012 pretest. >> >> It's quite possible I'm doing something wrong (but I recall that putting >> the files under texmf-local/fonts/data was enough to get them >> imported). > > texmf-local is one of the paths that get prescanned so did you run > mtxrun --generate"? Ok, mtxrun --generate ; mtxrun --script fonts --reload ; did the trick. I'll have to tattoo these mtxrun commands somewhere on my hands, so I won't forget. Thanks and sorry for the noise. -- 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] labeltext assignment
Hi all, there appears to be something special about how the key-value list works with \setuplabeltext: ··· \setuplabeltext [ foo=bar, %% <- comma not allowed here? % foo=bar %% <- works ] \starttext \labeltext{foo} \stoptext ··· Normally the trailing comma causes no trouble, but here it won’t even compile. Best regards Philipp pgp72risoTbZn.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 ___
[NTG-context] current
Hi, Today I'd like to promote the beta to current (unless we have a real showstopper that cannot wait for the usual betas). So, it might be a good moment to snapshot your current if you depend on it. 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] back-up.lua; mtx-epub.lua
On 11-6-2012 07:41, Andy Thomas wrote: On Jun 11, 2012, at 12:21 AM, Hans Hagen wrote: The validator likes it, next is the hard part: generating a valid xhtml. Is the xhtml generator only for the epub, i.e. can it be changed or is another output file just for the epub appropriate? the only issue is that css has no method for mapping a link which is why the exporter produces two files (xml and xhtml) I get an error by the epub validator if I feed it the generated epub. The content file is: -START http://www.w3.org/1998/Math/MathML"; version="0.30" language="de" date="Mon Jun 11 07:03:39 2012" file="test_00" context="2012.06.11 00:21" xmlns:xhtml="http://www.w3.org/1999/xhtml";> Hello world! -END the error is: -START Epubcheck Version 3.0b5 Validating against EPUB version 2.0 ERROR: test_00.epub/OEBPS/test_00.xhtml(9,202): elements from namespace "" are not allowed maybe then mean that namespace mathml is not supported? - 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 ___