[NTG-context] xtable cell centering?

2012-05-17 Thread Meer, H. van der
Sorry for the previous post, but accidentely the mail flew away far too soon!


Hans van der Meer


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] xtable question backgroundcolor

2012-05-17 Thread Meer, H. van der
I have the following xmlsetup for a table and tablecell in xtable (plus other 
appropiate definitions):
\startxmlsetups xmlcommon:table
\startembeddedxtable[background=color,backgroundcolor=\xmlatt{#1}{bgcolor}]
..
\startxmlsetups xmlcommon:td
\startxcell[backgroundcolor=\xmlatt{#1}{bgcolor},]
..
\stopxmlsetups

and the following table:
table bgcolor=orange
 tr
  td
One
  /td
td width=8cm
Two
  /td
 /tr
 tr
td bgcolor=yellow
  bThree/b
/td
td width=8cm
  Four
/td
 /tr
/table

Then without the yellow on the cell the whole table colors its background 
orange. But with it only the given cell has yellow background, the others lose 
their orange.
Is this as should be? Or is something wrong?

Hans van der Meer


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] xtable question

2012-05-17 Thread Meer, H. van der
I have the following xmlsetup for a tablecell in xtable (plus other appropiate 
definitions):
\startxmlsetups xmlcommon:td
\startxcell[\doifnot{\xmlatt{#1}{width}}{\empty}{width={\xmlatt{#1}{width}}},]
  \xmlflush{#1}
\stopxcell
\stopxmlsetups

and the following table:
table
  tr
  td
One
  /td
td width=8cm
Two
  /td
  /tr
  tr
td
  bThree/b
/td
td width=8cm
  Four
/td
  /tr
/table

Why isn't the width setting on the cells not honoured and is the following 
message appearing in the log:
check   missing or ungrouped '=' after '\doifnot {8cm}{}{width={8cm}}'

Also I tried \expanded{startxcell..} but it made no difference.
Neither does width={\xmlatt{#1}{width}} because the a broad setting results 
instead of a cell 8cm wide.

How can I then accomplish the following parameter scheme?
on td width=dimension the \startcellx[ takes width=dimension,
on td the \startcellx does not take a width-paarameter.

Hans van der Meer



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] xtable spaceinbetweent?

2012-05-17 Thread Meer, H. van der
\startxtable[spaceinbetween=0cm]
  \startxrow
\startxcell one \stopxcell
\startxcell two \stopxcell
  \stopxrow
  \startxrow
\startxcell alpha \stopxcell
\startxcell beta  \stopxcell
  \stopxrow
\stopxtable

I cannot follow the behaviour of spaceinbetween.
When absent the rows are put neatly against each other.
But with spaceinbetween=0cm there is a gap, that does not seem to change with 
either changing the dimension or replacing it by small, medium, big, or even 
none.
Could there be an error in the code for xtables?

Hans van der Meer


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] full page images on fixed pages

2012-05-17 Thread Henning Hraban Ramm
In my current book project, I need to set images on fixed pages  
(because only a few pages get printed in color), and full-page, i.e.  
bleeding 3mm.


What’s the best way to achieve each?

The only way for full-page images that I know of, is via layer/ 
background, but I find it difficult to activate and deactivate that at  
the right pages.



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


Re: [NTG-context] setup table of contents

2012-05-17 Thread Henning Hraban Ramm


Am 2012-05-16 um 22:41 schrieb Henning Hraban Ramm:


Hi again,

seems like it’s impossible to setup the level for combined lists  
anymore. (MkIV, latest beta).


While \placelist[part,chapter] works, I didn’t find a way to  
\setupcombinedlist[content] just down to chapter level, not deeper.
The level key is gone in MkIV, and part,chapter in the setup  
command don’t do anything.


Sorry, I found I need to
\definecombinedlist[content][part,chapter]
That works.


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


Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 Dear ConTeXt users,

 TeX Live 2012 is going to be released soon. After the first successful
 year of ConTeXt in TeX Live, it would be great to get enough testers
 before the release (to make sure that it works flawlessly) and to get
 rid of as many bugs as possible.

Should the ConteXt-related problems be reported here?

If so:

I have a failing minimal example with the today's pretest (and works
perfectly with the latest minimals).

I'm available for testing.

Best regards

Else:

Sorry for the noise.


% cut here

\setupinteraction[state=start,color=black,contrastcolor=black,style=bold]

\starttext 

\placecontent

\chapter{hello}
\stoptext

%% stop

Log:

context --version

mtx-context | ConTeXt Process Management 0.52
mtx-context |
mtx-context | main context file: 
/media/data/melmoth/progetti/texlive-2012/texmf-dist/tex/context/base/context.mkiv
mtx-context | current version: 2012.05.14 16:00
[21:00] melmoth@universe:/tmp$ context ciao.tex 

mtx-context | run 1: luatex 
--fmt=/media/data/melmoth/progetti/texlive-2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
 
--lua=/media/data/melmoth/progetti/texlive-2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui
 --backend=pdf ./ciao.tex \stoptext
This is LuaTeX, Version beta-0.70.1-2012051323 (TeX Live 2012)
 \write18 enabled.
(ciao.tex

ConTeXt  ver: 2012.05.14 16:00 MKIV  fmt: 2012.5.16  int: english/english

system   cont-new.mkiv loaded
(/media/data/melmoth/progetti/texlive-2012/texmf-dist/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   ciao.top loaded
(ciao.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
{/media/data/melmoth/progetti/texlive-2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/media/data/melmoth/progetti/texlive-2012/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/media/data/melmoth/progetti/texlive-2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
structuresectioning  chapter @ level 2 : 0.1 - hello
backend  xmp  using file 
'/media/data/melmoth/progetti/texlive-2012/texmf-dist/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
 
)/media/data/melmoth/progetti/texlive-2012/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.otf/media/data/melmoth/progetti/texlive-2012/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf
mkiv lua stats   used config file  - 
selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats   used cache path   - 
/media/data/melmoth/progetti/texlive-2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606
mkiv lua stats   resource resolver - loadtime 0.142 seconds, 0 scans 
with scantime 0.000 seconds, 0 shared scans, 46 found files, scanned paths: 
mkiv lua stats   stored bytecode data  - 303 modules, 65 tables, 368 chunks
mkiv lua stats   cleaned up reserved nodes - 39 nodes, 9 lists of 438
mkiv lua stats   node memory usage - 2 glue, 2 penalty, 12 attribute, 
28 glue_spec, 3 attribute_list
mkiv lua stats   node list callback tasks  - 6 unique task lists, 5 instances 
(re)created, 151 calls
mkiv lua stats   used backend  - pdf (backend for directly 
generating pdf output)
mkiv lua stats   loaded patterns   - en::2
mkiv lua stats   jobdata time  - 0.001 seconds saving, 0.000 
seconds loading
mkiv lua stats   callbacks - 279 direct, 567 indirect, 846 
total
mkiv lua stats   lxml preparation time - 0.000 seconds, 0 nodes, 11 lpath 
calls, 0 cached calls
mkiv lua stats   interactive elements  - 0 references, 1 destinations
mkiv lua stats   result saved in file  - ciao.pdf
mkiv lua stats   loaded fonts  - 34 files: stmary10.afm 
lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf 
lmroman10-regular.otf lmroman12-bold.otf lmroman12-regular.otf 
lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf 
lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm 
eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm 
lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm 
lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats   fonts load time   - 0.378 seconds 
mkiv lua stats   luatex banner - this is luatex, version 
beta-0.70.1-2012051323 (tex live 2012)
mkiv lua stats   control sequences - 33576 of 65536 + 10
mkiv lua stats   current memory usage  - 39 MB (ctx: 39 

[NTG-context] Adjust the tracking

2012-05-17 Thread Marco
Hi everybody,

how does one adjust the tracking of a font? The command
\definecharacterkerning does almost what I need. However, it breaks
the ligatures.

\definecharacterkerning [track] [factor=.01]
\starttext
\showboxes
\switchtobodyfont [72pt]
final suffocating flange

% all ligatures lost
\setcharacterkerning [track]
final suffocating flange
\stoptext


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] xtable cellcentering?

2012-05-17 Thread Meer, H. van der
Why does this one centers the contents in the cells?

\startxtable[offset=1cm]% By the way: coloring does nothing here. why?
  \startxrow
\startxcell one \stopxcell
\startxcell two \stopxcell
  \stopxrow
  \startxrow
\startxcell[foregroundcolor=blue] alpha \stopxcell
\startxcell beta  \stopxcell
  \stopxrow
\stopxtable

But the other example:
table
  tr
  td
One
  /td
td
Two
  /td
  /tr
  tr
td
  bThree/b
/td
td
  Four
/td
  /tr
/table

with


Hans van der Meer



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] tables

2012-05-17 Thread Meer, H. van der
I started using starttable..\stoptable.

Question: How can I force the table cells to fixed dimensions, for example 
squares of 1cmx1cm?

I can see \setuptables[height= width= depth=] but that does not take dimensions 
(error Illegal unit). What it does with the numbers given is not clear to me, 
because the ConTeXtGarden has no explanation of its effect.

By the way, the page Command/setuptables has the bodyfont parameter occurring 
twice in the table.

Hans van der Meer

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problem calling system

2012-05-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... Finally, I use the following to avoid ' in arguments and to keep  to 
os.execute():


\bgroup
  \catcode`\%=11
  \ctxlua{os.execute(([[echo lua -e print 'EXECUTE']]):gsub('(.-)', 
[[%1]]))}
\egroup

% Or:

\startluacode
  os.execute(([[echo lua -e print 'EXECUTE']]):gsub('(.-)', [[%1]]))
\stopluacode

\starttext
  A
\stoptext


None of both solutions are pure as I'd imagine but they seem to work.

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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] [OT] An idea to promote context

2012-05-17 Thread luigi scarso
http://video.repubblica.it/divertimento/un-pulsante-rosso-in-mezzo-alla-citta-scatenate-il-dramma/92479/90873

Warning: keep the volume low.


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \setupbodyfont restricted to pt as unit

2012-05-17 Thread Marco
Hi!

Is it by design, that \setupbodyfont only accepts “pt” as unit?

%\setupbodyfont [18pt]   % pt works
\setupbodyfont [18bp]% bp fails
\definefont [testbp] [Serif at 18bp] % bp works
\setupinterlinespace [line=24bp] % bp works

\starttext
Foo\testbp Bar
\stoptext

Not that I see any difference between “pt” and “bp” with these small
sizes, but usually all commands accepting a length unit can be fed
with all TeX units.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] imposition 2UP = empty pages

2012-05-17 Thread Henning Hraban Ramm

Am 2012-04-23 um 20:10 schrieb Henning Hraban Ramm:


Am 2012-04-20 um 17:58 schrieb Henning Hraban Ramm:


Hi there,

like in January (see mail by Mari), the latest beta produces only  
empty pages with 2UP imposition schema; others work (tested 2SIDE  
and 2DOWN).


e.g.

\setuppapersize [A5][A4,landscape]
\setuppagenumbering [alternative=doublesided,location=footer]
\setuplayout [margin=0pt,width=fit]
\setupbackgrounds [text][text] 
[background=screen,backgroundscreen=0.7]

\setupcolors [state=start]
\setuplayout [location=middle,marking=on]
\setuparranging [2UP] %[2*2*4,doublesided]

\startbuffer[Fakepage]
\strut
\blank[force]
\midaligned{2UP}
\vfill
\midaligned{This is page \recurselevel}
\vfill
\stopbuffer

\setupheadertexts[\CONTEXT]

\starttext

\dorecurse{16}{\getbuffer[Fakepage]\page}

\stoptext





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



PING
Any news on that? Today's beta still is buggy.
Unfortunately I need 2UP imposition urgently.


Greetlings, Hraban


PING
still the same with latest beta.

Additionally: Is it possible to define a distance between imposed pages?
If I have bleeding images, they bleed into other pages.

Greetlings, 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] setup table of contents

2012-05-17 Thread Henning Hraban Ramm

Hi again,

seems like it’s impossible to setup the level for combined lists  
anymore. (MkIV, latest beta).


While \placelist[part,chapter] works, I didn’t find a way to  
\setupcombinedlist[content] just down to chapter level, not deeper.
The level key is gone in MkIV, and part,chapter in the setup  
command don’t do anything.



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


Re: [NTG-context] Luatex crash on \endinput \end

2012-05-17 Thread Aditya Mahajan

On Wed, 16 May 2012, luigi scarso wrote:


On Wed, May 16, 2012 at 6:12 PM, Aditya Mahajan adit...@umich.edu wrote:

Hi,

The following causes luatex to crash (it is harmless, but still...)

echo '\\endinput \\end' | context --pipe

gives:

*** glibc detected *** luatex: double free or corruption (fasttop):
0x0aef00e8 ***
=== Backtrace: =
/lib/libc.so.6(+0x725f2)[0xb75f05f2]
luatex(luacstring_close+0x7b)[0x810153b]
luatex(end_file_reading+0xd8)[0x80b0858]
luatex[0x80d88e7]
luatex[0x80d75d4]
luatex(get_next+0x5d)[0x80d8cfd]
luatex(get_x_token+0x15)[0x80acc35]
luatex(main_control+0x48)[0x80b4328]
luatex(main_body+0x21d)[0x80b1ebd]
luatex(main+0x20)[0x8090d40]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb7597483]
=== Memory map: 
08048000-08464000 r-xp  08:03 810362
/opt/context-minimals/texmf-linux/bin/luatex
08464000-084d2000 rw-p 0041c000 08:03 810362
/opt/context-minimals/texmf-linux/bin/luatex
084d2000-0878d000 rw-p  00:00 0
09838000-0af96000 rw-p  00:00 0          [heap]
b5554000-b5ae4000 rw-p  00:00 0
b5b46000-b5c27000 rw-p  00:00 0
b5e45000-b6006000 rw-p  00:00 0
b60a4000-b60c r-xp  08:03 1006974    /usr/lib/libgcc_s.so.1
b60c-b60c1000 rw-p 0001b000 08:03 1006974    /usr/lib/libgcc_s.so.1
b60e7000-b72de000 rw-p  00:00 0
b72df000-b73b7000 rw-p  00:00 0
b73b7000-b757c000 r--p  08:03 1856687 /usr/lib/locale/locale-archive
b757c000-b757e000 rw-p  00:00 0
b757e000-b7719000 r-xp  08:03 1479914    /lib/libc-2.15.so
b7719000-b771b000 r--p 0019b000 08:03 1479914    /lib/libc-2.15.so
b771b000-b771c000 rw-p 0019d000 08:03 1479914    /lib/libc-2.15.so
b771c000-b771f000 rw-p  00:00 0
b771f000-b7749000 r-xp  08:03 1479882    /lib/libm-2.15.so
b7749000-b774a000 r--p 00029000 08:03 1479882    /lib/libm-2.15.so
b774a000-b774b000 rw-p 0002a000 08:03 1479882    /lib/libm-2.15.so
b774b000-b774e000 r-xp  08:03 1479881    /lib/libdl-2.15.so
b774e000-b774f000 r--p 2000 08:03 1479881    /lib/libdl-2.15.so
b774f000-b775 rw-p 3000 08:03 1479881    /lib/libdl-2.15.so
b7773000-b000 rw-p  00:00 0
b000-b7778000 r-xp  00:00 0          [vdso]
b7778000-b7798000 r-xp  08:03 1479958    /lib/ld-2.15.so
b7798000-b7799000 r--p 0001f000 08:03 1479958    /lib/ld-2.15.so
b7799000-b779a000 rw-p 0002 08:03 1479958    /lib/ld-2.15.so
bfeeb000-bff0d000 rw-p  00:00 0          [stack]

Aditya



# echo '\\endinput \\end' | context --pipe

mtx-context | entering scrollmode, end job with \endThis is
LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
\write18 enabled.

ConTeXt  ver: 2012.05.08 23:00 MKIV  fmt: 2012.5.9  int: english/english

system   cont-new.mkiv loaded
(/opt/luatex/standalone-bassenge/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   no texput.top
fontslatin modern fonts are not preloaded
languageslanguage en is active

*
*
! Emergency stop.

system   tex  error on line 0 in file : Emergency stop ...

empty file

* \\endinput \\end

!  == Fatal error occurred, no output PDF file produced!
system  | total runtime: 1.127
root@luigicasa-laptop:/opt/luatex/standalone-bassenge/tex/texmf-project/math#
luatex -version
This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)

ubuntu 10.04 lts 32bit


Hmm... I am using (I also tested on  2012.04.26 22:27 MKIV)

mtx-context | entering scrollmode, end job with \endThis is LuaTeX, 
Version beta-0.70.1-2011051923 (rev 4277)

 \write18 enabled.

ConTeXt  ver: 2012.05.14 16:00 MKIV  fmt: 2012.5.16  int: english/english

on arch linux 32bit:

$ uname -a
Linux ... 3.3.3-1-ARCH #1 SMP PREEMPT Mon Apr 23 09:33:32 UTC 
2012 i686 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] itemze: alignment breaks spacing

2012-05-17 Thread Henning Hraban Ramm

Hi ho,
as soon as I use the align key on an itemization, the effect of  
packed, joinedup is void.



\starttext

\input tufte

\startitemize[packed,joinedup] %,align=right]
\item bla
\item fasel
\item foo
\item bar
\stopitemize

\input tufte

\stoptext




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


Re: [NTG-context] full page images on fixed pages

2012-05-17 Thread Philipp Gesang
Hi Henning,

On 2012-05-16 22:30, Henning Hraban Ramm wrote:
 In my current book project, I need to set images on fixed pages
 (because only a few pages get printed in color),

I assume with “fixed pages” you mean “always on the page with a
certain number”. This, at least, might be solved with the
postponing mechanism:


\starttext

\startpostponing [3]
  \startstandardmakeup
\externalfigure [cow] [width=\hsize]
  \stopstandardmakeup
\stoppostponing

\dorecurse{42}{\input knuth \par}

\stoptext


Not sure about your full page problem, though.

Philipp

  and full-page, i.e.
 bleeding 3mm.
 
 What’s the best way to achieve each?
 
 The only way for full-page images that I know of, is via layer/
 background, but I find it difficult to activate and deactivate that
 at the right pages.
 
 
 Greetlings, 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
 ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpySDZti95xU.pgp
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Adjust the tracking

2012-05-17 Thread Hans Hagen

On 16-5-2012 20:52, Marco wrote:

Hi everybody,

how does one adjust the tracking of a font? The command
\definecharacterkerning does almost what I need. However, it breaks
the ligatures.


sure, because as soon as one starts adding extra space between 
characters ligatures make no sense any longer


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] \setupbodyfont restricted to pt as unit

2012-05-17 Thread Wolfgang Schuster

Am 16.05.2012 um 21:24 schrieb Marco:

 Hi!
 
 Is it by design, that \setupbodyfont only accepts “pt” as unit?
 
 %\setupbodyfont [18pt]   % pt works
 \setupbodyfont [18bp]% bp fails
 \definefont [testbp] [Serif at 18bp] % bp works
 \setupinterlinespace [line=24bp] % bp works
 
 \starttext
   Foo\testbp Bar
 \stoptext
 
 Not that I see any difference between “pt” and “bp” with these small
 sizes, but usually all commands accepting a length unit can be fed
 with all TeX units.

Add \definebodyfontenvironment[18bp] to your document.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Hans Hagen

On 16-5-2012 21:02, Marco Pessotto wrote:


mtx-context | fatal error: no return code, message: luatex: execution 
interrupted[21:00]


looks like a crashing luatex


-
  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] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes:

 On 16-5-2012 21:02, Marco Pessotto wrote:

 mtx-context | fatal error: no return code, message: luatex: execution
 interrupted[21:00]

 looks like a crashing luatex

I forgot to report the architecture and the platform, which is Gnu/Linux
i386, Debian stable.

If you send me instructions how to give you a backtrace, I'll be glad to
do it.


-- 
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Adjust the tracking

2012-05-17 Thread Marco
On 2012-05-17 Hans Hagen pra...@wxs.nl wrote:

  how does one adjust the tracking of a font? The command
  \definecharacterkerning does almost what I need. However, it breaks
  the ligatures.
 
 sure, because as soon as one starts adding extra space between 
 characters ligatures make no sense any longer

It depends on the amount of space. If the added space is small it
might not justify breaking the ligatures. If it exceeds some
threshold, then I totally agree with you.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Luatex crash on \endinput \end

2012-05-17 Thread luigi scarso
On Thu, May 17, 2012 at 1:06 AM, Aditya Mahajan adit...@umich.edu wrote:

 Hmm... I am using (I also tested on  2012.04.26 22:27 MKIV)


 mtx-context     | entering scrollmode, end job with \endThis is LuaTeX,
 Version beta-0.70.1-2011051923 (rev 4277)
  \write18 enabled.

 ConTeXt  ver: 2012.05.14 16:00 MKIV  fmt: 2012.5.16  int: english/english

 on arch linux 32bit:

 $ uname -a
 Linux ... 3.3.3-1-ARCH #1 SMP PREEMPT Mon Apr 23 09:33:32 UTC 2012 i686
 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux


# echo '\\endinput \\end' | context --pipe

mtx-context | entering scrollmode, end job with \endThis is
LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
 \write18 enabled.

ConTeXt  ver: 2012.05.14 16:00 MKIV  fmt: 2012.5.17  int: english/english

system   cont-new.mkiv loaded
(/opt/luatex/standalone-bassenge/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   no texput.top
fontslatin modern fonts are not preloaded
languageslanguage en is active

*
*
! Emergency stop.

system   tex  error on line 0 in file : Emergency stop ...

empty file

* \\endinput \\end

!  == Fatal error occurred, no output PDF file produced!
system  | total runtime: 0.670

Linux...2.6.32-41-generic-pae #89-Ubuntu SMP Fri Apr 27 23:59:24 UTC
2012 i686 GNU/Linux


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Mojca Miklavec
On Thu, May 17, 2012 at 2:00 PM, Hans Hagen wrote:
 On 16-5-2012 21:02, Marco Pessotto wrote:

 mtx-context     | fatal error: no return code, message: luatex: execution
 interrupted[21:00]


 looks like a crashing luatex

The weird part is that it works the first time and only the second run
crashes. (I'm not able to reproduce it on mac.)

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Local modules not found

2012-05-17 Thread Rogers, Michael K
Hi,

I upgraded to the latest beta from the 2011 stable version for the first time.  
Now my local modules are not found.  Having searched the wiki and the mailing 
list, I can find no help.  Any ideas?

Error messages:

\usemodule[homework-fmt] --
resolversmodules  not found: 'homework-fmt'

\input homework-fmt --
! I can't find file `homework-fmt'.

Here is a snippet from context --generate  that might indicate the problem 
(/Users/mike/Library/texmf contains my tex modules :

resolvers   | methods | resolver: method=generators, how=uri, scheme=file, 
argument=/Users/mike/Library/texmf
resolvers   | expansions | scanning path '/Users/mike/Library/texmf', 
branch '/Users/mike/Library/texmf'
resolvers   | expansions | 266 files found on 20 directories with 58 
uppercase remappings
resolvers   | resolving |
resolvers   | resolving | not saving runtime tree 
'/Users/mike/Library/texmf'

Thanks!

Michael

[Background: I started learning ConTeXt last winter using the 2011 TeXLive 
version and TeXShop (I've a Mac).  Now the semester is over, I'm trying to 
update to a more recent ConTeXt.  First I got TeXLive 2012 pre-release, but 
TeXShop still used last year's ConTeXt.  So I followed the wiki instructions 
for getting the latest beta.  Eventually I found a directory name was different 
and now TeXShop uses the latest beta.  The latest beta is in a separate 
directory tree from TeXLive, which I set up 6 months ago or so from 
instructions on the wiki for running Mark IV.]



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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] Local modules not found

2012-05-17 Thread Marco Pessotto
Rogers, Michael K mrog...@emory.edu writes:

 Hi,

 I upgraded to the latest beta from the 2011 stable version for the
 first time.  Now my local modules are not found.  Having searched the
 wiki and the mailing list, I can find no help.  Any ideas?

Try to put the modules in
/path/where/the/new/context/lives/tex/texmf-local

Or even in the current directory or in the parent (..)

-- 
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Luatex crash on \endinput \end

2012-05-17 Thread Taco Hoekwater

On 05/17/2012 02:24 PM, luigi scarso wrote:


# echo '\\endinput \\end' | context --pipe

mtx-context | entering scrollmode, end job with \endThis is
LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
  \write18 enabled.


I get the same results as luigi, except:

  This is LuaTeX, Version beta-0.71.0-2012051009 (rev 4415)
  ConTeXt  ver: 2012.04.26 22:27 MKIV


Linux...2.6.32-41-generic-pae #89-Ubuntu SMP Fri Apr 27 23:59:24 UTC
2012 i686 GNU/Linux


Linux boobuntu 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 
2012 x86_64 GNU/Linux


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] Local modules not found

2012-05-17 Thread Rogers, Michael K
On May 17, 2012, at 9:09 AM, Marco Pessotto wrote:
 Rogers, Michael K mrog...@emory.edu writes:

 Hi,

 I upgraded to the latest beta from the 2011 stable version for the
 first time.  Now my local modules are not found.  Having searched the
 wiki and the mailing list, I can find no help.  Any ideas?

 Try to put the modules in
 /path/where/the/new/context/lives/tex/texmf-local

 Or even in the current directory or in the parent (..)

Thanks.  Part of the problem was that PATH was not set correctly everywhere, 
and context is the name of both the TeXLive and standalone versions.  Your hint 
did help, because in trying to make it work, I figured out where the problem 
was.



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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] Testing TeX Live 2012

2012-05-17 Thread Mojca Miklavec
On Thu, May 17, 2012 at 2:37 PM, Marco Pessotto wrote:
 Hans Hagen pra...@wxs.nl writes:

 On 16-5-2012 21:02, Marco Pessotto wrote:

 mtx-context | fatal error: no return code, message: luatex: execution
 interrupted[21:00]

 looks like a crashing luatex

 I forgot to report the architecture and the platform, which is Gnu/Linux
 i386, Debian stable.

 If you send me instructions how to give you a backtrace, I'll be glad to
 do it.

gdb luatex
r 
--fmt=/media/data/melmoth/progetti/texlive-2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
--lua=/media/data/melmoth/progetti/texlive-2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui
--backend=pdf ./ciao.tex

(But that luatex is probably stripped.)

Is the problem reproducible if you copy Luatex from TeX Live to
ConTeXt distribution? Since the version of ConTeXt is exactly the
same.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Luatex crash on \endinput \end

2012-05-17 Thread Aditya Mahajan

On Thu, 17 May 2012, Taco Hoekwater wrote:


On 05/17/2012 02:24 PM, luigi scarso wrote:


# echo '\\endinput \\end' | context --pipe

mtx-context | entering scrollmode, end job with \endThis is
LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
  \write18 enabled.


I get the same results as luigi, except:

 This is LuaTeX, Version beta-0.71.0-2012051009 (rev 4415)
 ConTeXt  ver: 2012.04.26 22:27 MKIV


Linux...2.6.32-41-generic-pae #89-Ubuntu SMP Fri Apr 27 23:59:24 UTC
2012 i686 GNU/Linux


Linux boobuntu 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 
x86_64 GNU/Linux


I tested on another machine

Linux  3.2.7-1-ARCH #1 SMP PREEMPT Tue Feb 21 16:59:04 UTC 2012 
i686 Intel(R) Atom(TM) CPU N450 @ 1.66GHz GenuineIntel GNU/Linux


with the same crash. Can someone else using context minimals with 
archlinux check if they get a crash or not?


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 On Thu, May 17, 2012 at 2:37 PM, Marco Pessotto wrote:
 Hans Hagen pra...@wxs.nl writes:

 On 16-5-2012 21:02, Marco Pessotto wrote:

 mtx-context | fatal error: no return code, message: luatex: execution
 interrupted[21:00]

 looks like a crashing luatex

 I forgot to report the architecture and the platform, which is Gnu/Linux
 i386, Debian stable.

 If you send me instructions how to give you a backtrace, I'll be glad to
 do it.

 gdb luatex
 r 
 --fmt=/media/data/melmoth/progetti/texlive-2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
 --lua=/media/data/melmoth/progetti/texlive-2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui
 --backend=pdf ./ciao.tex

 (But that luatex is probably stripped.)

Indeed it is.

[17:32] melmoth@universe:~/progetti/debug$ gdb luatex
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as i486-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from 
/media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex...(no debugging 
symbols found)...done.
(gdb) run 
--fmt=/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
 
--lua=/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui
 --backend=pdf ./ciao.tex
Starting program: 
/media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex 
--fmt=/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
 
--lua=/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui
 --backend=pdf ./ciao.tex
This is LuaTeX, Version beta-0.70.1-2012051323 (TeX Live 2012)
 \write18 enabled.
(ciao.tex

ConTeXt  ver: 2012.05.14 16:00 MKIV  fmt: 2012.5.17  int: english/english

system   cont-new.mkiv loaded
(/media/data/melmoth/progetti/texlive2012/texmf-dist/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   ciao.top loaded
(ciao.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
{/media/data/melmoth/progetti/texlive2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/media/data/melmoth/progetti/texlive2012/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/media/data/melmoth/progetti/texlive2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
backend  xmp  using file 
'/media/data/melmoth/progetti/texlive2012/texmf-dist/tex/context/base/lpdf-pdx.xml'

Program received signal SIGSEGV, Segmentation fault.
0x08132e87 in ?? ()
(gdb) bt
#0  0x08132e87 in ?? ()
#1  0x0826d4dd in ?? ()
#2  0x0826d700 in ?? ()
#3  0x0827b935 in ?? ()
#4  0x0827bac2 in ?? ()
#5  0x0827c684 in ?? ()
#6  0x0826d751 in ?? ()
#7  0x08266921 in ?? ()
#8  0x0826ccf0 in ?? ()
#9  0x0826da18 in ?? ()
#10 0x0826698a in lua_pcall ()
#11 0x080d173f in ?? ()
#12 0x080d188b in late_lua ()
#13 0x0817434e in out_what ()
#14 0x08174f2e in hlist_out ()
#15 0x03c4 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) quit
A debugging session is active.

Inferior 1 [process 12490] will be killed.

Quit anyway? (y or n) y

 Is the problem reproducible if you copy Luatex from TeX Live to
 ConTeXt distribution? Since the version of ConTeXt is exactly the
 same.

Same outcome:

 cp /media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex  `which 
luatex`

[17:38] melmoth@universe:~/progetti/debug$ which luatex
/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-linux/bin/luatex
[17:38] melmoth@universe:~/progetti/debug$ cp 
/media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex  `which luatex` 
[17:38] melmoth@universe:~/progetti/debug$ which context
/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-linux/bin/context
[17:38] melmoth@universe:~/progetti/debug$ context ciao.tex 

[here lot of output from expired cache]

mtx-context | run 1: luatex 
--fmt=/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
 

[NTG-context] thinrules

2012-05-17 Thread Meer, H. van der
Macro \thinrules places vertical whitespace before the first of its lines. I 
would like to get rid of that one, but have no success in doint that.
Usage is: \par\thinrules[..]\par

Howto?

H van der Meer



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] thinrules

2012-05-17 Thread Wolfgang Schuster

Am 17.05.2012 um 17:46 schrieb Meer, H. van der:

 Macro \thinrules places vertical whitespace before the first of its lines. I 
 would like to get rid of that one, but have no success in doint that.
 Usage is: \par\thinrules[..]\par
 
 Howto?

\starttext

a
\hrule
b

\strut a
\hrule
\strut b

\stoptext

Wolfgang

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread luigi scarso
same problem here with latest tl2012-pretest

# context test

mtx-context | run 1: luatex
--fmt=/media/LaCie/opt/luatex/texlive/2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
--lua=/media/LaCie/opt/luatex/texlive/2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui
--backend=pdf ./test \stoptext
This is LuaTeX, Version beta-0.70.1-2012051323 (TeX Live 2012)
 \write18 enabled.
(test.tex

ConTeXt  ver: 2012.05.14 16:00 MKIV  fmt: 2012.5.17  int: english/english

system   cont-new.mkiv loaded
(/media/LaCie/opt/luatex/texlive/2012/texmf-dist/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   test.top loaded
(test.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
{/media/LaCie/opt/luatex/texlive/2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/media/LaCie/opt/luatex/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/media/LaCie/opt/luatex/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
backend  xmp  using file
'/media/LaCie/opt/luatex/texlive/2012/texmf-dist/tex/context/base/lpdf-pdx.xml'

mtx-context | fatal error: no return code, message: luatex:
execution 
interruptedroot@luigicasa-laptop:/media/LaCie/opt/luatex/texlive/texmf-local/tex/context/local#

Linux  2.6.32-41-generic-pae #89-Ubuntu SMP Fri Apr 27 23:59:24
UTC 2012 i686 GNU/Linux
ubuntu 10.04 lts 32bit
-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Local modules not found

2012-05-17 Thread Mojca Miklavec
On Thu, May 17, 2012 at 3:05 PM, Rogers, Michael K wrote:

 First I got TeXLive 2012 pre-release, but TeXShop still used last year's 
ConTeXt.

If you update TeX Live pre-release now, you'll get the latest ConTeXt.
(If you installed MacTeX, you might need to edit
/usr/local/texlive/2012/release-texlive.txt and then update.)

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 (But that luatex is probably stripped.)

So the next question is: how can I build luatex from those sources with
the debug symbols?


-- 
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread luigi scarso
On Thu, May 17, 2012 at 6:25 PM, Marco Pessotto melmo...@gmail.com wrote:
 Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 (But that luatex is probably stripped.)

 So the next question is: how can I build luatex from those sources with
 the debug symbols?
Try
build.sh --nostrip



BTW last revision is ok

# context test.tex

mtx-context | run 1: luatex
--fmt=/media/LaCie/opt/luatex/texlive/2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
--lua=/media/LaCie/opt/luatex/texlive/2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui
--backend=pdf ./test.tex \stoptext
This is LuaTeX, Version beta-0.71.0-2012051718 (rev 4418)
 \write18 enabled.
(test.tex

ConTeXt  ver: 2012.05.14 16:00 MKIV  fmt: 2012.5.17  int: english/english

system   cont-new.mkiv loaded
(/media/LaCie/opt/luatex/texlive/2012/texmf-dist/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   test.top loaded
(test.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
{/media/LaCie/opt/luatex/texlive/2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/media/LaCie/opt/luatex/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/media/LaCie/opt/luatex/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
backend  xmp  using file
'/media/LaCie/opt/luatex/texlive/2012/texmf-dist/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
structuresectioning  chapter @ level 2 : 0.1 - hello
pagesflushing realpage 2, userpage 2
 
)/media/LaCie/opt/luatex/texlive/2012/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.otf/media/LaCie/opt/luatex/texlive/2012/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf
mkiv lua stats   used config file  -
selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats   used cache path   -
/media/LaCie/opt/luatex/texlive/2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606
mkiv lua stats   resource resolver - loadtime 0.140 seconds,
0 scans with scantime 0.000 seconds, 0 shared scans, 46 found files,
scanned paths:
mkiv lua stats   stored bytecode data  - 303 modules, 65 tables, 368 chunks
mkiv lua stats   cleaned up reserved nodes - 39 nodes, 9 lists of 438
mkiv lua stats   node memory usage - 2 glue, 2 penalty, 12
attribute, 36 glue_spec, 3 attribute_list
mkiv lua stats   node list callback tasks  - 6 unique task lists, 5
instances (re)created, 199 calls
mkiv lua stats   used backend  - pdf (backend for
directly generating pdf output)
mkiv lua stats   loaded patterns   - en::2
mkiv lua stats   jobdata time  - 0.003 seconds saving,
0.001 seconds loading
mkiv lua stats   callbacks - 383 direct, 563
indirect, 946 total
mkiv lua stats   randomizer- resumed with value
0.58385957711556
mkiv lua stats   lxml preparation time - 0.000 seconds, 0 nodes,
15 lpath calls, 0 cached calls
mkiv lua stats   interactive elements  - 1 references, 1 destinations
mkiv lua stats   result saved in file  - test.pdf
mkiv lua stats   loaded fonts  - 34 files: stmary10.afm
lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf
lmroman10-regular.otf lmroman12-bold.otf lmroman12-regular.otf
lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf
lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf
lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm
msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm
lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm
lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats   fonts load time   - 0.567 seconds
mkiv lua stats   pdf annotations   - 1 embedded, 1 unique
mkiv lua stats   luatex banner - this is luatex, version
beta-0.71.0-2012051718 (rev 4418)
mkiv lua stats   control sequences - 33581 of 65536 + 10
mkiv lua stats   current memory usage  - 39 MB (ctx: 39 MB)
mkiv lua stats   runtime   - 1.365 seconds, 1
processed pages, 2 shipped pages, 1.465 pages/second

system  | total runtime: 1.757



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

Re: [NTG-context] thinrules

2012-05-17 Thread Wolfgang Schuster

Am 17.05.2012 um 18:09 schrieb Meer, H. van der:

 Thanks,
 
 From your answer I understand that collapsing the preceding vertical space is 
 impossible with \thinrules.

\thinrule adds \strut at the begin of the rule which results in vertical space 
above and below.

Wolfgang

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto

Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 On Thu, May 17, 2012 at 6:25 PM, Marco Pessotto melmo...@gmail.com wrote:
 The following message is a courtesy copy of an article
 that has been posted to gmane.comp.tex.context as well.

Gmane today hates me...

 Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 (But that luatex is probably stripped.)

 So the next question is: how can I build luatex from those sources with
 the debug symbols?

 Fetch sources from here:

 http://www.tug.org/texlive/build.html

 Just run ./Build --debug, or, if you want to save time, this was the
 command that didn't work for me (I think that I excluded too many
 things):

 ./Build --debug --enable-cxx-runtime-hack \
  --disable-all-pkgs \
 [...]

The ./Build seems to accept only the first argument, because 

./Build --debug --disable-xindy -without-x --disable-xetex \
--disable-xdvipdfmx

is building the whole world.

Anyway, I think I got the backtrace:

Starting program: 
/media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex 
--fmt=/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
 
--lua=/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui
 --backend=pdf ./ciao.tex

Program received signal SIGSEGV, Segmentation fault.
0x08148923 in getpdf (L=0x8916158) at 
../../../texk/web2c/luatexdir/lua/lpdflib.c:615
615 lua_pushnumber(L, static_pdf-posstruct-pos.h);
#0  0x08148923 in getpdf (L=0x8916158) at 
../../../texk/web2c/luatexdir/lua/lpdflib.c:615
#1  0x082d3c75 in luaD_precall (L=0x8916158, func=0xafa362c, nresults=1) at 
../../../texk/web2c/luatexdir/lua51/ldo.c:319
#2  0x082d3eb8 in luaD_call (L=0x8916158, func=0xafa362c, nResults=1) at 
../../../texk/web2c/luatexdir/lua51/ldo.c:376
#3  0x082e43c7 in callTMres (L=0x8916158, res=0xafa3590, f=0x89343e8, 
p1=0xafa3590, p2=0x8f3daf4) at ../../../texk/web2c/luatexdir/lua51/lvm.c:88
#4  0x082e466d in luaV_gettable (L=0x8916158, t=0xafa3590, key=0x8f3daf4, 
val=0xafa3590) at ../../../texk/web2c/luatexdir/lua51/lvm.c:125
#5  0x082e56fc in luaV_execute (L=0x8916158, nexeccalls=2) at 
../../../texk/web2c/luatexdir/lua51/lvm.c:437
#6  0x082d3ecf in luaD_call (L=0x8916158, func=0xafa3548, nResults=0) at 
../../../texk/web2c/luatexdir/lua51/ldo.c:377
#7  0x082cc7ed in f_call (L=0x8916158, ud=0xbfffdc8c) at 
../../../texk/web2c/luatexdir/lua51/lapi.c:795
#8  0x082d310d in luaD_rawrunprotected (L=0x8916158, f=0x82cc7c3 f_call, 
ud=0xbfffdc8c) at ../../../texk/web2c/luatexdir/lua51/ldo.c:116
#9  0x082d4219 in luaD_pcall (L=0x8916158, func=0x82cc7c3 f_call, 
u=0xbfffdc8c, old_top=288, ef=276) at 
../../../texk/web2c/luatexdir/lua51/ldo.c:457
#10 0x082cc887 in lua_pcall (L=0x8916158, nargs=0, nresults=0, errfunc=23) at 
../../../texk/web2c/luatexdir/lua51/lapi.c:816
#11 0x080cd562 in luacall (p=195, nameptr=0, is_string=1) at 
../../../texk/web2c/luatexdir/lua/luastuff.w:397
#12 0x080cd68d in late_lua (pdf=0x89a9278, p=964) at 
../../../texk/web2c/luatexdir/lua/luastuff.w:419
#13 0x0819d769 in out_what (pdf=0x89a9278, p=964) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:270
#14 0x0819e9d0 in hlist_out (pdf=0x89a9278, this_box=2463) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:567
#15 0x0819e1cc in hlist_out (pdf=0x89a9278, this_box=844) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:459
#16 0x0819e1cc in hlist_out (pdf=0x89a9278, this_box=853) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:459
#17 0x0819fcb8 in vlist_out (pdf=0x89a9278, this_box=879) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:911
#18 0x0819e1b8 in hlist_out (pdf=0x89a9278, this_box=2236) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:457
#19 0x0819fcb8 in vlist_out (pdf=0x89a9278, this_box=2245) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:911
#20 0x0819e1b8 in hlist_out (pdf=0x89a9278, this_box=2258) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:457
#21 0x0819e1cc in hlist_out (pdf=0x89a9278, this_box=2267) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:459
#22 0x0819e1cc in hlist_out (pdf=0x89a9278, this_box=2318) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:459
#23 0x0819e1cc in hlist_out (pdf=0x89a9278, this_box=2350) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:459
#24 0x0819fcb8 in vlist_out (pdf=0x89a9278, this_box=2359) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:911
#25 0x0819fca4 in vlist_out (pdf=0x89a9278, this_box=2372) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:909
#26 0x0819e1b8 in hlist_out (pdf=0x89a9278, this_box=2421) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:457
#27 0x0819fcb8 in vlist_out (pdf=0x89a9278, this_box=2430) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:911
#28 0x0819fca4 in vlist_out (pdf=0x89a9278, this_box=2445) at 
../../../texk/web2c/luatexdir/pdf/pdflistout.w:909
#29 0x0819fca4 in vlist_out (pdf=0x89a9278, 

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread luigi scarso
On Thu, May 17, 2012 at 7:01 PM, luigi scarso luigi.sca...@gmail.com wrote:
 On Thu, May 17, 2012 at 6:25 PM, Marco Pessotto melmo...@gmail.com wrote:
 Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 (But that luatex is probably stripped.)

 So the next question is: how can I build luatex from those sources with
 the debug symbols?
 Try
 build.sh --nostrip
Uh, I mean: you need the luatex from svn
It has a build.sh script .
-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Lists and alternative=command

2012-05-17 Thread Rogers, Michael K
I'd love help with this:  I have list that uses alternative=command, and it 
stopped working when I switched from last year's TeXLive context to a recent 
beta.  I've minimized the problem to this example:

\definelist  [MyList]
\define[3]\MyListEntry{:#1:#2:#3:}
\setuplist   [MyList] [alternative=command,command=\MyListEntry]
\starttext
\writetolist[MyList]{First}{Second}
\placelist[MyList]
\stoptext

It generates the following error three times, once per argument in 
\MyListEntry, I suppose.

ConTeXt  ver: 2012.05.14 16:00 MKIV  fmt: 2012.5.16  int: english/english
...
! Argument of \MyListEntry has an extra }.

system   tex  error on line 11 in file foo1789.tex: Argument of  ...

1 \definelist  [MyList]
2 \define[3]\MyListEntry{:#1:#2:#3:}
3 \setuplist   [MyList] [alternative=command,command=\MyListEntry]
4 \starttext
5 \writetolist[MyList]{First}{Second}
6 \placelist[MyList]
7 \stoptext

inserted text
\par
to be read again
   }
\12:79:command ...ernativeparameter \c!command }
  \ifx \p_command \empty [\c...
\strc_lists_apply_renderingsetup ...nderingsetup }
  \relax \the \t_lists_every...
\strclistsentryprocess ... \fi \fi \fi \endcsname
  \dostoptagged \listextrapa...
l.11 {}

...
l.7 \stoptext

Thanks,

Michael



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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] Lists and alternative=command

2012-05-17 Thread Wolfgang Schuster

Am 17.05.2012 um 20:29 schrieb Rogers, Michael K:

 I'd love help with this:  I have list that uses alternative=command, and it 
 stopped working when I switched from last year's TeXLive context to a recent 
 beta.  I've minimized the problem to this example:
 
 \definelist  [MyList]
 \define[3]\MyListEntry{:#1:#2:#3:}

\unexpanded\def\MyListEntry#1#2#3{:#1:#2:#3:}

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lists and alternative=command

2012-05-17 Thread Rogers, Michael K

On May 17, 2012, at 2:34 PM, Wolfgang Schuster wrote:


 Am 17.05.2012 um 20:29 schrieb Rogers, Michael K:

 I'd love help with this:  I have list that uses alternative=command, and it 
 stopped working when I switched from last year's TeXLive context to a recent 
 beta.  I've minimized the problem to this example:

 \definelist  [MyList]
 \define[3]\MyListEntry{:#1:#2:#3:}

 \unexpanded\def\MyListEntry#1#2#3{:#1:#2:#3:}

 Wolfgang

Thank you very much.

Michael



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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] Most portable font name

2012-05-17 Thread Hans Hagen

On 17-5-2012 16:11, Philipp Gesang wrote:


So I judged that my preferred choice might not be as good as I
think. I got cold feet and am about to remove the slide where I
recommend the PS name (I can do that later anyways). Is there --
apart from personal opinions -- some valid reason to prefer one
name over the other *in general*?


For a project that has to run for a long time, I prefer filenames 
(file:). When fonts are stable names can be used too and the name 
resolved will check several names in the font. Spaces are ignored and 
names are lowercases. There's also some fallback name construction going 
on. Anyhow, the biggest problem is with fonts that have the same names 
(but different files). You can get some info when you run


mtxrun --script font --all --list pal

which shows all fonts with pal in the name(s)

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] Most portable font name

2012-05-17 Thread Bill Meahan
It *appears* things like hyphens and underscores are also ignored in 
addition to ignoring spaces. Is that correct?


When I do :

[wwm@Linden]$ mtxrun  --script fonts --list --info --all pattern=MyFont*


 and compare against some existing typescripts I see the filename in 
the typescript is something like:  file:myfontname whereas the 
system filename is /path/to/font/My_Font-Name.otf


ksh93 on FreeBSD 9.0-i386 + texlive 2011

Bill Meahan K8QN

I want to live other lives. I've never quite believed that
one chance is all I get. Writing is my way of making
other chances.
   --  Anne Tyler



On 05/17/2012 18:00, Hans Hagen wrote:


For a project that has to run for a long time, I prefer filenames 
(file:). When fonts are stable names can be used too and the name 
resolved will check several names in the font. Spaces are ignored and 
names are lowercases.



___
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] Most portable font name

2012-05-17 Thread Hans Hagen

On 18-5-2012 00:16, Bill Meahan wrote:

It *appears* things like hyphens and underscores are also ignored in
addition to ignoring spaces. Is that correct?


indeed


typescript is something like: file:myfontname whereas the system
filename is /path/to/font/My_Font-Name.otf


indeed

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] Luatex crash on \endinput \end

2012-05-17 Thread Vladimir Lomov
Hello,
** Aditya Mahajan [2012-05-17 10:30:53 -0400]:

 On Thu, 17 May 2012, Taco Hoekwater wrote:

On 05/17/2012 02:24 PM, luigi scarso wrote:

# echo '\\endinput \\end' | context --pipe

mtx-context | entering scrollmode, end job with \endThis is
LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
  \write18 enabled.

I get the same results as luigi, except:

 This is LuaTeX, Version beta-0.71.0-2012051009 (rev 4415)
 ConTeXt  ver: 2012.04.26 22:27 MKIV

Linux...2.6.32-41-generic-pae #89-Ubuntu SMP Fri Apr 27 23:59:24 UTC
2012 i686 GNU/Linux

Linux boobuntu 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22
UTC 2012 x86_64 GNU/Linux

 I tested on another machine

 Linux  3.2.7-1-ARCH #1 SMP PREEMPT Tue Feb 21 16:59:04 UTC 2012
 i686 Intel(R) Atom(TM) CPU N450 @ 1.66GHz GenuineIntel GNU/Linux

 with the same crash. Can someone else using context minimals with
 archlinux check if they get a crash or not?

Two systems (notebook and desktop) both Archlinux x86_64, Intel
(notebook) and AMD (desktop) processors, context suite (aka context minimals),

notebook: 2012.05.11
$ echo '\\endinput \\end' | context --pipe

mtx-context | entering scrollmode, end job with \endThis is LuaTeX, Version 
beta-0.70.1-2011051918 (rev 4277) 
 \write18 enabled.

ConTeXt  ver: 2012.05.11 13:19 MKIV  fmt: 2012.5.12  int: english/english

system   cont-new.mkiv loaded
(/usr/local/opt/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   no texput.top
fontslatin modern fonts are not preloaded
languageslanguage en is active

*
*
! Emergency stop.

system   tex  error on line 0 in file : Emergency stop ...

empty file

* \\endinput \\end
 
!  == Fatal error occurred, no output PDF file produced!
system  | total runtime: 0.336

desktop: 2012.05.14
$ echo '\\endinput \\end' | context --pipe

mtx-context | entering scrollmode, end job with \endThis is LuaTeX, Version 
beta-0.70.1-2011051918 (rev 4277) 
 \write18 enabled.

ConTeXt  ver: 2012.05.14 16:00 MKIV  fmt: 2012.5.16  int: english/english

system   cont-new.mkiv loaded
(/usr/local/opt/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   no texput.top
fontslatin modern fonts are not preloaded
languageslanguage en is active

*
*
! Emergency stop.

system   tex  error on line 0 in file : Emergency stop ...

empty file

* \\endinput \\end
 
!  == Fatal error occurred, no output PDF file produced!
system  | total runtime: 0.668

And yes,
$ which context
/usr/local/opt/context/tex/texmf-linux-64/bin/context

P.S. For me it is weird that you have iCore7 and uses Archlinux i686.

---
WBR, Vladimir Lomov


-- 
To ordinary folks, conversion is not always automatic.  It's something
that may or may not require explicit assistance.  See Billy Graham.  :-)
 -- Larry Wall in 199710141738.kaa22...@wall.org
___
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
___