Re: [NTG-context] Nested Macro
On 7-9-2012 07:42, Troy Henderson wrote: The \newtoks works great. Can values be assigned to tokens directly instead of appending? Obviously one way it to use \newtoks followed by \appendtoks, but once a token has already been defined, can its content be overwritten? \newtoks\mytoks \mytoks{xx} - 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] Promotion of the ConTeXt IRC channel
Hi, I was wandering if we should promote the ConTeXt IRC channel on the contextgarden home page, e.g. underneath “Welcome to ConTeXt garden” or “External Help”. The current page (http://wiki.contextgarden.net/IRC) is unlikely to be found by anyone. I think most questions should stay on the mailing list, since I consider the mailing list almost as “the second ConTeXt manual” and it can easily be searched, in contrast to IRC. At the moment the channel is dead, which is probably due to the fact that no one knows of its existence. But it might turn into a valuable source of information, e.g. regarding installation problems for which the mailing list might not be as suitable. 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 ___
Re: [NTG-context] Nested Macro
\newtoks\mytoks \mytoks{xx} Thanks! Troy ___ 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] Promotion of the ConTeXt IRC channel
I'm certainly in #context regularly, although I agree that it does appear dead most of the time. I would like to see it as active as #latex. Troy ___ 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] Promotion of the ConTeXt IRC channel
Marco wrote: I was wandering if we should promote the ConTeXt IRC channel on the contextgarden home page, The purpose of a link on the front page would be to point help-searchers at a useful resource --- if the resource is not yet useful, there's no point in the link, I think. After all, people who encounter an empty channel will simply turn around and leave it. But if there are people there, (perhaps not always but usually at time X,) it's a good idea, I think. If your main intention is to increase the number of regulars, I think canvassing on this mailing list will be a more effective strategy. (Maybe organise a theme discussion once a month or so, and announce it here?) Troy wrote: I'm certainly in #context regularly, although I agree that it does appear dead most of the time. I would like to see it as active as #latex. Do you know how many people there are that lurk on there (from time to time)? Cheers, 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] Promotion of the ConTeXt IRC channel
On 09/07/2012 06:57 AM, Marco Patzer wrote: At the moment the channel is dead, which is probably due to the fact that no one knows of its existence. But it might turn into a valuable source of information, e.g. regarding installation problems for which the mailing list might not be as suitable. After being on the internet since the early 1980's I can say with certainty if one person is having a particular problem others have or will have it, too. A searchable archive of answers (like a mailing list archive) is far more valuable than the ephemeral presence of any sort of IM channel. IM channels are really helpful when an expert needs to walk someone through something or do interactive problem investigations in real-time, but answers, regardless of how unique they seem at the time, are best kept where others can find them because they *will* be needed again. -- Bill Meahan Westland, Michigan USA ___ 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] Promotion of the ConTeXt IRC channel
On 2012-09-07 Bill Meahan subscribed_li...@meahan.net wrote: After being on the internet since the early 1980's I can say with certainty if one person is having a particular problem others have or will have it, too. A searchable archive of answers (like a mailing list archive) is far more valuable than the ephemeral presence of any sort of IM channel. I totally agree. If I get you right, you think that the IRC will receive problem solutions that the mailing list will miss. That's a valid point I had in mind, as well. With another channel the information will be spread out even more, which might not be desirable. IM channels are really helpful when an expert needs to walk someone through something or do interactive problem investigations in real-time, That was the scenario I had in mind. but answers, regardless of how unique they seem at the time, are best kept where others can find them because they *will* be needed again. Cannot agree more. Thanks for your opinion. 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] Interactive URL's and Acronyms
Hi @all, how do I get clickable/interactiv URLs and acronyms. After reading the manual I thought just setting | \setupinteraction | [state=start, color=black, contrastcolor=black, style=normal] | \definesynonyms [acronym] [acronyms] [\infull] | \setupsynonyms [acronym] [criterium=all] would be enough. But it's not... what I am missing here? I'm using | ConTeXt ver: 2012.09.06 23:03 MKIV fmt: 2012.9.7 int: english/english Cheers, Markus ___ 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] Ugly Bibliography layout ...
Hi @all, I'm writing my Bachelor thesis with ConTeXt and now I have a strage Problem with the bibliography. I'm using a resend version on context and MKIV: | ConTeXt ver: 2012.09.06 23:03 MKIV fmt: 2012.9.7 int: english/english My layoutfile has these settings: | \setupbibtex | [database={thesis}, sort=author] | \setuppublications | [alternative=ams, numbering=short, refcommand=short] You can have a look at the result here: https://dl.dropbox.com/u/2721576/ugly_bib_1.pdf If I add this additional setup | \setuppublicationlist | [samplesize={XX}] I get this result: https://dl.dropbox.com/u/2721576/ugly_bib_2.pdf How do I get a nice biblist with the reverences aligned left and some space between the reverences and the entry? Cheers, Markus ___ 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] Problem with codelistings and linenumbers
Hi @all, I'm trying to put some codelistings into my ConTeXt file, but I don't get line numbers. Im using a resend version of ConTeXt: | ConTeXt ver: 2012.09.06 23:03 MKIV fmt: 2012.9.7 int: english/english Here is the setup for my code environment: | \definefloat [listing] [listings] | \setupfloat [listing] [topframe=on, bottomframe=on] | \setupheadtext [listings=Quellcodelistings] | | \defineblank [aroundcode] [medium] | \definetyping [code] | \setuptyping [code] | [option=color, bodyfont=8.0pt, margin=yes, | before={\blank[aroundcode]\startlinenumbering}, | after={\blank[aroundcode]\stoplinenumbering}] And here is an example, how I use it. I place it into a floating environment so I can have a nice Listion of my code sippets with \completelistoflistings. | \placelisting [here] [lst:bb] | {Beispiel eines bitbake Rezeptes (zlib_1.2.7.bb)} | {\startcode | SUMMARY = Zlib Compression Library | DESCRIPTION = Zlib is a general-purpose, patent-free, lossless data \ | compression library which is used by many different programs. | HOMEPAGE = http://zlib.net/; | SECTION = libs | | LICENSE = Zlib | LIC_FILES_CHKSUM = file://zlib.h;beginline=4;endline=23;md5=94d1b5a... | | SRC_URI = http://www.zlib.net/${BPN}-${PV}.tar.bz2 \ |file://remove.ldconfig.call.patch \ | | SRC_URI[md5sum]= 2ab442d1691... | SRC_URI[sha256sum] = 49e2e9658df... | | do_configure (){ | ./configure --prefix=${prefix} --shared --libdir=${libdir} | } | | do_compile (){ | oe_runmake | } | | do_install() { | oe_runmake DESTDIR = ${D} install | } | \stopcode} You can have a look at the result here: https://dl.dropbox.com/u/2721576/code.pdf Besides the lack of the linenumbers you may notice the slightly bigger space between the top line and the code and the bottom line and the code. At the moment I'm adding the line numbers by hand ... Cheers, Markus ___ 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] Interactive URL's and Acronyms
Am 07.09.2012 um 17:58 schrieb Markus Hubig mhu...@gmail.com: Hi @all, how do I get clickable/interactiv URLs and acronyms. After reading the manual I thought just setting | \setupinteraction | [state=start, color=black, contrastcolor=black, style=normal] | \definesynonyms [acronym] [acronyms] [\infull] | \setupsynonyms [acronym] [criterium=all] would be enough. But it's not... what I am missing here? There are different ways to create a hyperlink to a website, e.g. \setupinteraction[state=start] \useurl[NASA][http://www.nasa.gov] \starttext \from[NASA] \goto{NASA}[url(http://www.nasa.gov)] \stoptext but I have no idea why you need hyperlinks for a synonym. \setupinteraction[state=start] \abbreviation{NASA}{National Aeronautics and Space Administration} \starttext \NASA \infull{NASA} \stoptext BTW: Use another name to show the full text for your acronyms (e.g. \fullacronym) because \infull is used to show the text of the predefined \abbreviation command. 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] Promotion of the ConTeXt IRC channel
I have bots running in #latex and #context that allows users to test LaTeX, MetaPost, and ConTeXt code in real time and have a URL generated for the output of their code (or a log file of the compilation process if their code fails to compile). I also keep logs of these rooms, and these logs can be searchable. I could easily make my logs available for the website if it is deemed appropriate. Troy ___ 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] Interactive URL's and Acronyms
On Fri, Sep 07, 2012 at 06:34:04PM +0200, Wolfgang Schuster wrote: Am 07.09.2012 um 17:58 schrieb Markus Hubig mhu...@gmail.com: how do I get clickable/interactiv URLs and acronyms. After reading the manual I thought just setting | \setupinteraction | [state=start, color=black, contrastcolor=black, style=normal] | \definesynonyms [acronym] [acronyms] [\infull] | \setupsynonyms [acronym] [criterium=all] would be enough. But it's not... what I am missing here? There are different ways to create a hyperlink to a website, e.g. \setupinteraction[state=start] \useurl[NASA][http://www.nasa.gov] \starttext \from[NASA] \goto{NASA}[url(http://www.nasa.gov)] \stoptext Ahh thanks \from[] is what I need! but I have no idea why you need hyperlinks for a synonym. Because I have a \placelistofacronyms in the backmatter of my document and it I click on a Acronym I wanna get there easily ... \setupinteraction[state=start] \abbreviation{NASA}{National Aeronautics and Space Administration} \starttext \NASA \infull{NASA} \stoptext This dosen't work here ... Thanks for your help, Markus ___ 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] Promotion of the ConTeXt IRC channel
hi Sietse, there are normally about 5-10 users online regularly, including me and Troy, but it would be nice to meet more users there, as a fast help is easier accomplished via IRC then ML but right ML is nice for a searchable help and as Marco said a secondary helpsystem... That channel was designed as a meetingpoint and should have been handed to ConTeXt by the owners but ConTeXt itself never asked for it and so the topic is still there as an unofficial ConTeXt source, that helped me many times :) So I think your idea about a regularly discussion on there concerning a special topic would be nice, but even having more users there and helping ppl the fast chatway would even be better and nicer too and as I can speak for me myself it is also nice to stay conected and build friendships easier in IRC then ML... :) Greetings Martin 'golodhrim' Scholz ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] incomplete \iffalse in cont-yes.mkiv?
With the latest beta, I *sometimes* get the error message: ! Incomplete \iffalse; all text was ignored after line 95. system tex error on line 4 in file /Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv: Incomplete \iffalse; all text was ignored after line 95 ... 1 %D \module 2 %D [ file=cont-yes, 3 %Dversion=2012.06.01, 4 %D title=\CONTEXT\ Miscellaneous Macros, 5 %D subtitle=Startup Stub, 6 %D author=Hans Hagen, 7 %D date=\currentdate, 8 %D copyright={PRAGMA ADE \ \CONTEXT\ Development Team}] 9 %C 10 %C This module is part of the \CONTEXT\ macro||package and is 11 %C therefore copyrighted by \PRAGMA. See mreadme.pdf for 12 %C details. 13 14 % At some point I will reconsider the \starttext .. \stoptext inserted text \fi l.4 } inserted text ...end context.finishjob() } \luat_start_lua_code_indeed ...ua \zerocount {#1}} l.86 \stopluacode Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___