Re: [NTG-context] How to move an inframed block?
Hello Everybody, Hans reacted on the question of how to move a framed text relative to another framed text by: search for 'layers' on the wiki; they provide precise positioning Looking to the wiki site, I read at the first sentence: Layers are ConTeXt's mechanism for absolute positioning of elements But I don't want absolute postitioning, and I don't want a background which is repeated every page. Here an example I tried but it is not what I want. ( Don't look to the way how it is programmed and I mean the \startdefinition \stopdefinition. I want to do that on another nice way, but no idea how. Trying out this example gives a dummy file before the word Definition, I want to put on that place certain figures. That is no problem.) ### Begin Example: % otherwise you get greyscale \setupcolors[state=start] \setupcolor[rgb] % Default % default %\setupbodyfont[10pt] \setupbodyfont[lucida,10pt] % works! % pagenumbering \setuppagenumbering[location={header,right}, style=bold] % set inter-paragraph spacing \setupwhitespace[medium] % printed on A4 paper \setuppapersize[A4][A4] % the layout ( 1 inch =2.54 centimeter) \setuplayout[backspace=25mm, width=170mm, topspace=10mm, top=0mm, header=20mm, footer=10mm, height=270mm, leftmargin=10mm, rightmargin=10mm, leftedge=0mm, rightedge=0mm] % uncomment the next line to see the layout %\showframe % make hyperlinks active \setupinteraction[state=start, color=orange] % use module newmat \usemodule[newmat] %\usemodule[amsl] % \usemodule[nath] not use this module, otherwise amsl doesn't work anymore. % define colors \definecolor[LightBlue][r=.5,g=.5,b=1.0] \definecolor[LightYellow][r=.8,g=.8,b=.6] \definecolor[LightRed][r=1.0,g=.4,b=.4] \definecolor[indexgray][s=0.925] \definecolor[indexred][r=0.9] \definecolor[indexyellow][y=0.9] \definecolor[secorange][r=1.0,g=0.8,b=0.6] \definecolor[subsecorange][r=0.9,g=0.8,b=0.6] \definecolor[examgreen][g=0.6] \definecolor[agvgreen][r=.8,g=1.0,b=.8] \definecolor[agvblue][r=.8,g=1.0,b=1.0] \definecolor[agvmauve][r=.6862,g=.2392,b=.8] \definecolor[agvbrown][r=.8,g=.4078,b=.2392] % define other things \setuplabeltext[en][chapter=Chapter\,] \setuplabeltext[en][section=Section\,] % Enumeration \defineenumeration[definition][text=Definition] \setupenumerations[definition][location=serried,width=broad,headstyle=italic, inbetween=\blank, before=\blank, after=\blank, way=bysection] % Tryout logotext % #1: Definition,Lemma,Section, #2: reference, #3: title \define[4]\logotext{% \doif{#1}{Definition}{% \startmyframe \framed[corner=00, background=color, backgroundcolor=agvgreen, foreground=color, foregroundcolor=black, offset=0.5ex, rulethickness=2pt, framecolor=agvbrown]{\,\externalfigure[Figures/#4.pdf][width=12pt]\, \startdefinition[#2] \stopdefinition}{#3} \stopmyframe} \doif{#1}{Lemma}{% \framed[corner=00, background=color, backgroundcolor=agvblue, foreground=color, foregroundcolor=black, rulethickness=2pt, framecolor=agvmauve]{#3}} \doif{#1}{Section}{% \framed[corner=00, background=color, backgroundcolor=agvgreen, foreground=color, foregroundcolor=black, foregroundstyle=normal, offset=0.75ex, rulethickness=1pt, framecolor=agvbrown]{\section[#2]{#3 \defineframedtext [myframe] [width=\textwidth, offset=1.0ex, background=color, backgroundcolor=agvblue, foregroundstyle=normal, before={\blank[medium]}, after={\blank[medium]}, corner=00, rulethickness=1pt, framecolor=agvmauve] \starttext \section{Puh} \logotext{Definition}{DefAap}{ The numbers $\{x^{i}\}$ are called the \underbar{contravariant components}\index{contravariant components} of the vector $\text{\bf x}$ with respect tot the basis $\{\text{\bf e}_{i}\}$.}{} \logotext{Definition}{DefAap-1}{ The numbers $\{x^{i}\}$ are called the \underbar{contravariant components}\index{contravariant components} of the vector $\text{\bf x}$ with respect tot the basis $\{\text{\bf e}_{i}\}$.}{} % Show next sample \logotext{Definition}{DefAap-2}{ Let $\Omega$ be an open subset of $\Bbb{R}^{n}$. A system of $n$ real-valued functions $\{ f^{i}(X)\}$, defined on $\Omega$, is called a (curvilinear)\index{curvilinear} \underbar{coordinate system}\index{coordinate system} for $\Omega$, if the following conditions are satisfied: \startitemize[1,packed,broad] \item The map $\text{\bf f}\,=\,(f^{1},\cdots,f^{n})^{T}$ of $\Omega$ to $\Bbb{R}^{n}$ is injective. The following notations is used $u^{i}\,= \,f^{i}(x^{i}E_{i})$. Notice that the functions $f^{i}$ are functions of the variables $x^{i}$. \item The set $U\,=\,f(\Omega)$ is an open subset of $\Bbb{R}^{n}$. \item The map $\text{\bf f}$ is differentiable at every point $X\in \Omega$ and there holds also that $\text{det}\startmatrix[left={\left[\,},right={\,\right]}] \NC {\displaystyle \frac{\partial f^{i}}{\partial x^{j}}}(X)\NR \stopmatrix \neq 0$ for every $X\in\Omega$. \stopitemize}{} %\QED}{} \stoptext ### End
[NTG-context] ConTeXt Ver 2009.08.14 Crashes with \reference
The following code causes the 2009.08.14 version of ConTeXt to crash (see below). But it works in the 2009.07.23 version of ConTeXt. \setupinteraction[state=start] \starttext \reference[ref:UsersMan]{User's manual} \input tufte\par User's manual~\at[ref:UsersMan] \stoptext = This is LuaTeX, Version beta-0.42.0-2009071712 \write18 enabled. (test.tex ConTeXt ver: 2009.08.14 10:48 MKIV fmt: 2009.8.14 int: english/english system : cont-new loaded (C:/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (C:/context/tex/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (C:/context/tex/texmf-context/tex/context/user/cont-sys.rme (C:/context/tex/texmf-context/tex/context/base/type-tmf.tex (C:/context/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (C:/context/tex/texmf-context/tex/context/base/type-siz.tex (C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) (C:/context/tex/texmf-context/tex/context/base/type-otf.tex (C:/context/tex/texmf-context/tex/context/base/type-otf.mkiv))) system : test.top loaded (test.top) fonts : preloading latin modern fonts bodyfont: 12pt rm is loaded language: language en is active systems : begin file test at line 2 (C:/context/tex/texmf-context/tex/context/sample/tufte.tex) fonts : resetting map file list {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-math {C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} ! LuaTeX error ...text/tex/texmf-context/tex/context/base/node-ref.lua:47: attempt to call upvalue 'list_dimensions' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/node-ref.lua:47: in function 'dimensions' ...text/tex/texmf-context/tex/context/base/node-ref.lua:71: in function 'inject_range' ...text/tex/texmf-context/tex/context/base/node-ref.lua:302: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ... ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function 'inject_area' ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function ...text/tex/texmf-context/tex/context/base/node-ref.lua:279 (tail call): ? local nodes_cleanup_page = nodes.cleanup_page...:14: in function local nodes_cleanup_page = nodes.cleanup_page...:10 (tail call): ? (tail call): ? main ctx instance:1: in main chunk. \finalizeshipoutbox ..._page(tex.box[\number #1])} \actualshipout ...0\hbox {#1}\finalizeshipoutbox 0 \setbox \scratchbox \hbox ... \myshipout ...\@@ppmethod }\gobbleoneargument {#1} \setnextrealpageno \afters... \dofinaloutput ...hbox {\vbox {\dopagebody #1#2}}} \the \everyaftershipout \a... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... \sidefloatoutput ...e \else \finalsidefloatoutput \global \sidefloatvsize \n... ... l.6 \stoptext ?
Re: [NTG-context] ConTeXt Ver 2009.08.14 Crashes with \reference
Tad Ashlock wrote: The following code causes the 2009.08.14 version of ConTeXt to crash (see below). But it works in the 2009.07.23 version of ConTeXt. \setupinteraction[state=start] ! LuaTeX error ...text/tex/texmf-context/tex/context/base/node-ref.lua:47: attempt to call upvalue 'list_dimensions' (a nil value) It looks like this version of context needs the (unreleased) luatex trunk. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] astronomy symbols
Hallo, I can not produce astronomy symbols. I use: LuaTeX, Version beta-0.40.6-2009070100 (Web2C 2009) ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.7.16 int: english/english Here a testfile: -- \usesymbols[was] \setupsymbolset [wasy astronomy] \def\Sat{\symbol[saturn]} \starttext \Sat \stoptext -- The testfile works ok with MK II 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to move an inframed block?
Am 14.08.2009 um 09:12 schrieb rrvhassel: Hello Everybody, Hans reacted on the question of how to move a framed text relative to another framed text by: search for 'layers' on the wiki; they provide precise positioning Looking to the wiki site, I read at the first sentence: Layers are ConTeXt's mechanism for absolute positioning of elements You can place layers also before/behind inline frames. Wikify this: \definelayer[framedtitle] \startsetups framedtitle \setlayerframed [framedtitle] [x=1cm,y=-.75\lineheight] [background=color,backgroundcolor=white,offset=.5ex] {\currentdescriptiontitle} \stopsetups \defineframedtext [myframe] [background={foreground,framedtitle}, % place descriptiontitle before myframe setups=framedtitle] \definedescription [description] [before=\startmyframe, after=\stopmyframe, width=0pt, location=none, % use command parameter command=\gobbleoneargument] % remove description text \starttext \startdescription{Knuth} \input knuth \stopdescription \startdescription{Zapf} \input zapf \stopdescription \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Round-corner textbox with shadow
Shadows on round-corner textboxes are producing square-corner shaded boxes with square-corner shadows. The following code illustrates the problem and should run asis. \def\Demos{ \startuniqueMPgraphic{shadow} fill OverlayBox shifted (4pt,-4pt) withcolor .8white ; fill OverlayBox withcolor .8white ; draw OverlayBox withcolor black ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay [shadow] [\uniqueMPgraphic{shadow}] \setupcolors[state=start] \startframedtext[ height=fit, width=\textwidth, location=inmargin , align=low, frame=on, % framecolor=black, framecorner=round, frameradius=.0625 in, background=shadow, %substitute screen for shadow and get clean box BUT no shadow backgroundscreen=0.9, backgroundcorner=round, backgroundradius=.0625 in, bodyfont=9pt, offset=0.05 in ] \setuptables[distance=small,bodyfont={9pt,sansserif}] \starttable[s1|Br|o4l|Br|l|] \NC Name:\NC \getvariable{Book:Demos}{name} \NC Nickname: \NC \getvariable{Book:Demos}{nickname} \NC\AR \NC DOB: \NC \getvariable{Book:Demos}{dob} \NC Height: \NC \getvariable{Book:Demos}{height} \NC\AR \NC Weight: \NC \getvariable{Book:Demos}{weight} \NC Age: \NC \getvariable{Book:Demos}{age} \NC\AR \NC Tribe: \NC \getvariable{Book:Demos}{tribe} \NC Home: \NC \getvariable{Book:Demos}{home} \NC\AR \NC Parents: \NC \THREE \getvariable{Book:Demos}{parents}\NC\AR \doifnot {\getvariable{Book:Demos}{parentsextra}}{}{\NC \NC \THREE \getvariable{Book:Demos}{parentsextra} \NC\AR} \stoptable \starttable[s1|Br|l|] \NC Early Schooling: \NC \getvariable{Book:Demos}{earlyschooling} \NC\AR \doifnot {\getvariable{Book:Demos}{laterschooling}}{}{\NC Later Schooling: \NC \getvariable{Book:Demos}{laterschooling} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors1}}{}{\NC Honors: \NC \getvariable{Book:Demos}{honors1} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors2}}{}{\NC \NC \getvariable{Book:Demos}{honors2} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors3}}{}{\NC \NC \getvariable{Book:Demos}{honors3} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors4}}{}{\NC \NC \getvariable{Book:Demos}{honors4} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors5}}{}{\NC \NC \getvariable{Book:Demos}{honors5} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors6}}{}{\NC \NC \getvariable{Book:Demos}{honors6} \NC\AR} \stoptable \stopframedtext } \starttext \setvariables[Book:Demos] [name={Glenn Scobey Warner}, nickname={Pop, The Old Fox}, dob={4/5/1871}, height={6'0}, weight={205}, age={}, tribe={N/A}, home={Springville, NY}, parents={William H. Warner, Adaline Scobey}, parentsextra={}, earlyschooling={Griffith Instatute}, laterschooling={Cornell University}, honors1={College Football Hall of Fame, Charter Member, 1951}, honors2={Helm's Athletic Foundation Hall of Fame, 1951}, honors3={Stanford Athletic Hall of Fame}, honors4={Greater Buffalo Hall of Fame, 2001}, honors5={}, honors6={} ] \Demos \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey Football player w C small image003.jpg___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Order of results of \placepbulications
Whatever I do, I cannot get another order than some default ordering (order in which they are used in the main document) with \placepublications. ConTeXt wiki is no help nor is Google. So here is the question: how can I get my references list in order of author name or in order of year? Thanks, G ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Order of results of \placepbulications
On 15 Aug 2009, at 14:49, Gerben Wierda wrote: Whatever I do, I cannot get another order than some default ordering (order in which they are used in the main document) with \placepublications. ConTeXt wiki is no help nor is Google. So here is the question: how can I get my references list in order of author name or in order of year? Let's add to this. I am using now: \usemodule[bib] \setupbibtex[database=gwierda] \setuppublications[alternative=num,numbering=short,refcommand=short] \setupcite[short] If I remove alternative=num the short numbering in the list of publications overwrites the content of each item in the list. Is there (decent, but I take anything ;-) documentation on bib in ConTeXt? Or does this part of ConTeXt has toolbox status and not so much user status? G Thanks, G ___ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Order of results of \placepbulications
Gerben Wierda wrote: On 15 Aug 2009, at 14:49, Gerben Wierda wrote: Whatever I do, I cannot get another order than some default ordering (order in which they are used in the main document) with \placepublications. ConTeXt wiki is no help nor is Google. So here is the question: how can I get my references list in order of author name or in order of year? Let's add to this. I am using now: \usemodule[bib] \setupbibtex[database=gwierda] \setuppublications[alternative=num,numbering=short,refcommand=short] \setupcite[short] If I remove alternative=num the short numbering in the list of publications overwrites the content of each item in the list. Is there (decent, but I take anything ;-) documentation on bib in ConTeXt? Like a manual? http://dl.contextgarden.net/modules/t-bib/doc/context/bib/bibmod-doc.pdf ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Round-corner textbox with shadow
Hi Tom, you simply get what you draw (the OverlayBox is always a square). See page 50 in the MetaFun manual for a solution... Best wishes, Peter Tom schrieb: Shadows on round-corner textboxes are producing square-corner shaded boxes with square-corner shadows. The following code illustrates the problem and should run asis. \def\Demos{ \startuniqueMPgraphic{shadow} fill OverlayBox shifted (4pt,-4pt) withcolor .8white ; fill OverlayBox withcolor .8white ; draw OverlayBox withcolor black ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay [shadow] [\uniqueMPgraphic{shadow}] \setupcolors[state=start] \startframedtext[ height=fit, width=\textwidth, location=inmargin , align=low, frame=on, % framecolor=black, framecorner=round, frameradius=.0625 in, background="" %substitute screen for shadow and get clean box BUT no shadow backgroundscreen=0.9, backgroundcorner=round, backgroundradius=.0625 in, bodyfont=9pt, offset=0.05 in ] \setuptables[distance=small,bodyfont={9pt,sansserif}] \starttable[s1|Br|o4l|Br|l|] \NC Name: \NC \getvariable{Book:Demos}{name} \NC Nickname: \NC \getvariable{Book:Demos}{nickname} \NC\AR \NC DOB: \NC \getvariable{Book:Demos}{dob} \NC Height: \NC \getvariable{Book:Demos}{height} \NC\AR \NC Weight: \NC \getvariable{Book:Demos}{weight} \NC Age: \NC \getvariable{Book:Demos}{age} \NC\AR \NC Tribe: \NC \getvariable{Book:Demos}{tribe} \NC Home: \NC \getvariable{Book:Demos}{home} \NC\AR \NC Parents: \NC \THREE \getvariable{Book:Demos}{parents} \NC\AR \doifnot {\getvariable{Book:Demos}{parentsextra}}{}{\NC \NC \THREE \getvariable{Book:Demos}{parentsextra} \NC\AR} \stoptable \starttable[s1|Br|l|] \NC Early Schooling: \NC \getvariable{Book:Demos}{earlyschooling} \NC\AR \doifnot {\getvariable{Book:Demos}{laterschooling}}{}{\NC Later Schooling: \NC \getvariable{Book:Demos}{laterschooling} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors1}}{}{\NC Honors: \NC \getvariable{Book:Demos}{honors1} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors2}}{}{\NC \NC \getvariable{Book:Demos}{honors2} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors3}}{}{\NC \NC \getvariable{Book:Demos}{honors3} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors4}}{}{\NC \NC \getvariable{Book:Demos}{honors4} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors5}}{}{\NC \NC \getvariable{Book:Demos}{honors5} \NC\AR} \doifnot {\getvariable{Book:Demos}{honors6}}{}{\NC \NC \getvariable{Book:Demos}{honors6} \NC\AR} \stoptable \stopframedtext } \starttext \setvariables[Book:Demos] [name={Glenn Scobey Warner}, nickname={Pop, The Old Fox}, dob={4/5/1871}, height={6'0"}, weight={205}, age={}, tribe={N/A}, home={Springville, NY}, parents={William H. Warner, Adaline Scobey}, parentsextra={}, earlyschooling={Griffith Instatute}, laterschooling={Cornell University}, honors1={College Football Hall of Fame, Charter Member, 1951}, honors2={Helm's Athletic Foundation Hall of Fame, 1951}, honors3={Stanford Athletic Hall of Fame}, honors4={Greater Buffalo Hall of Fame, 2001}, honors5={}, honors6={} ] \Demos \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey ___ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] astronomy symbols
Am 15.08.2009 um 12:59 schrieb Wolfgang Werners-Lucchini: Hallo, I can not produce astronomy symbols. % Unicode Fonts: http://users.teilar.gr/~g1951d/ % % the font for the symbols is hardcoded but as we have in mkiv fonts % with more symbols a command to change the font would make sense \definefontsynonym [UnicodeSymbols] [name:unicodesymbols] \def\UnicodeSymbol#1{\getglyph{UnicodeSymbols}{\utfchar{#1}}} \startsymbolset [miscellaneoussymbols] \definesymbol[blacktelephone][\UnicodeSymbol{260E}] \definesymbol[whitetelephone][\UnicodeSymbol{260F}] \definesymbol[mercury] [\UnicodeSymbol{263F}] \definesymbol[earth] [\UnicodeSymbol{2641}] \definesymbol[jupiter] [\UnicodeSymbol{2643}] \definesymbol[saturn][\UnicodeSymbol{2644}] \definesymbol[uranus][\UnicodeSymbol{2645}] \definesymbol[neptune] [\UnicodeSymbol{2646}] \definesymbol[pluto] [\UnicodeSymbol{2647}] \stopsymbolset 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] astronomy symbols
On Sat, 15 Aug 2009, Wolfgang Schuster wrote: Am 15.08.2009 um 12:59 schrieb Wolfgang Werners-Lucchini: Hallo, I can not produce astronomy symbols. Are there standard names for astronomy symbols (or a subset of them). If so, we can add the names to char-def. Then any font having these symbols would work without any changes. % Unicode Fonts: http://users.teilar.gr/~g1951d/ % % the font for the symbols is hardcoded but as we have in mkiv fonts % with more symbols a command to change the font would make sense This seems to a fairly complete computer modern like font. Thanks for the link. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] astronomy symbols
% Unicode Fonts: http://users.teilar.gr/~g1951d/http://users.teilar.gr/%7Eg1951d/ % % the font for the symbols is hardcoded but as we have in mkiv fonts % with more symbols a command to change the font would make sense This seems to a fairly complete computer modern like font. Thanks for the link. I think that it should be included in minimals. -- luigi ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] section head number
hi, I need to place a 'dot' in front of every section and subsection head number, for example, section '2.3' must be displayed as section '2.3.' How can I add this dot? Thanks in advance. -- ana ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] section head number
On Sat, Aug 15, 2009 at 17:29, epsilon cygni wrote: hi, I need to place a 'dot' in front of every section and subsection head number, for example, section '2.3' must be displayed as section '2.3.' How can I add this dot? In MKII or MKIV? In MKII you can do the following: \setuphead [section] [numbercommand=\mynumberwithcomma] \def\mynumberwithcomma#1{#1.} MKIV has a finer control over sectioning, so you should better use that solution (but I don't know it by heart). 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] section head number
Am 15.08.2009 um 19:08 schrieb Mojca Miklavec: MKIV has a finer control over sectioning, so you should better use that solution (but I don't know it by heart). You can write in MkIV \setupheads[sectionstopper={.}] :) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Order of results of \placepbulications
Le 15 août à 14:49:59 Gerben Wierda gerben.wie...@rna.nl écrit notamment: Hi all, | Whatever I do, I cannot get another order than some default ordering | (order in which they are used in the main document) with | \placepublications. ConTeXt wiki is no help nor is Google. | So here is the question: how can I get my references list in order of | author name or in order of year? | Thanks, I have this: \setuppublications[alternative=apa-fr,sorttype=bbl] It sorts your references according to how they are sorted in the bbl file (which is if I remember well, alphabetical order of bibtex keys...). Anyway «sorttype=» is the thing to manage! hth, -- Jean ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] section head number
On Sat, Aug 15, 2009 at 17:29, epsilon cygni wrote: hi, I need to place a 'dot' in front of every section and subsection head number, for example, section '2.3' must be displayed as section '2.3.' How can I add this dot? In MKII or MKIV? In MKII you can do the following: \setuphead [section] [numbercommand=\mynumberwithcomma] \def\mynumberwithcomma#1{#1.} MKIV has a finer control over sectioning, so you should better use that solution (but I don't know it by heart). Mojca Great this works! :) I need as well an appended dot in front of every figure and table number, i.e 'Figure 2.3.' instead of 'Figure 2.3' How can I append the dot? Thanks! -- ana ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] section head number
I figured it out, \setupcaption[figure][stopper={.}] \setupcaption[table][stopper={.}] thanks for the input :) -- ana ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___