[NTG-context] Option /TwoPageRight for \setupinteractionscreen
http://www.ntg.nl/pipermail/ntg-context/2008/031094.html An old thread with the same question. I need this option for doublesided pages like e.g. books. It’s very helpful to scroll non-continuous doublepages for a quick overview whitout activate each time the accordant button in the PDF viewer. Is this option implemented yet? Best regards, Markus ___ 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] randomize
I know this and I have triggerd this by hand. So there is a lot of time between. I have purged files between every run and I got the same result if I wait 1 second, 1 minute or 1 day. Well, then it probably qualifies as a bug, and, since the .tuc file has apparently been dismissed as a cause, you'd have to provide more precise information if you're interested in having it corrected (or do the debugging yourself, of course). Arthur I have found a discussion on this thema. See http://lua-users.org/lists/lua-l/2007-03/msg00564.html So I have changed the example to - \starttext \startluacode math.randomseed(os.time()) _=math.random() \stopluacode Encode your Name and Surname as a \startluacode local a = {'null-terminated', 'dollar-terminated', 'Pascal'} context('%s string', a[math.random(1,3)]) \stopluacode \stoptext - and this is working ok! 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] randomize
http://lua-users.org/lists/lua-l/2007-03/msg00564.html Interesting, thanks for the research. So now we know you use a Mac :-) Arthur ___ 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] randomize
Am 08.04.10 09:41, schrieb Arthur Reutenauer: http://lua-users.org/lists/lua-l/2007-03/msg00564.html Interesting, thanks for the research. So now we know you use a Mac :-) Sure? I think he use windows, take a look at the mail header: Pegasus Mail for Windows (4.41, DE v4.41 R1) 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] randomize
Sure? I think he use windows, take a look at the mail header: Pegasus Mail for Windows (4.41, DE v4.41 R1) Right, I was misled by the thread on the Lua list he pointed to, that focused on the rand() implementation on Mac OS and other BSD descendants (I had overseen that it mentioned the same problem also happened on Windows). But let's drop the discussion there, lest Anonymous ConTeXt User starts worrying we're going to track him down, too :-) (I have contacts at Google on different continents!) Arthur ___ 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] \bigl \bigr \big problems
On 8-4-2010 7:40, Mikael Persson wrote: Ok Hans, with the beta from yesterday the absolute values change size, but there are some problems still: 1) The absolute value bars are not just straight lines when using \big and friends, but som kind of line that is thicker in the middle. (zoom i on attached pdf) this is because lm has no such characters so they are made from the smaller ones (extensible characters) in traditional lm this can go unniticed (depends a bit in the exact definition but in mkii you will see two stacked | just not touching but in mkiv we use overlap - which is custom in opentype anyway); so what you observe is an artefact of the viewer - it might be that future versions of luatex deal better with this as it relates somewhat with how things are dealt with in the backend but you will observe similar effects in pdftex in an earlier version i used rules but then found out that the | has round tops (ok, i could use pdf literals to draw lines but not today) 2) The horizontal spacing in the \big version seems to be bigger than for the \bigl/\bigr version (and similar for \Big vs \Bigl/\Bigr). I'd expect the same spacing (the l and r are just there for the writer to easily see what is left and what is right). repaired .. (i also added \plainbigmathmode 3) I'd expect that \| gives double bars, like the || one get from \Vert and not |. This is not so (see the attached file). Moreover, it is not possible to do \bigl\Vert right now to get a bigger ||. i've added double bars so this works: $\biggl\Vert x^n\biggr\Vert$ $\biggl{||} x^n\biggr{||}$ $\biggl|\biggl| x^n\biggr|\biggr|$ there will be a new beta later today or tomorrow Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] \bigl \bigr \big problems
On Thu, Apr 8, 2010 at 10:37 AM, Mikael Persson mic...@gmail.com wrote: On Thu, Apr 8, 2010 at 10:31 AM, Hans Hagen pra...@wxs.nl wrote: On 8-4-2010 7:40, Mikael Persson wrote: Ok Hans, with the beta from yesterday the absolute values change size, but there are some problems still: 1) The absolute value bars are not just straight lines when using \big and friends, but som kind of line that is thicker in the middle. (zoom i on attached pdf) this is because lm has no such characters so they are made from the smaller ones (extensible characters) in traditional lm this can go unniticed (depends a bit in the exact definition but in mkii you will see two stacked | just not touching but in mkiv we use overlap - which is custom in opentype anyway); so what you observe is an artefact of the viewer - it might be that future versions of luatex deal better with this as it relates somewhat with how things are dealt with in the backend but you will observe similar effects in pdftex in an earlier version i used rules but then found out that the | has round tops (ok, i could use pdf literals to draw lines but not today) 2) The horizontal spacing in the \big version seems to be bigger than for the \bigl/\bigr version (and similar for \Big vs \Bigl/\Bigr). I'd expect the same spacing (the l and r are just there for the writer to easily see what is left and what is right). repaired .. (i also added \plainbigmathmode 3) I'd expect that \| gives double bars, like the || one get from \Vert and not |. This is not so (see the attached file). Moreover, it is not possible to do \bigl\Vert right now to get a bigger ||. i've added double bars so this works: $\biggl\Vert x^n\biggr\Vert$ $\biggl{||} x^n\biggr{||}$ $\biggl|\biggl| x^n\biggr|\biggr|$ there will be a new beta later today or tomorrow Hans Thanks for you answer and explanation. Is there a reason why you do not add \| to get double bars? This is the way it is done in LaTeX (OK, not really an argument). I'm just curious. Mikael ___ 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] \bigl \bigr \big problems
On 8-4-2010 10:37, Mikael Persson wrote: Thanks for you answer and explanation. Is there a reason why you do not add \| to get double bars? This is the way it is done in LaTeX (OK, not really an argument). I'm just curious. we never had \| in mkii and in mkiv it's equivalent to | (just like \$ is $ and not two $'s) .. i can find no reason for an escaped | being two |'s Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] How can one center or align a float?
Hi all, How is it possible to have a STEPchart be midaligned, or right-aligned, as one may do this with figures, tables, and FLOWcharts? An example is here: \usemodule[steps,mathml] \starttext \startbuffer[test-chart] \startSTEPtable \cell {$c=2a+3b$} \text {with $a=5$} \cell {$c=10+3b$} \text {and $b=6$} \cell {$c=10+18$} \text {we get} \cell {$c=28$} \stopSTEPtable \stopbuffer How can one center the following \type{\STEPchart}? \getbuffer[test-chart] \stoptext I should add that \startalignment[middle], or \placefigure do not have any influence on the alignment of the above example. Thanks in advance an best regards: OK ___ 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 can one center or align a float?
Am 08.04.10 11:10, schrieb Otared Kavian: Hi all, How is it possible to have a STEPchart be midaligned, or right-aligned, as one may do this with figures, tables, and FLOWcharts? An example is here: \usemodule[steps,mathml] \starttext \startbuffer[test-chart] \startSTEPtable \cell {$c=2a+3b$} \text {with $a=5$} \cell {$c=10+3b$} \text {and $b=6$} \cell {$c=10+18$} \text {we get} \cell {$c=28$} \stopSTEPtable \stopbuffer How can one center the following \type{\STEPchart}? \getbuffer[test-chart] \stoptext I should add that \startalignment[middle], or \placefigure do not have any influence on the alignment of the above example. You have to adjust it by hand, stepchart use the complete textwidth and alignments is useless in this case, use \offset to shift the chart to the right side. \offset[x=.3\textwidth]{\getbuffer[test-chart]} 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] page layout
On Wed, 7 Apr 2010 15:27:48 +0200 Sebastien Mengin sebastien-lis...@edilibre.net scribit: Le 07 avril 2010 à 03:16, Vianney le Clément a écrit: I'm trying to find a French equivalent for back/cutspace... any idea? Marge intérieure / marge extérieure? No, this would be the equivalent of Inner margin / outer margin, I guess. The thing is that I don't know and don't find printers terminology using backspace or cutspace. In French, we also have petit fond and grand fond, that might be what I'm looking for, but not sure. It's not procrastination, by the way: I'd just like to get a clear picture of the concepts behind context terminology and, eventually, try to translate them in order to help new users (and myself!) to get in the way easily. ask Jacques André -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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 ___ -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/ ___ 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 can one center or align a float?
Thanks Wolfgang, your solution does perfectly what I do need. I guess the \offset trickery can be used for other floats as well, when fine tuning is necessary. Many thanks again: OK On 8 avr. 2010, at 12:01, Wolfgang Schuster wrote: Am 08.04.10 11:10, schrieb Otared Kavian: Hi all, How is it possible to have a STEPchart be midaligned, or right-aligned, as one may do this with figures, tables, and FLOWcharts? An example is here: \usemodule[steps,mathml] \starttext \startbuffer[test-chart] \startSTEPtable \cell {$c=2a+3b$} \text {with $a=5$} \cell {$c=10+3b$} \text {and $b=6$} \cell {$c=10+18$} \text {we get} \cell {$c=28$} \stopSTEPtable \stopbuffer How can one center the following \type{\STEPchart}? \getbuffer[test-chart] \stoptext I should add that \startalignment[middle], or \placefigure do not have any influence on the alignment of the above example. You have to adjust it by hand, stepchart use the complete textwidth and alignments is useless in this case, use \offset to shift the chart to the right side. \offset[x=.3\textwidth]{\getbuffer[test-chart]} 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 ___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 aveue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat: +33 1 39 25 46 46 e-mail: otared.kav...@math.uvsq.fr ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimal example of some problems
1. Leftward protrusion doesn't work. 2. I don't think hz is working in footnotes. The font I'm using is Adobe Garamond Premiere Pro. If you think there might be a problem with the typescript, I can show you that too. These two are related to font. Either show that something is wrong with default typescripts (lmodern, times, palatino, etc) else it means that tosmething is wrong with your typescript. But first you have to narrow down the problem I take your word for it that it works for the default typescripts; therefore, the problem must be somewhere in my typescript, but I have no idea where. It is as follows: I don't have the font, so I cannot test it. I should not have been so fast to take your word for it. If I use the default LM fonts, I get the same problems---no leftward protrusion and no hz in the footnotes. You can prevent notes from splitting across pages by \setupenumerations[footnote] [before=\vbox\bgroup, after=\egroup] The footnote may still appear on a different page. If you want to prevent that add \setupfootnotes[split=verystrict] This doesn't work. I'm still getting footnotes appearing on the wrong page. 4. Notice the overprinting near the top of p.2 c.1. That is a marginal note that should go into the right margin. \starttext \startcolumns \input knuth \input tufte \column \input tufte \inmargin{This is in wrong margin} \input knuth \stopcolumns \stoptext The marin note in 2nd column is displayed in the 1st column. This is artifact of the way in which TeX constructs columns: first creating a long and narrow page and then splitting it into two. I don't know at what stage of the OTR are margin notes inserted, and if there is a workaround. Maybe others can help. this is the first time someone needs it so indeed there is no mechamism it's not that complex to deal with it (but i'd only do it in mkiv) gien time and motivation ... you can put a feature request in the tracker so that i can look at it when i'm reworking marging notes the mkiv way (first come floats) Where is the tracker I should put this in? I have found another problem which is probably related. In the same sort of arrangement, two columns with margins on either side, I would like to place floats like this: 1. If they appear on the left side, they should end at the right edge of the left column. 2. If they appear on the right side, they should begin at the left edge of the right column. Using \placetable[inmargin] (my best guess), this works fine for case (2), but case (1) begins at the left edge of the left column and can overprint the right column. ___ 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] libertine otf file not recognised
I have the following problem with mkVI. (updated today) __ systems : begin file env_manuscript at line 4 (../env_manuscript.tex (/media/documents/test/type-libertine.tex) !define font: forced type otf of /home/me/.fonts/LinLibertine_Re-4.4.1 not found !define font: font with name /home/me/.fonts/LinLibertine_Re-4.4.1 is not found !define font: unknown font /home/me/.fonts/LinLibertine_Re-4.4.1, loading aborted !define font: unable to define linuxlibertineo as \*Libertine11ptrmtf* ) systems : end file env_manuscript at line 4 ) __ the relevant line in my typescript is thus: \definefontsynonym [LibertineRegular] [name:linuxlibertineo] [features=default] All other otf fonts in the same directory work. The libertine fonts (from the same files) work with other applications such as gedit, inkscape etc. (obviously not with openoffice) What can be the problem? best, Salil ___ 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] libertine otf file not recognised
Salil Sayed wrote: I have the following problem with mkVI. (updated today) __ systems : begin file env_manuscript at line 4 (../env_manuscript.tex (/media/documents/test/type-libertine.tex) !define font: forced type otf of /home/me/.fonts/LinLibertine_Re-4.4.1 not found !define font: font with name /home/me/.fonts/LinLibertine_Re-4.4.1 is not found !define font: unknown font /home/me/.fonts/LinLibertine_Re-4.4.1, loading aborted !define font: unable to define linuxlibertineo as \*Libertine11ptrmtf* ) systems : end file env_manuscript at line 4 ) __ the relevant line in my typescript is thus: \definefontsynonym [LibertineRegular] [name:linuxlibertineo] [features=default] All other otf fonts in the same directory work. The libertine fonts (from the same files) work with other applications such as gedit, inkscape etc. (obviously not with openoffice) What can be the problem? Perhaps the version number in the file name (which contains dots). IIRC, this or a similar issue popped up a few months ago. Perhaps I even replied then. 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 ___
[NTG-context] callback.register
Hallo, I tried the following -- \starttext \startluacode local OldPreLB function MyPreLB(head,gc) texio.write_nl(### Here I am!) OldPreLB(head,gc) end OldPreLB = callback.find('pre_linebreak_filter') callback.register('pre_linebreak_filter',MyPreLB) \stopluacode Test \stoptext -- but MyPreLB() is not called. What I am doing wrong here? 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] callback.register
On Thu, Apr 08 2010, Wolfgang Werners-Lucchini wrote: [...] but MyPreLB() is not called. What I am doing wrong here? Hello Wolfgang, I don't know, but I've played a bit with your example file: \starttext \startluacode local OldPreLB function MyPreLB(head,gc) tex.print(Here I am!) return OldPreLB(head,gc) end local id, error = callback.register('pre_linebreak_filter', MyPreLB) if id == nil then tex.print(Error string:, type(error), \\par) end \stopluacode Problem: callback.register returns nil, but no error message. \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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 can one center or align a float?
Am 08.04.10 14:28, schrieb Otared Kavian: Thanks Wolfgang, your solution does perfectly what I do need. I guess the \offset trickery can be used for other floats as well, when fine tuning is necessary. You can find a few examples for \offset in the details manual: http://pragma-ade.com/show-man-27.htm 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] libertine otf file not recognised
Am 08.04.10 20:23, schrieb Taco Hoekwater: All other otf fonts in the same directory work. The libertine fonts (from the same files) work with other applications such as gedit, inkscape etc. (obviously not with openoffice) What can be the problem? Perhaps the version number in the file name (which contains dots). IIRC, this or a similar issue popped up a few months ago. Perhaps I even replied then. http://tracker.luatex.org/view.php?id=278 I haven't checked this since i wrote the bug report because i use now the libertine fonts from ctan what i suggest for Salil too, the libertine fonts from sourceforge are more than a year old and the ctan version was updated recently and has also more styles for biolinum. http://www.ctan.org/tex-archive/fonts/libertine/ 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] Multiple bibliographies (bib-module, mkiv)
On 2010-03-31 20:31:48, marfin wrote: I need two bibliographies for my document, »Primary sources« and »Secondary sources«. Two bibliographies was created and loaded with \setupbibtex[database={prim,sec}]. But for the last step in my intention I’m looking for something to the effect that \placepublications[database=prim] or in a similar manner to \nocite{*} for every bib-database. Is there any solution or workaround? Hi, sorry for the late reply, I was absent from the list for a week. I'd suggest you'd give the librarian module a try that was announced to this list by Aditya earlier. If you have the time I recommend waiting for a solution by Taco. Else if neither librarian nor waiting are an option for you, you might want to have a look at this: http://i40.tinypic.com/debiaf.jpg it is using a “keyword” field to typeset multible bibliographies by keywords so your problem could be solved by a short sed script and cat. Various citation modes are already implemented as well as support for all publication types that I need myself -- i.e. book, article and inbook. Everything is done in lua (the bibtex.load() function be praised) so no struggling with bibtex anymore. As I was used to biblatex I mainly imitated its approach to things like crossref'ing and the “address” field. This is by no means ready for release so please mail me off-list if you're interested, maybe I could extend it to fit your needs. Best regards, Philipp Thanks Markus ___ 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 ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments signature.asc Description: Digital 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] How can one center or align a float?
Hi, How is it possible to have a STEPchart be midaligned, or right-aligned, Another way: \startnarrower[6*left] \getbuffer \stopnarrower -- Best Regards, Vyatcheslav Yatskovsky ___ 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] callback.register
2010/4/9 Wolfgang Werners-Lucchini w...@musensturm.de: Hallo, I tried the following -- \starttext \startluacode local OldPreLB function MyPreLB(head,gc) texio.write_nl(### Here I am!) OldPreLB(head,gc) end OldPreLB = callback.find('pre_linebreak_filter') callback.register('pre_linebreak_filter',MyPreLB) \stopluacode Test \stoptext -- but MyPreLB() is not called. What I am doing wrong here? Hi Wolfgang, see http://www.ntg.nl/pipermail/ntg-context/2010/047018.html -- Best regards, Li Yanrui (李延瑞) ___ 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 can one center or align a float?
On 8 avr. 2010, at 22:38, Wolfgang Schuster wrote: Am 08.04.10 14:28, schrieb Otared Kavian: Thanks Wolfgang, your solution does perfectly what I do need. I guess the \offset trickery can be used for other floats as well, when fine tuning is necessary. You can find a few examples for \offset in the details manual: http://pragma-ade.com/show-man-27.htm Wolfgang Thanks Wolfgang! Indeed details.pdf is a great document (with a beautiful design), but since I didn't know how StepCharts used textwidth, I didn' think about using \offset… Have a nice day: OK ___ 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 can one center or align a float?
On 9 avr. 2010, at 00:08, Vyatcheslav Yatskovsky wrote: Hi, How is it possible to have a STEPchart be midaligned, or right-aligned, Another way: \startnarrower[6*left] \getbuffer \stopnarrower -- Best Regards, Vyatcheslav Yatskovsky Thanx Vyatcheslav: your suggestion works perfectly too. It is always good to have several solutions for a problem… Best regards: OK ___ 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 ___