Re: [NTG-context] Would Multiple Processes Cause: luatex: execution interrupted
On Tue, Jul 5, 2011 at 4:23 AM, Raymond LeClair raymond.lecl...@synterein.com wrote: Thanks for your reply! On Jul 4, 2011, at 5:35 PM, Taco Hoekwater wrote: Quite possibly (but that is very hard to verify and would be even harder to debug). Best practise is to give each process its own temporary directory, just in case. This is, in fact, guaranteed by design: each file resides in a directly which is named using a uuid. Is it possible that context or luatex are creating files in a common directory, say the cache directory, and access by one process locks the file for access by another? It's possible: say for example that each task rebuild the format at every run just to be sure. The format is shared by all instances for the same minimals or TeXLive, so conflicts may arise. The same for example for the font cache. -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Would Multiple Processes Cause: luatex: execution interrupted
On 07/05/2011 08:11 AM, luigi scarso wrote: On Tue, Jul 5, 2011 at 4:23 AM, Raymond LeClair raymond.lecl...@synterein.com wrote: Thanks for your reply! On Jul 4, 2011, at 5:35 PM, Taco Hoekwater wrote: Quite possibly (but that is very hard to verify and would be even harder to debug). Best practise is to give each process its own temporary directory, just in case. This is, in fact, guaranteed by design: each file resides in a directly which is named using a uuid. Is it possible that context or luatex are creating files in a common directory, say the cache directory, and access by one process locks the file for access by another? It's possible: say for example that each task rebuild the format at every run just to be sure. The format is shared by all instances for the same minimals or TeXLive, so conflicts may arise. The same for example for the font cache. Possible but, I think, quite unlikely. Another possibility is that you simply run out of memory? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context.labeltext(...)
On 4-7-2011 6:53, Khaled Hosny wrote: On Mon, Jul 04, 2011 at 06:20:37PM +0200, luigi scarso wrote: On Mon, Jul 4, 2011 at 6:05 PM, Willi Eggerw.eg...@boede.nl wrote: Hi Luigi, hm, did not know this one. Still I can not see that this is going to fit in my situation. I refer to may other mail I sent a minute ago. - The thing is, that the document I am building should be multilingual and therefore I need at the lua-end the lowercase text which should be made first-letter-uppercase at the moment it is typeset. In the first email you talked about a generic label. Uppercase /lower case are unicode sensitive; as Wolfgang already wrote string.lower(..) and string.upper(..) can help , but they depend on unicode.utf8.lower()/upper() are a better choice for non-ASCII text. (I still believe the default string manipulation functions should be Unicode aware by default, and the 8-bit ones should be an alternative, not the other way around). you can just rename/remap them if needed; swapping stock lua and unicode functions would render regular lua manuals/tutorials useless and also make lua 8-bit dirty (local lower = utf.lower at the top of a file is enough to get what you want) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] two statements or one?
In lxml-tab.lua I find near the beginning the line: local trace_entities = false trackers.register(xml.entities, function(v) trace_entities = v end) Shouldn't there be a ; or newline between the two statments? 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 ___
Re: [NTG-context] two statements or one?
On 5-7-2011 9:21, Hans van der Meer wrote: In lxml-tab.lua I find near the beginning the line: local trace_entities = false trackers.register(xml.entities, function(v) trace_entities = v end) Shouldn't there be a ; or newline between the two statments? no, and the proof is that you can find these lines in many files Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [NTG-context]Make a larger trademark?
I konw the registered trademark can get from \registered, or simply add ® in MKIV. But it seems the symbol is very small, appreaing in the superscript. How to make it in a normal text size, just as \copryright or ©. ___ 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] [NTG-context]Make a larger trademark?
On Tue, Jul 5, 2011 at 10:50 AM, seasoul bioseas...@gmail.com wrote: I konw the registered trademark can get from \registered, or simply add ® in MKIV. But it seems the symbol is very small, appreaing in the superscript. How to make it in a normal text size, just as \copryright or ©. See scale http://wiki.contextgarden.net/Reference/en/scale Anyway \registered is normally small. -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] please don't update minimals (yet)
Hello, There are some problems with minimals on the server. Please don't update your distribution until I fix the problem. 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] please don't update minimals (yet)
On Tue, Jul 5, 2011 at 11:11, Mojca Miklavec wrote: Hello, There are some problems with minimals on the server. Please don't update your distribution until I fix the problem. I now fixed the part that I noticed was broken (I still don't know why that happened and I don't know if anything else was affected), except for one thing: I cannot find cont-img.zip on Hans' server. Hans? 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] please don't update minimals (yet)
On 5-7-2011 11:22, Mojca Miklavec wrote: On Tue, Jul 5, 2011 at 11:11, Mojca Miklavec wrote: Hello, There are some problems with minimals on the server. Please don't update your distribution until I fix the problem. I now fixed the part that I noticed was broken (I still don't know why that happened and I don't know if anything else was affected), except for one thing: I cannot find cont-img.zip on Hans' server. that one is gone for a while already as the img files are in the big zip now Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fifth ConTeXt meeting, September 2011, France
On Mon, Jul 04, 2011 at 10:05:14PM +0200, Martin Schröder wrote: 2010/10/3 Arthur Reutenauer arthur.reutena...@normalesup.org: I hereby announce the next ConTeXt meeting, that will take place on the island of Porquerolles off the coast of the French Riviera, from Monday, September 19th, 2011, to Saturday, September 24th. The conference venue has been pre-booked for these dates, so this is firm. Of course, there is yet nothing like a set program at this moment, so we're expecting your proposals (there will be a formal call for papers later). Watch this page: http://meeting.contextgarden.net/2011/ Only 76 days left. When will we have updates on the web page for - travel information - schedule - payment information - program Best Martin Yes, we all need to arrange travel, and those of us who are not self employed have travel requests to submit. As to travel, http://www.porquerolles-france.com/ferries.php La Tour Fondue, 83400 Hyères, France (near the Toulon-Hyères airport) Departure Giens-La TOUR FONDUE Return from PORQUEROLLES 7:30 (1)12:00 7:00 (1)14:00 9:0012:30 8:3015:00 9:3013:30 9:3016:30 10:00 14:30 10:30 17:30 10:30 15:30 11:30 18:30 11:00 17:00 11:30 18:00 note : (1). Does not run on Sundays and holidays ATTENTION : - The ships are wheelchair accessible - Bicycles can be brought on board for a fee. adult bicycle : 13.00 € child's bicycle : 10.00 € Fees 2011 ADULTS CHILDRENGROUPS (To / From) 4 to 10 years TOUR FONDUE PORQUEROLLES17,30 € 15,30 € 15,00 € (I do not understand if the fare is round-trip or each way, it is ambiguous...) There is also a Taxi boat, that could be interesting if we travel as a group. -Arthur? There are fast trains from Paris to Hyeres 4:20 travel time (some requiring a change at Toulon, 4:56 in this case) Can be as cheap as 45 € if we buy our tickets soon. 7:46 Paris Gare de Lyon - 12:42 Hyeres 10:15 Paris Gare de Lyon - 14:35 Hyeres 11:46 Paris Gare de Lyon - 17:43 Hyeres ... 11km from the train station to the ferry. Is there a bus? And from the airport? Alan ___ 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] Fifth ConTeXt meeting, September 2011, France
2011/7/5 Alan Braslau alan.bras...@cea.fr: 11km from the train station to the ferry. Is there a bus? And from the airport? Air France will gladly sell you flights by TGV for Paris - Toulon. :-) Best Martin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] please don't update minimals (yet)
On Tue, Jul 5, 2011 at 12:27, Hans Hagen wrote: I now fixed the part that I noticed was broken (I still don't know why that happened and I don't know if anything else was affected), except for one thing: I cannot find cont-img.zip on Hans' server. that one is gone for a while already as the img files are in the big zip now Thank you, I didn't realize that. Can you please remove { context/img/, texmf-context }, from mtx-update.lua then? Thanks, 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 ___
[NTG-context] Changing the colors of a button
I am trying the following: \button[backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] The parameter framecolor works (I tried it with green). Framecorner works also, but backgroundcolor not. How can I change the background and text color of the button? Also would it not be better when clicking on this button, the highlighting also works with rounded corners? -- 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] Changing the colors of a button
Am 05.07.2011 um 14:11 schrieb Cecil Westerhof: I am trying the following: \button[backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] The parameter framecolor works (I tried it with green). Framecorner works also, but backgroundcolor not. How can I change the background and text color of the button? ...,background=color,backgroundcolor=darkgray,color=NAME,... 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] Changing the colors of a button
On Tue, Jul 5, 2011 at 2:11 PM, Cecil Westerhof cldwester...@gmail.com wrote: I am trying the following: \button[backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] The parameter framecolor works (I tried it with green). Framecorner works also, but backgroundcolor not. How can I change the background and text color of the button? As wolfgang said this works with mkii and mkiv \setupcolors[state=start] \setupinteraction[state=start] \starttext \button[background=color,backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] \stoptext Search for \setupinteraction for the color of the link Also would it not be better when clicking on this button, the highlighting also works with rounded corners? with mkiv it is --- but not the background. -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Changing the colors of a button
2011/7/5 Wolfgang Schuster schuster.wolfg...@googlemail.com I am trying the following: \button[backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] The parameter framecolor works (I tried it with green). Framecorner works also, but backgroundcolor not. How can I change the background and text color of the button? ...,background=color,backgroundcolor=darkgray,color=NAME,... Works. I now have: \button[ background=color, backgroundcolor=darkgray, color=white, framecolor=black, framecorner=round, rulethickness=2pt] {Go Back} [PreviousJump] and this does what I want. One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. -- 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] Changing the colors of a button
Am 05.07.2011 um 14:47 schrieb Cecil Westerhof: One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round”. 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] Changing the colors of a button
2011/7/5 Wolfgang Schuster schuster.wolfg...@googlemail.com One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round”. Overlooked it. Now added. But did not solve my problem. What I mend is that when I click on the button, the inversion is done for the rectangle. So the button is displayed correctly with rounded corners, but when clicking on the button, the inversion goes out of the button because the complete rectangle is inverted. I would like to have the part outside of the rounded button not inverted. -- 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] Changing the colors of a button
2011/7/5 luigi scarso luigi.sca...@gmail.com Search for \setupinteraction for the color of the link I know I want a lot ;-} but would it be possible to have another color for the highlighting as 'normal' links? At the moment 'normal' links are blue and I do not mind that in the buttons they are blue also, but when in the future this changes, it would be nice to know how to change it. -- 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] Changing the colors of a button
You might set click off: \setupinteraction[click=no] Willi On 5 Jul 2011, at 15:09, Cecil Westerhof wrote: 2011/7/5 Wolfgang Schuster schuster.wolfg...@googlemail.com One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round”. Overlooked it. Now added. But did not solve my problem. What I mend is that when I click on the button, the inversion is done for the rectangle. So the button is displayed correctly with rounded corners, but when clicking on the button, the inversion goes out of the button because the complete rectangle is inverted. I would like to have the part outside of the rounded button not inverted. -- 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 ___ ___ 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] Changing the colors of a button
Am 05.07.2011 um 15:09 schrieb Cecil Westerhof: 2011/7/5 Wolfgang Schuster schuster.wolfg...@googlemail.com One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round”. Overlooked it. Now added. But did not solve my problem. What I mend is that when I click on the button, the inversion is done for the rectangle. So the button is displayed correctly with rounded corners, but when clicking on the button, the inversion goes out of the button because the complete rectangle is inverted. I would like to have the part outside of the rounded button not inverted. I don’t think this is supported but when you’re not satisfied with the result you can disable the visual effect with \setupinteraction[click=no]. 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] Changing the colors of a button
Am 05.07.2011 um 15:23 schrieb Cecil Westerhof: 2011/7/5 luigi scarso luigi.sca...@gmail.com Search for \setupinteraction for the color of the link I know I want a lot ;-} but would it be possible to have another color for the highlighting as 'normal' links? \setupinteraction [color=..., constrastcolor=...] 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] Changing the colors of a button
2011/7/5 Willi Egger w.eg...@boede.nl You might set click off: \setupinteraction[click=no] But then I would loose the visual feed back. I have to decide what I find worse. -- 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] Changing the colors of a button
Probably you will have to group the buttons in order to be able to use \setupinteraction[color=yourcolor] You could think about using setups: \startsetups XX \bgroup \setupinteraction[color=yourcolor] \button ... \egroup \stopsetups I used this recently. Okay I used a layer for the buttons, so it is convenient to use setups to organize things. In my case I placed the buttons in the footer area so I could use the \setupfootertexts[background=TheLayer] and the buttons placed with \setlayerframed I hope this might help Willi On 5 Jul 2011, at 15:23, Cecil Westerhof wrote: 2011/7/5 luigi scarso luigi.sca...@gmail.com Search for \setupinteraction for the color of the link I know I want a lot ;-} but would it be possible to have another color for the highlighting as 'normal' links? At the moment 'normal' links are blue and I do not mind that in the buttons they are blue also, but when in the future this changes, it would be nice to know how to change it. -- 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 ___ ___ 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] changing number of columns
As Hraban mentions it might be best to place the two tables with \placefigure + startcombination .. \stopcombination. If you want to stick to the columnsets and this is for this single page only, then you could place the spanning text in a \framedtext. The placefigure command must be place right after the \startcolumnset command. This you could place with \placefigure like this: \placefigure [btlr] [] {none} {\offset[y=-7cm]{\framedtext[width=\makeupwidth,offset=0pt,frame=off] {Zwar werden ...}}} With the offset you can move the text-box to the position you want it. Willi On 1 Jul 2011, at 19:46, Bernd Kosubek wrote: Am Fri, 1 Jul 2011 18:32:52 +0200 schrieb Henning Hraban Ramm hra...@fiee.net: Am 2011-07-01 um 18:00 schrieb Bernd Kosubek: is it possible to change the number of columns on the same page? Please read http://wiki.contextgarden.net/Columns Thanks for your quickly answer. I have read it, but there is no answer of my question. I know, that I can use columns instead of columnset. It is not in my interest to find other solutions for this Problem, rather I wish to know: is it possible to use different numbers of columns on the same page if I use columnset! It's not that easy. Please carefully read the columns manual, linked from the above page. If you want to change between e.g. 2 and 3 columns, you can either define a columnset with 6 layout columns and put your text in spans of 3 or 2 of those layout columns or define two different columnsets like in the examples in chapter Spanning and More. Principally you should be able to use the old columns mechanism and change the number of columns in-page, but I don't know if you can make it work reliably. Greetlings from Lake Constance! Hraban Tis is a possibility, but if the following text [in my example b)] is a huge paragraph, it is not realizeable. I give a sample for the problem on my neglected page http://www.bk-tex.de/csetquest.html; [= (c)olum(set)-(quest)ion] The text on the second page (see the pdf-file) should be placed in a short distance to the table. I know that this is not the best method to handle this job but it shows good what I mean. Greetlings from Leipzig (Lipsia) Bernd ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Would Multiple Processes Cause: luatex: execution interrupted
Taco, Thanks for your reply! You are correct, the issue appears to be memory. The system is hosted on a linode, the smallest of which is 512 MB RAM. I increased this to 1024 MB RAM and this appears to fix the problem. Very much appreciate your help. Ray. On Jul 5, 2011, at 2:15 AM, Taco Hoekwater wrote: On 07/05/2011 08:11 AM, luigi scarso wrote: On Tue, Jul 5, 2011 at 4:23 AM, Raymond LeClair raymond.lecl...@synterein.com wrote: Thanks for your reply! On Jul 4, 2011, at 5:35 PM, Taco Hoekwater wrote: Quite possibly (but that is very hard to verify and would be even harder to debug). Best practise is to give each process its own temporary directory, just in case. This is, in fact, guaranteed by design: each file resides in a directly which is named using a uuid. Is it possible that context or luatex are creating files in a common directory, say the cache directory, and access by one process locks the file for access by another? It's possible: say for example that each task rebuild the format at every run just to be sure. The format is shared by all instances for the same minimals or TeXLive, so conflicts may arise. The same for example for the font cache. Possible but, I think, quite unlikely. Another possibility is that you simply run out of memory? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] changing number of columns
Am Tue, 5 Jul 2011 16:13:14 +0200 schrieb Willi Egger w.eg...@boede.nl: As Hraban mentions it might be best to place the two tables with \placefigure + startcombination .. \stopcombination. If you want to stick to the columnsets and this is for this single page only, then you could place the spanning text in a \framedtext. The placefigure command must be place right after the \startcolumnset command. This you could place with \placefigure like this: \placefigure [btlr] [] {none} {\offset[y=-7cm]{\framedtext[width=\makeupwidth,offset=0pt,frame=off] {Zwar werden ...}}} With the offset you can move the text-box to the position you want it. Willi Hi Willy, Hraban forces the problem in a wrong way. I wish the eliminination of the pagebreak after \stopcolumnset. It is for me not of interest what contents the columns have. I wish the following: text text text flow text text text text xx xx /startcolumnset xx xx xx xx /stopcolumnset text text text flow text text text text and all of that on the same page by using columnset. Is it possible and if true, how is it possible. Bernd signature.asc Description: PGP signature ___ 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] changing number of columns
Am 05.07.2011 um 17:26 schrieb Bernd Kosubek: Hraban forces the problem in a wrong way. I wish the eliminination of the pagebreak after \stopcolumnset. It is for me not of interest what contents the columns have. I wish the following: text text text flow text text text text xx xx /startcolumnset xx xx xx xx /stopcolumnset text text text flow text text text text and all of that on the same page by using columnset. Is it possible and if true, how is it possible. You’re trying to solve your problem the wrong. You want according to your example two table side by side at the complete width of the page and the natural way to do is this is to insert a float which spans three columns, inside the float you can then place the two tables with a combination (or a table with two columns). 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] changing number of columns
Unfortunately this will not work with columnsets. Those always use a complete page. So after stating \startcolumnset there is always a page break, as is after \stopcolumnset. If you intend to place text before and after the piece where you use two colums then you should think of another solution as mentioned by placing the columnpart in a float with combination. Willi On 5 Jul 2011, at 17:26, Bernd Kosubek wrote: Am Tue, 5 Jul 2011 16:13:14 +0200 schrieb Willi Egger w.eg...@boede.nl: As Hraban mentions it might be best to place the two tables with \placefigure + startcombination .. \stopcombination. If you want to stick to the columnsets and this is for this single page only, then you could place the spanning text in a \framedtext. The placefigure command must be place right after the \startcolumnset command. This you could place with \placefigure like this: \placefigure [btlr] [] {none} {\offset[y=-7cm]{\framedtext[width=\makeupwidth,offset=0pt,frame=off] {Zwar werden ...}}} With the offset you can move the text-box to the position you want it. Willi Hi Willy, Hraban forces the problem in a wrong way. I wish the eliminination of the pagebreak after \stopcolumnset. It is for me not of interest what contents the columns have. I wish the following: text text text flow text text text text xx xx /startcolumnset xx xx xx xx /stopcolumnset text text text flow text text text text and all of that on the same page by using columnset. Is it possible and if true, how is it possible. Bernd ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] changing number of columns
Am Tue, 5 Jul 2011 17:52:11 +0200 schrieb Willi Egger w.eg...@boede.nl: Unfortunately this will not work with columnsets. Those always use a complete page. So after stating \startcolumnset there is always a page break, as is after \stopcolumnset. If you intend to place text before and after the piece where you use two colums then you should think of another solution as mentioned by placing the columnpart in a float with combination. Thank you Willy, this is a clear statement. So now I can plan my future jobs with columnset a little bit better. Bernd signature.asc Description: PGP signature ___ 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] Changing the colors of a button
On 5-7-2011 3:28, Wolfgang Schuster wrote: Am 05.07.2011 um 15:09 schrieb Cecil Westerhof: 2011/7/5 Wolfgang Schusterschuster.wolfg...@googlemail.com One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round”. Overlooked it. Now added. But did not solve my problem. What I mend is that when I click on the button, the inversion is done for the rectangle. So the button is displayed correctly with rounded corners, but when clicking on the button, the inversion goes out of the button because the complete rectangle is inverted. I would like to have the part outside of the rounded button not inverted. I don’t think this is supported but when you’re not satisfied with the result you can disable the visual effect with \setupinteraction[click=no]. Wolfgang: (1) uncomment the first \protect \endinput in scrn-fld.mkvi (2) fix the \appendtoks at the end of the file Then this seems to work (converted mkii code but untested): \setupinteraction[state=start] \definepushbutton [reset] \startuniqueMPgraphic{whatever}{color} fill fullcircle xysized (OverlayWidth,OverlayHeight) withcolor \MPvar{color} ; \stopuniqueMPgraphic \definepushsymbol [reset] [n] [\uniqueMPgraphic{whatever}{color=red}] \definepushsymbol [reset] [r] [\uniqueMPgraphic{whatever}{color=green}] \definepushsymbol [reset] [d] [\uniqueMPgraphic{whatever}{color=blue}] \starttext \startTEXpage \pushbutton [reset] [page(2)] \stopTEXpage \startTEXpage \pushbutton [reset] [page(1)] \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 ___
Re: [NTG-context] How to override the print resolution
On 4-7-2011 8:20, Mojca Miklavec wrote: On Sat, Jul 2, 2011 at 21:31, Henning Hraban Ramm wrote: Am 2011-07-02 um 13:53 schrieb Cecil Westerhof: I do not know the size. This is depending on the resolution of the picture. What I want is that if I have two pictures with a resolution of 729x414 that they take up the same amount of space in the document. Now if the first picture has a printer resolution of 300x300 DPI and the second a printer resolution of 100x100 DPI, the second picture will be three times as wide and three times as high. Not very nice. Then you can only normalize your resolutions beforehand (or perhaps using the filter module) with some image processing tool, e.g. ImageMagick, GraphicsConverter, Photoshop... I never used that feature and I don't know the answer, but I agree with Cecil that one should be able to set a fixed resolution for all images with some command without having to modify images with external tools. pdfTeX supports that with image_resolution 300 in pdftex.cfg for example (but maybe only if resolution is not defined). Browsing the sources would suggest that \setupexternalfigures[resolution=300] That has a different purpose ... it's passed to the optional converter. could work, but it doesn't change anything. One also finds \setupsystem[resolution=...], but no effect either. Indeed, that one is obsolete in mkiv (had to do with dvi). But you can (still) set \pdfimageresolution although it might get protected in mkiv some day. Best one can fix the image and make sure that it has the right resolution info embedded (one of the tags). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] export: graphic within table (error)
On 4-7-2011 9:26, Christian wrote: \def\dotagfigure{\iftrialtypesetting\else\ctxcommand{...)}\fi} fixed I just discovered that it was not fixed for my Windows-Minimals (ConTeXt ver: 2011.06.18 14:13 MKIV). Adding the above line makes it work. This is fixed with my Ubuntu-Minimals. I'm confused. Did I miss something in the update-process? hm, fixed on my machine, but I cannot upload now as project structure code has been rewritten and needs testing first Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Centred Figure
Hey list, I'd like to place a figure on its own page, landscaped, horizontally and vertically centred, and uniformly scaled to the maximum dimensions of the page, whichever hits it first, the width or height of the figure. I'd like to do this within, say, 95% of the page width and height. This is what I am using so far and it works fine, except the image is not horizontally / vertically centred, and it is not uniformly scaled to the max boundary as I previously described. % Insert a full page landscape diagram, parameters are node name, caption, and path... \def\FullPageLandscapeDiagram#1#2#3% { \page \setuppapersize[diagram] \setuplayout[fullpage] \placefigure [force][figure:#1] {#2} {\externalfigure[#3][factor=max]} \page \setuppapersize[main] \setuplayout[reset] } ... \FullPageLandscapeDiagram {NodeName} {Some caption.} {Figure.svg} -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___