[NTG-context] Alignment problem with labels and textext
Hi Hans, hi all, with the most recent ConTeXt (This is LuaTeX, Version beta-0.75.0-2013021110 (rev 4576) ConTeXt ver: 2013.02.05 22:32 MKIV fmt: 2013.2.11 int: english/english) there is an alignment problem with labels using textext. Labels without textext work ok. Small example showing the problem: - \starttext \startMPpage pickup pencircle scaled 1mm ; path p ; p := fullcircle scaled 3cm ; draw p withcolor .625yellow ; label.rt (textext("right") , point 0 of p) ; label.top (textext("top") , point 2 of p) ; label.lft (textext("left") , point 4 of p) ; label.bot (textext("bottom") , point 6 of p) ; \stopMPpage \startMPpage pickup pencircle scaled 1mm ; path p ; p := fullcircle scaled 3cm ; draw p withcolor .625yellow ; label.rt ("right" , point 0 of p) ; label.top ("top" , point 2 of p) ; label.lft ("left" , point 4 of p) ; label.bot ("bottom" , point 6 of p) ; \stopMPpage \stoptext - Greetings Lutz ___ 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] Justification
On 2/12/2013 2:24 PM, Honza Hejzl wrote: Hello, I am sorry I am not using mailing list now. Please, is there any way to use "full-justify" in context? It is a very common typographic rule that if the last line of a paragraph is longer (and closer) to its end than is the first-line indent ot the same paragraph, it should be justified to the end of the line. In Scribus/InD and so on there is typically "full-justify" option in formatting the paragraph. Is there any way? Thanks in advance! Kind regards, Honza Hejzl P. S.: xxx xxx x> \starttext \setupalign[verytolerant,stretch] \parfillskip\zeropoint \input tufte \stoptext - 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] \copypages and page numbers
I have a scanned (raster) PDF that I am inserting into my document via \copypages. However, the document's page number is not showing on top of this raster PDF page (presumably because \copypages places the page on top of everything else). How can I ensure that the page number is on top of raster page instead of behind? Troy Henderson ___ 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] Locating a figure
On Tue, Feb 12, 2013 at 9:47 AM, Wolfgang Schuster wrote: > > The location key accepts three arguments: > > - local (search in the current directory) > - global (search path specified with the directory key) > - default (search in the tex directory) > > The default setup for the search is > \setupexternalfigures[location={local,global}]. Just curious: how do PDFs from $TEXMF/doc/... sneak in (under default setup)? 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] Locating a figure
With “location=local” you limit context to search only in the local directory. The location key accepts three arguments: - local (search in the current directory) - global (search path specified with the directory key) - default (search in the tex directory) The default setup for the search is \setupexternalfigures[location={local,global}]. Wolfgang Thanks, Wolfgang. So, in this case there is an incorrect info on http://wiki.contextgarden.net/Command/setupexternalfigures; I'll correct it. Lukas -- 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 ___
Re: [NTG-context] Locating a figure
Am 12.02.2013 um 09:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > > Ctx is not able to find a figure: > > > \starttext >\setupexternalfigures[location=local,directory={4Essel}] > >\externalfigure[Dum-Poh.jpg] % Fails to find - Ctx uses a "dummy figure" >\externalfigure[4Essel/Dum-Poh.jpg] % OK > \stoptext > > > I'm running Ctx from > > c:\Lukas\Personal\Real\Ales > > with figures located in > > c:\Lukas\Personal\Real\Ales\4Essel\*.jpg > > What am I doing wrong? With “location=local” you limit context to search only in the local directory. The location key accepts three arguments: - local (search in the current directory) - global (search path specified with the directory key) - default (search in the tex directory) The default setup for the search is \setupexternalfigures[location={local,global}]. 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] Emoticons ;-)
On 2/12/2013 1:03 AM, Matthias Weber wrote: Dear all, I hope this doesn't get me banned from the ConTeXt list. What is the easiest/best way to add emoticons in ConTeXt as letters/symbols? In LaTeX, there is a package wasysym that gives \smiley and \frownie. It appears to be based at least partially on MetaFont code by Taco from 1998? I am aware that one can use images as characters as well, but I am looking for a cleaner solution. Incidentally (and irrelevant for my current purposes), my dream/nightmare would be to have animated emoticons in a PDF file. Is that at all possible? Something between a dream and nightmare : \startuseMPgraphic{smile} draw image ( path p ; p := (0,2) .. (2,2) .. (0,-2) ; draw p randomized .5 ; draw (0.5,1) ; draw (0.5,-1) ; ) xsized EmWidth ; \stopuseMPgraphic \definesymbol[smile][\useMPgraphic{smile}] \starttext \startTEXpage[width=20em] \dorecurse{100}{\dontleavehmode\symbol[smile] } \stopTEXpage \stoptext - 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] Locating a figure
Hello, Ctx is not able to find a figure: \starttext \setupexternalfigures[location=local,directory={4Essel}] \externalfigure[Dum-Poh.jpg] % Fails to find - Ctx uses a "dummy figure" \externalfigure[4Essel/Dum-Poh.jpg] % OK \stoptext I'm running Ctx from c:\Lukas\Personal\Real\Ales with figures located in c:\Lukas\Personal\Real\Ales\4Essel\*.jpg What am I doing wrong? Best regards, Lukas (ConTeXt ver: 2012.11.26 13:31 MKIV fmt: 2012.11.27 int: english/english) -- 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 ___