Re: [NTG-context] Overriding pdfview

2013-06-28 Thread luigi scarso
On Fri, Jun 28, 2013 at 4:29 AM, Arthur Reutenauer arthur.reutena...@normalesup.org wrote: Unfortunately my version of evince doesn't always print correctly a pdf made by context mkiv \starttext $3v$ \par $3\omega$ \stoptext When I do print-preview, the math is not shown,

[NTG-context] how to use \dimexpr and fractional values

2013-06-28 Thread Thomas A. Schmitz
Hi all, long story short: I want to calculate a width or height from user input, which is in the form 0.x (as in 0.3\textwidth) since I want to use that number differently in different circumstances. Problem is that \dimexpr doesn't like decimal values. Example (uncomment second

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-28 Thread Christian Prim
Hello Wolfgang thanks for both \TextGap and \WordGap. That is exactly what I needed! Christian 2013/6/27 Wolfgang Schuster schuster.wolfg...@gmail.com Am 27.06.2013 um 20:53 schrieb Jaroslav Hajtmar hajt...@gyza.cz: Hello Wolfgang. Here is example of other using of your TextGap.

Re: [NTG-context] how to use \dimexpr and fractional values

2013-06-28 Thread Peter Münster
On Fri, Jun 28 2013, Thomas A. Schmitz wrote: %\externalfigure[mill][height=\dimexpr10cm*\myfactor\relax] \externalfigure[mill][height=\myfactor\dimexpr10cm\relax] -- Peter ___ If your question is of

Re: [NTG-context] how to use \dimexpr and fractional values

2013-06-28 Thread luigi scarso
On Fri, Jun 28, 2013 at 8:54 AM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: Hi all, long story short: I want to calculate a width or height from user input, which is in the form 0.x (as in 0.3\textwidth) since I want to use that number differently in different circumstances.

Re: [NTG-context] how to use \dimexpr and fractional values

2013-06-28 Thread Thomas A. Schmitz
On 06/28/2013 09:16 AM, Peter Münster wrote: On Fri, Jun 28 2013, Thomas A. Schmitz wrote: %\externalfigure[mill][height=\dimexpr10cm*\myfactor\relax] \externalfigure[mill][height=\myfactor\dimexpr10cm\relax] Sigh... Thanks Peter, I should have tried this myself. I think I'm losing it,

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-28 Thread Jaroslav Hajtmar
Hello Wolfgang. I thank you as well. These macros I will also definitely come in handy. Sometimes I'm doing tests for my students. I solved it yet a little awkward, now it is OK. Thanx Jaroslav Dne 28.6.2013 9:06, Christian Prim napsal(a): Hello Wolfgang thanks for both \TextGap and

Re: [NTG-context] Overriding pdfview

2013-06-28 Thread Keith J. Schultz
Hi All, I have been following this thread with some amusement. There is no real optimal answer to this question short of developing a dedicated pdfviewer for ConTeXt. But, is this the best use of our resources. Furthermore, how about a dedicated editor? ;-)) (just joking, but I am sure somebody

Re: [NTG-context] Overriding pdfview

2013-06-28 Thread Hans Hagen
On 6/28/2013 1:46 AM, Sietse Brouwer wrote: I'll repeat what I said, though: the PDF reader that is (a) most likely to be installed, and (b) is most logical / least surprising to the user, is: the user's own default PDF viewer. Adobe Reader may be clunky for this purpose, but IMO the user's

Re: [NTG-context] Overriding pdfview

2013-06-28 Thread Keith J. Schultz
Hi All, I would agree that the users default should be respected. I will have to contradict my last post them. My suggestion them is to use a system variable such as ConTeXtViewer. This variable would contain the program to be called. If it is not set or empty context simply finishes up what

Re: [NTG-context] Overriding pdfview

2013-06-28 Thread Hans Hagen
On 6/28/2013 10:56 AM, Keith J. Schultz wrote: Hi All, I would agree that the users default should be respected. I will have to contradict my last post them. My suggestion them is to use a system variable such as ConTeXtViewer. This variable would contain the program to be called. If it is

Re: [NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-28 Thread Philipp Gesang
···date: 2013-06-28, Friday···from: Akira Kakuto··· Hi Philipp, I’ve traced it to luatex-basics-gen.lua. luaotfload-basics-gen.lua and luaotfload-merged.lua? The latter is generated from the former, so yes. For a hot fix it suffices to patch the merged file. Anyways, luaotfload will be

Re: [NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-28 Thread Hans Hagen
On 6/28/2013 1:12 PM, Philipp Gesang wrote: ···date: 2013-06-28, Friday···from: Akira Kakuto··· Hi Philipp, I’ve traced it to luatex-basics-gen.lua. luaotfload-basics-gen.lua and luaotfload-merged.lua? The latter is generated from the former, so yes. For a hot fix it suffices to patch

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-28 Thread Wolfgang Schuster
Am 28.06.2013 um 09:36 schrieb Jaroslav Hajtmar hajt...@gyza.cz: Hello Wolfgang. I thank you as well. These macros I will also definitely come in handy. Sometimes I'm doing tests for my students. I solved it yet a little awkward, now it is OK. The code is usable but far from perfect

Re: [NTG-context] french character spacing in footnotes

2013-06-28 Thread Alan Bowen
Thanks, Wolfgang—that code works perfectly and is a great help. Alan On Thu, Jun 27, 2013 at 10:56 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 28.06.2013 um 00:27 schrieb Alan Bowen bowenala...@gmail.com: The following code has the right character spacing spacing in the

Re: [NTG-context] french character spacing in footnotes

2013-06-28 Thread Alan Bowen
Thanks, Peter. I like your last idea of tying the french punctuation and character spacing to \fr or \mainlanguage[fr]. Alan On Fri, Jun 28, 2013 at 1:33 AM, Peter Münster pmli...@free.fr wrote: On Fri, Jun 28 2013, Wolfgang Schuster wrote: ConTeXt resets a few features for the notes and

Re: [NTG-context] Overriding pdfview

2013-06-28 Thread Keith J. Schultz
Hi Hans, I meant a OS system variable. But that actually does not matter. The default action would be changed to not call a browser! I agree that nobody should be forced to use autopdf. Yet, as I understand the discussion there seems to be a need to add some generality to the method.

[NTG-context] Having text overflow an image

2013-06-28 Thread Sander Maijers
I have a few large plots that each should take up an entire landscape A3 paper sheet. There is a heading above it. Can I print it on top of the image (overflowing it)? Example code: \setuppapersize[A3,landscape][A3,landscape] \setuplayout[topspace=10mm,header=0mm,footer=10mm]

[NTG-context] Possible bug with new \start ... \stop way for title, chapter, subject, etc.?

2013-06-28 Thread Andres Conrado Montoya
I was trying to implement the solution provided by this thread: http://www.mail-archive.com/ntg-context@ntg.nl/msg51152.html and it works very well. However, finding a problem related to this implementation, I found that the output of the new \start ... \stop versions of the title, section,