Re: [NTG-context] [lmtx] ornaments with Linux Libertine

2020-11-21 Thread Lutz Haseloff
Hi YAHYAOUI,

This works for me with my LinuxLibertine font.

\definefont[linlib][name:linuxlibertinegregular*default at 12pt]
\starttext
\linlib
\tochar{n:Tux}
\tochar{x:E000}
\tochar{x:E001}
\tochar{x:E002}
\tochar{x:E003}
\tochar{x:2619}
\tochar{x:2767}
\stoptext


Greetings Lutz

Am 21. November 2020 13:05:18 MEZ schrieb kaddour kardio 
:
>Hi dear list, i'm struggling to get ornaments from linux libertine.
>The wiki is sparse regarding this topic.
>Any help would be appreciated!
>
>-- 
>Dr YAHYAOUI Mohamed Kaddour, cardiologue  .
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] compilation error in LMTX

2020-08-14 Thread Lutz Haseloff
Hi all

I have a similar problem compiling luametafun.tex in the doc sources.
It fails with different errorcodes on win64 and linux aarch64. On linux aarch64 
i get a bonus "Segmentation fault".
I append the console outputs of the context runs.

If i comment out the input of luametafun-axis and luametafun-followtext i get a 
readeable pdf.

So perhaps only the code is changing too rapidly.

Greetings Lutz

Am 14. August 2020 13:04:52 MESZ schrieb Hans Hagen :
>On 8/14/2020 11:41 AM, Jannik Voges wrote:
>> Hello Pablo,
>> 
>> 
>> thank you for your suggestions, but I don't use LMTX productively, so
>I
>> have no problem with a broken LMTX-version. I only use it to check
>> whether there are breaking changes in LMTX by typesetting all of my
>> documents with the newest LMTX-version (to see if I need to change
>them
>> in the future). And by doing so I recognized this error, which seemed
>to
>> happen randomly.
>you can try to run with
>
>\tracingall
>
>and/or
>
>\enabletrackers[*]
>
>and see where it crashes
>
>Hans
>
>
>-
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>-
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___


aarch64.log
Description: Binary data


win64.log
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing VSCode extension?

2020-07-30 Thread Lutz Haseloff
Hi Alasdair,

i fiddled with SciTE some years ago and ended with a file 
myproperties.properties in the programdata\scite directory.

In this file i set the fonts and my context command as follows:

# Codepages
# UTF-8
code.page=65001
output.code.page=65001
# Byte
# code.page=0

position.left=25
position.top=25
position.width=1870
position.height=1000

font.base=font:Consolas,size:15
font.monospace=$(font.base)
font.errorfont=$(font.base)
font.comment=$(font.base)
font.text=$(font.base)
font.text.comment=$(font.base)
font.embedded.base=$(font.base)
font.embedded.comment=$(font.base)
font.vbs=$(font.base)

command.1.$(file.patterns.context)=cmd /c context $(FileNameExt) && start 
sumatraPDF $(FileName).pdf -reuse-instance


The last line of SciTEGlobal.properties is
import myproperties

This works ok for me.


Greetings Lutz

Am 30. Juli 2020 03:57:26 MESZ schrieb Alasdair McAndrew :
>Thanks again, I've fiddled with SciTE, but when I attempted to compile
>a
>context file, I was told that "texexec" wasn't in my path, so somehow,
>somewhere, I must have picked up an old version of the compile command.
>Also, there doesn't seem to be an easy way of getting SciTE to use a
>monospaced font.  I've fiddled with the customization files to no avail
>whatsoever.  I think I have Atom already, but surely there should be
>some
>easy way of getting other text editors working?
>
>On Thu, Jul 30, 2020 at 1:13 AM Henning Hraban Ramm 
>wrote:
>
>>
>> > Am 29.07.2020 um 14:19 schrieb Alasdair McAndrew
>:
>> >
>> > Thank you very much, but in fact that script file
>"vscode-context.cmd"
>> really just contains the same command for installing extensions as I
>quoted
>> above - and so produces the same errors.  Maybe I'll go back to
>trying
>> SciTe - I gave it a bit of a go, but wasn't successful.  Of all the
>> information on the context-wiki, and the Pragma webpage - where would
>I go
>> to find the most up-to-date information about configuring an editor
>to work
>> with ConTeXt in Windows?
>>
>> You could try Atom and install the ConTeXt module from
>> github.com/massifrg/language-context.
>> Original language-context is outdated, but upstream didn’t react to
>mails
>> from Massi and me.
>> This version also isn’t perfect, but I’m using and occasionally
>updating
>> it. (I should re-base it on the current work done for the wiki.)
>There’s
>> also still no run command.
>>
>> Additionally you should install
>> - language-latex (contains plain TeX commands)
>> - language-lua
>> - atom-ide-terminal (for running ConTeXt in place)
>> - file-icons (only icon package that contains TeX icons)
>> - pdf-view (not very good, but good enough for simple cases)
>>
>> Best, Hraban
>>
>>
>>
>___
>> If your question is of interest to others as well, please add an
>entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>>
>___
>>
>
>
>-- 
>https://numbersandshapes.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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-11 Thread Lutz Haseloff
Hi Hans, hi all

thank you for including the rule for aarch64 into install.sh.

Now the setup routine works for me out of the box.

Thanks again 

Greetings Lutz

Am 10. Juni 2020 13:39:51 MESZ schrieb Hans Hagen :
>On 6/10/2020 12:17 PM, Lutz Haseloff wrote:
>> Hi all,
>> 
>> I got my system working by quick and dirty patching install.sh
>> 
>> I have now
>> 
>> PLATFORM="linux-aarch64"
>> 
>> after the last esac and all works like expected.
>> 
>> I would like to have a check for aarch64 in the install.sh too.
>you can prototype that and tell what to adapt
>
>
>-
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Lutz Haseloff
I run the "Userland" App from Playstore.
That App integrates well with Android.
I can edit with vim in the kali linux terminal or with any other Editor for 
Android like Jota+.

I can try to compile the luametatex manual and send you the results.

Greetings Lutz

Am 10. Juni 2020 19:27:28 MESZ schrieb Hans Hagen :
>On 6/10/2020 7:07 PM, Lutz Haseloff wrote:
>> I think, there is simply no rule for aarch64 in install.sh
>> 
>> I now patched it in a better way.
>
>ok
>
>> The binaries for aarch64 work like a charm on my device, a Samsung 
>> Galaxy A50 Smartphone.
>Does that really work well? I suppose the cpu and mem is ok, but how 
>about the disk. How do you edit on such a device?
>
>(Over the time lmtx became more efficient in terms on memory (access) 
>and such. Compiling the luametatex manual on the RPI 4 (somewhat 
>overclocked) takes 3 times when my laptop does which I consider okay, 
>although the aim of course is less, which is hard because it then also 
>runs faster on the laptop. Not that there's much to gain. The
>bottleneck 
>is more at the lua end nowadays.)
>
>Hans
>
>
>-
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Lutz Haseloff
I think, there is simply no rule for aarch64 in install.sh

I now patched it in a better way.

The binaries for aarch64 work like a charm on my device, a Samsung Galaxy A50 
Smartphone.

I attached my patch.

Greetings Lutz

Am 10. Juni 2020 13:39:51 MESZ schrieb Hans Hagen :
>On 6/10/2020 12:17 PM, Lutz Haseloff wrote:
>> Hi all,
>> 
>> I got my system working by quick and dirty patching install.sh
>> 
>> I have now
>> 
>> PLATFORM="linux-aarch64"
>> 
>> after the last esac and all works like expected.
>> 
>> I would like to have a check for aarch64 in the install.sh too.
>you can prototype that and tell what to adapt
>
>
>-
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>-
--- install.sh  2020-06-10 12:27:57.0 +0200
+++ minstall.sh 2020-06-10 18:48:26.209317385 +0200
@@ -34,6 +34,8 @@
 esac ;;
 mips|mips64|mipsel|mips64el)
 PLATFORM="linux-mipsel" ;;
+   aarch64)
+   PLATFORM="linux-aarch64" ;;
 armv7l)
 PLATFORM="linux-armhf"
 if $(which readelf >/dev/null 2>&1); then
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing on arm64

2020-06-10 Thread Lutz Haseloff
Hi all,

I got my system working by quick and dirty patching install.sh

I have now

PLATFORM="linux-aarch64"

after the last esac and all works like expected. 

I would like to have a check for aarch64 in the install.sh too.

Greetings Lutz

Am 10. Juni 2020 10:53:32 MESZ schrieb Sytse Knypstra :
>Dear list members,
>
>I tried to install ConTeXt on my Rock64 single board computer, which
>has 
>an arm64 processor.
>
>On March 10, 2020, Hans Hagen wrote on the list:
>
>... Mojca and I decided to support yet another platform, this time
>arm 64 bit for which we use a raspberry pi running ubuntu 64 bit,
>which brings the platforms supported by the build bot to 15:...
>
>On the Install page of ConTeXt garden I found ARM 64b as one of the 
>options. So after downloading and extracting I ran the install.sh 
>script. It gave me the error:
>
>   Your system linux aarch64 is not supported (yet). You can ask on the
>ConTeXt mailing-list: ntg-context@ntg.nl.
>
>Is it really possible to install ConTeXt on my Rock64 and what should I
>
>do to achieve that?
>
>Thank you for your help,
>
>Sytse Knypstra
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Dangerous bend metafont/post code?

2020-05-27 Thread Lutz Haseloff
You can find the code in The Metafontbook, page 106f.

Greetings Lutz

Am 27. Mai 2020 21:19:26 MESZ schrieb Gerben Wierda :
>To honour Donald Knuth, I’ve use his ‘dangerous bend’ (with attribution
>of course) in one of my publications. But I only had a low res image.
>Is the code of this symbol available somewhere so I can do it proper
>justice in a next edition?
>
>G
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Lmtx and Cambria font

2019-04-14 Thread Lutz Haseloff
Hi Hans, hi all,

my fresh installation of lmtx for win64 on Win 10 seems to have a problem with 
the Windows font cambria. I get no readeable text in the pdf. Other fonts work 
o.k.

Greetings Lutz

test.pdf
Description: Adobe PDF document


test.tuc
Description: Binary data


test.log
Description: Binary data
\setupbodyfont[cambria]
\starttext
Test
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] *** Spam *** Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta

2019-04-04 Thread Lutz Haseloff
Hi Thorsten,

I had the same problem a couple of months ago.
Use sized instead of scaled now.
The same goes for xscaled and yscaled.

Greetings Lutz

Am 4. April 2019 01:31:29 MESZ schrieb "Thorsten S." 
:
>Hello!
>
>The simple Metapost code that follows worked fine until upgrading to
>recent beta. I don't have a clue exactly when this behaviour was
>introduced since I switched just recently from the standard Texlive
>version available in Arch Linux.
>
>\starttext
>\startMPcode
>draw externalfigure "test.pdf" scaled 10mm;
>\stopMPcode
>\stoptext
>
>Now it produces a graphic with size of approximately 110 mm at least in
>my system with various test files which previously scaled just fine..
>Any help is greatly appreciated.
>
>-Thorsten S.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] degrade module

2019-02-15 Thread Lutz Haseloff
Thanks Marco,
Your Module with wrapper finally works for me as expected.
Thank you very much.
Will it find its way into the distribution as an  enhanced degrade module?

Greetings ant thanks again

Lutz

Am 15. Februar 2019 11:08:45 MEZ schrieb Marco Patzer :
>On Fri, 15 Feb 2019 10:22:48 +0100
>Lutz Haseloff  wrote:
>
>> but both scripts trow the same error on windows and linux-armhf:
>> 
>> grph-downsample.lua:32: bad argument #2 to 'format' (number has no
>> integer representation)
>
>It works here on linux-armhf. No Lua error. Maybe the file got
>mangled during transmission.
>
>I've uploaded a modified version to github, maybe try that one:
>
>  https://github.com/mpfusion/context-downsample
>
>It includes a wrapper so you can call it like any other module
>(\usemodule[downsample]). It's still Peter's code, but with small
>modifications, so it degrades jpg as well as png images at the same
>time. It's a quick hack, but works here, also on armhf.
>
>Marco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] degrade module

2019-02-15 Thread Lutz Haseloff
Thank you Henning and Marco,

but both scripts trow the same error on windows and linux-armhf:

grph-downsample.lua:32: bad argument #2 to 'format' (number has no integer 
representation)

Hans' luacode seem not to change the resolution of the pictures at all.
It works, the size of the pictures get smaller but the resolution remains the 
same.

Greetings Lutz

Am 15. Februar 2019 08:25:35 MEZ schrieb Marco Patzer :
>On Fri, 15 Feb 2019 07:56:31 +0100
>Lutz Haseloff  wrote:
>
>> First i tried the grph-downsample.lua script.
>> Unfortunately i get an error message
>> grph-downsample.lua:31: bad argument #2 to 'format' (number has no
>> integer representation) See attached log file.
>
>I remember that error. The script worked up to a particular context
>version. I believe a Lua upgrade broke it. The version attached
>should work.
>
>Marco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] degrade module

2019-02-14 Thread Lutz Haseloff
Thank you all for your help.

First i tried the grph-downsample.lua script.
Unfortunately i get an error message
grph-downsample.lua:31: bad argument #2 to 'format' (number has no integer 
representation)
See attached log file.

Greetings Lutz

Am 14. Februar 2019 21:44:31 MEZ schrieb Hans Hagen :
>On 2/14/2019 9:32 PM, Peter Münster wrote:
>> On Thu, Feb 14 2019, Lutz Haseloff wrote:
>> 
>>> I wanted to use the degrade module with recent ConTeXt and LuaTeX.
>> 
>> Hi Lutz,
>> 
>> Could you please check, if the module grph-downsample.lua could fit
>your
>> needs?
>> 
>> 
>>> The minimal example from the degrade manual gives an error.
>>> See the attached log.
>>> Is there any chance to get the module working again?
>> 
>> There is always a chance. The question is just: who will afford the
>> efforts...
>> Please check first the downsample module, and then let's see, if you
>> still need this very old and hackish degrade module.
>you can plug in code
>
>\startluacode
>
>figures.converters["png"]["lowres.png"] = 
>function(oldname,newname,resolution)
> os.execute(string.format('gm convert "%s" "%s"',oldname,newname))
>end
>
>figures.converters["jpg"]["lowres.jpg"] = 
>function(oldname,newname,resolution)
> os.execute(string.format('gm convert "%s" "%s"',oldname,newname))
>end
>
>-- figures.suffixes["lowres.png"] = figures.suffixes.png -- suffix is 
>automatically done
>
>\stopluacode
>\enabletrackers[graphics*]
>
>
>\starttext
> \externalfigure[t:/sources/mill.png][conversion=lowres.png]
> \externalfigure[t:/sources/hacker.jpg][conversion=lowres.jpg]
>\stoptext
>
>
>
>-
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>-
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___


verkleinert-downsample.log
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] degrade module

2019-02-14 Thread Lutz Haseloff
Hi Peter, hi all,

I wanted to use the degrade module with recent ConTeXt and LuaTeX.
The minimal example from the degrade manual gives an error.
See the attached log.
Is there any chance to get the module working again?

Greetings Lutz

verkleinert.log
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Metafun scaling problem

2018-10-02 Thread Lutz Haseloff
xsized was the solution.
I wonder why xscaled worked for me for years.

Thanks for the fast help.

Lutz

Am 2. Oktober 2018 11:10:04 MESZ schrieb Hans Hagen :
>On 10/2/2018 7:03 AM, Lutz Haseloff wrote:
>> Hi Hans, hi all,
>> 
>> I think, that recent context has a problem with scaling included pdf
>files.
>> My minimal file:
>> 
>> \startMPpage
>> draw externalfigure "cow.pdf" ;
>> \stopMPpage
>> 
>> The resulting pdf is, as the original, 97x70.6 mm, all ok.
>> 
>> If I try to scale to the original size, i get arithmetic overflow
>error.
>> 
>> \startMPpage
>> draw externalfigure "cow.pdf" xscaled 97mm yscaled 70.6mm ;
>> \stopMPpage
>don't use xscaled, use xsized
>
>if you have
>
>path p ; p := fullcircls scaled 1cm ;
>
>and then do
>
>draw p xscaled 97pt ;
>
>you multiply with a number and only get 97pt width when your p has 1 bp
>
>width
>
>externalfigure has the original dimensions (so no width 1 bp here)
>
>Hans
>
>-
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Metafun scaling problem

2018-10-02 Thread Lutz Haseloff
On Windows, I got it working again with current Context (20180404) and current 
luatex from win32tex
(1.07 development ID 6686)

On linux-armhf I did a fresh "./first-setup.sh --engine=luatex" and got:

mtx-context | ConTeXt Process Management 1.02
mtx-context |
mtx-context | main context file: 
/usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2018.09.30 19:32

and:

This is LuaTeX, Version 1.09.0 (TeX Live 2019/dev)

The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater, Luigi Scarso.

LuaTeX merges and builds upon (parts of) the code from these projects:

tex   : Donald Knuth
etex  : Peter Breitenlohner, Phil Taylor and friends
omega : John Plaice and Yannis Haralambous
aleph : Giuseppe Bilotta
pdftex: Han The Thanh and friends
kpathsea  : Karl Berry, Olaf Weber and others
lua   : Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de 
Figueiredo
metapost  : John Hobby, Taco Hoekwater, Luigi Scarso, Hans Hagen and friends
pplib : Paweł Jackowski
fontforge : George Williams (partial)
luajit: Mike Pall (used in LuajitTeX)

Compiled with libpng 1.6.35; using 1.6.35
Compiled with lua version 5.3.5
Compiled with mplib version 2.00
Compiled with zlib 1.2.11; using 1.2.11

Development id: 6930

No experimental, i think.

Am 2. Oktober 2018 07:12:02 MESZ schrieb luigi scarso :
>On Tue, Oct 2, 2018 at 7:03 AM Lutz Haseloff
>
>wrote:
>
>> Hi Hans, hi all,
>>
>> I think, that recent context has a problem with scaling included pdf
>files.
>> My minimal file:
>>
>> \startMPpage
>> draw externalfigure "cow.pdf" ;
>> \stopMPpage
>>
>> The resulting pdf is, as the original, 97x70.6 mm, all ok.
>>
>> If I try to scale to the original size, i get arithmetic overflow
>error.
>>
>> \startMPpage
>> draw externalfigure "cow.pdf" xscaled 97mm yscaled 70.6mm ;
>> \stopMPpage
>>
>>
>> Whe i scale it down, the pdf gets really big.
>>
>> \startMPpage
>> draw externalfigure "cow.pdf" xscaled 27.5mm yscaled 20mm ;
>> \stopMPpage
>>
>> results in a pdf with width of 4.938,8 mm and height of 2.612,3 mm.
>>
>> I tested with recent context and luatex under windows 64 and
>linux-armhf.
>>
>> which context and luatex version ?  Are you using experimental ?
>-- 
>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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Metafun scaling problem

2018-10-01 Thread Lutz Haseloff
Hi Hans, hi all,

I think, that recent context has a problem with scaling included pdf files.
My minimal file:

\startMPpage
draw externalfigure "cow.pdf" ;
\stopMPpage

The resulting pdf is, as the original, 97x70.6 mm, all ok.

If I try to scale to the original size, i get arithmetic overflow error.

\startMPpage
draw externalfigure "cow.pdf" xscaled 97mm yscaled 70.6mm ;
\stopMPpage


Whe i scale it down, the pdf gets really big.

\startMPpage
draw externalfigure "cow.pdf" xscaled 27.5mm yscaled 20mm ;
\stopMPpage

results in a pdf with width of 4.938,8 mm and height of 2.612,3 mm.

I tested with recent context and luatex under windows 64 and linux-armhf.

Greetings Lutz___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnotes in titles, 3 years old file compiles now different

2018-08-07 Thread Lutz Haseloff
Hi Huseyin,
i tried your line of code with recent ConTeXt and luatex and i think it worked 
fine.
See attached files.

Greetings Lutz

Am 7. August 2018 08:29:10 MESZ schrieb "Huseyin Özoguz" :
>I forget: I use now luatex beta 0.80.0 (and Context from 2015.04.15), 
>but the old pdf was compiled with luatex 0.77.0, is that the
>difference, 
>which deleted the footnote?
>
>(I hope this does not break the threadnever learned how to use 
>mail-lists with thunderbird)
>
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___


titlefootnote.pdf
Description: Adobe PDF document
\starttext
\section{title\footnote{ftn-content}}
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Problems with letter module

2018-07-20 Thread Lutz Haseloff
Thanks Henri,

but is there a way to use a different background on page 2?
I found \v!firstpage and \v!secondpage in the sources but didn't found a way to 
use them in my letter.


Am 20. Juli 2018 09:17:23 MESZ schrieb Henri Menke :
>
>
>On 20/07/18 17:17, Lutz Haseloff wrote:
>> Hi Wolfgang, hi all,
>> 
>> I would like to use the letter module.
>> 
>> With my minimal letter i don't get pagenumbering and background
>working.
>> They don't appear in the pdf.
>> 
>> --
>> \setupbodyfont[cambria]
>> \usemodule[letter]
>> \useletterstyle[dinb]
>> \mainlanguage[de]
>> \starttext
>> \setupletter
>> [signature={Unterschrift},
>> fromname={Absender},
>> fromaddress={Straße\\Ort},
>> toname={An},
>> toaddress={Adresse}]
>> % correspondence.pdf, p. 73
>> \startsetups letter:head
>> \rightaligned{Seite \correspagenumber\ von \numberofcorrespages}
>> \stopsetups
>> % correspondence.pdf, p. 71
>> \startuseMPgraphic{dactylus}
>> draw unitsquare xyscaled (OverlayWidth-2cm,OverlayHeight-2cm)
>> smoothed 1cm withpen pencircle scaled 2 ;
>> fill fullcircle scaled 1.5cm shifted (1cm,1cm)
>> withcolor \MPcolor{orange} ;
>> \stopuseMPgraphic
>> \setupletterstyle[background=\useMPgraphic{dactylus}]
>
>\setupletteroptions[background=\useMPgraphic{dactylus}]
>
>Some things have changed internally but the documentation hasn't been 
>updated.
>
>> 
>> \startletter
>> [opening={Anrede},
>> subject={Betreff},
>> closing={Gruß}]
>> \input tufte
>> 
>> \input knuth
>> 
>> \input ward
>> \stopletter
>> \stoptext
>> --
>> 
>> Recent context beta, luatex 1.08 6731
>> 
>> 
>> Greetings Lutz
>> 
>> 
>>
>___
>> If your question is of interest to others as well, please add an
>entry to the Wiki!
>> 
>> maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>___
>> 
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Problems with letter module

2018-07-19 Thread Lutz Haseloff
Hi Wolfgang, hi all,

I would like to use the letter module.

With my minimal letter i don't get pagenumbering and background working.
They don't appear in the pdf.

--
\setupbodyfont[cambria]
\usemodule[letter]
\useletterstyle[dinb]
\mainlanguage[de]
\starttext
\setupletter
[signature={Unterschrift},
fromname={Absender},
fromaddress={Straße\\Ort},
toname={An},
toaddress={Adresse}]
% correspondence.pdf, p. 73
\startsetups letter:head
\rightaligned{Seite \correspagenumber\ von \numberofcorrespages}
\stopsetups
% correspondence.pdf, p. 71
\startuseMPgraphic{dactylus}
draw unitsquare xyscaled (OverlayWidth-2cm,OverlayHeight-2cm)
smoothed 1cm withpen pencircle scaled 2 ;
fill fullcircle scaled 1.5cm shifted (1cm,1cm)
withcolor \MPcolor{orange} ;
\stopuseMPgraphic
\setupletterstyle[background=\useMPgraphic{dactylus}]

\startletter
[opening={Anrede},
subject={Betreff},
closing={Gruß}]
\input tufte

\input knuth

\input ward
\stopletter
\stoptext
--

Recent context beta, luatex 1.08 6731


Greetings Lutz___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] *** Spam *** Figure captions: "Fig." instead "Figure"

2018-07-13 Thread Lutz Haseloff
Hi Lukas,

I use
\setuplabeltext[de][figure=Bild ]

You should use
\setuplabeltext[en][figure=Fig. ]

Greetings Lutz

Am 13. Juli 2018 10:30:22 MESZ schrieb "Procházka Lukáš Ing." :
>Hello,
>
>what is the way to change caption text for figures to be "Fig." instead
>of "Figure"?
>
>\setupcaptions[numberstopper={.},] changes "Figure 1" to "Figure 1.",
>but is there a similar key for the text?
>
>(\setupcations[prefix=] allows only "yes" or "no" -
>http://wiki.contextgarden.net/Command/setupcaptions )
>
>Best regards,
>
>Lukas
>
>
>-- 
>Ing. Lukáš Procházka | mailto:l...@pontex.cz
>Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz |
>IDDS:nrpt3sn
>Bezová 1658
>147 14 Praha 4
>
>Mob.: +420 702 033 396
>
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Problem with luatex experimental on linux armhf

2018-06-27 Thread Lutz Haseloff
I append my out-context.

Am 27. Juni 2018 18:43:24 MESZ schrieb luigi scarso :
>On Wed, Jun 27, 2018 at 5:12 PM Lutz Haseloff
>
>wrote:
>
>> I have the desribed problem on two devices with the same luatex
>> (development id 6832) and context beta 2018.06.25.
>>
>> Debian jessie (armv7l) on xperia z1 with Android 7 (Gnuroot Debian)
>and
>> Debian stretch (armv8l) on galaxy a6 with Android 8 (UserLAnd)
>>
>>
>>
>$> context test.tex &>out-context
>
>should give something like
>
>$> head -1 out-context
>mtx-context | run 1: luatex
>--fmt="/opt/context/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
>--jobname="test"
>--lua="/opt/context/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
>--no-parse-first-line --c:currentrun=1 --c:fulljobname="./test.tex"
>--c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
>
>and then running
>$>luatex
>--fmt="/opt/context/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
>--jobname="test"
>--lua="/opt/context/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
>--no-parse-first-line --c:currentrun=1 --c:fulljobname="./test.tex"
>--c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
>
>we should have more info
>
>-- 
>luigi


out-context
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Problem with luatex experimental on linux armhf

2018-06-27 Thread Lutz Haseloff
I have the desribed problem on two devices with the same luatex (development id 
6832) and context beta 2018.06.25.

Debian jessie (armv7l) on xperia z1 with Android 7 (Gnuroot Debian) and
Debian stretch (armv8l) on galaxy a6 with Android 8 (UserLAnd)


Am 27. Juni 2018 16:42:02 MESZ schrieb luigi scarso :
>On Wed, Jun 27, 2018 at 2:13 PM luigi scarso 
>wrote:
>
>>
>>
>> On Wed, Jun 27, 2018 at 12:23 PM Lutz Haseloff <
>> lutz.hasel...@toppkieker.info> wrote:
>>
>>> Hi all,
>>>
>>> since the replacement of poppler by pplib the self-compiled luatex
>>> executables doesn't work properly anymore.
>>>
>>> The binaries compile without stop errors.
>>> The size of the binaries is about 2MB less than with poppler.
>>>
>>> The embedding of pdf files doesn't work.
>>>
>>> ConTeXt breaks without writing a logfile and the last lines on the
>>> terminal are:
>>>
>>> ...
>>> fonts > preloading latin modern fonts (second stage)
>>> fonts > 'fallback modern-designsize rm 12pt' is loaded
>>> mtx-context | fatal error: no return code, message: luatex:
>execution
>>> interrupted
>>>
>>> I think, pplib isn't enabled.
>>>
>>> In the build.sh, there is a line: (336)
>>>
>>> (cd libs/poppler; $MAKE all )
>>>
>>> but /libs/poppler doesn't exist.
>>>
>>> My testfiles are:
>>> \starttext
>>> \externalfigure[a.pdf]
>>> \stoptext
>>>
>>> a.tex
>>> \startMPpage
>>> fill fullcircle scaled 5cm withcolor blue;
>>> \stopMPpage
>>>
>>> Is there anything I can do or is it a problem of the source?
>>
>>
>> checking now
>>
>> --
>> luigi
>>
>
>The example is ok   on my Raspberry Pi 3 Model B Rev 1.2
>I assume luatex experimental, because luatex trunk is still with
>poppler .
>
># luatex --credits
>This is LuaTeX, Version 1.09.0 (TeX Live 2018)
>
>The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater, Luigi
>Scarso.
>
>LuaTeX merges and builds upon (parts of) the code from these projects:
>
>tex   : Donald Knuth
>etex  : Peter Breitenlohner, Phil Taylor and friends
>omega : John Plaice and Yannis Haralambous
>aleph : Giuseppe Bilotta
>pdftex: Han The Thanh and friends
>kpathsea  : Karl Berry, Olaf Weber and others
>lua   : Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de
>Figueiredo
>metapost  : John Hobby, Taco Hoekwater, Luigi Scarso, Hans Hagen and
>friends
>pplib : Paweł Jackowski
>fontforge : George Williams (partial)
>luajit: Mike Pall (used in LuajitTeX)
>
>Compiled with libpng 1.6.34; using 1.6.34
>Compiled with lua version 5.3.4
>Compiled with mplib version 2.00
>Compiled with zlib 1.2.11; using 1.2.11
>
>Development id: 6832
>
>I have installed context  with first-setup.sh, as usual.
>
># context --version
>mtx-context | ConTeXt Process Management 1.02
>mtx-context |
>mtx-context | main context file:
>/opt/context/experimental/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>mtx-context | current version: 2018.06.25 12:21
>
>
>-- 
>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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Problem with luatex experimental on linux armhf

2018-06-27 Thread Lutz Haseloff
Hi all,

since the replacement of poppler by pplib the self-compiled luatex
executables doesn't work properly anymore.

The binaries compile without stop errors.
The size of the binaries is about 2MB less than with poppler.

The embedding of pdf files doesn't work.

ConTeXt breaks without writing a logfile and the last lines on the terminal are:

...
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
mtx-context | fatal error: no return code, message: luatex: execution 
interrupted

I think, pplib isn't enabled.

In the build.sh, there is a line: (336)

(cd libs/poppler; $MAKE all )

but /libs/poppler doesn't exist.

My testfiles are:
\starttext
\externalfigure[a.pdf]
\stoptext

a.tex
\startMPpage
fill fullcircle scaled 5cm withcolor blue;
\stopMPpage

Is there anything I can do or is it a problem of the source?



Greetings Lutz
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2018-06-23 Thread Lutz Haseloff
luatex --credits gives:

This is LuaTeX, Version 1.09.0 (TeX Live 2018)

The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater, Luigi Scarso.

LuaTeX merges and builds upon (parts of) the code from these projects:

tex   : Donald Knuth
etex  : Peter Breitenlohner, Phil Taylor and friends
omega : John Plaice and Yannis Haralambous
aleph : Giuseppe Bilotta
pdftex: Han The Thanh and friends
kpathsea  : Karl Berry, Olaf Weber and others
lua   : Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de 
Figueiredo
metapost  : John Hobby, Taco Hoekwater, Luigi Scarso, Hans Hagen and friends
pplib : Paweł Jackowski
fontforge : George Williams (partial)
luajit: Mike Pall (used in LuajitTeX)

Compiled with libpng 1.6.34; using 1.6.34
Compiled with lua version 5.3.4
Compiled with mplib version 2.00
Compiled with zlib 1.2.11; using 1.2.11

Development id: 6822



Am 23. Juni 2018 10:25:01 MESZ schrieb Akira Kakuto :
>> On Linux armhf i get with the same context and luatex:
>> ...
>
>1.09.0 is varying. Please see Development id by
>luatex --credits
>
>Best,
>Akira
>
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2018-06-23 Thread Lutz Haseloff
On Linux armhf i get with the same context and luatex:

mtx-context | run 1: luatex 
--fmt="/usr/local/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
 --jobname="witha" 
--lua="/usr/local/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
 --no-parse-first-line --c:currentrun=1 --c:fulljobname="./witha.tex" 
--c:input="./witha.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"

This is LuaTeX, Version 1.09.0 (TeX Live 2018) 
 system commands enabled.
open source > level 1, order 1, name 
'/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system  > 
system  > ConTeXt  ver: 2018.06.22 15:55 MKIV beta  fmt: 2018.6.23  
int: english/english
system  > 
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'witha', input './witha', result 'witha'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name '/home/user/witha.tex'
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
mtx-context | fatal error: no return code, message: luatex: execution 
interrupted


No logfile is written.

a.tex
\starttext
\startMPpage
fill fullcircle scaled 5cm withcolor blue;
\stopMPpage
\stoptext

witha.tex
\starttext
\externalfigure[a.pdf]
\stoptext


Greetings Lutz

Am 23. Juni 2018 01:14:37 MESZ schrieb Akira Kakuto :
>> I get the same error after the update with 
>>
>> \starttext
>> \externalfigure[A]
>> \stoptext
>>
>> where A.pdf is in the current folder. I'm on windows 10.
>
>Here it works OK:
>
>LuaTeX, Version 1.09.0
>Development id: 6822
>
>Thanks,
>Akira
>
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-16 Thread Lutz Haseloff
Hi Aditya,

your filter module works for me again.

Thank you very much.

Greetings Lutz

Am 17. April 2018 04:52:21 MESZ schrieb Aditya Mahajan <adit...@umich.edu>:
>On Sat, 14 Apr 2018, Lutz Haseloff wrote:
>
>> Hi all,
>>
>> with latest context my filter test file fails with an error. My file:
>>
>> \usemodule[filter]
>> \defineexternalfilter
>>[luatexdevelopmentlevel]
>>[filtercommand={luatex --credits | grep Development >
>\externalfilteroutputfile}]
>> \starttext
>> \inlineluatexdevelopmentlevel{}
>> \stoptext
>>
>> Error message:
>>
>>
>> loading > Module Catcodes (ver: 2011.12.17)
>>
>> tex error   > tex error on line 96 in file
>/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex:
>! Undefined control sequence
>>
>> l.96 ...tivecatcode  \gdef\activeendoflinetoken{^^M}
>>
>>
>> 86 \stopcatcodetable
>> 87
>> 88
>> 89
>> 90 \ifdefined \activeendoflinetoken \else
>> 91 % from catc-ini.mkiv
>> 92 \bgroup
>> 93 \catcode \tabasciicode   \activecatcode 
>\gdef\activetabtoken  {^^I}
>> 94 
>\gdef\outputnewlinechar   {^^J}
>> 95 \catcode \formfeedasciicode  \activecatcode 
>\gdef\activeformfeedtoken {^^L}
>> 96 >>  \catcode \endoflineasciicode \activecatcode 
>\gdef\activeendoflinetoken{^^M}
>> 97 \egroup
>> 98 \fi
>> 99
>> 100 \protectmodulecatcodes
>> 101 \stopmodule
>> 102
>
>I uploaded a new version of filter module where this is fixed. The new 
>method is slightly cleaner and hopefully works better.
>
>Aditya
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
GPG Key ID 3C4F83BC___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-14 Thread Lutz Haseloff
I get another error message:

open source > level 4, order 5, name 't-module-catcodes.tex'
loading > Module Catcodes (ver: 2011.12.17)

tex error   > tex error on line 96 in file t-module-catcodes.tex: ! 
Undefined control sequence

l.96 ...iveendoflinetoken{\Uchar\endoflineasciicode}
  

 86 \stopcatcodetable
 87 
 88 
 89 
 90 \ifdefined \activeendoflinetoken \else
 91 % from catc-ini.mkiv
 92 \bgroup
 93 \catcode \tabasciicode   \activecatcode  
\xdef\activetabtoken  {\Uchar\tabasciicode}
 94  
\xdef\outputnewlinechar   {\Uchar\newlineasciicode}
 95 \catcode \formfeedasciicode  \activecatcode  
\xdef\activeformfeedtoken {\Uchar\formfeedasciicode}
 96 >>  \catcode \endoflineasciicode \activecatcode  
\xdef\activeendoflinetoken{\Uchar\endoflineasciicode}
 97 \egroup
 98 \fi
 99 
100 \protectmodulecatcodes
101 \stopmodule
102 


Am 14. April 2018 15:02:09 MESZ schrieb Aditya Mahajan <adit...@umich.edu>:
>On Sat, 14 Apr 2018, Lutz Haseloff wrote:
>
>> Hi all,
>>
>> with latest context my filter test file fails with an error. My file:
>>
>> \usemodule[filter]
>> \defineexternalfilter
>>[luatexdevelopmentlevel]
>>[filtercommand={luatex --credits | grep Development >
>\externalfilteroutputfile}]
>> \starttext
>> \inlineluatexdevelopmentlevel{}
>> \stoptext
>
>There should be a more direct way of getting this information!
>
>> Error message:
>>
>>
>> loading > Module Catcodes (ver: 2011.12.17)
>>
>> tex error   > tex error on line 96 in file
>/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex:
>! Undefined control sequence
>>
>> l.96 ...tivecatcode  \gdef\activeendoflinetoken{^^M}
>>
>>
>> 86 \stopcatcodetable
>> 87
>> 88
>> 89
>> 90 \ifdefined \activeendoflinetoken \else
>> 91 % from catc-ini.mkiv
>> 92 \bgroup
>> 93 \catcode \tabasciicode   \activecatcode 
>\gdef\activetabtoken  {^^I}
>> 94 
>\gdef\outputnewlinechar   {^^J}
>> 95 \catcode \formfeedasciicode  \activecatcode 
>\gdef\activeformfeedtoken {^^L}
>> 96 >>  \catcode \endoflineasciicode \activecatcode 
>\gdef\activeendoflinetoken{^^M}
>> 97 \egroup
>> 98 \fi
>> 99
>> 100 \protectmodulecatcodes
>> 101 \stopmodule
>> 102
>
>I am not on a machine with latest context (and cannot update right
>now). 
>The code above was taken from catc-ini.mkiv, but that file changed in
>the 
>latest update. Could you please run the following test and see if it 
>works:
>
>1. Copy t-module-catcodes.tex to your local directory.
>2. Change \gdef\activetabtoken{^^M} with
>
>\xdef\activetabtoken  {\Uchar\tabasciicode  }
>
>and similar for other \gdef's according to lines 121-124 of 
>https://github.com/contextgarden/context-mirror/blob/25fcad7435f56cdce2658336909f4da6a65589c0/tex/context/base/mkiv/catc-ini.mkiv
>
>and run your test again.
>
>Thank you for the report.
>
>Aditya
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
GPG Key ID 3C4F83BC___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Problem with Filter Module in latent context beta

2018-04-14 Thread Lutz Haseloff
Hi all,

with latest context my filter test file fails with an error. My file:

\usemodule[filter]
\defineexternalfilter
[luatexdevelopmentlevel]
[filtercommand={luatex --credits | grep Development > 
\externalfilteroutputfile}]
\starttext
 \inlineluatexdevelopmentlevel{}
\stoptext

Error message:


loading > Module Catcodes (ver: 2011.12.17)

tex error   > tex error on line 96 in file 
/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex:
 ! Undefined control sequence

l.96 ...tivecatcode  \gdef\activeendoflinetoken{^^M}


 86 \stopcatcodetable
 87
 88
 89
 90 \ifdefined \activeendoflinetoken \else
 91 % from catc-ini.mkiv
 92 \bgroup
 93 \catcode \tabasciicode   \activecatcode  
\gdef\activetabtoken  {^^I}
 94  
\gdef\outputnewlinechar   {^^J}
 95 \catcode \formfeedasciicode  \activecatcode  
\gdef\activeformfeedtoken {^^L}
 96 >>  \catcode \endoflineasciicode \activecatcode  
\gdef\activeendoflinetoken{^^M}
 97 \egroup
 98 \fi
 99
100 \protectmodulecatcodes
101 \stopmodule
102

I append the logfile.

Greetings Lutz
-- 
GPG Key ID 3C4F83BCopen source > level 1, order 1, name 
'/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system  > 
system  > ConTeXt  ver: 2018.04.13 14:53 MKIV beta  fmt: 2018.4.14  
int: english/english
system  > 
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
close source> level 2, order 2, name 
'/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'filtertest', input './filtertest', result 
'filtertest'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name '/home/filtertest.tex'
modules > 'filter' is loaded
open source > level 3, order 4, name 
'/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv'
loading > Filter (ver: 2016.03.02)
modules > 'module-catcodes' is loaded
open source > level 4, order 5, name 
'/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex'
loading > Module Catcodes (ver: 2011.12.17)

tex error   > tex error on line 96 in file 
/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex:
 ! Undefined control sequence

l.96 ...tivecatcode  \gdef\activeendoflinetoken{^^M}
  

 86 \stopcatcodetable
 87 
 88 
 89 
 90 \ifdefined \activeendoflinetoken \else
 91 % from catc-ini.mkiv
 92 \bgroup
 93 \catcode \tabasciicode   \activecatcode  
\gdef\activetabtoken  {^^I}
 94  
\gdef\outputnewlinechar   {^^J}
 95 \catcode \formfeedasciicode  \activecatcode  
\gdef\activeformfeedtoken {^^L}
 96 >>  \catcode \endoflineasciicode \activecatcode  
\gdef\activeendoflinetoken{^^M}
 97 \egroup
 98 \fi
 99 
100 \protectmodulecatcodes
101 \stopmodule
102 


? x

system  > start used files

system  > text: filtertest

system  > stop used files


system  > start used files

system  >1: filename=char-prv.lua filetype=tex format=tex 
foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua
 
fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua
 usedmethod=database
system  >2: filename=cont-yes.mkiv filetype=tex 
foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv
 
fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv
 usedmethod=database
system  >3: filename=publ-imp-default.lua filetype=lua 
foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua
 
fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua
 usedmethod=database
system  >4: filename=cont-new.mkiv filetype=tex 
foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
 
fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
 usedmethod=database
system  >5: filename=lang-exc.lua filetype=lua 
foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua
 
fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua
 usedmethod=database
system  >6: filename=lang-us.lua filetype=lua 
foundname=/usr/local/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua
 

Re: [NTG-context] Three problems with ConTeXt standalone for armhf

2018-01-19 Thread Lutz Haseloff
Thanks, 6533 compiles again.

Am 19. Januar 2018 09:02:00 MEZ schrieb luigi scarso <luigi.sca...@gmail.com>:
>On Fri, Jan 19, 2018 at 8:33 AM, luigi scarso <luigi.sca...@gmail.com>
>wrote:
>> On Fri, Jan 19, 2018 at 8:31 AM, Lutz Haseloff
>> <lutz.hasel...@toppkieker.info> wrote:
>>> Hi all,
>>>
>>> 1. the luatex binary for linux armhf is too old for the recent
>version of
>>> ConTeXt.
>>> It is a 1.0.3 from March 2017.
>>>
>>> 2. first problem would be not a so big one, but since development
>level 6505
>>> I'm not
>>> able to compile the experimental luatex myself anymore. It compiles
>>> luajittex but not luatex.
>>>
>>> My call to build.sh is: sh ./build.sh --jit --parallel 1>compile.log
>>> 2>error.log
>>>
>>> I append the error.log.
>>>
>>> 3. In first-setup.sh is an entry for armv7l. On my system, "uname
>-m" shows
>>> armv8l.
>>> After every download of the script, I have to edit it.
>>> If someone adds a section for armv8l, I could use the original
>>> first-setup.sh without changing armv7l to armv8l.
>>>
>>>
>>> Greetings Lutz
>>
>> looking into it now
>
>
> Are you using latest rev. 6532 ?
>btw
>$> sh ./build.sh --jit --parallel
>build.sh wants bash ..
>can you
>bash ./build.sh --jit --parallel &> out
>
>(I will see if I can made a valid sh script , but it's not ot the top
>list )
>
>-- 
>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://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
GPG Key ID 3C4F83BC___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Three problems with ConTeXt standalone for armhf

2018-01-18 Thread Lutz Haseloff
Hi all,

1. the luatex binary for linux armhf is too old for the recent version of 
ConTeXt.
It is a 1.0.3 from March 2017.

2. first problem would be not a so big one, but since development level 6505 
I'm not
able to compile the experimental luatex myself anymore. It compiles luajittex 
but not luatex.

My call to build.sh is: sh ./build.sh --jit --parallel 1>compile.log 2>error.log

I append the error.log.

3. In first-setup.sh is an entry for armv7l. On my system, "uname -m" shows 
armv8l.
After every download of the script, I have to edit it.
If someone adds a section for armv8l, I could use the original first-setup.sh 
without changing armv7l to armv8l.


Greetings Lutz
-- 
GPG Key ID 3C4F83BCconfigure: WARNING: oops, unrecognised float format: IEEE double, little endian
configure: WARNING: Sorry, neither ApplicationServices framework nor fontconfig 
library: disabling xetex
byacc: 3 shift/reduce conflicts.
make[5]: *** No rule to make target 'synctexdir/synctex_parser.c', needed by 
'synctexdir/libsynctex_a-synctex_parser.o'.  Stop.
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [recurse] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
cwebdir/common.h:150:8: warning: type defaults to 'int' in declaration of 
'change_depth' [-Wimplicit-int]
../../../source/texk/web2c/cwebdir/common.h:150:8: warning: type defaults to 
'int' in declaration of 'change_depth' [-Wimplicit-int]
 extern change_depth; /* where \.{@@y} originated during a change */
^
../../../source/texk/web2c/mplibdir/mpmathdecimal.w: In function 
'mp_free_decimal_math':
../../../source/texk/web2c/mplibdir/mpmathdecimal.w:585:5: warning: unused 
variable 'i' [-Wunused-variable]
   int i;
 ^
../../../source/texk/web2c/luatexdir/font/writettf.w: In function 
'ttf_copy_encoding':
../../../source/texk/web2c/luatexdir/font/writettf.w:545:14: warning: unused 
variable 'e' [-Wunused-variable]
 ttfenc_entry *e = ttfenc_tab;
  ^
../../../source/texk/web2c/luatexdir/font/writettf.w:543:13: warning: unused 
variable 'buf' [-Wunused-variable]
 static char buf[SMALL_BUF_SIZE];
 ^
../../../source/texk/web2c/luatexdir/font/writettf.w:542:6: warning: unused 
variable 'charcodes' [-Wunused-variable]
 long *charcodes;
  ^
In file included from 
../../../source/texk/web2c/luatexdir/luasocket/src/lua_preload.c:6:0:
../../../source/texk/web2c/luatexdir/luasocket/src/ftp_lua.c:7:5: warning: no 
previous prototype for 'luatex_ftp_lua_open' [-Wmissing-prototypes]
 int luatex_ftp_lua_open (lua_State *L) { 
 ^
In file included from 
../../../source/texk/web2c/luatexdir/luasocket/src/lua_preload.c:7:0:
../../../source/texk/web2c/luatexdir/luasocket/src/headers_lua.c:7:5: warning: 
no previous prototype for 'luatex_headers_lua_open' [-Wmissing-prototypes]
 int luatex_headers_lua_open (lua_State *L) { 
 ^
In file included from 
../../../source/texk/web2c/luatexdir/luasocket/src/lua_preload.c:8:0:
../../../source/texk/web2c/luatexdir/luasocket/src/http_lua.c:7:5: warning: no 
previous prototype for 'luatex_http_lua_open' [-Wmissing-prototypes]
 int luatex_http_lua_open (lua_State *L) { 
 ^
In file included from 
../../../source/texk/web2c/luatexdir/luasocket/src/lua_preload.c:9:0:
../../../source/texk/web2c/luatexdir/luasocket/src/ltn12_lua.c:7:5: warning: no 
previous prototype for 'luatex_ltn12_lua_open' [-Wmissing-prototypes]
 int luatex_ltn12_lua_open (lua_State *L) { 
 ^
In file included from 
../../../source/texk/web2c/luatexdir/luasocket/src/lua_preload.c:10:0:
../../../source/texk/web2c/luatexdir/luasocket/src/mbox_lua.c:7:5: warning: no 
previous prototype for 'luatex_mbox_lua_open' [-Wmissing-prototypes]
 int luatex_mbox_lua_open (lua_State *L) { 
 ^
In file included from 
../../../source/texk/web2c/luatexdir/luasocket/src/lua_preload.c:11:0:
../../../source/texk/web2c/luatexdir/luasocket/src/mime_lua.c:7:5: warning: no 
previous prototype for 'luatex_mime_lua_open' [-Wmissing-prototypes]
 int luatex_mime_lua_open (lua_State *L) { 
 ^
In file included from 
../../../source/texk/web2c/luatexdir/luasocket/src/lua_preload.c:12:0:
../../../source/texk/web2c/luatexdir/luasocket/src/smtp_lua.c:7:5: warning: no 
previous prototype for 'luatex_smtp_lua_open' [-Wmissing-prototypes]
 int luatex_smtp_lua_open (lua_State *L) { 
 ^
../../../source/texk/web2c/luatexdir/luasocket/src/serial.c:64:19: warning: no 
previous prototype for 'luaopen_socket_serial' [-Wmissing-prototypes]
 LUASOCKET_API int luaopen_socket_serial(lua_State *L) {
   ^
In file included from 
../../../source/texk/web2c/luatexdir/luasocket/src/lua_preload.c:13:0:
../../../source/texk/web2c/luatexdir/luasocket/src/socket_lua.c:7:5: warning: 
no previous prototype for 'luatex_socket_lua_open' [-Wmissing-prototypes]
 int luatex_socket_lua_open (lua_State *L) { 
 ^
In file included from 

Re: [NTG-context] Problem with vocalised hebrew

2017-12-15 Thread Lutz Haseloff
Hi Hraban,
thank you for wikifying.
B.t.w טרופותי is the ivrit name of the Gruffalo ;-)

Am 15. Dezember 2017 22:54:57 MEZ schrieb Henning Hraban Ramm :
>Thank you. Wikified:
>http://wiki.contextgarden.net/Arabic_and_Hebrew#Hebrew
>
>Greetlings, Hraban
>---
>http://www.fiee.net
>http://wiki.contextgarden.net
>GPG Key ID 1C9B22FD
>
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
GPG Key ID 3C4F83BC___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Problem with vocalised hebrew

2017-12-15 Thread Lutz Haseloff
Thank you very much Rik,
your settings for EzraSIL are working nicely for my favorite font Narkisim.
Thanks again
Lutz

Am 15. Dezember 2017 19:09:09 MEZ schrieb Rik Kabel 
<cont...@rik.users.panix.com>:
>On 2017-12-15 06:45, Lutz Haseloff wrote:
>> Hi all,
>> i would like to typeset hebrew with context.
>> My not fully working example:
>>
>> \starttext
>> \definedfont[name:narkisim at 20pt]
>> \setupalign[r2l]
>> טְרוֹפוֹתִי
>> \stoptext
>>
>> In the resulting pdf the vocalisations are on the left side of the 
>> glyph, instead of being centered.
>> I append the result of context and the result of Libreoffice.
>>
>> Is there a way to typeset vocalised hebrew with context or am I doing
>
>> something wrong?
>>
>> Greetings Lutz
>> -- 
>> GPG Key ID 3C4F83BC
>>
>>
>>
>___
>> If your question is of interest to others as well, please add an
>entry to the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>___
>
>Depending on the font, correct niqqud placement requires some 
>combination (sometimes all) of the following font features: lang, ccmp,
>
>and script. For Ezra SIL, I would use
>
>\definefontfeature [hebrew] [oldstyle] [
>   lang=heb,
>   ccmp=yes,
>   script=hebr,
>]
>\starttext
>\definedfont[name:EzraSIL*hebrew at 72pt]
>\setupalign[r2l]
>טְרוֹפוֹתִי
>\stoptext
>
>while for David_CLM the script feature suffices:
>
>\definefontfeature [hebrew] [oldstyle] [
>% lang=heb,
>% ccmp=yes,
>   script=hebr,
>]
>\starttext
>\definedfont[name:David_CLM-medium*hebrew at 72pt]
>\setupalign[r2l]
>טְרוֹפוֹתִי
>\stoptext
>
>You will have to find what works for narkisim.
>
>-- 
>Rik

-- 
GPG Key ID 3C4F83BC___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Context minimals on linux armhf

2017-12-15 Thread Lutz Haseloff
Hi all,

since some days, everytime I want to run first-setup.sh I get following error 
message.

@ERROR: chroot failed
rsync error: error starting client-server protocol (code 5) at main.c(1653) 
[Receiver=3.1.1]

Is there something wrong with the rsync server?

Greetings Lutz
-- 
GPG Key ID 3C4F83BC___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Problem with vocalised hebrew

2017-12-15 Thread Lutz Haseloff
Hi all,
i would like to typeset hebrew with context.
My not fully working example:

\starttext
\definedfont[name:narkisim at 20pt]
\setupalign[r2l]
טְרוֹפוֹתִי
\stoptext

In the resulting pdf the vocalisations are on the left side of the glyph, 
instead of being centered.
I append the result of context and the result of Libreoffice.

Is there a way to typeset vocalised hebrew with context or am I doing something 
wrong?

Greetings Lutz
-- 
GPG Key ID 3C4F83BC___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] symbol sets

2017-03-31 Thread Lutz Haseloff
Hello all,

i tried Wolfgang's tma method and wrote the attached symb-imp-win.mkiv.
Perhaps is it useful for someone else.
(wingdng2 and wingdng3 are included)

Greetings Lutz

P.S. Scheif virtuelle Tastatur

Am 31. März 2017 10:56:20 MESZ schrieb Henning Hraban Ramm :
>Am 2017-03-30 um 23:35 schrieb Wolfgang Schuster
>:
>
>>> Henning Hraban Ramm 30. März 2017 um 13:14 via Postbox
>>> I’m trying to define a symbolset:
>>> 
>>> \definefontsynonym [Webdings] [file:Webdings.ttf]
>>> \def\WebdingsSymbol#1{\getglyphstyled{Webdings}{\tochar{x:#1}}}
>>> 
>>> \startsymbolset[webdings]
>>> \definesymbol [spider] [\WebdingsSymbol{f021}]
>>> \definesymbol [spiderweb] [\WebdingsSymbol{f022}]
>>> \definesymbol [sunglasses] [\WebdingsSymbol{f024}]
>>> \definesymbol [award] [\WebdingsSymbol{f026}]
>>> \definesymbol [ribbon] [\WebdingsSymbol{f02d}]
>>> \definesymbol [plane] [\WebdingsSymbol{f0f1}]
>>> % …
>>> \stopsymbolset
>>> 
>>> \usesymbols[webdings]
>>> \showsymbolset[webdings]
>>> \symbol[webdings][spider]
>>> 
>>> The font is included in my pdf, \showsymbolset[webdings] lists the
>names, but the symbols never show up.
>>> I also tried other fonts.
>>> What’s wrong?
>> You can get the right number for each symbol from webdings.tma (look
>at the end of the file).
>> 
>> \definefontsynonym [Webdings] [file:Webdings.ttf]
>> 
>> \def\WebdingsSymbol#1{\getglyphstyled{Webdings}{\tochar{d:#1}}}
>> 
>> \startsymbolset[webdings]
>> \definesymbol [spider] [\WebdingsSymbol{983044}]
>> \definesymbol [web][\WebdingsSymbol{983045}]
>> \definesymbol [cool]   [\WebdingsSymbol{983047}]
>> \stopsymbolset
>> 
>> \starttext
>> \symbol[webdings][spider]
>> \symbol[webdings][web]
>> \symbol[webdings][cool]
>> \stoptext
>
>Thank you!
>
>There seems to be a problem with Webdings.ttf: Fontexplorer shows glyph
>numbers with an 0xf000 offset, i.e. spider at 0xf021 instead of 0x0021.
>But ConTeXt can’t seem to find the glyphs even at the correct location,
>but by name it works.
>
>So I exported the name list with fontforge and created the attached set
>- feel free to add it to the distribution.
>Also Wingdings.
>
>Access by number works with other fonts, e.g. with Symbola.otf – I just
>introduced an error when I copied the webdings code and forgot to
>change the font name reference.
>
>Greetlings, Hraban
>---
>http://www.fiee.net
>http://wiki.contextgarden.net
>GPG Key ID 1C9B22FD

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

symb-imp-win.mkiv
Description: Binary data
\usesymbols[win]
\starttext
\tfa
{\tfc Wingding}
\blank[2*big]
\showsymbolset[wingding]
\page
{\tfc Webdings}
\blank[2*big]
\showsymbolset[webdings]
\page
{\tfc Wingdng2}
\blank[2*big]
\showsymbolset[wingdngii]
\page
{\tfc Wingdng3}
\blank[2*big]
\showsymbolset[wingdngiii]
\stoptext

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] symbol sets

2017-03-30 Thread Lutz Haseloff
I recently had the same problem.
I installwd fontforge and opened the fobtfile. There you can see the names of 
the glyphs.

After that i succeded with following code.



\definefontsynonym [WebDing] [file:webdings.ttf]
\def\WebDingSymbol{\getnamedglyphdirect{WebDing}}
\startsymbolset [webding]
\definesymbol[surf][\WebDingSymbol{surf}]
\definesymbol[motorcycle][\WebDingSymbol{motorcycle}]
\definesymbol[mountain][\WebDingSymbol{mountain}]
\definesymbol[art][\WebDingSymbol{art}]
\definesymbol[occasion][\WebDingSymbol{occasion}]
\stopsymbolset
\starttext
\tfc
\symbol[webding][surf]
\symbol[webding][motorcycle]
\symbol[webding][mountain]
\symbol[webding][art]
\symbol[webding][occasion]
\stoptext

I should write a symb-imp-win.mkv


Am 30. März 2017 13:14:26 MESZ schrieb Henning Hraban Ramm :
>I’m trying to define a symbolset:
>
>\definefontsynonym [Webdings] [file:Webdings.ttf]
>\def\WebdingsSymbol#1{\getglyphstyled{Webdings}{\tochar{x:#1}}}
>
>\startsymbolset[webdings]
>\definesymbol [spider][\WebdingsSymbol{f021}]
>\definesymbol [spiderweb][\WebdingsSymbol{f022}]
>\definesymbol [sunglasses][\WebdingsSymbol{f024}]
>\definesymbol [award][\WebdingsSymbol{f026}]
>\definesymbol [ribbon][\WebdingsSymbol{f02d}]
>\definesymbol [plane][\WebdingsSymbol{f0f1}]
>% …
>\stopsymbolset
>
>\usesymbols[webdings]
>\showsymbolset[webdings]
>\symbol[webdings][spider]
>
>The font is included in my pdf, \showsymbolset[webdings] lists the
>names, but the symbols never show up.
>I also tried other fonts.
>What’s wrong?
>
>
>Greetlings, Hraban
>---
>http://www.fiee.net
>http://wiki.contextgarden.net
>GPG Key ID 1C9B22FD
>
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] ConTeXt minimals on linux armhf

2017-03-02 Thread Lutz Haseloff
Works again as expected, thanks.

> Hans Hagen <pra...@wxs.nl> hat am 2. März 2017 um 10:33 geschrieben:
>
>
> On 3/2/2017 8:47 AM, luigi scarso wrote:
> > On Thu, Mar 2, 2017 at 8:41 AM, Lutz Haseloff <lu...@toppkieker.net> wrote:
> >> Hi all,
> >>
> >> since yesterday, the installation of the minimals on linux armhf doesn't 
> >> work
> >> anymore. On a fresh system, after "sh ./first-setup.sh" I get:
> >>
> >>
> >> receiving incremental file list
> >> bin/
> >> bin/luatex
> >> bin/mtx-update.lua
> >> bin/mtxrun
> >> bin/texlua -> luatex
> >>
> >> sent 92 bytes received 8,631,278 bytes 1,150,849.33 bytes/sec
> >> total size is 8,628,902 speedup is 1.00
> >> ./bin/mtxrun:2763: attempt to index global 'fio' (a nil value)
>
> fixed
>
> -
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] ConTeXt minimals on linux armhf

2017-03-01 Thread Lutz Haseloff
Hi all,

since yesterday, the installation of the minimals on linux armhf doesn't work
anymore. On a fresh system, after "sh ./first-setup.sh" I get:


receiving incremental file list
bin/
bin/luatex
bin/mtx-update.lua
bin/mtxrun
bin/texlua -> luatex

sent 92 bytes  received 8,631,278 bytes  1,150,849.33 bytes/sec
total size is 8,628,902  speedup is 1.00
./bin/mtxrun:2763: attempt to index global 'fio' (a nil value)

When you want to use context, you need to initialize the tree by typing:

  . /usr/local/context/tex/setuptex

in your shell or add
  "/usr/local/context/tex/texmf-linux-armhf/bin"
to PATH variable if you want to set it permanently.
This can usually be done in .bashrc, .bash_profile
(or whatever file is used to initialize your shell).

I suspect, the new mtxrun binary doesn't match the rather old luatex (1.0.0)

Greetings Lutz

P.S. I could provide luatex and luajittext binaries for armhf (experimental or 
trunk)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] strange crash

2017-02-18 Thread Lutz Haseloff
I copied my self compiled luatex to /usr/local/context/bin and first-setup.sh  
worked as expected.
Now i can use the freshest luatex 1.0.4 with todays context beta on my phone.
Thank you all.

Am 18. Februar 2017 12:55:51 MEZ schrieb luigi scarso <luigi.sca...@gmail.com>:
>On Sat, Feb 18, 2017 at 12:49 PM, Lutz Haseloff <lu...@toppkieker.net>
>wrote:
>> Okay, I used the self compiled experimental luatex.
>> And so does the luatex from the context minimals behave:
>>
>> (It is rather old)
>>
>> root@localhost:~# /usr/local/context/bin/luatex --version
>> This is LuaTeX, Version 1.0.0 (TeX Live 2017/dev)
>>
>> Execute 'luatex --credits' for credits and version details.
>>
>> There is NO warranty. Redistribution of this software is covered by
>> the terms of the GNU General Public License, version 2 or (at your
>option)
>> any later version. For more information about these matters, see the
>file
>> named COPYING and the LuaTeX source.
>>
>> LuaTeX is Copyright 2016 Taco Hoekwater and the LuaTeX Team.
>>
>> root@localhost:~# /usr/local/context/bin/luatex --luaonly ~/test.lua
>> /home/test.lua:2: bad argument #1 to 'pairs' (table expected, got
>nil)
>> root@localhost:~#
>>
>>
>> It seems, that luatex 1.0.0 can't work with the new context beta.
>Thank you for testing in any case.
>We are seeing the issue now.
>It's better to use luatex 1.0.3 if you can. It's in tags/1.0.3
>
>
>-- 
>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://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] strange crash

2017-02-18 Thread Lutz Haseloff
Okay, I used the self compiled experimental luatex.
And so does the luatex from the context minimals behave:

(It is rather old)

root@localhost:~# /usr/local/context/bin/luatex --version
This is LuaTeX, Version 1.0.0 (TeX Live 2017/dev)

Execute  'luatex --credits'  for credits and version details.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2 or (at your option)
any later version. For more information about these matters, see the file
named COPYING and the LuaTeX source.

LuaTeX is Copyright 2016 Taco Hoekwater and the LuaTeX Team.

root@localhost:~# /usr/local/context/bin/luatex --luaonly ~/test.lua
/home/test.lua:2: bad argument #1 to 'pairs' (table expected, got nil)
root@localhost:~#


It seems, that luatex 1.0.0 can't work with the new context beta.

Am 18. Februar 2017 12:06:09 MEZ schrieb luigi scarso <luigi.sca...@gmail.com>:
>On Sat, Feb 18, 2017 at 11:59 AM, Lutz Haseloff <lu...@toppkieker.net>
>wrote:
>> luatex --version
>> This is LuaTeX, Version 1.0.4 (TeX Live 2017/dev)
>hm why luatex 1.0.4 ?
>I expected that mtxrun installed luatex 1.0.3
>
>>
>> Execute 'luatex --credits' for credits and version details.
>>
>> There is NO warranty. Redistribution of this software is covered by
>> the terms of the GNU General Public License, version 2 or (at your
>option)
>> any later version. For more information about these matters, see the
>file
>> named COPYING and the LuaTeX source.
>>
>> LuaTeX is Copyright 2017 Taco Hoekwater and the LuaTeX Team.
>>
>>
>> luatex --luaonly test.lua
>> number function: 0xa4b7e0
>> new function: 0xa4b7e0
>> gc function: 0xa4b7e0
>> metatype function: 0xa4b7e0
>> os
>> sizeof function: 0xa4b7e0
>> i64 function: 0xa4b7e0
>> fill function: 0xa4b7e0
>> arch
>> debug function: 0xa4b7e0
>> istype function: 0xa4b7e0
>> abi function: 0xa4b7e0
>> load function: 0xa4b7e0
>> alignof function: 0xa4b7e0
>> cast function: 0xa4b7e0
>> offsetof function: 0xa4b7e0
>> u64 function: 0xa4b7e0
>> string function: 0xa4b7e0
>> errno function: 0xa4b7e0
>> typeof function: 0xa4b7e0
>> cdef function: 0xa4b7e0
>> type function: 0xa4b7e0
>> copy function: 0xa4b7e0
>
>ok, now if you call one function you should see
>
>The ffi module is available for:\n"
>
>archictures   : ARCH_X86 and ARCH_X64,\n"
>operating systems : OS_CE, OS_WIN, OS_LINUX, OS_BSD and OS_POSIX
>
>The ARM processor is currently not supported. There are subtle
>differences between this module and the one in luajitTeX
>and we hope to be in sync around TeXLive 2018.
>Different OS can have different interfaces,
>for instance OS_WIN has not 'complex.h'. If you want portable
>code, stick to the most common concepts.
>
>
>
>
>-- 
>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://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] strange crash

2017-02-18 Thread Lutz Haseloff
luatex --version
This is LuaTeX, Version 1.0.4 (TeX Live 2017/dev)

Execute  'luatex --credits'  for credits and version details.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2 or (at your option)
any later version. For more information about these matters, see the file
named COPYING and the LuaTeX source.

LuaTeX is Copyright 2017 Taco Hoekwater and the LuaTeX Team.


luatex --luaonly test.lua
number  function: 0xa4b7e0
new function: 0xa4b7e0
gc  function: 0xa4b7e0
metatypefunction: 0xa4b7e0
os  
sizeof  function: 0xa4b7e0
i64 function: 0xa4b7e0
fillfunction: 0xa4b7e0
arch
debug   function: 0xa4b7e0
istype  function: 0xa4b7e0
abi function: 0xa4b7e0
loadfunction: 0xa4b7e0
alignof function: 0xa4b7e0
castfunction: 0xa4b7e0
offsetoffunction: 0xa4b7e0
u64 function: 0xa4b7e0
string  function: 0xa4b7e0
errno   function: 0xa4b7e0
typeof  function: 0xa4b7e0
cdeffunction: 0xa4b7e0
typefunction: 0xa4b7e0
copyfunction: 0xa4b7e0

Am 18. Februar 2017 11:45:06 MEZ schrieb luigi scarso <luigi.sca...@gmail.com>:
>On Sat, Feb 18, 2017 at 11:00 AM, Lutz Haseloff <lu...@toppkieker.net>
>wrote:
>> Does that mean, that i can't use the new beta on my phone until linux
>armhf
>> supports lua ffi?
>> btw the new luatex 1.0.4 runs fine here.
>hm, you should have a luatex on your bin folder;
>can you run test.lua
>
>--[=[ test.lua]=]
>for k,v in pairs(ffi) do print(k,v) end
>
>
>$> luatex --version
>$A luatex --luaonly test.lua
>
>and report the result ?
>
>-- 
>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://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] strange crash

2017-02-18 Thread Lutz Haseloff
Does that mean, that i can't use the new beta on my phone until linux armhf 
supports lua ffi?
btw the new luatex 1.0.4 runs fine here.

Am 18. Februar 2017 10:50:48 MEZ schrieb luigi scarso <luigi.sca...@gmail.com>:
>On Sat, Feb 18, 2017 at 10:32 AM, Lutz Haseloff <lu...@toppkieker.net>
>wrote:
>> Hi all,
>>
>> it seems that the new ConTeXt on the linux armhf platform is not
>really up
>> to date yet.
>>
>> When i start the update with
>> sh ./first-setup.sh --modules=all --keep
>> I get:
>> -
>> root@localhost:/usr/local/context# sh ./first-setup.sh --modules=all
>> --engine=luatex --keep
>> receiving incremental file list
>> bin/
>> bin/mtxrun
>>
>> sent 51 bytes received 587,352 bytes 391,602.00 bytes/sec
>> total size is 8,621,787 speedup is 14.68
>> ./bin/mtxrun:174: attempt to index global 'ffi' (a string value)
>luaffi not (yet) supported on
>armhf
>--- too many tests fails.
>Hopefully for next context meeting, later this year.
>-- 
>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://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] strange crash

2017-02-18 Thread Lutz Haseloff
Hi all,

it seems that the new ConTeXt on the linux armhf platform is not really up to 
date yet.

When i start the update with
sh ./first-setup.sh  --modules=all --keep
I get:
-
root@localhost:/usr/local/context# sh ./first-setup.sh --modules=all 
--engine=luatex --keep
receiving incremental file list
bin/
bin/mtxrun

sent 51 bytes  received 587,352 bytes  391,602.00 bytes/sec
total size is 8,621,787  speedup is 14.68
./bin/mtxrun:174: attempt to index global 'ffi' (a string value)

When you want to use context, you need to initialize the tree by typing:

  . /usr/local/context/tex/setuptex

in your shell or add
  "/usr/local/context/tex/texmf-linux-armhf/bin"
to PATH variable if you want to set it permanently.
This can usually be done in .bashrc, .bash_profile
(or whatever file is used to initialize your shell).

root@localhost:/usr/local/context#
-

It seems, there is an error in mtxrun with "ffi"


Greetings Lutz



Am 17. Februar 2017 10:28:48 MEZ schrieb Hans Hagen :
>i uploaded a beta so things should be in sync in a while
>
>-
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>-
>___
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context@ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Customize a table with Metafun

2017-02-14 Thread Lutz Haseloff
linecap:=butt ;

Am 14. Februar 2017 16:53:04 MEZ schrieb Fabrice Couvreur 
:
>Hello,
>In the code below, the red vertical line extends beyond the edges of
>the
>cell.
>Thank you
>Fabrice
>
>\startuniqueMPgraphic{Vertical}
>
>  linecap:=squared ;
>  path p ; p := unitsquare xyscaled (OverlayWidth,OverlayHeight) ;
>  drawoptions (withpen pencircle withcolor \MPcolor{red}) ;
>  draw .5[llcorner p, lrcorner p]--.5[ulcorner p, urcorner p] ;
>  setbounds currentpicture to p ;
>
>\stopuniqueMPgraphic
>
>\defineoverlay[Vertical][\uniqueMPgraphic{Vertical}]
>
>\startsetups[table:initialize]
>
>\setupTABLE[start]
>   [align={middle,lohi},offset=0.5ex,width=1.5cm,
>foregroundstyle={\switchtobodyfont[10pt]}]
>\setupTABLE[1][2][background=Vertical]
>
>\stopsetups
>
>\starttext
>\startlinecorrection[blank]
>  \startmidaligned
>\bTABLE[setups=table:initialize]
>\bTR
>\bTD \math{\red 0 {\rm (A)}} \eTD
>\bTD \math{+\infty}  \eTD
>\eTR
>\bTR
>\bTD \eTD
>\bTD  \math{+\infty} \eTD
>\eTR
>\eTABLE
>  \stopmidaligned
>\stoplinecorrection
>\stoptext

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] cambria.ttc problem

2016-09-29 Thread Lutz Haseloff
This works fine, thanks.

Am 29. September 2016 10:16:38 MESZ, schrieb Akira Kakuto 
:
>> Yes, right, but after
>> mtxrun --script fonts --reload
>> the regular cambria disappears again.
>
>Confirmed.
>mtxrun --script fonts --reload --force
>gives a solution.
>
>Best,
>Akira
>
>___
>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
>___

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
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] cambria.ttc problem

2016-09-29 Thread Lutz Haseloff
Yes, right, but after
mtxrun --script fonts --reload
the regular cambria disappears again.

Am 29. September 2016 09:19:44 MESZ, schrieb Akira Kakuto 
:
>> it seems that luatex 1.0.0 doesn't recognise the cambria normal ...
>
>I experienced the same problem.
>After removing font caches, I can obtain normal shape cambria.
>
>Best,
>Akira
>
>___
>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
>___

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
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] cambria.ttc problem

2016-09-28 Thread Lutz Haseloff
Hi all,
it seems that luatex 1.0.0 doesn't recognise the cambria  normal from the
ttc.
I can only access the italic, bold, bolditalic and math.
I use minimal context under win7 and win10, both x64.

Greetings Lutz
___
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] Problem with Cambria

2016-09-27 Thread Lutz Haseloff
Sorry, it was my fault.
I updated my Cambria and all went well (with Cambria).

btw. Congratulations to luatex 1.0.0!

Hans Hagen <pra...@wxs.nl> schrieb am Sa., 24. Sep. 2016 um 12:57 Uhr:

> On 9/23/2016 7:53 PM, Lutz Haseloff wrote:
> > Hi all,
> >
> > i found a Problem with Cambria. The use of í and ì results in wrong
> kerning.
> >
> > \setupbodyfont[cambria]
> > \starttext
> > Víctor Lidio Jara Martínez
> > \stoptext
> >
> > gives:
> >
> > Ví ctor Lidio Jara Martí nez
>
> no such problem here
>
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://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
___

[NTG-context] Problem with Cambria

2016-09-23 Thread Lutz Haseloff
Hi all,

i found a Problem with Cambria. The use of í and ì results in wrong kerning.

\setupbodyfont[cambria]
\starttext
Víctor Lidio Jara Martínez
\stoptext

gives:

Ví ctor Lidio Jara Martí nez

in the pdf.

I use latest context and luatex on Windows and Linux.


Greetings Lutz
___
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] Problem with Cambria

2016-09-20 Thread Lutz Haseloff
Hi all,

i found a Problem with Cambria. The use of í and ì results in wrong kerning.

\setupbodyfont[cambria]
\starttext
Víctor Lidio Jara Martínez
\stoptext

gives:

Ví ctor Lidio Jara Martí nez

in the pdf.

I use latest context and luatex on Windows and Linux.


Greetings Lutz
___
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] armhf luatex binary from the context minimals

2016-08-23 Thread Lutz Haseloff
where can i get it?

Hans Hagen <pra...@wxs.nl> schrieb am Di., 23. Aug. 2016 um 10:18 Uhr:

> On 8/23/2016 8:37 AM, Lutz Haseloff wrote:
> > Hi all,
> >
> > i finally got the context minimals working on my phone.
> > I use GNURoot (Debian Jessie).
> > first-setup.sh works as expected.
> > Only one problem remains. The luatex binary:
> >
> >
> http://minimals.contextgarden.net/current/bin/luatex/linux-armhf/bin/luatex
> > This is LuaTex, Version 0.98.1 (TeX Live 2017/dev)
>
> can you try 0.98.3 ?
>
> > ignores interword spaces completely.
> >
> > \starttext
> > Test Test\kern 1cm Test
> > \stoptext
> >
> > results in "TestTestTest" in the pdf.
> >
> > I helped myself and copied the luatex binary from the texlive binary
> > archive to my phone.
> > ftp://tug.org/historic/systems/texlive/2016/texlive-20160523-bin.tar.xz
> >
> > But i would like to try out the greatest and latest features of luatex.
> >
> > Is there a way to get the context minimals luatex binary properly
> working?
> >
> >
> > Greetings Lutz
> >
> >
> >
> ___
> > 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
> >
> ___
> >
>
>
> --
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://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
___

[NTG-context] armhf luatex binary from the context minimals

2016-08-23 Thread Lutz Haseloff
Hi all,

i finally got the context minimals working on my phone.
I use GNURoot (Debian Jessie).
first-setup.sh works as expected.
Only one problem remains. The luatex binary:

http://minimals.contextgarden.net/current/bin/luatex/linux-armhf/bin/luatex
This is LuaTex, Version 0.98.1 (TeX Live 2017/dev)

ignores interword spaces completely.

\starttext
Test Test\kern 1cm Test
\stoptext

results in "TestTestTest" in the pdf.

I helped myself and copied the luatex binary from the texlive binary
archive to my phone.
ftp://tug.org/historic/systems/texlive/2016/texlive-20160523-bin.tar.xz

But i would like to try out the greatest and latest features of luatex.

Is there a way to get the context minimals luatex binary properly working?


Greetings Lutz
___
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] Metapost labels

2013-08-07 Thread Lutz Haseloff
Hi Hans,

Labels work again as expected.

Thanks for the quick help!


2013/8/7 Hans Hagen pra...@wxs.nl

 On 8/7/2013 6:50 AM, Lutz Haseloff wrote:

 Hi all,

 with
 LuaTeX, Version beta-0.77.0-2013073017 (rev 4639)
 and
 ConTeXt  ver: 2013.08.06 15:50 MKIV beta  fmt: 2013.8.7  int:
 english/english
 Context seems not to be able to typeset Labels anymore.
 Yesterday, before an Update, all worked as expected.

 Minimal not working example:

 \starttext
 \startMPpage
 draw fullcircle scaled 5cm withcolor red;
 label(textext(\CONTEXT),**origin);
 \stopMPpage
 \stoptext

 Or am I missing something happened in the last four weeks?


 some playing with transformations and keeping properties at the same time
 ... new beta uploaded

 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 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/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
___

[NTG-context] Metapost labels

2013-08-06 Thread Lutz Haseloff
Hi all,

with
LuaTeX, Version beta-0.77.0-2013073017 (rev 4639)
and
ConTeXt  ver: 2013.08.06 15:50 MKIV beta  fmt: 2013.8.7  int:
english/english
Context seems not to be able to typeset Labels anymore.
Yesterday, before an Update, all worked as expected.

Minimal not working example:

\starttext
\startMPpage
draw fullcircle scaled 5cm withcolor red;
label(textext(\CONTEXT),origin);
\stopMPpage
\stoptext

Or am I missing something happened in the last four weeks?

Thanks

Greetings Lutz
___
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] Alignment problem with labels and textext

2013-02-13 Thread Lutz Haseloff
Hi Keith,

following testfile perhaps describes my problem better:

\starttext
\startMPpage
drawdot (origin);
label.rt (textext(right) , origin) ;
label.top (textext(top) , origin) ;
label.lft (textext(left) , origin) ;
label.bot (textext(bottom) , origin) ;
\stopMPpage
\stoptext

If i run it by texexec(mkii), all is ok, with context(mkiv) the labels
overlap.

I try to add the problematic mkiv pdf.

Greetings Lutz


2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 With
 This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541)
 ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.9  int: english/english

 Things look fine. Actually, without textext the left and right seem to be
 aligned
 on the baseline. Where with textext it is aligned in the middle of the
 text, which
 I find to be the correct way.

 regards
 Keith




mkiv.pdf
Description: Adobe PDF document
___
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] Alignment problem with labels and textext

2013-02-13 Thread Lutz Haseloff
It seems to me, that the label.xx mechanism is completely broken.
the results of label, label.rt and label.lft are exactly the same if i set
labeloffset := 0bp ;
(default is 3bp)


2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 Just updated, to make sure I have the latest.

 I see the problems.
 top  bottom labels are not centered correctly
 bottom label not low enough
 left and right labels are not aligned at the same height

 Sorry, no ansers.

 regards
 Keith.

 Am 13.02.2013 um 11:11 schrieb Lutz Haseloff lutz.hasel...@gmail.com:

 Hi Keith,

 following testfile perhaps describes my problem better:

 \starttext
 \startMPpage
 drawdot (origin);
 label.rt (textext(right) , origin) ;
 label.top (textext(top) , origin) ;
 label.lft (textext(left) , origin) ;
 label.bot (textext(bottom) , origin) ;
 \stopMPpage
 \stoptext

 If i run it by texexec(mkii), all is ok, with context(mkiv) the labels
 overlap.

 I try to add the problematic mkiv pdf.

 Greetings Lutz


 2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 With
 This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541)
 ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.9  int: english/english

 Things look fine. Actually, without textext the left and right seem to be
 aligned
 on the baseline. Where with textext it is aligned in the middle of the
 text, which
 I find to be the correct way.

 regards
 Keith




 ___
 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] Alignment problem with labels and textext

2013-02-13 Thread Lutz Haseloff
It seems, that my ConTeXt installation was broken in this point.
A complete new installation of the standalone heped.
Sorry for the noise.


2013/2/13 Lutz Haseloff lutz.hasel...@gmail.com

 It seems to me, that the label.xx mechanism is completely broken.
 the results of label, label.rt and label.lft are exactly the same if i set
 labeloffset := 0bp ;
 (default is 3bp)


 2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 Just updated, to make sure I have the latest.

 I see the problems.
 top  bottom labels are not centered correctly
  bottom label not low enough
 left and right labels are not aligned at the same height

 Sorry, no ansers.

 regards
 Keith.

 Am 13.02.2013 um 11:11 schrieb Lutz Haseloff lutz.hasel...@gmail.com:

 Hi Keith,

 following testfile perhaps describes my problem better:

 \starttext
 \startMPpage
 drawdot (origin);
 label.rt (textext(right) , origin) ;
 label.top (textext(top) , origin) ;
 label.lft (textext(left) , origin) ;
 label.bot (textext(bottom) , origin) ;
 \stopMPpage
 \stoptext

 If i run it by texexec(mkii), all is ok, with context(mkiv) the labels
 overlap.

 I try to add the problematic mkiv pdf.

 Greetings Lutz


 2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 With
 This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541)
 ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.9  int: english/english

 Things look fine. Actually, without textext the left and right seem to
 be aligned
 on the baseline. Where with textext it is aligned in the middle of the
 text, which
 I find to be the correct way.

 regards
 Keith




 ___
 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
___

[NTG-context] Alignment problem with labels and textext

2013-02-12 Thread Lutz Haseloff
Hi Hans, hi all,

with the most recent ConTeXt
(This is LuaTeX, Version beta-0.75.0-2013021110 (rev 4576)
ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.11  int: english/english)
there is an alignment problem with labels using textext.
Labels without textext work ok.

Small example showing the problem:

-
\starttext
\startMPpage
pickup pencircle scaled 1mm ;
path p ; p := fullcircle scaled 3cm ;
draw p withcolor .625yellow ;
label.rt (textext(right) , point 0 of p) ;
label.top (textext(top) , point 2 of p) ;
label.lft (textext(left) , point 4 of p) ;
label.bot (textext(bottom) , point 6 of p) ;
\stopMPpage
\startMPpage
pickup pencircle scaled 1mm ;
path p ; p := fullcircle scaled 3cm ;
draw p withcolor .625yellow ;
label.rt (right , point 0 of p) ;
label.top (top , point 2 of p) ;
label.lft (left , point 4 of p) ;
label.bot (bottom , point 6 of p) ;
\stopMPpage
\stoptext
-

Greetings

Lutz
___
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] Alignment problem with labels and textext

2013-02-11 Thread Lutz Haseloff
Hi Hans, hi all,

with the most recent ConTeXt
(This is LuaTeX, Version beta-0.75.0-2013021110 (rev 4576)
ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.11  int: english/english)
there is an alignment problem with labels using textext.
Labels without textext work ok.

Small example showing the problem:

-
\starttext
\startMPpage
pickup pencircle scaled 1mm ;
path p ; p := fullcircle scaled 3cm ;
draw p withcolor .625yellow ;
label.rt (textext(right) , point 0 of p) ;
label.top (textext(top) , point 2 of p) ;
label.lft (textext(left) , point 4 of p) ;
label.bot (textext(bottom) , point 6 of p) ;
\stopMPpage
\startMPpage
pickup pencircle scaled 1mm ;
path p ; p := fullcircle scaled 3cm ;
draw p withcolor .625yellow ;
label.rt (right , point 0 of p) ;
label.top (top , point 2 of p) ;
label.lft (left , point 4 of p) ;
label.bot (bottom , point 6 of p) ;
\stopMPpage
\stoptext
-

Greetings

Lutz
___
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] Simplefonts question

2011-11-14 Thread Lutz Haseloff
Thanks Wolfgang and Christian, works now.

Lutz

2011/11/14 Christian meta...@gmx.de:
  Hi Wolfgang,
 
  I'm looking for documentation for your handy module.
 
  Particularly i'd like to know all the options i can use for the
  commands \setmainfont and \setupsimplefonts.
 
  My goal is to use a font in my document in different sizes (say 12,
  17 and 35pt) with adequate line spacing.
 
  Do you want a whole family in this size or only a single style of a font?

 I need Linux Libertine as Serif, Aller as SansSerif and Aller in 35pt for 
 large
 titles with proper line spacing.

 My success so far:

 \definefontfeature[cond][default][extend=.8]
 \usemodule[simplefonts]
 \setmainfont[linuxlibertineo]
 \setsansfont[aller][features=cond]
 \mainlanguage[de]
 \starttext
 Dudelsackpfeifenmachergeselle

 {\it
 Dudelsackpfeifenmachergeselle }

 {\bf
 Dudelsackpfeifenmachergeselle }

 {\bi
 Dudelsackpfeifenmachergeselle }

 \ss
 Dudelsackpfeifenmachergeselle

 {\it
 Dudelsackpfeifenmachergeselle }

 {\bf
 Dudelsackpfeifenmachergeselle }

 {\bi
 Dudelsackpfeifenmachergeselle }
 \stoptext


 Now some questions remain:
 How can i set the size of the fonts?
 \setsansfont[aller][features=cond,size=14pt]
 seems not to work.
 How can i define the 35pt .8 condensed Aller?

 Greetings Lutz

 Here is how I would do it:

 \definefontfeature[cond][default][extend=.8]
 \usemodule[simplefonts]
 \setmainfont[Linux Libertine O]
 \setsansfont[aller][scale=0.9] % downscale Aller a bit, since it has a bigger 
 x-height than Libertine
 \definesimplefonttypeface[titlefont][aller][features=cond] % this way, only 
 titles are condensed
 \setuphead[chapter][style={\switchtobodyfont[titlefont,35pt]}]
 \mainlanguage[de]

 \starttext
 \chapter{Dudelsackpfeifenmachergesellen sind lustige Leute}

 Dudelsackpfeifenmachergeselle {\ss Dudelsackpfeifenmachergeselle}

 {\it Dudelsackpfeifenmachergeselle} {\ss \it Dudelsackpfeifenmachergeselle}

 {\bf Dudelsackpfeifenmachergeselle } {\ss \bf Dudelsackpfeifenmachergeselle}

 {\bi Dudelsackpfeifenmachergeselle } {\ss \bi Dudelsackpfeifenmachergeselle}
 \stoptext

 ___
 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] Simplefonts question

2011-11-13 Thread Lutz Haseloff
2011/11/11 Wolfgang Schuster schuster.wolfg...@googlemail.com:

 Am 11.11.2011 um 13:01 schrieb Lutz Haseloff:

 Hi Wolfgang,

 I'm looking for documentation for your handy module.

 Particularly i'd like to know all the options i can use for
 the commands \setmainfont and \setupsimplefonts.

 My goal is to use a font in my document in
 different sizes (say 12, 17 and 35pt) with adequate
 line spacing.

 Do you want a whole family in this size or only a single style of a font?

I need Linux Libertine as Serif, Aller as SansSerif and Aller in 35pt
for large titles with proper line spacing.

My success so far:

\definefontfeature[cond][default][extend=.8]
\usemodule[simplefonts]
\setmainfont[linuxlibertineo]
\setsansfont[aller][features=cond]
\mainlanguage[de]
\starttext
Dudelsackpfeifenmachergeselle

{\it
Dudelsackpfeifenmachergeselle }

{\bf
Dudelsackpfeifenmachergeselle }

{\bi
Dudelsackpfeifenmachergeselle }

\ss
Dudelsackpfeifenmachergeselle

{\it
Dudelsackpfeifenmachergeselle }

{\bf
Dudelsackpfeifenmachergeselle }

{\bi
Dudelsackpfeifenmachergeselle }
\stoptext


Now some questions remain:
How can i set the size of the fonts?
\setsansfont[aller][features=cond,size=14pt]
seems not to work.
How can i define the 35pt .8 condensed Aller?

Greetings Lutz
___
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] Simplefonts question

2011-11-11 Thread Lutz Haseloff
Hi Wolfgang,

I'm looking for documentation for your handy module.

Particularly i'd like to know all the options i can use for
the commands \setmainfont and \setupsimplefonts.

My goal is to use a font in my document in
different sizes (say 12, 17 and 35pt) with adequate
line spacing.

I only found  \setmainfont[...][..,..=..,..] in README.
Reading the source was not too helpful for me :-)


Greetings Lutz
___
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] Luatex question

2011-10-25 Thread Lutz Haseloff
Hi all,

some months ago I printed the name of the current font with following code:

\starttext
The current font is: \ctxlua{tex.print(font.getfont(font.current()).fullname)}.
\stoptext

Now I get an error message:

! LuaTeX error main ctx instance:1: no string to print
stack traceback:
[C]: in function 'print'
main ctx instance:1: in main chunk.
l.2 ...int(font.getfont(font.current()).fullname)}
  .
?

What is the right way now?
(didn't find any news in functionref.pdf or luatexref-t.pdf)

Greetings Lutz
___
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] Luatex question

2011-10-25 Thread Lutz Haseloff
Thank you for your detailed information.

2011/10/25 Hans Hagen pra...@wxs.nl:
 On 25-10-2011 14:09, Lutz Haseloff wrote:

 Hi all,

 some months ago I printed the name of the current font with following
 code:

 \starttext
 The current font is:
 \ctxlua{tex.print(font.getfont(font.current()).fullname)}.
 \stoptext

 Now I get an error message:

 ! LuaTeX errormain ctx instance:1: no string to print
 stack traceback:
        [C]: in function 'print'
        main ctx instance:1: in main chunk.
 l.2 ...int(font.getfont(font.current()).fullname)}
                                                   .
 ?

 What is the right way now?
 (didn't find any news in functionref.pdf or luatexref-t.pdf)

 In order of efficiency (most efficient on top):

 \starttext

 \ctxlua{tex.print(fonts.hashes.properties[font.current()].fullname)}

 \ctxlua{tex.print(fonts.hashes.identifiers[font.current()].properties.fullname)}

 \ctxlua{tex.print(font.getfont(font.current()).properties.fullname)}

 \stoptext

 the font.getfont returns the table that tex gets passed and in context that
 table gets normalized, in the sense that variables are collected in
 'properties' and 'parameters'

 in general, don't use font.getfont() in context as in the worst case it will
 rebuild a lua table at the tex

 in the current beta you can run s-fnt-35.mkiv to see how this works

 (this file will be renamed in a next beta)

 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] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-21 Thread Lutz Haseloff
2011/10/20 Mari Voipio mvoi...@gmail.com:


 Lähetetty kännystäni / Sent from my iPhone

 On 20.10.2011, at 13.06, Hans Hagen pra...@wxs.nl wrote:

 On 20-10-2011 10:50, Lutz Haseloff wrote:

 if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit,
 i can no longer scroll the text in the editor. Windows quits SciTe
 because of an unknown
 error :-(

 Has someone else the same error?

 I assume that you installed the lexer lua libs too. I don't know if that one 
 is 64 bit (I'm on a by now pretty old 32 bit machine).

 Hans

 I'm running 32-bit SciTe, because that's what I got by using Troy Simpson's 
 Windows installer for SciTe; both my work laptop and the Win 7 Home I used to 
 test my wiki text are 64-bit computers. The stuff on the wiki worked on those 
 two computers, can't vouch for anything else...

 Or, rather: SciTe got installed into the (x86) directory, so I just *assumed* 
 that it is a 32-bit version.


I tried to install SciTe/ConTeXt on a WinXP 32 bit machine.
I installed Troy Simpson's Windows installer for SciTe, deleted all
filles except SciTe.exe, SciTEGlobal.properties and SciLexer.dll.
Then I copied the files from scintillua229-1.zip and from
/context/data/scite to the progran directory.

The problem remains. Scrolling in my 4000+ lines file crashes SciTe.
Without the line import scite-context-user in SciTEGlobal.properties
scrolling works without problems.


Lutz
___
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] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-21 Thread Lutz Haseloff
2011/10/21 Hans Hagen pra...@wxs.nl:
 On 21-10-2011 08:42, Lutz Haseloff wrote:

 The problem remains. Scrolling in my 4000+ lines file crashes SciTe.

 Any file or just that one? If only that one, can you send it?


Any fairly large tex file (about 3000 lines).
If I rename the files to *.text, scrolling works.

The same effect I get if I select a large chunk of the text and do
Shift-F11 wrap.

 (the problem is that there are no error messages in the windows version -
 that is, i have no clue how to intercept the gui's output)

 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] Problem with MPpage

2011-10-20 Thread Lutz Haseloff
Yes it differs, but i think it is a problem of last nights Context beta only.
My older ConTeXts work ok.


2011/10/20 Meer, H. van der h.vanderm...@uva.nl:
 Does your result differ from mine here?
 The endpoints on the line suggest it was fully drawn and thus metapost 
 behaves correctly.
 This was with ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.19  int: 
 english/english on a Macintosh.


 ___
 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
 ___



minitest.pdf
Description: Adobe PDF document


minitest.log
Description: Binary data
___
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] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-20 Thread Lutz Haseloff
Hi Mari,

if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit,
i can no longer scroll the text in the editor. Windows quits SciTe
because of an unknown
error :-(

Has someone else the same error?

Greetings Lutz

2011/10/19 Mari Voipio mari.voi...@iki.fi:
 Hello!

 At the recent ConTeXt meeting Hans helped me update my ConTeXt
 installation and explained about a new way of getting ConTeXt to work
 with SciTe, it now uses external lexers and even spell-checking is now
 possible for some languages.


 The SciTe tips and tricks page will have to wait, but I made a new
 wiki page for the installation instructions. This one isn't linked
 anywhere yet and the page title should probably be changed before
 that, but I leave that to wiki admins. My old Simple Windows
 installation page should probably be unlinked or even deleted after
 this new and better one has found its proper spot.

 For now, the new Windows+SciTe page is at
 http://wiki.contextgarden.net/Windows:_ConTeXt_Suite_with_editor_%28SciTe%29

 I checked the instructions by installing the combo on a blank new
 Win64-laptop (of the cheap and sleazy type, this keyboard drives me
 nuts!) and it works. It is not exactly out-of-the-box, but nothing a
 seasoned Windows user or a half-good admin couldn't manage. I assume
 small .bat scripts could be written to automatize it even further, but
 I'm no programmer, it is faster for me to do a bit of manual work
 instead.


 Hope this helps,

 Mari
 (who'll now proceed onwards to write a ConTeXt 101 suite for
 Windows/Word dummies)
 ___
 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] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-20 Thread Lutz Haseloff
2011/10/20 Mari Voipio mari.voi...@iki.fi:
 On Thu, Oct 20, 2011 at 11:50, Lutz Haseloff
 lutz.hasel...@googlemail.com wrote:
 if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit,
 i can no longer scroll the text in the editor. Windows quits SciTe
 because of an unknown
 error :-(

 Has someone else the same error?

 Do you have special mouse/scroll software installed? If, which one and
 whose? Did you try reinstalling it after you installed SciTe?

I use SetPoint by LogiTech.
No.

It is not only a mouse Problem, dragging the slider down and
holding down the PageDown key has the same effect.


 I did notice a scrolling problem, but it is not that bad: I'm using a
 marble mouse that doesn't have a scroll wheel at all, so I had to
 install Logitech's software to turn a scroller on and of with the
 fourth mouse button. That works everywhere else, but not in SciTe -
 the scroll bar moves, but nothing happens...
 [Not having scroll wheel drives me nuts, but that was the only
 pointing device we had of this type that fitted for left hand; a new
 'marble' of different brand, with a scroll wheel, has been ordered!]


 When I first installed the documented combo at ConTeXt User Meeting, I
 was successfully using a Logitech Bluetooth Travel mouse, but I did
 *not* have the Logitech software in the laptop.
 I cannot recall having problems with the right-handed cordless marble
 mouse, either, not even after installing Logitech Setpoint, it
 scrolled fine with the scroll wheel - I was quite happy with
 everything until my elbow forced me to switch to left-handed mousing
 for now.
 NB. These experiences were like two beta versions ago, don't know if
 that makes any difference... I didn't put any external mouse on my
 test bench computer I used to check the wiki instructions, so I can't
 say anything about it. If the computer is still on my desk when I'm
 back at the office on Monday, I can test it a bit, we've got plenty of
 'normal' mice floating around.


I will try it without SetPoint.


 Hans also uses a scroll mouse with his Windows+SciTe combo, so usually
 these work. My first guess would be some kind of conflict between
 mouse software and SciTe, but I might be wrong.


 BTW, if you remove SciTe with the lexers and stuf and reinstall it,
 but don't put lexers and ConTeXt modifications in the SciTe directory,
 what happens then?


Then it works as expected but without the excellent new syntax highlighting.


 Just my 5 cents,

 Mari
 ___
 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
___

[NTG-context] Metapost error

2011-10-19 Thread Lutz Haseloff
Hi Hans, Hi all,

with newest Context and luatex compiling following file:

\starttext
\startMPcode
draw externalfigure hacker.jpg xscaled 30mm yscaled 20mm ;
\stopMPcode
\stoptext

doesn't show the picture and gives an error message:


! Improper `addto'.
to be read again
   withpen
draw-...:also(EXPR0)else:doublepath(EXPR0)withpen
  .currentpen.fi._op_
to be read again
   ;
to be read again
   ;
* ...re hacker.jpg xscaled 30mm yscaled 20mm ;
   ;


metapost error: unknown, no error, terminal or log messages
metapost terminal: [1]


Thanks for any help

Lutz
___
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] Metapost error

2011-10-19 Thread Lutz Haseloff
Works again with last nights beta, thanks.

2011/10/19 Lutz Haseloff lutz.hasel...@googlemail.com:
 Hi Hans, Hi all,

 with newest Context and luatex compiling following file:

 \starttext
 \startMPcode
 draw externalfigure hacker.jpg xscaled 30mm yscaled 20mm ;
 \stopMPcode
 \stoptext

 doesn't show the picture and gives an error message:


 ! Improper `addto'.
 to be read again
                   withpen
 draw-...:also(EXPR0)else:doublepath(EXPR0)withpen
                                                  .currentpen.fi._op_
 to be read again
                   ;
 to be read again
                   ;
 * ...re hacker.jpg xscaled 30mm yscaled 20mm ;
                                                   ;


 metapost         error: unknown, no error, terminal or log messages
 metapost         terminal: [1]


 Thanks for any help

 Lutz

___
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] Problem with MPpage

2011-10-19 Thread Lutz Haseloff
Hi all,

next Metapost problem.

\starttext
\startMPpage
pickup pencircle scaled 2mm ;
draw (0,0)--(5cm,5cm) withcolor red;
\stopMPpage
\stoptext

The resulting pdf does not show the whole red line.
The size of the pdf is right but it is shifted to the upper right.

Thanks for any help

Lutz
___
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] externalfigure error in current mkiv beta

2011-04-20 Thread Lutz Haseloff
Thanks again.

Lutz

2011/4/20 Pontus Lurcock p...@talvi.net:
 On Wed 20 Apr 2011, Lutz Haseloff wrote:

 Is there a recent Metafun manual?

 http://www.pragma-ade.com/general/manuals/metafun-p.pdf (2010-10-08)

 I would even buy it (like the Fonts in ConTeXt).

 http://www.boekplan.nl/node/9 (€49)

 Pont
___
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] externalfigure error in current mkiv beta

2011-04-19 Thread Lutz Haseloff
Hi all,

with the current Context beta
ConTeXt  ver: 2011.04.13 09:23 MKIV  fmt: 2011.4.19  int: english/english
and a recent luatex
LuaTeX, Version beta-0.66.0-2011041617 (rev 4160) (Win 7 64bit)

the externalfigure macro breaks with following message:

metapost loading 'metafun.mp' (experimental metapost version two)
metapost terminal:  picture
! Isolated expression.
to be read again
   ;
* externalfigure hacker.png ;
  ;


metapost error: unknown, no error, terminal or log messages
metapost terminal: [1]

metapost error: unknown, no error, terminal or log messages
metapost terminal:

metapost error: unknown, no error, terminal or log messages
metapost terminal:

metapost error: unknown, no error, terminal or log messages
metapost terminal: (Please type a command or say `end')

metapost error: unknown, no error, terminal or log messages
metapost terminal:

metapost error: unknown, no error, terminal or log messages
metapost terminal:

metapost error: unknown, no error, terminal or log messages
metapost terminal:  picture
! Isolated expression.
to be read again
   ;
* externalfigure hacker.png ;
  ;

My code:

\starttext
\startMPcode
externalfigure hacker.png ;
\stopMPcode
\stoptext

The current current from
http://www.pragma-ade.com/context/current/cont-tmf.zip

works ok.


Greetings Lutz
___
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] externalfigure error in current mkiv beta

2011-04-19 Thread Lutz Haseloff
Thanks

Is there a recent Metafun manual?
I would even buy it (like the Fonts in ConTeXt).

Greetings Lutz


2011/4/19 Hans Hagen pra...@wxs.nl:
 in mkiv the functionality has changed:

 draw externalfigure somefile scaled 10cm ;

 so, beter scaling etc

 Hans
___
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] Metafun Label and externalfigure Problem

2011-03-08 Thread Lutz Haseloff
Akiras luatex.dll rev 4090 updated on 20110303 works again as expected.

2011/3/3 Lutz Haseloff lutz.hasel...@googlemail.com:
 2011/3/2 Taco Hoekwater t...@elvenkind.com:

 Hi,

 Not having blblogo.pdf, I used cow.pdf for the tests below.
 I use luatex 0.66.0 (rev 4090) hand-built on linux32, and
 Context 2011.02.25 22:03 MKIV (received privately from Hans)

 With that configuration, all three tests function exactly
 as they should, so it is almost certainly not luatex that
 is causing trouble. It could be a bug in one of the previous
 beta's, or a local/minimals misconfiguration.

 The same errors occure with cow.pdf.
 I update my minimals by deleting the content of texmf-context
 and unpacking cont-tmf.zip from pragma.

 If I change only the luatex.dll to prior of 4088 all works fine.

 Perhaps a bug in Akira Kakutos binary?

 I use context minimals on Windows 7 64bit.

 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] Metafun Label and externalfigure Problem

2011-03-07 Thread Lutz Haseloff
Akiras luatex rev 4090 updated on 20110303 work again as expected.

Greetings Lutz

2011/3/3 Lutz Haseloff lutz.hasel...@googlemail.com:
 2011/3/2 Taco Hoekwater t...@elvenkind.com:

 Hi,

 Not having blblogo.pdf, I used cow.pdf for the tests below.
 I use luatex 0.66.0 (rev 4090) hand-built on linux32, and
 Context 2011.02.25 22:03 MKIV (received privately from Hans)

 With that configuration, all three tests function exactly
 as they should, so it is almost certainly not luatex that
 is causing trouble. It could be a bug in one of the previous
 beta's, or a local/minimals misconfiguration.

 The same errors occure with cow.pdf.
 I update my minimals by deleting the content of texmf-context
 and unpacking cont-tmf.zip from pragma.

 If I change only the luatex.dll to prior of 4088 all works fine.

 Perhaps a bug in Akira Kakutos binary?

 I use context minimals on Windows 7 64bit.

 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] Metafun Label and externalfigure Problem

2011-03-02 Thread Lutz Haseloff
2011/3/2 Taco Hoekwater t...@elvenkind.com:

 Hi,

 Not having blblogo.pdf, I used cow.pdf for the tests below.
 I use luatex 0.66.0 (rev 4090) hand-built on linux32, and
 Context 2011.02.25 22:03 MKIV (received privately from Hans)

 With that configuration, all three tests function exactly
 as they should, so it is almost certainly not luatex that
 is causing trouble. It could be a bug in one of the previous
 beta's, or a local/minimals misconfiguration.

The same errors occure with cow.pdf.
I update my minimals by deleting the content of texmf-context
and unpacking cont-tmf.zip from pragma.

If I change only the luatex.dll to prior of 4088 all works fine.

Perhaps a bug in Akira Kakutos binary?

I use context minimals on Windows 7 64bit.

 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] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
Hi all,

with latest ConTeXt MKIV
Metapost Labels doesn't work for me anymore.
My Code:

\starttext
\startMPcode
label(textext(Test),origin);
\stopMPcode
\stoptext

The Output only shows the word mpout as the Label.

There seems to be a Problem with externalfigure too.

With:

\starttext
\startMPcode
externalfigure blblogogr.pdf xscaled 35mm yscaled 19mm shifted (13mm,15mm);
\stopMPcode
\stoptext

I get the error message:

metapost loading 'metafun.mp' (experimental metapost version two)
! Emergency stop.
inserted text ...re.mp ; fi ; ]===], false)}

\processMPgraphic ...e ;\!!es , \MPaskedfigure )}}
  \egroup \placeMPgraphic \d...
l.5 \stopMPcode

!  == Fatal error occurred, no output PDF file produced!
mtx-context | fatal error: return code: 1Exit code: 1

With:

\starttext
\startMPcode
externalfigure blblogogr.pdf;
\stopMPcode
\stoptext

There is no errormessage and no picture in the output.


I hope, these are not all my ignorant faults, like always :-)


Greetings Lutz
___
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] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
 not here with current version: 2011.02.25 22:03
 %%test
 \starttext
 \startTEXpage
 \startMPcode
 draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. 
 cycle;
 label(textext(Test),origin);
 \stopMPcode
 \stopTEXpage
 \stoptext


The problem occures with luatex rev 4088, no problem with 4050 or 4060


test.pdf
Description: Adobe PDF document
___
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] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
I just tested luatex rev 4090:
--
\starttext
\startMPpage
externalfigure blblogo.pdf scaled .4 ;
%label(textext(Test),origin);
\stopMPpage
\stoptext
--
gives no error message and an empty pdf 1mmx5mm
--
\starttext
\startMPpage
%externalfigure blblogo.pdf scaled .4 ;
label(textext(Test),origin);
\stopMPpage
\stoptext
--
results in mpout
--
\starttext
\startMPpage
externalfigure blblogo.pdf scaled .4 ;
label(textext(Test),origin);
\stopMPpage
\stoptext
--
gives:

metapost initializing instance 'metafun' using format 'metafun'
metapost loading 'metafun.mp' (experimental metapost version two)
! String contains an invalid utf-8 sequence.
l.6
   _number=2
inserted text ...re.mp ; fi ; ]===], false)}

\processMPgraphic ...e ;\!!es , \MPaskedfigure )}}
 \egroup \placeMPgraphic \d...
\dostartMPpage ...??mg ][#1]\processMPgraphic {#2}
 \dostopfittingpage
l.5 \stopMPpage

?


All three files compile as expected with luatex rev 4086


Greetings Lutz


2011/3/1 Hans Hagen pra...@wxs.nl:
 On 1-3-2011 11:17, Lutz Haseloff wrote:

 Hi all,

 with latest ConTeXt MKIV
 Metapost Labels doesn't work for me anymore.
 My Code:

 \starttext
 \startMPcode
 label(textext(Test),origin);
 \stopMPcode
 \stoptext

 The Output only shows the word mpout as the Label.

 works ok here

 There seems to be a Problem with externalfigure too.

 With:

 \starttext
 \startMPcode
 externalfigure blblogogr.pdf xscaled 35mm yscaled 19mm shifted
 (13mm,15mm);
 \stopMPcode
 \stoptext

 I get the error message:

 metapost  loading 'metafun.mp' (experimental metapost version two)

 beware: 35cm is a scale factor so the natural size gets scaled by 35 * cm (a
 constant)

 use xsized and ysized instead (or just one to stay in proportion)


 -
                                          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] lilypond module error with mkiv beta

2011-02-24 Thread Lutz Haseloff
Hi all,
with newest ConTeXt MKIV beta from Minimals
following file (from the doc) failes to compile:

\usemodule[lilypond]
\starttext
\subject{Telemann, TWV 40:11}
\startlilypond
\relative c' {
\set Staff.instrumentName = flute
\key fis \minor
\time 3/4
\partial 4
r8 fis'8 | fis4. cis8 a cis | fis, a cis fis a fis |
b, d fis b d b | eis,, gis cis eis gis b, |
a fis' gis, fis' cis eis | fis,4 r8
a' gis fis | e gis, a e' fis cis |
d fis, gis b e d | cis4 \trill r8
cis b a | b dis e gis cis, b |
a e' dis fis b, a | gis4 \trill r8
}
\stoplilypond
\stoptext

The errormessage is:


fontslatin modern fonts are not preloaded
languageslanguage en is active
resolversmodules  loaded: 'lilypond'
(C:/contextminimal/texmf-local/tex/context/third/lilypond/t-lilypond.tex
loading  LilyPond module
){C:/contextminimal/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
(C:/contextminimal/texmf-context/tex/context/base/type-siz.mkiv)
(C:/contextminimal/texmf-context/tex/context/base/type-otf.mkiv){C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map}{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsfallback modern rm 12pt is loaded
system   begin file lily.tex at line 3
structuresectioning  subject @ level 3 : 0.0.0 - Telemann, TWV 40:11
! Undefined control sequence.
\dodostartlilypond ...ily!filename {\bufferprefix
  lilypond-\lily!figures }\e...
l.19 \stoplilypond

Is this a bug in the lilypond module?

Greetings Lutz
___
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] lilypond module error with mkiv beta

2011-02-24 Thread Lutz Haseloff
Thank you very much!

2011/2/24 Henning Hraban Ramm hra...@fiee.net:

 Am 2011-02-24 um 14:22 schrieb Lutz Haseloff:

 Hi all,
 with newest ConTeXt MKIV beta from Minimals
 following file (from the doc) failes to compile:


 http://wiki.contextgarden.net/LilyPond#Deprecation_Warning

 Greetlings from Lake Constance!
 Hraban
 ---
 http://www.fiee.net/texnique/
 http://wiki.contextgarden.net
 https://www.cacert.org (I'm an assurer)

 ___
 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] beta

2011-01-25 Thread Lutz Haseloff
Hi Hans,

my new ConTeXt misses v-default.mkiv:


...
+ c:/contextminimal/texmf-context/tex/context/base/buff-par.lua)
! I can't find file `v-default.mkiv'.
to be read again
   \relax
l.246 \loadmarkfile{v-default}
  % preloaded as otherwise spurious spaces i...
Please type another input file name:


Greetings Lutz

2011/1/25 Hans Hagen pra...@wxs.nl:
 Hi,

 I uploaded a beta. Tho most important change is that mkii and mkiv are now
 completely separated, only a couple of modules and styles are shared.

 Another change is that language related information is now organized
 differently. Labels and such are in lang-txt.lua and easier to maintain.

 For those writing pretty printers: pluggable code is now under -imp-*
 i.e. the imp subnamespace. I have considered -base, -user etc but that would
 lead to too much testing. Users can put their extensions (when part of third
 party modules) under for instance buff-imp-t-somename which is unique
 enough. Anyway, by using an additional -imp- we have less change of clashing
 with core modules. Some more will probably follow.

 Hopefully all files are in the zip.

 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
 ___

___
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] beta

2011-01-25 Thread Lutz Haseloff
now is java-ini.mkiv missing:


loading : ConTeXt Table Macros / Line Tables
) (c:/contextminimal/texmf-context/tex/context/base/tabl-tsp.mkiv
loading : ConTeXt Table Macros / Splitting
)
! I can't find file `java-ini.mkiv'.
to be read again
   \relax
l.277 \loadmarkfile{java-ini}

Please type another input file name:



Greetings Lutz

2011/1/25 Vnpenguin vnpeng...@vnoss.org:
 On Tue, Jan 25, 2011 at 09:53, Lutz Haseloff
 lutz.hasel...@googlemail.com wrote:
 Hi Hans,

 my new ConTeXt misses v-default.mkiv:

 
 ...
 + c:/contextminimal/texmf-context/tex/context/base/buff-par.lua)
 ! I can't find file `v-default.mkiv'.
 to be read again
                   \relax
 l.246 \loadmarkfile{v-default}
                                  % preloaded as otherwise spurious spaces 
 i...
 Please type another input file name:
 

 I have exactly same error here.
 ___
 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] beta

2011-01-25 Thread Lutz Haseloff
Update works now for me.

Thank You very much.

Greetings Lutz



2011/1/25 Hans Hagen pra...@wxs.nl:
 On 25-1-2011 10:53, Lutz Haseloff wrote:

 now is java-ini.mkiv missing:


 loading         : ConTeXt Table Macros / Line Tables
 ) (c:/contextminimal/texmf-context/tex/context/base/tabl-tsp.mkiv
 loading         : ConTeXt Table Macros / Splitting
 )
 ! I can't find file `java-ini.mkiv'.
 to be read again
                    \relax
 l.277 \loadmarkfile{java-ini}

 Please type another input file name:

 new attempt

 -
                                          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] Problem with --autopdf in current beta

2010-09-23 Thread Lutz Haseloff
sorry for the noise, I had an extra l-pdfview.lua in my working directory :-(

2010/9/23 Hans Hagen pra...@wxs.nl:
 On 23-9-2010 6:40, Lutz Haseloff wrote:

 Hi Hans, Hi all,

 with the last beta i get following error message:

 mtxrun --autogenerate --script context --autopdf --pdf
 callunatest.tex

 al/texmf-context/scripts/context/lua/mtx-context.lua:649: attempt
 to call field 'setmethod' (a nil value)

 Exit code: 1

 I use the latest minimal under WinXP.

 No clue .. it's in l-pdfview.lua and that one is loaded I suppose.

 -
                                          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] Problem with --autopdf in current beta

2010-09-22 Thread Lutz Haseloff
Hi Hans, Hi all,

with the last beta i get following error message:

mtxrun --autogenerate --script context --autopdf --pdf callunatest.tex
...al/texmf-context/scripts/context/lua/mtx-context.lua:649: attempt
to call field 'setmethod' (a nil value)
Exit code: 1

I use the latest minimal under WinXP.

Greetings Lutz
___
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] luatex problem

2010-09-09 Thread Lutz Haseloff
Hi Hans Hi all,

i use the latest context minimals under windows xp with the SciTE Editor.
Since some weeks, automatic closing and opening of the PDF doesn't work
anymore.

My testfile pdfopen.lua has only one line:

os.execute('pdfopen --file calluna.pdf')

If I run this file with:

mtxrun --script pdfopen.lua

Adobe Reader 9 crashes completely and wants to send an error report to
microsoft.

If I run the same file with:

lua pdfopen.lua

the file opens  immediately.

For me it seems to be a problem in luatex.



Greetings Lutz
___
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] PDF fields

2010-08-31 Thread Lutz Haseloff
2010/8/31 Andreas Harder andreas.har...@rz-online.de:
 Hi all,

 please have a look at my attached example. I've two problems.


 1) After I fill one field in the PDF-file all other fields inherit the text. 
 How can I prevent this?

The fields are all the same. You can:

\dorecurse{31}{\definefield [hours#1] [line] [setup] [] []}

\def\Feld#1%
  {\bTR\bTD \date[d=#1,m=8,y=2010][dd,{.},mm,{.},year,~,(,weekday,)] \eTD
   \bTD \field[hours#1] \eTD\eTR}

 2) The text in the left column an the text in the field are not on the same 
 baseline. The field-text is slightly higher.

 Thank you in advance

        Andreas

Lutz
___
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] building the luatex font database

2010-08-11 Thread Lutz Haseloff
Hi Hans, Hi all,

my fresh ConTeXt minimal installation (winxp) doesn`t recognize
the fonts in the context tree. I can only use the windows systemfonts.

mtxrun --script fonts --reload  says:

...
MTXrun | fontnames: warnings are disabled (tracker 'fonts.warnings')
MTXrun | fontnames: identifying tree font files with suffix otf
MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf for otf files
MTXrun | fontnames: 3313 entries found, 297 otf files checked, 297 okay
MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-local for otf files
MTXrun | fontnames: 1372 entries found, 546 otf files checked, 546 okay
MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-context
for otf files
MTXrun | fontnames: 1770 entries found, 1 otf files checked, 1 okay
MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-mswin for otf files
MTXrun | fontnames: 108 entries found, 0 otf files checked, 0 okay
MTXrun | fontnames: identifying tree font files with suffix OTF
MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf for OTF files
MTXrun | fontnames: 3313 entries found, 0 OTF files checked, 0 okay
MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-local for OTF files
MTXrun | fontnames: 1372 entries found, 0 OTF files checked, 0 okay
MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-context
for OTF files
MTXrun | fontnames: 1770 entries found, 0 OTF files checked, 0 okay
MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-mswin for OTF files
MTXrun | fontnames: 108 entries found, 0 OTF files checked, 0 okay
MTXrun | fontnames: 844 tree files identified, 844 skipped, 0
duplicates, 0 hash entries added, runtime 0.172 seconds
...


What do I wrong?


Greetings Lutz
___
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] font database problem with newest beta

2010-06-24 Thread Lutz Haseloff
Hi Hans, hi all,


with mkiv beta (current version: 2010.06.23 12:45)
and LuaTeX, Version beta-0.61.0-2010061910 (Web2C 2010) (rev 3724)
my try to: C:\contextminimalmtxrun --script fonts --reload
breaks with:

...tminimal/texmf-context/tex/context/base/font-otp.lua:16: attempt to call
field 'new' (a nil value)

What can I do?

Greetings Lutz
___
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] Adobe Reader Problem

2010-06-24 Thread Lutz Haseloff
Hi Hans, Hi all,

since using the latest beta mkiv (WinXP) the lua function
pdfview.open(file.pdf) results in a crash of Adobe Reader
(with error report) and Cannot contact server acroview in the log.

The last line of the log is:
MTXrun | pdfview methods: default okular xpdf, current method:
default, MTX_PDFVIEW_METHOD=unsetCannot contact server acroview

On the command line pdfopen and pdfclose work as expected.

Have I to set MTX_PDFVIEW_METHOD?

Greetings Lutz
___
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] Problem with lilypond module

2010-03-11 Thread Lutz Haseloff
Thank you very much.

2010/3/11 Henning Hraban Ramm hra...@fiee.net:
 New version at http://modules.contextgarden.net/t-lilypond

 Works for me with latest ConTeXt MkIV beta (and LilyPond 2.12, of course).
 Also fixed the documentation a bit.

 Greetlings from Lake Constance!
 Hraban
 ---
 http://www.fiee.net/texnique/
 http://wiki.contextgarden.net
 https://www.cacert.org (I'm an assurer)

___
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] Problem with lilypond module

2010-03-10 Thread Lutz Haseloff
Hi Mojca, Christopher, Hraban, Wolfgang,

since a couple of days the lilypond module doesn't work anymore.

Testfile:

\usemodule[lilypond]
\starttext
There are some notes
\lower 8.2pt\hbox{\lilypond[fragment=true]{\relative c' {c d e fis}}}
embedded in this line.
\stoptext

Context creates a file 1 with 0 Byte and a file lilypond-1 in the
current directory.
In the log i find:
!LilyPond ERROR : File 'lily1-lilypond-1.tmp' was not written!

Processing file lilypond-1 directly with lilypond works.

Greetings

Lutz
___
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] Lua fonttester error

2010-02-25 Thread Lutz Haseloff
Hi Hans Hi all,

since yesterday evening (Context 2010.02.25 19:46 MKIV) the Lua
fonttester doesn't
work anymore. After starting it with
mtxrun --script server --auto (MAPS 39, page E75 :-)
I can see the Startpage in my Browser.
After clicking fonttest the script breaks with following errormessage:

MTXrun | requested action: mtx-server-ctx-fonttest.lua
MTXrun | performing action: mtx-server-ctx-fonttest.lua
MTXrun | locating script:
C:/contextminimal/texmf-context/scripts/context/lua/mtx-server-ctx-fonttest.lua
MTXrun | loading script:
C:/contextminimal/texmf-context/scripts/context/lua/mtx-server-ctx-fonttest.lua
MTXrun | return type: function
...textminimal/texmf-context/tex/context/base/l-aux.lua:212: attempt
to index field 'patterns' (a nil value)
C:\contextminimal

Greetings Lutz
___
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] lower case a incompatible with hanging

2009-12-21 Thread Lutz Haseloff
2009/12/19 Taco Hoekwater t...@elvenkind.com

 Hi,

 This was a bug in luatex: the function that copies the font
 information from the base font to the expanded font did not
 copy the last glyph at all. There is a one-character patch to
 trunk/source/texk/web2c/luatexdir/font/texfont.c:


 @@ -1094,7 +1094,7 @@
 memcpy(math_param_base(k), math_param_base(f), i);
 }

 -for (i = 0; i  font_tables[f]-charinfo_count; i++) {
 +for (i = 0; i = font_tables[f]-charinfo_count; i++) {
 ci = copy_charinfo(font_tables[f]-charinfo[i]);
 font_tables[k]-charinfo[i] = *ci;
 }

 And that fixes it.

 The only oddness with this particular font is that the 'a' happens
 to be its last glyph in the ordering of the glyph implementations
 inside the otf file. Usually, the last of those is something odd
 like an alternate or a designer' logo, which is probably why nobody
 noticed before.


 Lutz Haseloff wrote:

 Hi Michael,

 Your file works here without problems with the same ConTeXt and
 LuaTeX, Version beta-0.47.0-2009121623.


 That's weird, did you use Michaels font?


I don't think so:

My OctavianMTStd.otf:
Version 2.040;PS 002.000;honconv 1.0.51;makeotf.lib 2.0.18671


Greetings Lutz



 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] lower case a incompatible with hanging

2009-12-18 Thread Lutz Haseloff
Hi Michael,

Your file works here without problems with the same ConTeXt and
LuaTeX, Version beta-0.47.0-2009121623.

Greetings Lutz


2009/12/17 Michael Green merely.ridicul...@gmail.com

 I have a font oddity to report: if I use \setupalign [hanging,hz], the
 lower case letter a disappears in a particular font.

 This doesn't happen with other fonts and the missing letter comes back if I
 remove \setupalign [hanging,hz].

 If this is a bug that you would like to investigate, I would be happy to
 send the font privately.

 Michael

 This is LuaTeX, Version beta-0.46.0-2009112820

 ConTeXt  ver: 2009.12.15 23:38 MKIV  fmt: 2009.12.16  int: english/english



 ___
 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] ZapfinoPro triggers LuaTeX error w ith umlauts (äüö)

2009-12-04 Thread Lutz Haseloff
Hi all,

I had the same error until I loaded the otf into fontforge and then saved again 
as otf.

Greetings Lutz


-Original Message-
From: Bernhard Rosensteiner brosenstei...@gmail.com
Date: Fri, 4 Dec 2009 17:23:59 
To: mailing list for ConTeXt usersntg-context@ntg.nl
Subject: Re: [NTG-context]
 ZapfinoPro triggers LuaTeX error wit
 h umlauts (äüö)

___
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
___


  1   2   >