Re: [NTG-context] Letter module: Public version available

2008-04-23 Thread Peter Münster
On Tue, Apr 22 2008, Wolfgang Schuster wrote: @Peter: You could take a look at letter-17.tex, I wrote a first version for page optimation of the output, feel free to change optimize.nle or to add additional methods. Hello Wolfgang, Again, thanks a lot for you great module! Yes, one day

[NTG-context] urw garamond typescript

2008-04-24 Thread Peter Münster
Great, now it works! (with luatex-r1188 and context-beta) The typescript from Hans at the end of this message works fine. Some questions for my understanding: - Why 2 \starttypescript-\stoptypescript sections, and not 1? - What does \setups[font:fallback:serif] mean? - What is \definetypeface

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, Hans Hagen wrote: - What is the meaning of each parameter of \definetypeface? see mfonts.pdf There are examples, but I didn't find an explanation of the parameters. If I understand right, theses are synonyms: rm - serif ss - sans tt - mono mm - math I'm trying to

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, Wolfgang Schuster wrote: \starttypescipt [mytypeface] \definetypeface [mytypeface] [ss] [sans] [...] [default] \stoptypescript I try to ask better questions: - The first argument to \definetypeface is the name of the typeface, right? - Why do I need the second *and* the

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, [EMAIL PROTECTED] wrote: Thanks Taco. This does the job. All I need now is a version (\Monthshort ??) which puts the first letter in uppercase, Jan , Feb, etc. % engine=luatex \startluacode function Monthshort(m) -- os.setlocale(fr_FR.utf8) -- just for testing...

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, Hans Hagen wrote: Peter Münster wrote: % engine=luatex \startluacode function Monthshort(m) -- os.setlocale(fr_FR.utf8) -- just for testing... tex.print(os.date(%b, os.time({day = 10, month = m, year = 2000}))) os.setlocale(C) end \stopluacode

Re: [NTG-context] Line break and \in{....}[] command; bookmarks

2008-05-01 Thread Peter Münster
On Thu, May 01 2008, Tobias Burnus wrote: I use \definereferenceformat[insection][text=Section] however, sometimes the item is that long that Section 5.5 .. looks much nicer than a 5.5 sticking out of the margin. Is there a possibility to allow a line break between

[NTG-context] problem with columns and TABLE

2008-05-03 Thread Peter Münster
Hello, In the following example, the bottom of the table is outside the page. How could this be solved? \starttext \input tufte \startcolumns[2] \bTABLE[split=yes] \dorecurse{50}{\bTR\bTD bla\eTD\eTR} \eTABLE \stopcolumns \stoptext TIA for any help! Cheers, Peter --

Re: [NTG-context] MetaPost 1.004 announcement

2008-05-03 Thread Peter Münster
On Sat, May 03 2008, luigi scarso wrote: 1. for my linux box, I just grabbed the linux tarball, but the binaries in there still declare they're version 1.003. Is that an oversight, or are those indeed old binaries (and you forgot to pack the new ones? :-) # mpost This is MetaPost,

Re: [NTG-context] reference manual for cont-en.lua

2008-05-04 Thread Peter Münster
On Tue, Apr 29 2008, luigi scarso wrote: On Tue, Apr 29, 2008 at 8:25 AM, Peter Münster [EMAIL PROTECTED] wrote: Is there a reference manual for the functions in cont-en.lua? Are you talking about l-table.lua ? No, about cont-en.lua. But l-table.lua is integrated in that file. It's a merge

[NTG-context] some bugs in tracker can be closed

2008-05-04 Thread Peter Münster
Hello, Perhaps these bugs can be closed now: 53, 56, 60, 61, 65, 82 and 84 Cheers, Peter -- http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] reference manual for cont-en.lua

2008-05-04 Thread Peter Münster
On Sun, May 04 2008, luigi scarso wrote: Search on http://source.contextgarden.net for cont-en.lua gives only luat-tmp.lua mtxrun.lua luatools.lua Also my last distro 2008-04-18 has not this file. Maybe a svn trunk ? No, it's a generated file (merge of several lua-files). It should

Re: [NTG-context] problem with columns and TABLE

2008-05-07 Thread Peter Münster
On Mon, May 05 2008, Wolfgang Schuster wrote: this is not possible with the TABLE and table environments because of a switch in core-tsp, table are always splittet to the complete textheight. \ifinsidecolumns % brrr, assumes empty columns \global\setfalse\splitfloatfirstdone

Re: [NTG-context] some bugs in tracker can be closed

2008-05-07 Thread Peter Münster
On Mon, May 05 2008, Taco Hoekwater wrote: Perhaps these bugs can be closed now: Cetainly, or Perhaps? I have no time to test them myself, but of course I can close them blindly' I you consider that MKII and DVI are obsolete and to be replaced by MKIV and PDF, then certainly! Cheers,

Re: [NTG-context] French typesetting?

2008-05-07 Thread Peter Münster
On Wed, May 07 2008, Oliv wrote: So, if I understand well there no in-depth French module for ConTeXt. [1] Isn't it possible to convert the LaTeX packages (Babel French and French LE) to ConTeXt? As I'm totally new to ConTeXt, I don't know if it's hardwork or automatic. Hello Oliv, If you

[NTG-context] feature request: TABLEs in columns

2008-05-12 Thread Peter Münster
Hello, It would be very nice, if one could put splitted TABLEs in columns (or column-sets) without restrictions: text before columns \startcolumns[n=X] some text spanning 1 or more columns, 1 or more pages \bTABLE[split=repeat] \bTABLEhead \bTR \bTH Head \eTH \eTABLEhead \bTABLEbody

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Peter Münster
On Wed, May 21 2008, Taco Hoekwater wrote: Because I do not want to alter the lua return values, that means I will have to interpret the contents of the returned structure a bit. To do that, I would appreciate it if the people on a non-linux32intel platform would compile and run the attached

Re: [NTG-context] the error of xetex

2008-06-03 Thread Peter Münster
On Tue, Jun 03 2008, Mojca Miklavec wrote: Because nobody* submitted the 64-bit linux binaries to the repository yet. Neither for FreeBSD and Sun, but there have been less requests for the latter. linux, mac windows should be OK. Done for linux-64 (xetex-0.999.0). Cheers, Peter --

[NTG-context] unicode feature request

2008-06-06 Thread Peter Münster
Hello, Just as the signs , , + and −, it would be nice if also other signs such as ≤ (less-than or equal to, 2264) or ⇒ (rightwards double arrow, 21D2) worked in text mode and not only in math mode. Cheers, Peter -- http://pmrb.free.fr/contact/

[NTG-context] last bookmark is wrong

2008-06-07 Thread Peter Münster
Hello, The last bookmark is s3 instead of b3 (MKII and MKIV): \setupinteraction[state=start] \placebookmarks[section] \starttext \section{s1}\bookmark{b1} \section{s2}\bookmark{b2} \section{s3}\bookmark{b3} \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/

[NTG-context] zero padding with itemize

2008-06-08 Thread Peter Münster
Hello, Is it already possible to get 0 padding with \startitemize: 01 02 03 and so on ? If yes, how? And if no, where is the magic point, where I could apply a patch (if it's not too difficult ;) Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] unicode feature request

2008-06-11 Thread Peter Münster
On Sat, Jun 07 2008, Hans Hagen wrote: i'm in the process of setting up math in mkiv and this is something that taco, aditya and i will discuss at the upcoming context conference (feel free to join in there) Thanks for considering my request. Much to my regret I won't come to the conference

Re: [NTG-context] zero padding with itemize

2008-06-11 Thread Peter Münster
On Sun, Jun 08 2008, Hans Hagen wrote: If yes, how? And if no, where is the magic point, where I could apply a patch (if it's not too difficult ;) has always been possible ... \starttext \def\mypaddednumber#1{\ifnum#19 0\fi\number#1\relax} \defineconversion[pn] [\mypaddednumber]

Re: [NTG-context] nbsp U+00A0 don’t work

2008-06-16 Thread Peter Münster
On Mon, Jun 16 2008, Olivier Guéry wrote: Context deal with the nbsp when it's the « ~ », but with the U+00A0, not. This is a new bug in MKIV, I'm sure that it used to work at least 1 or 2 months ago. In MKII it works as expected. Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] nbsp U+00A0 don’t work

2008-06-17 Thread Peter Münster
On Tue, Jun 17 2008, Hans Hagen wrote: can you make a test file showing the problem (not sure what it is)? Here a test file: % engine=luatex \starttext \hsize1pt Hello world! \stoptext Between the Hello and the world is a U+00A0. Cheers, Peter -- http://pmrb.free.fr/contact/

[NTG-context] \setcharacterspacing[frenchpunctuation] no more working

2008-06-18 Thread Peter Münster
Hello, In version 2008.06.11, \setcharacterspacing[frenchpunctuation] is no more working. Here a test file: % engine=luatex \starttext test: oeps {\setcharacterspacing[frenchpunctuation]x: xx \bfd x: xx} oeps: test \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] \setupitemize[afterhead=...] not working

2008-06-23 Thread Peter Münster
On Mon, Jun 23 2008, Wolfgang Schuster wrote: The parameter afterhead seems to be ignored (MKII and MKIV): There is no \head in your numeration. Indeed, but headstyle applies nevertheless. \setupitemize[afterhead=:] Try: \def\aftercolon{\groupedcommand{}{:}}

Re: [NTG-context] \setupitemize[afterhead=...] not working

2008-06-24 Thread Peter Münster
On Tue, Jun 24 2008, Wolfgang Schuster wrote: @Peter: afterhead is meant for vertical material like skips, rules etc. or you could use to draw a frame around the itemize head. Ok, so afterhead applies only to the \head command. I've chosen \txt{}, because I need something like this:

Re: [NTG-context] \setupitemize[afterhead=...] not working

2008-06-24 Thread Peter Münster
On Tue, Jun 24 2008, Wolfgang Schuster wrote: \setupitemize[headstyle=\bf\groupedcommand{}{:}, width=5em, distance=1em] \starttext \startitemize \txt{Short} \input tufte \txt{Very very very long} \input tufte \stopitemize \stoptext Should \head better be used for this

[NTG-context] problem with ligatures in MKIV

2008-06-29 Thread Peter Münster
Hello, There are no ligatures in the frame in the header: % engine=luatex \setupheadertexts[X --- fl -- X\startframedtext X --- fl -- X \stopframedtext] \starttext X --- fl -- X\startframedtext X --- fl -- X \stopframedtext \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] Paragraph on the bottom of a page

2008-07-03 Thread Peter Münster
On Thu, Jul 03 2008, Horacio Suarez wrote: Maybe it is not elegant but I use vfill with a ~ before. Strange, this doesn't work here: \starttext ~\vfill \input tufte \stoptext Buf I've found 2 other methods. The results are slightly different: \starttext \framed[offset=0pt, frame=off,

Re: [NTG-context] Paragraph on the bottom of a page

2008-07-03 Thread Peter Münster
On Thu, Jul 03 2008, Horacio Suarez wrote: this works in linux but doesn´t in windows XP, both latests context versions. [...] ~ \vfill cualquier texto Strange. Here: Linux + ConTeXt 2008.06.28 Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] Highlight changes

2008-07-15 Thread Peter Münster
On Tue, Jul 15 2008, John Devereux wrote: Is there a way to automatically highlight changes to a document, such that the resulting PDF has markers showing changed areas? Bars in the margin or some such. Or more generally some other way to easily communicate what has been changed (other than

[NTG-context] overfull hbox (was: Re: Highlight changes)

2008-07-16 Thread Peter Münster
On Wed, Jul 16 2008, Olivier Guéry wrote: In the same idear, i realy miss something to highlight the « overfull hbox » \version[temporary] \starttext \hsize1pt abcd \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] inter-word spacing (initials)

2008-07-18 Thread Peter Münster
On Fri, Jul 18 2008, Alan Bowen wrote: In (English) typography the spacing after a period within a sentence is less that that after a period at the end of a sentence. Since the days of Plain TeX, one achieved the proper spacing after an intra- sentence period by entering “.\space”. My

Re: [NTG-context] Highlight changes

2008-07-19 Thread Peter Münster
On Fri, Jul 18 2008, John Devereux wrote: Thanks, but this (your shell script) did not work well for me - there seem to be too many cases where the diff produces invalid tex code. Did you ever make an extended one? Yes. It's attached. Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] hiding content

2008-07-24 Thread Peter Münster
On Thu, Jul 24 2008, Wolfgang Schuster wrote: Enabling people to view the pdf preview version (limited, containing excerpts) before acquiring the full version. In this case the solution offered in the thread are no solution for your, it's too easy for the customers to make the hidden

Re: [NTG-context] \word of synonyms

2008-07-24 Thread Peter Münster
On Thu, Jul 24 2008, Matthias Wächter wrote: What am I doing wrong? \Word, \Words and \WORDS cannot be applied to synonyms, they are displayed unmodified which is a pity as these words should be capitalized at the beginning of a sentence. Is there a solution? Try texexec --luatex file

Re: [NTG-context] MetaPost graphics within formulas

2008-07-26 Thread Peter Münster
On Fri, Jul 25 2008, Oliver Buerschaper wrote: \Phi(\useMPgraphic{tetrahedral})=F_{kln}^{ijm}\,v_iv_jv_kv_l\, [...] Now if I only knew how to properly align my MetaPost figure with the rest of the formula … any ideas? \Phi\left(\vcenter{\useMPgraphic{tetrahedral}}\right)= ... Cheers,

Re: [NTG-context] \blank[inhibit] broken ???

2008-07-27 Thread Peter Münster
On Fri, Jul 25 2008, Wolfgang Schuster wrote: \defineblankmethod [nobreak] {\penalty\plustenthousand} Hello, Why \plustenthousand, and not 1? Cheers, Peter -- http://pmrb.free.fr/contact/ ___ If your

Re: [NTG-context] Creating account on wiki contextgarden

2008-07-28 Thread Peter Münster
On Mon, Jul 28 2008, Mehdi Omidali wrote: faced a problem in the anti automated account creation question which is something like (23 plus 8) times roman 'C' What must be inserted as the answer to such a problem. I tried everything but no success. Really everything? Also 3100? Cheers, Peter

Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Peter Münster
On Mon, Jul 28 2008, Aditya Mahajan wrote: Any particular reason why \goto does not break the link across lines? I thought that PS could not handle links split across multiple lines while PDF could. Is it just because \goto was implement lng time back? It's perhaps just a matter of

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Peter Münster
On Tue, Aug 12 2008, Maurí­cio wrote: I need to write ' in a text. However, since it's a special tag in wiki language, I really need it to be 5 times U0027, not ””’ (U201C and U2018). How can I do that? \starttext With 0-kern: '\kern0pt'\kern0pt'\kern0pt'\kern0pt' The easy way:

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Peter Münster
On Tue, Aug 12 2008, Maurí­cio wrote: Both also didn't work. Are you using Mark IV? I'm using regular Context (the one that comes with Ubuntu), maybe that's the difference. Indeed! I just tried MKII, and this is the result: pdftotext test.pdf - | hexdump -C 31 0a 0a 57 69 74 68 20

Re: [NTG-context] When I don't want quotes

2008-08-13 Thread Peter Münster
On Tue, Aug 12 2008, Hans Hagen wrote: two solutions: (1) use tt (since there trep is off) {\tt '} (2) reload the bodyfont \definefontfeature [default] [default] [trep=no] \setupbodyfont[reset] This works only for MKIV. The OP uses MKII, and his problem is, that

Re: [NTG-context] Caption on the right side of a figure

2008-08-15 Thread Peter Münster
On Fri, Aug 15 2008, Flavien Lambert wrote: By the way, is there a manual or a command to see all the options available for a given command ? In contextgarden, the texshow-web does not have the location=right option for the \setupcaptions command for example. texshow on the command line (or

Re: [NTG-context] AUCTeX issues not necessarily ConTeXt-related

2008-08-15 Thread Peter Münster
On Fri, Aug 15 2008, Charles P. Schaum wrote: A while ago I mentioned a ``Problems after [n] pages'' issue in AUCTeX when using ConTeXt with it. Hello, Probably you just need to update AUCTeX. On my system, this issue has gone away after upgrading to version 11.85. Cheers, Peter --

Re: [NTG-context] inframed : makes a newline

2008-08-20 Thread Peter Münster
On Wed, Aug 20 2008, Peter Rolf wrote: A \framed at the beginning of a paragraph starts in vertical mode (stuff is ordered vertically). The macro \dontleavehmode ensures, that the horizontal mode is used. Hello, Could you now change this behaviour please in MKIV? I think MKIV does not need

Re: [NTG-context] inframed : makes a newline

2008-08-21 Thread Peter Münster
On Thu, Aug 21 2008, Wolfgang Schuster wrote: For beginners (especially former LaTeX users), this is a real headache: \framed, \externalfigure and so on start sometimes a new paragraph, and sometimes not. In my opinion, these commands should behave like a simple hbox. But this is

[NTG-context] feature request: \setuptyping[ignorefirstspace=yes]

2008-08-25 Thread Peter Münster
Hello, Something like \setuptyping[ignorefirstspace=yes] would be nice, to be able to format the source text with indentation but let the typing environment ignore this indentation. Example: \setupcolors[state=start] \setuptyping[margin=3em, ignorefirstspace=yes] \starttext This: \starttyping

[NTG-context] setting mode in ctx-file

2008-08-27 Thread Peter Münster
Hello, How can I set a mode in a ctx-file? I would like to pass such a file to context --ctx=file ... If further modes are passed with --mode=..., these modes should not replace the mode in the ctx-file, but should be added. Cheers, Peter -- http://pmrb.free.fr/contact/

[NTG-context] problem with setupexternalfigures

2008-08-27 Thread Peter Münster
Hello, In the following example, the image is always taken from d1: % engine=luatex \setupexternalfigures[directory=d1] \setupexternalfigures[directory={d2,\currentvalue}] % does not seem to work \starttext \externalfigure[image] \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/

[NTG-context] problem with \useURL

2008-08-28 Thread Peter Münster
Hello, The colon is misplaced here: % engine=luatex \setupinteraction[state=start] \starttext \useURL[xxx][http://www/]\from[xxx] \stoptext If you cannot reproduce this problem, try to delete your luatex-cache first. Cheers, Peter -- http://pmrb.free.fr/contact/

[NTG-context] rows and columns in TABLE

2008-09-08 Thread Peter Münster
Hello, Could you help me please? I don't get the desired result, 3 columns are added: \starttext \setupTABLE[width=\dimexpr \textwidth / 8 \relax] \bTABLE \bTR \bTH 1. col\eTH \bTH 2. col\eTH \bTH 3. col\eTH \bTH 4. col\eTH \bTH 5. col\eTH \bTH 6. col\eTH \eTR \bTR \bTD[nr=6]6 rows in 1. col\eTD

Re: [NTG-context] rows and columns in TABLE

2008-09-08 Thread Peter Münster
On Mon, Sep 08 2008, Wolfgang Schuster wrote: You should use pen and paper to contruct the table, it helps. In fact, that's what I did. But now I understand better the logic how the rows must be defined. Thanks for your help! Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] rows and columns in TABLE

2008-09-08 Thread Peter Münster
Now I would like to adjust the height of each row. But I manage to get the desired result only with a seventh fake column. Consider this example with and without the mode seven: %\enablemode[seven] \starttext \setupTABLE[r][2,3,4,5,6,7][height=6ex] \bTABLE[width=0.125\textwidth] \bTR \bTH 1.

[NTG-context] width of cell in TABLE

2008-09-11 Thread Peter Münster
Hello, How could I get a column with 0 width (useful for dummy columns). Example, that shows, that the width is not 0: \starttext \setupTABLE[width=0pt, offset=0pt, height=1cm] \bTABLE \bTR\bTD\eTD\eTR \eTABLE \framed[width=0pt, offset=0pt, height=1cm]{} \stoptext Cheers, Peter --

Re: [NTG-context] rows and columns in TABLE (fwd)

2008-09-11 Thread Peter Münster
Hello, I would like to adjust the height of each row. But I manage to get the desired result only with a seventh dummy column. Consider this example with and without the mode seven: %\enablemode[seven] \starttext \setupTABLE[r][2,3,4,5,6,7][height=6ex] \bTABLE[width=0.125\textwidth] \bTR \bTH 1.

Re: [NTG-context] color test not working

2008-09-14 Thread Peter Münster
On Sat, Sep 13 2008, Alan Stone wrote: All give a blackwhite output, except the rgb (somecolor): and (somecolor)*: ones No problem here. Versions: [EMAIL PROTECTED]:~ context --version MtxRun | current version: 2008.09.10 14:01 [EMAIL PROTECTED]:~ pdftex --version pdfTeX 3.1415926-1.40.9-2.2

Re: [NTG-context] The most Tex friendly distribution?

2008-09-17 Thread Peter Münster
On Mon, Sep 15 2008, Armando Martins wrote: Any idea about the most Tex-friendly Linux distribution, please? Thomas Schmitz told me OpenSuse (which I 've been using for a year...) is not that Tex-friendly... Hello, What's the issue with suse? I'm using it since 1995 without problems. Now

Re: [NTG-context] The most Tex friendly distribution?

2008-09-17 Thread Peter Münster
On Wed, Sep 17 2008, Thomas A. Schmitz wrote: http://archive.contextgarden.net/message/20080320.203129.aec3fb49.en.html You're right, but I've to protect suse a bit: this was only an issue with a very new MKIV (new logic how to use TEXINPUTS), and suse could really not know about that.

Re: [NTG-context] URL bug

2008-09-19 Thread Peter Münster
On Fri, Sep 19 2008, Alan Stone wrote: \useURL [url] [http://www.a.com] [] [wxyz] % this does NOT compile Perhaps an update will help. It works here with: MtxRun | current version: 2008.09.16 19:49 This is LuaTeX, Version snapshot-0.29.0-2008072108 Cheers, Peter --

Re: [NTG-context] URL bug

2008-09-20 Thread Peter Münster
On Sat, Sep 20 2008, Alan Stone wrote: texmfstart texexec --lua test_url It still doesn't compile. Are you running a recent luatex (0.29.0)? Just to be sure, I would clean up the cache and the working directory at your place: rm -rf .../texmf-cache/luatex-cache/* context --purgeall Cheers,

Re: [NTG-context] setupinteraction breaks urls in MK Ⅳ

2008-09-24 Thread Peter Münster
On Wed, Sep 24 2008, Matthias Wächter wrote: \setupinteraction[state=start] \starttext \useURL[u][http://www.x.com/] see \from[u]. \stoptext It doesn't work in MKⅣ, no change by updating to latest. Seems to be the same issue as

Re: [NTG-context] French punctuation : tests

2008-09-29 Thread Peter Münster
On Thu, Sep 25 2008, Olivier Guéry wrote: * There should't be space between two sign. Test 2 Hello Olivier, IMHO, frenchpunctuation should just care about the additional spaces before some punctuation signs, that are the French typographic mainstream. Neither more, nor less. Two or three

[NTG-context] \asciimode and cld

2011-05-27 Thread Peter Münster
Hello, How can one use \asciimode in cld syntax? This does not seem to work: context.starttext() context.asciimode() contextbla % bla context.stoptext() TIA for any hints! -- Peter ___ If your question

Re: [NTG-context] checking mainlanguage setup

2011-05-27 Thread Peter Münster
On Fri, May 27 2011, Jeong Dalyoung wrote: Is it possible to check what is the mainlanguage set in document? Yes. Example: %\mainlanguage[fr] %\language[fr] \starttext currentlanguage: \doifelse\currentlanguage{fr}{French}{Not French}\par currentmainlanguage:

[NTG-context] \startitemize: intro ignored with columns

2011-06-01 Thread Peter Münster
Hello, How can I avoid a page break here: \setuplayout[height=2cm] \starttext \startsection[title=test] \startitemize[columns, intro] \item bla \stopitemize \stopsection \stoptext TIA for any hints! -- Peter

Re: [NTG-context] \startitemize: intro ignored with columns

2011-06-01 Thread Peter Münster
On Wed, Jun 01 2011, Wolfgang Schuster wrote: How can I avoid a page break here: \setuplayout[height=2cm] \starttext \startsection[title=test] \startitemize[columns, intro] \item bla \stopitemize \stopsection \stoptext It would help when you give ConTeXt space for the text, Of

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Peter Münster
On Fri, Jun 03 2011, Thomas A. Schmitz wrote: Ah, expdoifelse is for expanded doifelse, right? Any examples for such a lua helper? Sounds good, but I still haven't been able to understand how to mix xml and lua code. \startluacode function my_externalfigure(file, t) local args_present

Re: [NTG-context] Custom function

2011-06-04 Thread Peter Münster
On Sat, Jun 04 2011, Wolfgang Schuster wrote: Edition de Trilogie de l'enfer en novembre 2011 chez Sens Tonka Should be: Édition (common error in French) -- Peter ___ If your question is of

Re: [NTG-context] math: command for absolute value: `\define\abs[1]{\lvert #1 \rvert}` throws `\lvert -\Udelimiter`.

2011-06-04 Thread Peter Münster
On Sat, Jun 04 2011, Paul Menzel wrote: I want to define `\abs` as the command for the absolute value. The following minimal example is also attached. \define\abs[1]{\lvert #1 \rvert} Don't ask me why \define doesn't work (certainly related to expansion), but \def does the job:

[NTG-context] bad page breaks with \startitemize[columns]

2011-06-06 Thread Peter Münster
Hello, How can one avoid these bad page breaks here: \starttext \dorecurse{10}{ \startsection[title=test] \startitemize[columns, intro] \item bla \stopitemize \input tufte \stopsection } \stoptext TIA for any hints, -- Peter

Re: [NTG-context] bad page breaks with \startitemize[columns]

2011-06-06 Thread Peter Münster
On Mon, Jun 06 2011, luigi scarso wrote: \starttext \dorecurse{10}{  \startsection[title=test]    \startitemize[columns, intro]    \item bla    \stopitemize    \input tufte  \stopsection } \stoptext \setuphead[section][before={\testpage[5]\blank}] I've already tried that... Please

Re: [NTG-context] Getting arguments by Lua

2011-06-09 Thread Peter Münster
On Thu, Jun 09 2011, Procházka Lukáš Ing. - Pontex s. r. o. wrote: but I'd need to get also the source file name (Source.mkiv) and the option (--result - Result.pdf). \starttext result (lua): \ctxlua{context(environment.outputfilename)}\par result (tex): \systemparameter{file} \stoptext --

[NTG-context] no-break space broken

2011-06-14 Thread Peter Münster
Hello, With the latest beta, the no-break space seems to be broken: \starttext \hsize1pt bla~bla % line breaks here \stoptext No problem with mkii. -- Peter ___ If your question is of interest to others

Re: [NTG-context] Trailing Space after \cldcontext

2011-06-26 Thread Peter Münster
On Mon, Jun 27 2011, Kip Warner wrote: Is there any way to remove the trailing space that appears to be automatically inserted when \cldcontext output is captured? For instance, Bazaar revision \cldcontext{os.resultofbzr revno}. Will show Bazaar revision 43 . I've manually checked the

Re: [NTG-context] \about[node] quotation marks

2011-06-27 Thread Peter Münster
On Tue, Jun 28 2011, Kip Warner wrote: Is there any way to have ConTeXt not surround the link in the text with quotation marks when using \about[some_node]? \setupreferencing[left=, right=] -- Peter

Re: [NTG-context] Scaling down the resolution of used pictures

2011-06-29 Thread Peter Münster
On Wed, Jun 29 2011, Hans Hagen wrote: That would be a possibility, but I was wondering if there was a way to let ConTeXt do it. Saves a lot of time. Also: when changing from A4 to A5, you have to do it all over again. You can plugin in a converter. However, it only works for one to anothe

Re: [NTG-context] modules in minimals (important)

2011-07-06 Thread Peter Münster
On Wed, Jun 29 2011, Mojca Miklavec wrote: Hans has changed the command line parameter for modules (--modules=vim should work now). The problem is that he now stores the chosen modules to a variable modules as opposed to extras. So if you want to keep your modules, please edit

[NTG-context] t-letter: problem with align

2011-07-07 Thread Peter Münster
Hello, The align key seems to be ignored here: \usemodule[letter] \setupletterstyle[head][align=flushright] \setupletterstyle[letterhead][align=flushright] \setupletter[fromname=bla, fromaddress=bla bla] \starttext \startletter bla \stopletter \stoptext TIA for any help! -- Peter

Re: [NTG-context] t-letter: problem with align

2011-07-07 Thread Peter Münster
On Thu, Jul 07 2011, Wolfgang Schuster wrote: The head use predefined layouts and you can select between a left aligned, a centered or a right aligned layout. \setupletterstyle[head][alternative=right] On page 99 of lettercorrespondence.pdf you write: The default alternative a prints the

Re: [NTG-context] t-letter: problem with align

2011-07-07 Thread Peter Münster
On Fri, Jul 08 2011, Wolfgang Schuster wrote: With the alternative “a” i print only the values from the variables “fromname” and “fromaddress” while “left”, “middle” and “right” are complexer. Another feature from the last three alternatives is that the alignment is fixed and you can’t change

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-14 Thread Peter Münster
On Thu, Jul 14 2011, Cecil Westerhof wrote: The problem is that my document already is finished. First I could just deliver a PDF file. Now they want to edit it themselves. They could install context on their computer... -- Peter

Re: [NTG-context] unwanted page break

2011-07-18 Thread Peter Münster
On Mon, Jul 18 2011, Hans Hagen wrote: Writing a sentences, it makes a page break even though there are enough space for the remaining sentences. test file needed, it could be that one of tex's penalties forces this (widow/club) Perhaps related: http://tracker.luatex.org/view.php?id=686 --

Re: [NTG-context] Weirdness with the names of files processed

2011-07-26 Thread Peter Münster
On Tue, Jul 26 2011, Jaroslav Hajtmar wrote: Conversely, if + is part of the filename, while images are found, the compilation will collapse and prints a message that I mention below. Short answer: don't use + in filenames. See also:

Re: [NTG-context] Two rotates on the same line

2011-08-22 Thread Peter Münster
On Wed, Aug 17 2011, Cecil Westerhof wrote: I am still expanding my knowledge of ConTeXt. At the moment I am playing with \rotate. When using:     \rotate[rotation=42]{Tekst kan ook worden geroteerd.}     \rotate[rotation=-42]{In elke richting die je maar wilt.} This is displayed as:     /

[NTG-context] \type{} in bold mode

2011-08-30 Thread Peter Münster
Hello, When the current font-switch is bold, I would like the verbatim text inside \type{} to respect the bold mode. What is the right way to teach \type{} to automatically use bold or not? Example: \starttext \section{Problem:} {not bold, \type{not bold, ok} // \bf bold, \type{should be bold

Re: [NTG-context] \type{} in bold mode

2011-09-02 Thread Peter Münster
On Wed, Aug 31 2011, Wolfgang Schuster wrote: \setuptype[style=mono] % default: “style=\tt\tf” Oh, I was so convinced, that the default was \tt, that I did not even test it, sorry! But what is the sense of the \tf? What is the advantage over default=\tt? -- Peter

Re: [NTG-context] Colored text in \type?

2011-09-02 Thread Peter Münster
On Fri, Sep 02 2011, Alasdair McAndrew wrote: \color[blue]{\type{%t^y_8*}} doesn't seem to work; nor does {\blue \type{%t^y_8*}} No problem with mkiv. -- Peter ___ If your question is of interest

Re: [NTG-context] ConTeXt mode in emacs: disabling raising of superscripts?

2011-09-05 Thread Peter Münster
On Mon, Sep 05 2011, Alasdair McAndrew wrote: I hope my subject line says it all: if I type, say $x^2$ in an emacs buffer, with ConTeXt-mode, the 2 is automatically raised.  This to me looks ugly.  I've been searching through the emacs customization options but haven't yet found what I need. 

[NTG-context] t-vim: line-breaks with \inlineX{}

2011-09-14 Thread Peter Münster
Hello, How can I avoid the line-breaks here: --8---cut here---start-8--- \usemodule[vim] \definevimtyping[C][syntax=c] \starttext bla \inlineC{void func(void)} bla \stoptext --8---cut here---end---8--- TIA for any help! --

Re: [NTG-context] t-vim: line-breaks with \inlineX{}

2011-09-14 Thread Peter Münster
On Wed, Sep 14 2011, Aditya Mahajan wrote: See the updated t-filter module from the dev branch at github. Thanks! When do you plan to update the module in the standalone distribution? -- Peter ___ If

[NTG-context] upload file on wiki

2011-09-27 Thread Peter Münster
Hello, The upload seems to be broken: Upload warning The upload directory (public) is not writable by the webserver. -- Peter ___ If your question is of interest to others as well, please

Re: [NTG-context] focus=standard not respected

2011-10-05 Thread Peter Münster
On Mon, Mar 28 2011, Marco wrote: In the following example the page focus jumps back to »fit« after clicking on the footnote number after »Foo«, although »focus=standard« is set. \setupinteraction [state=start, focus=standard] \starttext Foo \startfootnote Bar \stopfootnote

Re: [NTG-context] I look for an item bullet with a size between \bullet and \cdot

2011-10-11 Thread Peter Münster
On Tue, Oct 11 2011, Stéphane Klein wrote: Do you have a tip ? There is \scale[...]{...}: \starttext \dontleavehmode \scale[scale=700]{•} • \scale[scale=1700]{•} \stoptext -- Peter ___ If your question

Re: [NTG-context] Image compression/resizing in PDFs

2011-10-21 Thread Peter Münster
On Fri, Oct 21 2011, John Devereux wrote: Is there a way to have context automatically compress or resample included images to a given output resolution? Hello, See also http://archive.contextgarden.net/thread/20110629.173015.6dcd7b3e.en.html t-degrade.tex is broken with latest context. If

Re: [NTG-context] Question about chapter headings

2011-10-25 Thread Peter Münster
On Tue, Oct 25 2011, Alasdair McAndrew wrote: \def\chap#1#2{Chapter #1\crlf #2} \def\chap#1#2{\vbox{Chapter #1\crlf #2}} -- Peter ___ If your question is of interest to others as well, please add an

Re: [NTG-context] ConvertToConteXt - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Peter Münster
On Tue, Nov 01 2011, Jan Heinen wrote: $xstring = str_replace ( !, \\char33, $xstring ); // Why is ! special in ConTeXt? (same question applies for many other characters) With \asciimode there is probably only one character to convert: \ (and the sequence %%, that should be quite rare) --

[NTG-context] languagespecifics

2011-11-04 Thread Peter Münster
Hello, Is there something like \startlanguagespecifics[fr] ... \stoplanguagespecifics in mkiv? Does it make sense, to keep the module t-french.tex? I would like to integrate \setcharacterspacing[frenchpunctuation] everywhere (text, headers, footers and so on), but when a user loads the module

<    1   2   3   4   5   6   7   8   9   10   >