[NTG-context] ConTeXt User Meeting / EuroTeX 2012?
Hello! I know I shouldn't be asking until after BachoTeX, but unfortunately my calendar for autumn is starting to fill up and there are things that should be settled pretty soon. (And I can't go to BachoTeX to sort things out there.) The page http://meeting.contextgarden.net/2012/ says that 6CM will be held in The Netherlands in connection with EuroTeX on October 8-12. The page also says that the arrangers can be contacted at euro...@ntg.nl, but that address bounces so I had to resort to the list. Are the dates and the place correct and so settled that I can rely on them while planning the autumn program (both work and otherwise)? And whom should I contact about the conference program and such things? I've got a few suggestions for them... nitpicking The page title for http://meeting.contextgarden.net/2012/ is ConTeXt User Meeting 2009. This is mildly annoying as that is the text that Firefox shows as tab name and I always go oops, wrong page even though it isn't. Could somebody change that year to 2012, please? /nitpicking Thanks, Mari ___ 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] ConTeXt User Meeting / EuroTeX 2012?
2012/4/13 Mari Voipio mari.voi...@iki.fi: Are the dates and the place correct and so settled that I can rely on them while planning the autumn program (both work and otherwise)? And whom should I contact about the conference program and such things? I've got a few suggestions for them... I share your concerns; but since this will also be the autumn meeting of DANTE and the release party of LuaTeX 1.0 I'm still convinced. :-) Best Martin ___ 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] ConTeXt User Meeting / EuroTeX 2012?
On 13-4-2012 09:43, Martin Schröder wrote: 2012/4/13 Mari Voipiomari.voi...@iki.fi: Are the dates and the place correct and so settled that I can rely on them while planning the autumn program (both work and otherwise)? And whom should I contact about the conference program and such things? I've got a few suggestions for them... I share your concerns; but since this will also be the autumn meeting of DANTE and the release party of LuaTeX 1.0 I'm still convinced. :-) The hotel and facilities are reserved so the dates are fixed. 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] Break links into items in the itemize list
Hello all Once again I return to this issue. Lukas confirmed me that really links do not work. Where is error when links into items in the itemize list are not working. Links are active but not working... It is interesting that the chapter on the links when hovering tooltip will appear with the page number where the link leads, not the case for the line item. Here is Lukas example (my example is bottom ) \setupinteraction[state=start] \starttext Go to \in[sec:1] -- \about[sec:1] or \in[it:a] -- \about[it:a]. \page \section[sec:1]{Sec} \startitemize[n] \item[it:a] Item A \stopitemize \stoptext Thanx for advices Jaroslav Hajtmar Here is my old example: \setupinteraction[state=start] \starttext \in{First link}[bibl:7] and \in{second link}[bibl:1] \page \startitemize[n] \item [bibl:7] Item 7 \item [bibl:4] Item 4 \item [bibl:8] Item 8 \item [bibl:10] Item 10 \item [bibl:1] Item 1 \item [bibl:20] Item 20 \stopitemize \stoptext ___ 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] Comma separating multiple footnotes
Am 12.04.2012 um 23:34 schrieb Kip Warner: On Tue, 2012-04-10 at 11:21 +0200, Wolfgang Schuster wrote: Am 10.04.2012 um 03:14 schrieb Kip Warner: Hey list, Is there any means of setting up footnotes such that whenever they are tangential, they are automatically separated by a comma delimiter? No there isnt but its not hard hard to add a separator because its already possible to change the distance between the numbers. Would that be done with \setupnotation or maybe \setupfootnotes? Either way, I'm not sure how to do this. I wrote a patch for the footnote code where you can set a symbol between the numbers with \setupnote[footnote][textseparator=…] but it’s decision to include it. \unprotect \unexpanded\def\strc_notes_inject_symbol {\removeunwantedspaces \doifitalicelse\/\donothing % Charles IV \footnote{the fourth} \ifdim\lastkern=\notesignal %\kern\noteparameter\c!distance % yes or no note font? or main text \strc_notes_inject_separator \fi \nobreak \begingroup \currentconstructionsynchronize % this flushes the data to the list \strc_notes_register_note_page % this registers the symbol page number (late) \strc_notes_interaction_check_inline \strc_notes_set_style_color_inline\c!textstyle\c!textcolor \hbox \strc_notes_get_reference_attribute_symbol \bgroup \dostarttagged\t!descriptionsymbol\currentnote \dotagsetnotesymbol \noteparameter\c!textcommand{\ctxcommand{noteprefixednumber(\currentnote,\currentnotenumber)}}% % the next one can cycle so we need to make sure it has no advance width \doif{\noteparameter\c!indicator}\v!yes\strc_notes_inject_pointer \dostoptagged \egroup \endgroup \dostoptagged % check \globallet\lastnotesymbol\relax} \unexpanded\def\strc_notes_inject_dummy % temp hack {\removeunwantedspaces \doifitalicelse\/\donothing % Charles IV \footnote{the fourth} \ifdim\lastkern=\notesignal %\kern\noteparameter\c!distance % yes or no note font? or main text \strc_notes_inject_separator \fi \nobreak \hbox to .5em{}% \globallet\lastnotesymbol\relax} \def\strc_notes_inject_separator {\edef\p_textseparator{\noteparameter\c!textseparator}% \ifx \p_textseparator \empty \kern\noteparameter\c!distance \else \nobreak\hbox\bgroup \strc_notes_interaction_check_inline \strc_notes_set_style_color_inline\c!textstyle\c!textcolor \noteparameter\c!textcommand{\p_textseparator}% \kern\noteparameter\c!distance \egroup\nobreak \fi} \protect \setupnote [footnote] [ textseparator={,}, textstyle=italic, textcolor=red, distance=.5em, ] \starttext Text\footnote{One}\footnote{Two}\footnote{Three} \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] lucida ot
On Sat, Apr 7, 2012 at 00:25, Hans Hagen pra...@wxs.nl wrote: Just copy the *.otf files to for instance a directory yourtexroot/tex/texmf-fonts/fonts/opentype/data/lucidaot and then run mtxrun --generate after that \setupbodyfont[lucidaot] should work. It does! I had a prolonged fight with my Mac about using an up-to-date version of ConTeXt, but once I got that far, the rest wasn't that bad. So the next for dummies question is: If I do \ss or 'sans' in setupbodyfont, I get Lucida Sans - but how do I access Blackletter, Calligraphy and Handwriting? A quick excursion into \cg and \hw didn't work out, I think I'm missing something here... I'd have a real use for all of the three like about right now, recreating something from 15th and 17th century with 21st century technology, with output in both period style and in various more modern forms - ConTeXt should be the perfect tool for the job, if I can learn enough to make it work :-) Thank you, Mari ___ 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] lucida ot
Am 13.04.2012 um 19:12 schrieb Mari Voipio: On Sat, Apr 7, 2012 at 00:25, Hans Hagen pra...@wxs.nl wrote: Just copy the *.otf files to for instance a directory yourtexroot/tex/texmf-fonts/fonts/opentype/data/lucidaot and then run mtxrun --generate after that \setupbodyfont[lucidaot] should work. It does! I had a prolonged fight with my Mac about using an up-to-date version of ConTeXt, but once I got that far, the rest wasn't that bad. So the next for dummies question is: If I do \ss or 'sans' in setupbodyfont, I get Lucida Sans - but how do I access Blackletter, Calligraphy and Handwriting? A quick excursion into \cg and \hw didn't work out, I think I'm missing something here... I'd have a real use for all of the three like about right now, recreating something from 15th and 17th century with 21st century technology, with output in both period style and in various more modern forms - ConTeXt should be the perfect tool for the job, if I can learn enough to make it work :-) I attached a modified version of the typescript file where I added calligraphic and handwriting, blackletter is missing because there is no font command for the style. \setupbodyfont[lucidanova] \define[1]\LucidaTest {\begingroup #1\tf Regular \it Italic \sl Slanted \bf Bold \bi BoldItalic \bs BoldSlanted \tf fi fl VA \par \endgroup} \starttext \LucidaTest\rm \LucidaTest\ss \LucidaTest\tt \LucidaTest\hw \LucidaTest\cg \stoptext Wolfgang type-imp-lucida-opentype.mkiv Description: Binary data ___ 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] lucida ot
On Fri, Apr 13, 2012 at 20:40, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: I attached a modified version of the typescript file where I added calligraphic and handwriting, That was quick! And working, of course. :-) Not sure I like the word spacing of the handwriting font and the kerning on the calligraphy version, but that's why we have ConTeXt, for a bit of tweaking. Now I can at least get started, and figure out about the Blackletter a bit later - especially as it probably isn't appropriate style for this project anyway, wrong time and place (and probably least legible of these, too). Thank you! Mari ___ 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] Break links into items in the itemize list
On 13-4-2012 09:50, Jaroslav Hajtmar wrote: Hello all Once again I return to this issue. Lukas confirmed me that really links do not work. Where is error when links into items in the itemize list are not working. Links are active but not working... It is interesting that the chapter on the links when hovering tooltip will appear with the page number where the link leads, not the case for the line item. Here is Lukas example (my example is bottom ) \setupinteraction[state=start] \starttext Go to \in[sec:1] -- \about[sec:1] or \in[it:a] -- \about[it:a]. \page \section[sec:1]{Sec} \startitemize[n] \item[it:a] Item A \stopitemize \stoptext I'll look into it, but keep in mind that \about makes no sense for items - 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] Break links into items in the itemize list
Thanks Hans for your feedback. Can be solved in such a case some alternative? I use this method for a simple bibliography. Now everything is working OK, I only mentioned the problem with break links. Thanx Jaroslav On 13-4-2012 09:50, Jaroslav Hajtmar wrote: Hello all Once again I return to this issue. Lukas confirmed me that really links do not work. Where is error when links into items in the itemize list are not working. Links are active but not working... It is interesting that the chapter on the links when hovering tooltip will appear with the page number where the link leads, not the case for the line item. Here is Lukas example (my example is bottom ) \setupinteraction[state=start] \starttext Go to \in[sec:1] -- \about[sec:1] or \in[it:a] -- \about[it:a]. \page \section[sec:1]{Sec} \startitemize[n] \item[it:a] Item A \stopitemize \stoptext I'll look into it, but keep in mind that \about makes no sense for items - 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] MLA Bibliography
On Fri, 2012-04-13 at 10:29 +1200, Pontus Lurcock wrote: I had a quick google before writing my previous mail, but only turned up http://archive.contextgarden.net/message/20100208.170849.f874f701.hu.html , which implies that at least as of two years ago MLA bibliographies were still an unsolved problem. That's too bad. Sounds like a bug, but never having used the other styles I don't really know. =( The aforementioned bibmod-doc.pdf file by Taco is the best documentation I've found, though it's a little out of date. But it's worth reading to get the idea of how ConTeXt interacts with BibTeX. I've read it top to bottom several times now =( As you say, discussion is a little scant too. I'm a user with a fairly limited understanding of the bibliography system, but I try to do what I can with bibliography questions if nobody else is answering. It's appreciated. Here's a sample entry from my PhD bibliography: % TODO is there a better way to cite a webpage? @manual{acton2011zplotit, author = {Acton, Gary}, title = {{ZPLOTIT} Software Users' Guide, version 2011-01}, year = {2011}, address = {\hyphenatedurl{http://paleomag.ucdavis.edu/software-Zplotit.html}}, note = {Retrieved 1 February 2011} } ... as the TODO shows, I don't consider this a perfect solution :-). With APA style, this produces an acceptable-looking entry, although semantically ‘address’ is probably the wrong key for the URL. Perhaps, but you just gave me a great idea. \hyphenatedurl allows the url to be split nicely, but doesn't make it clickable; for that the tricks detailed at http://wiki.contextgarden.net/url should work. I'd guess that something like address = {\useURL[dummy][http://www.example.com]\from[dummy]} should make a clickable bibliography URL. See I totally forgot that it's basically copying the values of the tags directly into the bbl file which is already ConTeXt syntax, so all I have to do is replace the value of the title tag with the url. Here is what I did and it works marvellously: @Misc{asymptotic_notation, author = {Walker, Julienne}, month = {apr}, publisher = {Eternally Confuzzled}, title = {\href{http://www.eternallyconfuzzled.com/arts/jsw_art_bigo.aspx}{Asymptotic Notation}}, year= {2012} } I've defined \href as such: \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} It works great and this is what I see: Walker, Julienne (2012a). Asympt% otic Notation. Eternally Confuzzled. But why the % string gets inserted in there I do not know? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MLA Bibliography
On Fri, 2012-04-13 at 06:51 +0200, Philipp Gesang wrote: (1) I'd like it such that each time I use \cite, the full citation and not just (Some One, 1967) appears in a footnote, rather than inline. You need to clarify two things here: 1 You want to map the “\cite” macro to something like “\footcite”? Either by mapping \cite, or by using some other macro, yes. Have you tried something along the lines of this \let \goodoldcite \cite \unexpanded\def\cite#1{\footnote{\goodoldcite{#1}}} Yes, it doesn't work though. All I see are footnotes that contain (Xx, ). But maybe I am not using it properly. I just use \cite[reference] and that is what I see. 2 You want “\cite” to retrieve full citations? Assuming this requires that they contain the complete names of authors, editors and stuff, you might be out of luck. Last time I checked this was impossible to realize within the constraints of the bib module: http://archive.contextgarden.net/message/20100212.073108.f4699471.en.html Ouch. So basically no footnote citations like in most of the books I read. You'd think there would just be a \cite[everything] option? Hth. Anyways, you’re right, the native Context bib support is not really fulfilling. =( -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Comma separating multiple footnotes
On Fri, 2012-04-13 at 15:58 +0200, Wolfgang Schuster wrote: I wrote a patch for the footnote code where you can set a symbol between the numbers with \setupnote[footnote][textseparator=…] Hey Wolfgang. It looks great. I'm assuming I'd stick the following in my environment file: \setupnote[footnote][textseparator={,}] Also, should it have been \setupnote or \setupnotation? but it’s decision to include it. I suppose I could use it for now with the expectation that it will neither do nor break anything, but that when it is included in the official distribution, it will work? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Index setup
So basically, I have this: \starttext \chapter{Ch1} \index{abc}abc \index{bcd}bcd \index{def}def \chapter{Ch2} \index{wxy}wxy \index{xyz}xyz \index{zzz}zzz \page \setupregister[index][indicator=no] \placeindex \stoptext 1) I'd like a single list with no blank lines in between letters (I've already removed the indicator, but I'm stuck there). 2) I'm trying to align the pagenumber on the right side of the column. Should be easy, but...?! Nobody has a solution? :-( Are my questions unclear and badly formulated? JFS ___ 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] MLA Bibliography
Hi Kip ... I had a similar problem with a bibliography. Supervisor of thesis wants to have a bibliography in a specific format (sorted AMS like) in which it can not produce the ConTeXt. Maybe this is just because I am a bit stupid and I could not correct the bibliography in ConTeXt and run something similar to what I wanted none of the conference met, so no one could help me. I finally after many hours of experiments on all bibliography resigned and I made myself a simple tool for typesetting bibliographies. But it is only a virtue of necessity and bibliography entries I we entered all on the line (ie, exactly how it should look in the list of bibliography), ie. I do that without specifying a style author = someone, title = foo, etc. That is to say that if you do not need to have the bibliography in the format in which we would expect from BibTeX, so I suggest to do it my way (I mean the format of bibliographic entries in text, sorting items, etc..) All of this can be done in Lua. In printed form, nobody will know that this is actually done manually without BibTeX ... Originally I thought that I can not do, but eventually everything turned out well. It is true that the bibliographic citations in the work is not so much (about a hundred). Good luck. Jaroslav Hajtmar Dne 14.4.2012 2:34, Kip Warner napsal(a): On Fri, 2012-04-13 at 06:51 +0200, Philipp Gesang wrote: (1) I'd like it such that each time I use \cite, the full citation and not just (Some One, 1967) appears in a footnote, rather than inline. You need to clarify two things here: 1 You want to map the “\cite” macro to something like “\footcite”? Either by mapping \cite, or by using some other macro, yes. Have you tried something along the lines of this \let \goodoldcite \cite \unexpanded\def\cite#1{\footnote{\goodoldcite{#1}}} Yes, it doesn't work though. All I see are footnotes that contain (Xx, ). But maybe I am not using it properly. I just use \cite[reference] and that is what I see. 2 You want “\cite” to retrieve full citations? Assuming this requires that they contain the complete names of authors, editors and stuff, you might be out of luck. Last time I checked this was impossible to realize within the constraints of the bib module: http://archive.contextgarden.net/message/20100212.073108.f4699471.en.html Ouch. So basically no footnote citations like in most of the books I read. You'd think there would just be a \cite[everything] option? Hth. Anyways, you’re right, the native Context bib support is not really fulfilling. =( ___ 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 ___