Re: [NTG-context] Pull quotes
Am 28.04.2011 um 23:15 schrieb mathew: > On Thu, Apr 28, 2011 at 12:16, Wolfgang Schuster > wrote: >> As do now know what you want here is a solution from me (MkIV only): > > Could you comment on the advantages of your solution, given its > greater complexity? It gives you more flexibility but my first goal was to get rid of the \placepullquote command in the text. Another reason why i used \defineannotation is that it creates i environment where you can pass the argument to another command. I could have written a shorter setup but i wanted the possibility to change the position of the quote (e.g. “location=left”) and you can also change the width and style of the text. 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] Pull quotes
Am 28.04.2011 um 22:56 schrieb Marco: >> http://www.elijournals.com/images/articleFigures/0302/msw0321a.gif > > I intentionally didn't suggest a layout like this. 1st it > has a horrible spacing and 2nd it's very hard to read. +1 >>> This would mark up the text surrounding the pull quote as >>> somehow different than the one preceding and following the >>> pull quote and thus confuse the reader. >> >> I don’t think so because it’s common in magazines but TeX >> isn’t the best tool for this. > > Mostly in magazines the layout comes first and the > readability second, that's why magazines can't be a > measure for a readable layout. Best example is variable > inter-character spacing. > >> • >> http://www.wyssdesign.com/Wyss_Design_Images/Bookprojects/Wyss_Design_Success_Spread1.jpg >> • http://www.twopeaspublishing.com/assets/sample_pullquote.jpg > > These both pull quotes are not centred. No but the look better and disturb you (or at least me) while reading. >> • http://homeforprofits.com/wp-content/uploads/wikipedia-pullquote.png >> • >> http://forums.adobe.com/servlet/JiveServlet/showImage/2-2897250-31035/Picture+32.png > > This looks fine, it's common this way. But it only works > in a two-column layout. I assumed we're talking about one > column layouts. Yes, for more columns use always the full width, even spanned columns are possible but i won’t use shaped text. 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] Pull quotes
On Thu, Apr 28, 2011 at 12:16, Wolfgang Schuster wrote: > As do now know what you want here is a solution from me (MkIV only): Could you comment on the advantages of your solution, given its greater complexity? mathew -- http://www.pobox.com/~meta/> ___ 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] Pull quotes
On 2011-04-28 Wolfgang Schuster wrote: > >> When using center, the quote is centered, but the text > >> comes after the quote. > > > > A feasible solution. It is eye-catching and easy to read. > > And there are many ways to make it fancy: > http://layersmagazine.com/indesign-paragraph-rules.html I never doubted that pull quotes can't be fancy ;) > >> It would be nice if the text would flow around both > >> sides of the quote, > > > > Do you really think so? How would it look like? A three > > column layout: text left, pull quote, text right and the > > text continues in full-width? > > http://www.elijournals.com/images/articleFigures/0302/msw0321a.gif I intentionally didn't suggest a layout like this. 1st it has a horrible spacing and 2nd it's very hard to read. > > This would mark up the text surrounding the pull quote as > > somehow different than the one preceding and following the > > pull quote and thus confuse the reader. > > I don’t think so because it’s common in magazines but TeX > isn’t the best tool for this. Mostly in magazines the layout comes first and the readability second, that's why magazines can't be a measure for a readable layout. Best example is variable inter-character spacing. > > • > http://www.wyssdesign.com/Wyss_Design_Images/Bookprojects/Wyss_Design_Success_Spread1.jpg > • http://www.twopeaspublishing.com/assets/sample_pullquote.jpg These both pull quotes are not centred. > • http://homeforprofits.com/wp-content/uploads/wikipedia-pullquote.png > • > http://forums.adobe.com/servlet/JiveServlet/showImage/2-2897250-31035/Picture+32.png This looks fine, it's common this way. But it only works in a two-column layout. I assumed we're talking about one column layouts. 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] Pull quotes
Am 28.04.2011 um 21:53 schrieb Marco: > On 2011-04-28 Cecil Westerhof wrote: > >> Looks great, but you can not use center. > > Sure you can. As the argument of the location key is just passed to \placefigure you can use any valid placefloat keyword. >> When using center, the quote is centered, but the text >> comes after the quote. > > A feasible solution. It is eye-catching and easy to read. And there are many ways to make it fancy: http://layersmagazine.com/indesign-paragraph-rules.html >> It would be nice if the text would flow around both >> sides of the quote, > > Do you really think so? How would it look like? A three > column layout: text left, pull quote, text right and the > text continues in full-width? http://www.elijournals.com/images/articleFigures/0302/msw0321a.gif > This would mark up the text surrounding the pull quote as > somehow different than the one preceding and following the > pull quote and thus confuse the reader. I don’t think so because it’s common in magazines but TeX isn’t the best tool for this. • http://www.wyssdesign.com/Wyss_Design_Images/Bookprojects/Wyss_Design_Success_Spread1.jpg • http://www.twopeaspublishing.com/assets/sample_pullquote.jpg • http://homeforprofits.com/wp-content/uploads/wikipedia-pullquote.png • http://forums.adobe.com/servlet/JiveServlet/showImage/2-2897250-31035/Picture+32.png 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] Pull quotes
On 2011-04-28 Cecil Westerhof wrote: > Looks great, but you can not use center. Sure you can. > When using center, the quote is centered, but the text > comes after the quote. A feasible solution. It is eye-catching and easy to read. > It would be nice if the text would flow around both > sides of the quote, Do you really think so? How would it look like? A three column layout: text left, pull quote, text right and the text continues in full-width? This would mark up the text surrounding the pull quote as somehow different than the one preceding and following the pull quote and thus confuse the reader. 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] Pull quotes
2011/4/28 Wolfgang Schuster : > As do now know what you want here is a solution from me (MkIV only): > > \usemodule[annotation] > > \define[2]\PullquoteCommand > {\placefigure[\annotationparameter{location},none]{}% > {\framedtext > [frame=off, > width=\annotationparameter{width}, > style=\annotationparameter{style}] > % {“#2”}}} > {\setupinterlinespace“#2”\par}}} > > \defineannotation > [pullquote] > [alternative=command, > command=\PullquoteCommand, > location=right, > width=fit, > style=\tfc] > > \starttext > > \startpullquote[width=4cm] > All work and no play makes Jack a dull boy. > \stoppullquote > > \input knuth > > \blank > > \startpullquote[width=4cm,location=left] > All work and no play makes Jack a dull boy. > \stoppullquote > > \input knuth > > \stoptext Looks great, but you can not use center. Would that be possible. When using center, the quote is centered, but the text comes after the quote. It would be nice if the text would flow around both sides of the quote, -- Cecil Westerhof ___ 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] Pull quotes
Am 28.04.2011 um 18:27 schrieb mathew: > On Wed, Apr 27, 2011 at 15:08, Pontus Lurcock wrote: >> Why not just put it in a float? > > OK, after some fiddling around, a combination of a framed text in a > float seems to work. > > Definitions: > > \definefloat[pullquote][pullquotes] % Define a new type of float > \setupcaption[pullquote][location=none] % Set it to have no captions > \defineframedtext[pullquote][frame=off] % Define a new type of framed > text with no visible frame > > Usage: > > \placepullquote[right]{}{ > \startpullquote[width=4cm] > \tfc “All work and no play makes Jack a dull boy.” > \stoppullquote} > > The {} in the \placepullquote is the text for the caption, which in > this case is set up to be invisible. Obviously you could use the > caption feature to cite the source of quotations. As do now know what you want here is a solution from me (MkIV only): \usemodule[annotation] \define[2]\PullquoteCommand {\placefigure[\annotationparameter{location},none]{}% {\framedtext [frame=off, width=\annotationparameter{width}, style=\annotationparameter{style}] % {“#2”}}} {\setupinterlinespace“#2”\par}}} \defineannotation [pullquote] [alternative=command, command=\PullquoteCommand, location=right, width=fit, style=\tfc] \starttext \startpullquote[width=4cm] All work and no play makes Jack a dull boy. \stoppullquote \input knuth \blank \startpullquote[width=4cm,location=left] All work and no play makes Jack a dull boy. \stoppullquote \input knuth \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] Pull quotes
On Wed, Apr 27, 2011 at 15:08, Pontus Lurcock wrote: > Why not just put it in a float? OK, after some fiddling around, a combination of a framed text in a float seems to work. Definitions: \definefloat[pullquote][pullquotes] % Define a new type of float \setupcaption[pullquote][location=none] % Set it to have no captions \defineframedtext[pullquote][frame=off] % Define a new type of framed text with no visible frame Usage: \placepullquote[right]{}{ \startpullquote[width=4cm] \tfc “All work and no play makes Jack a dull boy.” \stoppullquote} The {} in the \placepullquote is the text for the caption, which in this case is set up to be invisible. Obviously you could use the caption feature to cite the source of quotations. Added to the wiki. mathew -- http://www.pobox.com/~meta/> ___ 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 2.10: errors
On Thu, Apr 28, 2011 at 17:20, Mojca Miklavec wrote: > On Wed, Apr 27, 2011 at 10:24, Aditya Mahajan wrote: >> On Wed, 27 Apr 2011, Christoph Redecker wrote: >> >>> For the gui installer, I provided what I could. I clicked "Next" and >>> "Finish" where I could, but the options I used are included in my last post. >>> Is it possible that you mixed up the command line installation and the gui >>> variant? >> >> Yes I did mix the two up. I re-read your last post again. I don't know why >> you get the missing kpathsea600.dll error message. The bin directory >> actually contains kpathsea601.dll. > > This must be my fault. When LuaTeX switched to kpathsea601 I deleted > kpathsea600, but forgot that kpathsea probably still depends on > kpathsea600. I'll fix that, sorry for the inconvenience. The problem seems to be that I'm copying kpathsea from TeX Live and that version still depends on kpathsea600.dll. As a temporary solution I added kpathsea600.dll back (I'm not sure if I added it properly to all the places), but I will probably change the code, so that it will fetch all the binaries from Akira instead of taking the ones from old TeX Live. 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] tikz / pgf 2.10: errors
On Wed, Apr 27, 2011 at 10:24, Aditya Mahajan wrote: > On Wed, 27 Apr 2011, Christoph Redecker wrote: > >> For the gui installer, I provided what I could. I clicked "Next" and >> "Finish" where I could, but the options I used are included in my last post. >> Is it possible that you mixed up the command line installation and the gui >> variant? > > Yes I did mix the two up. I re-read your last post again. I don't know why > you get the missing kpathsea600.dll error message. The bin directory > actually contains kpathsea601.dll. This must be my fault. When LuaTeX switched to kpathsea601 I deleted kpathsea600, but forgot that kpathsea probably still depends on kpathsea600. I'll fix that, sorry for the inconvenience. TikZ has been fixed a while ago, but since there was no major release since then, it didn't proliferate to MikTeX. You could easily fix MikTeX by copying a tiny trivial change from ConTeXt minimals to MikTeX, I just need to check which file exactly. 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] Setting footnotes in two columns-> lines not breaking [mkiv]
Hi C., I just tried your code: with mkii I do get two columns in the footnote (although the columns are too close IMHO) and there is a line break for each footnote, but in mkiv I get the same result as yours. Best regards: OK On 27 avr. 2011, at 20:51, C. wrote: > Anybody? *fingers crossed* > > >> -Ursprüngliche Nachricht- >> Von: C. [mailto:meta...@gmx.de] >> Gesendet: Samstag, 23. April 2011 21:38 >> An: Context-Mailinglist >> Betreff: [NTG-context] Setting footnotes in two columns-> lines not > breaking >> [mkiv] >> >> Hello, >> I already mentioned this some time ago, but I lost track of that email. >> Since the problem still exists in the after today's update, I'll try > again: >> >> \setupnote[footnote][n=2] >> \starttext >> \dorecurse{6}{\input hawking\footnote{Nevertheless, there must be a line >> break in the footnotes}} \stoptext >> >> Can someone confirm this behavior or even propose a fix? [ConTeXt ver: >> 2011.04.22 18:17 MKIV] >> Sorry for the re-post. > > ___ > 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 ___
Re: [NTG-context] bibliography basics
Thanks, Wolfgang - and a follow-up question: I have no time for a minimal example - if there is no quick and obvious answer, tell me and I'll prepare one later. I have numbers in the text and want \invertedshortauthor in the publicationlist. But I get "First Name-Initial-Surname..." no matter what I try. If I have Name-Year in the text, it comes out the way I want it. I tried, e.g.: - \setupbibtex[database={manuscript}] \setuppublications[alternative=num,criterium=text,sorttype=cite] \setuppublicationlist[author={\invertedshortauthor}] %should be default anyway? \starttext \placepublications[criterium=text] \stoptext - Thanks, Jörg On Apr 14, 2011, at 3:20 PM, Hagmann Jörg wrote: > I haven't used bibliographies before and have a few basic questions. > I am using mkiv, current version: 2011.04.03 22:32. > > 1. If I interpret the wiki pages correctly, the bib module is not needed for > mkiv. On the other hand, examples I found in the archive have > "\usemodule[bib]" included, although (I think) they were meant for mkiv, and > leaving it out didn't affect the outcome. Question: has \usemodule[bib] no > function in mkiv, never? > > 2. Where can I get documentation? Can Taco's bib-module documentation still > be used? (In my experiments in some cases, not in others). > > 3. The "very basic example" on contextgarden > (http://wiki.contextgarden.net/Bibliography_mkiv#Example_of_use) gave numbers > in the text and an alphabetic list at the end. I added > "\setuppublications[alternative=apa]". Would that be the way to do it? Please > change it if there is something better (according to bibmod-doc, apa should > be default). > > Thanks, Jörg > ___ > 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 > ___ Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ 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] mtxrun list?
Executing 'mtxrun' without arguments shows the list of commands. There one finds: mtxrun | ConTeXt TDS Runner Tool 1.30 mtxrun | mtxrun | --script run an mtx script (lua prefered method) (--noquotes), no script gives list Doing 'mtxrun --script' I expected to see a list of the available scripts. But this command prints nothing. Is this something to be repaired? Hans van der Meer ___ 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] Minimals tree on Wiki?
Searching information in the Wiki on the minimals tree the following page: http://wiki.contextgarden.net/ConTeXt_Minimals/Tree did not render as expected, the thumnails are not showing; example: Error creating thumbnail: convert: unable to open image `/var/www/contextgarden.net/contextwiki/images/4/46/P1030314.jpg': No such file or directory. convert: missing an image filename `/var/www/contextgarden.net/contextwiki/images/thumb/4/46/P1030314.jpg/300px-P1030314.jpg'. Is there something amiss here? Hans van der Meer ___ 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 ___