[NTG-context] Fatal error with followtokens (metapost)
Hi, the code: - \mainlanguage[de] \enableregime[utf-8] \useMPlibrary[txt] \starttext \setupbodyfont[big] \setupcolors[state=start] \setuplayout [topspace=192pt, backspace=48pt, cutspace=12pt, width=500pt, margin=0cm, rightedge=88pt, rightedgedistance=48pt, header=0cm, footer=0cm, height=400pt] \startuseMPgraphic{followtokens} path RotPath, q , cp; RotPath := halfcircle scaled 14cm rotated 180 ; \stopuseMPgraphic \followtokens{Voranbringen struktureller Politik-Veränderungen} \startuseMPgraphic{followtokens} path RotPath, q , cp; RotPath := quartercircle scaled 17cm rotated 220 ; \stopuseMPgraphic \followtokens{\ \ \ Präsenz in Medien\ } \stoptext - If change the content of the first followtokens the error disappears. Gerhard -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
One question: How can I give the several half circle text lines the same origin (that of the circles)? Gerhard -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
On Mon, Apr 02, 2018 at 11:30:05AM -0600, Alan Braslau wrote: > This is very easy to do in MetaPost, but you should not expect the > mailing list to design your graphic for you. > You are right totally. It is not my expectation. I succeeded in programming several graphics in metapost in the past. But in the present I am a blockhead. Gerhard -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
Perhaps it is better if I send the final graphic which I have prorammed with the programming langguage "logo". See attachment! The problem: it is pixel graphic. Gerhard On Mon, Apr 02, 2018 at 06:34:42PM +0200, Gerhard Kugler wrote: > Finally I want to place 8 (halfcircled) texts within 8 colores > (full)rings. Your proposal places the second text outside of the > circles. > -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
Finally I want to place 8 (halfcircled) texts within 8 colores (full)rings. Your proposal places the second text outside of the circles. Gerhard On Mon, Apr 02, 2018 at 06:08:56PM +0200, Hans Hagen wrote: > On 4/2/2018 5:52 PM, Gerhard Kugler wrote: > >Thank you very much! > > > >And if I want to place different text between the (half-)circles? > > \startuseMPgraphic{followtokens-1} > path RotPath ; RotPath := halfcircle scaled 7cm rotated 180 ; > for i=1 upto 6 : > draw halfcircle scaled (i*cm) rotated 180 ; > endfor ; > setbounds currentpicture to boundingbox halfcircle scaled 7cm rotated > 180 ; > \stopuseMPgraphic > > \startuseMPgraphic{followtokens-2} > path RotPath ; RotPath := halfcircle scaled 6cm rotated 180 ; > setbounds currentpicture to boundingbox halfcircle scaled 7cm rotated > 180 ; > \stopuseMPgraphic > > \startoverlay > > {\startuseMPgraphic{followtokens}\includeMPgraphic{followtokens-1}\stopuseMPgraphic > \followtokens{\strut Dies ist ein anderer Text\strut}} > > {\startuseMPgraphic{followtokens}\includeMPgraphic{followtokens-2}\stopuseMPgraphic > \followtokens{\strut Less text than before\strut}} > \stopoverlay > > > >On Mon, Apr 02, 2018 at 03:16:11PM +0200, Hans Hagen wrote: > >>\useMPlibrary[txt] > >> > >>\starttext > >> > >>\startuseMPgraphic{followtokens} > >> path RotPath ; RotPath := halfcircle scaled 7cm rotated 180 ; > >> for i=1 upto 6 : > >> draw halfcircle scaled (i*cm) rotated 180 ; > >> endfor ; > >>\stopuseMPgraphic > >> > >>\followtokens{Dies ist ein anderer Text} > >> > >>\stoptext > >> > > > > > -- > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
Thank you very much! And if I want to place different text between the (half-)circles? Gerhard On Mon, Apr 02, 2018 at 03:16:11PM +0200, Hans Hagen wrote: > \useMPlibrary[txt] > > \starttext > > \startuseMPgraphic{followtokens} > path RotPath ; RotPath := halfcircle scaled 7cm rotated 180 ; > for i=1 upto 6 : > draw halfcircle scaled (i*cm) rotated 180 ; > endfor ; > \stopuseMPgraphic > > \followtokens{Dies ist ein anderer Text} > > \stoptext > -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
Hi, my very slow proceedings are here: \useMPlibrary[txt] \starttext \setupbodyfont[pp1] \setupcolors[state=start] \setuplayout [topspace=192pt, backspace=48pt, cutspace=12pt, width=400pt, margin=0cm, rightedge=88pt, rightedgedistance=48pt, header=0cm, footer=0cm, height=400pt] \startuseMPgraphic{followtokens} path RotPath ; RotPath := halfcircle scaled 7cm rotated 180 ; \stopuseMPgraphic \followtokens{Dies ist ein anderer Text} \startuseMPgraphic{followtokens} path RotPath ; RotPath := halfcircle scaled 14cm rotated 180 ; \stopuseMPgraphic \followtokens{Dies ist ein selbst geschriebener Text} But I want to place the round lines concentrically in a circle (more than two). And I want to place all the lines on colored circled background. In the nice children programming language "logo" it is easy, but yealds pixle grapics only. Gerhard -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
Thank you, this seems a very informative explanation for me, and now I will try to transpose it for my intention. Gerhard On Fri, Mar 30, 2018 at 08:44:23AM -0600, Alan Braslau wrote: > Hello, > > luatex includes the MetaPost library MPlib, so MetaPost code is called > and then injected into the output stream... -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
Hello, my problem is that in other programming langguages there is a main procedure which calls others. In metapost in the context of ConteXt I can use \starttext ... \stoptext or \startMPpage ... \stopMPpage or \beginfig ... \endfig And it seems not to be transparent how procedures are called. Gerhard -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
On Thu, Mar 29, 2018 at 07:11:50AM -0600, Alan Braslau wrote: > On Thu, 29 Mar 2018 12:43:56 +0200 > Gerhard Kugler <g.w.kug...@posteo.de> wrote: > > > One misunderstanding made by my post: I want to write the text curved > > as a (half-)circle. > > Take a look at the Metafun manual. > In the manual is an example on page 233 with the following content: - \def\rotatetokens#1#2#3#4% delta extra radius tokens {\vbox\bgroup \MPtoks\emptytoks \resetMPdrawing \startMPdrawing picture pic[] ; numeric wid, len[], rot ; numeric delta, extra, radius, n, r ; len[0] := n := 0 ; delta := #1 ; extra := #2 ; radius := #3 ; \stopMPdrawing \handletokens#4\with\processrotationtoken \startMPdrawing r := len[n]/Pi ; for i=1 upto n : wid := abs(xpart lrcorner pic[i] - xpart llcorner pic[i]) ; rot := extra + delta - ((len[i]-.5wid)/len[n]) * (180+2delta) ; draw pic[i] rotatedaround (origin,-270) shifted (-r-radius, ypart -.5[ulcorner pic[i], llcorner pic[i]]) rotatedaround (origin,rot) ; endfor ; \stopMPdrawing \MPdrawingdonetrue \getMPdrawing \resetMPdrawing \egroup} \startcombination[3*1] {\rotatetokens {0} {0}{0}{Does it work ok?}} {A} {\rotatetokens{20} {0}{0}{Does it work ok?}} {B} {\rotatetokens{20}{30}{0}{Does it work ok?}} {C} \stopcombination - But I cannot see what part calls what parts and how they can be embedded. Gerhard -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Circled text in metapost
Thank you very much for these examples. The most important hints are given now. Perhaps I am able to apply them. One misunderstanding made by my post: I want to write the text curved as a (half-)circle. Gerhard -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Circled text in metapost
Hi, in documentations I can find various examples of circled text. But copying them I had no success till now. I want to place text in half circles of various radiuses. Is there anywhere a simple example? My greatest problems seem to be in the embedding code. Gerhard -- Gerhard Kugler Bensheim ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Minimals on an arm-processor
On Thu, Dec 22, 2011 at 11:01:24PM +0100, Mojca Miklavec wrote: If we want to support the architecture, we need somebody to build the binaries on regular basis. And since you seem to be the first and possibly the only one using thing platform, that would probably mean you. So the main question is: are you willing to keep compiling binaries on regular basis? If I can accomplish this task, I would be glad to contribute to it. For a long time I took advantage from other people in the open source community. But what are the requirements? Gerhard (I'm not sure if it is possible, but in case it is, another option is to have a virtual machine somewhere to compile the binaries.) 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 ___ -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ 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] [***SPAM***] footnote numbering in t-letter
Hi, in my (new) version of t-letter the numbering of footnotes begins in a document with 3, and then 4 etc. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ 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] Alphabetical order in register
Hello, the German umlauts are not sorted correctly in a register. How can I change their positions? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ 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] framing in TABLEs
Hi, I'm updating a book of 2007 with many tables with empty, but framed cells. But if I see the new results, part of the cells are not framed as in the following example: \enableregime [il1] \mainlanguage [de] \starttext \setupTABLE[row][each][align=lohi,height=0.08\textheight] \bTABLE \setupTABLE[textwidth=\textwidth]% \setupTABLE[column][1][width=0.77\textwidth]% \setupTABLE[column][2][width=0.23\textwidth]% \switchtobodyfont[small]% \bTR \bTD Schmerzliche und schwierige Dinge, die ich erlebe \eTD \bTD Wie lange ist das schon der Fall? \eTD \eTR \bTR \bTD[m=2] \eTD \eTR \bTR \bTD[m=2] \eTD \eTR \bTR \bTD[m=2] \eTD \eTR \bTR \bTD[m=2] \eTD \eTR \bTR \bTD[m=2] \eTD \eTR \bTR \bTD[m=2] \eTD \eTR \bTR \bTD[m=2] \eTD \eTR \bTR \bTD[m=2] \eTD \eTR \eTABLE \stoptext I tried several setupTABLE ... framed=on, but without success. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ 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] Page numbers at empty pages and then empty header
Hi in a thread Page numbers at empty pages in the beginning of September I got a solution for the empty pages. But if I want empty headers at the beginning of the chapter it does not function: \setuphead[chapter][header=empty] \setuphead [chapter] [page=yes, before={\ifodd\realpageno\else\page[empty]\fi}] How can I combine these two options? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ 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] Page numbers at empty pages
On Thu, Sep 06, 2007 at 08:05:12PM +0200, Steffen Wolfrum wrote: % zusätzlich innerhalb des bodymatter leere linke Seiten mit \page [yes,empty] manuell setzen Thank you Steffen, your lines help. Only inserting \page[yes,empty] is a dirty solution because I must omit it if there is no empty (left) page. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ 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] Page numbers at empty pages
Hi, in case of double-sided pagination there are empty pages. My publisher does'nt want numbers at that pages. How can I set this? Greetings Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ 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] Page numbers at empty pages
On Thu, Sep 06, 2007 at 09:51:30AM +0200, Steffen Wolfrum wrote: Am 06.09.2007 um 09:35 schrieb Gerhard Kugler: Hi, in case of double-sided pagination there are empty pages. Where do they come from (how are they generated?) My publisher does'nt want numbers at that pages. How can I set this? Maybe you just set manually an empty page: \page[yes,empty] Hi Steffen, that seems to me a misunderstanding. Empty pages are created automatically because first pages of chapters begin at a right side. That's ok. But if the last page before a chapter is empty, it should not contain a header with the page number. An addition: The publisher wants that the header of pages contains at the left the title of the chapter and at the right the title of the subchapter. How to realize it? And here also: Empty pages should not contain such a header. \setupheadertexts[\small chapter][\small section] produces the words chapter and section, and the page number is lacking. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ 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] margins at a cover page
Hi, I think it is not appropriate to have a smaller left than right margin at a cover page. But my tries to achieve this are not successful. My relevant expressions: \setuplayout[header=0mm,location=middle] \definelayer[bild][x=0mm, y=0mm, width=\paperwidth, height=\paperheight] \setlayer[bild][]{\externalfigure[cover4a1.pdf][]} \defineoverlay[cover][{\placelayer[bild]}] \setupcolors[state=start] \starttext \setuppagenumbering[alternative=singlesided] \setupnumbering[place=] \setupbackgrounds[page][background=cover] \startstandardmakeup[doublesided=no] Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ 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] figure occupies space into next page
Hi, I have set a figure at left side. It approaches the botton of the page. The first line of the next page starts at the mid as if the rest of the figure would be there: --- | | text text text text text | figure | text text text text text | | text text text text text | | text text text text text | | text text text text text --- -automatic page break text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text How can I prevent this behavior? My command is simply: \placefigure [left][fig:gub3]{Das Relationsnetzwerk}{\externalfigure[gub3][width=0.45\textwidth]} Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] figure occupies space into next page
Hi, my first try to send was not successful, so I repeat: I have set a figure at left side. It approaches the botton of the page. The first line of the next page starts at the mid as if the rest of the figure would be there: --- | | text text text text text | figure | text text text text text | | text text text text text | | text text text text text | | text text text text text --- -automatic page break text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text How can I prevent this behavior? My command is simply: \placefigure [left][fig:gub3]{Das Relationsnetzwerk}{\externalfigure[gub3][width=0.45\textwidth]} Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] figure occupies space into next page
On Sun, Mar 11, 2007 at 01:04:25PM +0100, Taco Hoekwater wrote: Does the figure itself fit on the page, or does it stick out on the bottom? If it does not fit, you have to insert a \page[preference] (or perhaps even the stronger \page) before the paragraph. If it does fit, the problem could be caused by whitespace at the bottom of the image. It fits. And there is enough space für the caption which fits also. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] free space under floatings
On Sun, Mar 04, 2007 at 08:04:18PM +0100, Hans Hagen wrote: also, penalties may influence the way a paragraph is broken across pages Hans, which sorts of penalties? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] free space under floatings
Hi, I have 2 juxtaposed figures which cover 2 thirds of the page. I want to continue with the text on this page, but it remains empty. There takes place a pagebreak. I have tried: \setupcombinations[after=\page[no] but without effect. A hint? Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] free space under floatings
On Sun, Mar 04, 2007 at 05:30:37PM +0100, Wolfgang Schuster wrote: can you post a example file, because I cannot see where the problem is. I'm also unsure about your definition about floating objects. Definition and combinations are not floating objects. The only ones i know at the moment are objects placed in \placetable, \placefigure ... Please give us a little hint to help you. Hi Wolfgang, now I have the problem that the problem disappears if I extract a minimal example although I take (in my present view) all the instructions of my complete document. I must go on seraching. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] number of enumeration into brackets
Hi, how can I put the number of enumerations into brackets? I suppose there is a symbol for it as #1 for the name or title of the enumeration. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnotes lost in Natural Tables
Hi, an addition: footnotes within blocks are lost too. Numbering goes on, but the note does not appear. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] rotate a TABLE
On Sat, Jan 13, 2007 at 12:02:43PM +0100, Henning Hraban Ramm wrote: What's wrong with \rotate{your table} ? Thanks Henning. But now I still have a problem. The TABLE covers a whole page. This page should habe a colored background (grey). I get the background, but shifted. It begins (vertically) a line before the table and ends a line before the end of the table. \startbackground \rotate[rotation=270]{ \setupTABLE[width=\textheight, height=\textwidth] \setupTABLE[r][each][height=0.13\textwidth] \setupTABLE[r][1,2][align=lohi, height=0.06\textwidth] \setupTABLE[c][1,2,3,4][width=0.15\textheight] \setupTABLE[c][5][width=0.4\textheight] \bTABLE \bTABLEhead \bTR \bTH[nc=5] \midaligned{Übung: Einschätzung der eigenen Erfahrung: Prüfen, was wirkungsvoll ist} \eTH \eTR \eTABLEhead \switchtobodyfont[small] \bTABLEbody \bTR . \bTR \bTD[m=5] \eTD \eTR \eTABLEbody \eTABLE } \stopbackground Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] rotate a TABLE
Hi, I want to rotate a TABLE (to landscape) within a normal (portrait) text. The TABLE covers one page. Which commands or options in commands do I have? Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] citation by number
Hi, I want to cite by numbers. Till now it get only empty brackets. My file contains: \setuppublications[criterium=all,autohang=no,numbering=bib,refcommand=serial,sorttype=bbl] with refcommand=num it was the same result. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] citation by number
On Tue, Jan 02, 2007 at 05:20:26PM +0100, Taco Hoekwater wrote: Please try adding [criterium=all] after your \placepublications or \completepublications command. If that doesn't work, a minimal example input file is needed. Thanks Taco, your suggestion provides the wanted effect. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Elevated text blocks
Hi Aditya, thank you for your detailed answer. The exercises are so much providing the structure of the book, that it may be that I will choose the format (size) of the page considering the solutions of your questions: On Thu, Dec 28, 2006 at 11:48:06AM -0500, Aditya Mahajan wrote: 1. The current page is half full, and your exercise is half-page plus two lines. Should TeX leave the rest of the page empty and start a new page, or fill the current page with exercise and put two lines in the next page. rather the second option. But it would be suboptimal. 2. The same case as above, but the text is one and a half page long. In this case it would be clear, that the exercise begins instantly. 3. Or a more drastic case, when the current page has only two lines and the text block is exactly one page long. Should the text split or not. No. 4. Can you allow the text block to float, or should it occur where you place it, even if it means a lot of empty space on the page. The text block must not float because it is part of the ongoing text. In some chapters there is more text in the exercises than outside. Basically, the difficulty is specifying how much blankspace on a page are you willing to accept, and under what conditions. Perhaps I should fill blank parts of pages with elements of pure decoration. The English (American) original is shorter than the German text. Sometimes I have the impression that the authors have made content and appearance simultaneously. This is not reproducible in a translation. -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Elevated text blocks
On Thu, Dec 28, 2006 at 01:58:02PM +0100, Wolfgang Schuster wrote: you can keep text togehther by putting them into a vbox and it will move to the next page if it will not fit on the current page. Thank you Wolfgang, this will be an important possibility. Where is the best documentation about vbox? There are to many ways how you defined your example, you can find one way below. The important things are saved into the before and after commands in the defintion. example \defineenumeration Why enumeration? The exercises are not numbered. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Elevated text blocks
On Thu, Dec 28, 2006 at 03:03:35PM -0500, Aditya Mahajan wrote: If choosing page size is an option, and there are only a few that are larger than a page, things may be much easier. Keep all of them in one page, and typeset. Note the ones that are larger than a page, and mark them using a differnt environment. That is, you decide which exercises should break and which should not. This seems a good clarification. 3. Or a more drastic case, when the current page has only two lines and the text block is exactly one page long. Should the text split or not. No. This seems inconsistent with case 1. There the text was less than one page, but you want it to be split. In this case, the text is exactly one page, but you do not want it to be split? I'm no longer so sure. Is something like this acceptable: if length 1 page keep the whole thing together, even if it means ending the current page with lots of empty space. if length 1 page split whereever you want o.k. That would means, do a trial typesetting to find the length of the block, if length is less than one page put in a framedtext (which is just a highly customizable vbox) if length 1 page, don't do anything and let it break pages anywhere. Just one more bit of information is needed. Do your exercises contain display math? No. Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Elevated text blocks
Hi, in the book which I'm translating there are many exercises which should be elevated. The original sets grey bars at the beginning and the end. My solutions tends to light grey background over the whole text block. Partially the exercises exceed a page. If possible they should kept as wholes. What is the suitable logical isolation of these blocks in context? Framedtexts? Textblocks? Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] a German umlaut is broken
Hi, in the new version (7.12.2006) one of the special German characters is broken: \enableregime [il1] \mainlanguage [de] \setupbodyfont[sansserif] \starttext German Umlauts: ÄÖÜäöüß \stoptext the result: German Umlauts: ÄÖÜäöüSS Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] a German umlaut is broken
On Sat, Dec 16, 2006 at 09:28:59PM +0100, Hans Hagen wrote: hm, can you check if regi-8859-1 is loaded ? I have the version of http://www.tug.org/texlive/Debian/ How can I check if regi-8859-1 is loaded ? Gerhard -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Unwanted space before a \HL in tables
Hi, now I have changed to TABLE, and this is very powerful and well functioning. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Unwanted space before a \HL in tables
Hi, now I have a new conTeXt, but tables remain tricky. A slight variation of the wiki example with horizontal lines gives unwanted vertical space: \starttext \placetable[here][tab:sample]{sample table}{\start \starttablehead \HL \VL command \VL meaning \VL\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|l|] \VL \tex{NC}\VL next column \VL\FR \VL \tex{HL}\VL horizontal line \VL\MR \VL \tex{VL}\VL vertical line \VL\MR \VL \tex{NR}\VL next row\VL\AR \HL \VL \tex{SR}\VL single row \VL\MR \VL \tex{FR}\VL first row \VL\MR \VL \tex{MR}\VL middle row \VL\MR \VL \tex{LR}\VL last row\VL\LR \stoptables \stop} \stoptext -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt on Debian: The wiki entry
On Mon, Oct 23, 2006 at 10:35:30AM +0200, Frank Küster wrote: or, if you have a bit experience, you can straight away add deb http://www.tug.org/texlive/Debian/ context/ to your /etc/apt/sources.list file and install context. After this, please tell us our experiences/failures/suggestions. Frank, is this truely a valid line for sources.list? My apt shows errors with this line. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
On Wed, Oct 18, 2006 at 10:14:58PM +0200, Hans Hagen wrote: \scripts\context\stubs\unix|mswin They are there. Now I have tried to install locally as written in wiki.contextgarden.net/Debian_installation But at the end my system finds only the old version. /etc/texmf/texmf.d/45TeXinputs.cnf is edited update-texmf is executed. I am a little helpless. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
Thanks Hans, in the point of installing upon a given distribution I am a DAU. On Mon, Oct 16, 2006 at 10:02:40PM +0200, Hans Hagen wrote: updating context is not that much related to debian; - make sure that you have the latest latin modern fonts installed (can be fetched from ctan) I have downloaded a complete directory of lm with ec-lmb10.tfm etc from tug.ctan.org. - then unzip the context zip in some local tree I have downloaded cont-tmf.zip and unzipped it to dirs from bibtex to web2c. - make sure that the stubs are ok (there are stubs in the zip) I don't know stubs. Now, where can I install to with which script? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
On Wed, Oct 11, 2006 at 10:47:45AM +0200, Wolfgang Schuster wrote: You should download the latest stable version from pragma. In my private system I now have apgraded to Debian Etch. I hope it is sufficient. I'm hesitating to upgrade in my office because Debian Etch is in an unstable stage. I am not used to upgrade single packages besides the system. If you want a repeated header on every page try to put \setuptables[split=repeat] into your document. With new versions from ConTeXt you do no longer the \starttables ... \stoptables command. Where are the definitions of the columns and their width in this case? Is there a brief docu and an example of this version of tables? Hans changed it to control table splitting completely with split-option in \setuptables and makes to let the normal \starttable-environment split when neccessary. Is there no longer a starttables but simply a starttable initialisation? And a last question: Why is there a \start - \stop in the example at the Wiki side? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
On Tue, Oct 10, 2006 at 07:21:54PM +0100, Sanjoy Mahajan wrote: I ran it here (ver: 2006.10.05). With just \placetable[here], it doesn't split. With \placetable[here,split], it splits it into two parts with Table 1.a on one page and Table 1.b on the other page. With my version (of Debian sarge) this option (split) has no influence. I get one page. I guess I must install a new version of ConteXt (texexec). Till now I install all my software with apt-get. Do I have to install texexec directly now? The Obertext zum Ganzen is only on the first page, which is what the .tex code should do (but maybe you wanted it repeated at the top of each split page?). It is not necessary to repeat this row on each page. But here it is repeated automatically at the buttom margin (see appendix). My dvi-file is created with the split option. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de tables2.dvi Description: TeX dvi file ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
Another try: If I expand the example of tables in wiki.contextgarden.net/Tables beyond one page, there is no pagebreak, but the table continues at the bottom. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
On Tue, Oct 10, 2006 at 04:58:33PM +0200, Wolfgang Schuster wrote: can you post a minimum example of your problem, because I can't find a solution only with your current describtion. Hi Wolfgang, I have modified the wiki-example only slightly in appendix 1. Appendix 2 is the log-file. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de \starttext \placetable[here][tab:sample]{sample table}{\start \starttablehead \HL \NC \TWO Obertext zum Ganzen \NC\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|p(0.2\textwidth)|p(0.75\textwidth)|] \NC Text1 \NC Text1a \NC\FR \NC \tex{HL} \NC horizontal line \NC\MR \NC \tex{VL} \NC vertical line \NC\MR \NC \tex{NR} \NC next row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \stoptables \stop} \stoptext This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2006.1.23) 10 OCT 2006 18:03 entering extended mode **cont-en tables2.tex (./tables2.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2003.1.31 fmt: 2006.1.23 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! system (E-TEX) : [line 726] \ifcsname ) system : cont-old loaded (/usr/share/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded \openout2 = `tables2.tui'. system : tables2.top loaded (./tables2.top) \openout0 = `mpgraph.mp'. \openout0 = `mprun.mp'. \openout0 = `mpgraph.mp'. \openout0 = `mprun.mp'. pdftex : needs map file: original-context-symbol.map pdftex : needs map file: pl0-ams-cmr.map pdftex : needs map file: original-vogel-symbol.map (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) systems: begin file tables2 at line 1 TABLE : skipping \HL TABLE : \MR changed into \LR TABLE : change \MR into \LR/\SR TABLE : change \LR into \FR/\SR TABLE : skipping \HL floatblocks: 1 limited floatblocks: 1 placed [1.1] systems: end file tables2 at line 86 ) Here is how much of TeX's memory you used: 347 strings out of 68101 4871 string characters out of 753943 4388269 words of memory out of 5504175 30091 multiletter control sequences out of 1+5 10453 words of font info for 35 fonts, out of 50 for 1000 54 hyphenation exceptions out of 1000 44i,17n,48p,125b,632s stack positions out of 1500i,500n,5000p,20b,5000s 0 PDF objects out of 30 0 named destinations out of 131072 0 words of extra memory for PDF output out of 65536 Output written on tables2
[NTG-context] multipage tables
Hi, I must set two-page tables. The top row contains headings for the columns 2 to 4. The left column contains the hours of the day (01:00, 02:00 ... 24:00). The overall width is textwidth. Which sort of tables is siutable for this purpose? So far my endeavours deliver many errors. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] inhibition of new page after a header
Hello, I'm new in the listserve and in applying Context. In the past I used LateX, but not for ambitious projects. Now I'm translating a book. My first question: How can it be that context sets a new page immediately after a (subsubsection-)header? Is it necessary to inhibit it after every header explicitely? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] inhibition of new page after a header
Thank you, I had the figure at the beginning just after the header. It is a figure at the side. My solution is now to put one sentence before the text with figure. A little suboptimal, because the paragraph is splitted. I think, in this case an (minimal) example is not necessary. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context