[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#580447: marked as done (Regression: LinearShade no longer works)



Your message dated Wed, 30 Mar 2011 16:34:43 +0900
with message-id <20110330073443.GA6189@gamma.logic.tuwien.ac.at>
and subject line Re: Bug#580447: Regression: LinearShade no longer works
has caused the Debian Bug report #580447,
regarding Regression: LinearShade no longer works
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
580447: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580447
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: context
Version: 2009.11.26-2
Severity: normal

Hi!

I use ConTeXt to make my presentations. With the latest upgrade, I am
unable to use linear shades, a concept I borrowed from the ConTeXt
Garden Wiki.

Rather than describe the situation, I attach the sample file I use
(test.tex). test.log is the output when I run it with the latest
ConTeXt, while test_old_context.log is the output when run with
Debian ConTeXt 2008.05.21-1 on a Lenny machine.

The expected output is:
http://people.debian.org/~akumar/dump/test_expected.pdf (made with
Debian ConTeXt 2008.05.21-1)

The output I get with the latest ConTeXt is:
http://people.debian.org/~akumar/dump/test_actual.pdf

I think you can spot the problem here; if I comment out the
\setupbackgrounds line, the outputs look identical.

Please let me know if the error is on my side, and if I need to make
some changes at my end. I believe I've done the "read the changelog"
drill, but I am unable to figure out where the error could me.

Thanks for any advice. I'll be glad to give you further inputs if you
want.

Thanks.

Kumar

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-rc2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages context depends on:
ii  dpkg                          1.15.7.1   Debian package management system
ii  lmodern                       2.004.1-3  scalable PostScript and OpenType f
ii  luatex                        0.60.1-1   next generation TeX engine
ii  ruby                          4.5        An interpreter of object-oriented 
ii  tex-common                    2.07       common infrastructure for building
ii  tex-gyre                      2.004.1-2  scalable PostScript and OpenType f
ii  texlive-base                  2009-8     TeX Live: Essential programs and f
ii  texlive-binaries              2009-5     Binaries for TeX Live
ii  texlive-metapost              2009-8     TeX Live: MetaPost (and Metafont) 

Versions of packages context recommends:
ii  ttf-freefont                  20090104-6 Freefont Serif, Sans and Mono True
pn  ttf-gfs-artemisia             <none>     (no description available)
pn  ttf-gfs-baskerville           <none>     (no description available)
pn  ttf-gfs-bodoni-classic        <none>     (no description available)
pn  ttf-gfs-didot                 <none>     (no description available)
pn  ttf-gfs-didot-classic         <none>     (no description available)
pn  ttf-gfs-gazis                 <none>     (no description available)
pn  ttf-gfs-neohellenic           <none>     (no description available)
pn  ttf-gfs-olga                  <none>     (no description available)
pn  ttf-gfs-porson                <none>     (no description available)
pn  ttf-gfs-solomos               <none>     (no description available)
pn  ttf-gfs-theokritos            <none>     (no description available)
pn  ttf-sil-gentium               <none>     (no description available)

Versions of packages context suggests:
ii  context-doc-nonfree         2009.10.27-1 ConTeXt documentation that is not 
ii  context-nonfree             2007.03.22-1 Non-free items from the ConTeXt di
pn  fontforge                   <none>       (no description available)
ii  libxml-parser-perl          2.36-1.1+b1  Perl module for parsing XML files
pn  perl-tk                     <none>       (no description available)

-- no debconf information

-- 
The child ever dwells in the mystery of ageless time,
unobscured by the dust of history.
- Rabindranath Tagore (Fireflies, 1928)
\setuppapersize[S6][S6]
\setuppagenumbering[state=stop]
\switchtobodyfont[modern,20pt]
\setupcolors[state=start]
\setupbackgrounds[page][background=color,backgroundcolor=darkblue]
\startcolor[white]
\setuptolerance[verytolerant,stretch] 
\definecolor[a][r=0,g=0,b=1]
\definecolor[b][r=0,g=0,b=0.05]

\startuniqueMPgraphic{LinearShade}
path p ;
p := unitsquare xscaled \overlaywidth yscaled \overlayheight ;
linear_shade(p,6,\MPcolor{a},\MPcolor{b}) ;
\stopuniqueMPgraphic

\defineoverlay[shaded][\useMPgraphic{LinearShade}]

\setupbackgrounds[page][background={shaded}]
\starttext

Here's my first presentation in \CONTEXT!

Isn't it amazing?

\stoptext
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=cont-en 2010.5.5)  5 MAY 2010 23:02
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
 (/usr/share/texmf/web2c/natural.tcx)
**test.tex \emergencyend
(./test.tex

ConTeXt  ver: 2009.11.26 16:28 MKII  fmt: 2010.5.5  int: english/english

system          : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/usr/share/texmf/tex/context/base/cont-new.mkii))
system          : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys.rme loaded
(/etc/texmf/tex/context/user/cont-sys.rme
(/usr/share/texmf/tex/context/base/type-tmf.tex
(/usr/share/texmf/tex/context/base/type-tmf.mkii))
(/usr/share/texmf/tex/context/base/type-siz.tex
(/usr/share/texmf/tex/context/base/type-siz.mkii))
(/usr/share/texmf/tex/context/base/type-one.tex
(/usr/share/texmf/tex/context/base/type-one.mkii)))
system          : test.top loaded
(./test.top)
bodyfont        : 12pt rm is loaded
language        : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 us->
ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3 da->ec:ec->6->2:2
 sv->ec:ec->7->2:2 gb->ec:ec->8->2:2 fr->texnansi:texnansi->9->2:2 fr->ec:ec->1
0->2:2 es->ec:ec->11->2:2 ca->ec:ec->12->2:2 it->texnansi:texnansi->13->2:2 it-
>ec:ec->14->2:2 la->ec:ec->15->2:2 pt->texnansi:texnansi->16->2:2 pt->ec:ec->17
->2:2 ro->ec:ec->18->2:2 pl->pl0:pl0->19->2:2 pl->ec:ec->20->2:2 pl->qx:qx->21-
>2:2 cs->il2:il2->22->2:2 cs->ec:ec->23->2:2 sk->il2:il2->24->2:2 sk->ec:ec->25
->2:2 hr->ec:ec->26->2:2 sl->ec:ec->27->2:2 tr->ec:ec->28->2:2 agr->agr:agr->30
->2:2 fi->ec:ec->31->2:2 hu->ec:ec->32->2:2 ru->t2a:t2a->34->2:2 uk->t2a:t2a->3
5->3:3 loaded
specials        : dvips loaded
\openout3 = `test.tui'.

\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.

systems         : system commands are enabled
language        : language en is active
specials        : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.mkii
specials        : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.mkii))
(/usr/share/texmf/tex/context/base/type-pre.tex)
color           : mpcmyk color space is supported
color           : mpspot color space is supported
color           : system rgb is global activated
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
publications    : file test.bbl not found, waiting for bibtex
(./test.tuo)
systems         : begin file test at line 20
fonts           : resetting map file list
{/usr/share/texmf/fonts/map/pdftex/context/original-empty.map}
fonts           : using map file: original-base
{/usr/share/texmf/fonts/map/pdftex/context/original-base.map}
fonts           : using map file: original-ams-base
{/usr/share/texmf/fonts/map/pdftex/context/original-ams-base.map}
fonts           : using map file: original-public-lm
{/usr/share/texmf/fonts/map/pdftex/context/original-public-lm.map}
fonts           : using map file: lm-ec
{/usr/share/texmf/fonts/map/dvips/lm/lm-ec.map}
fonts           : using map file: lm-math
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           : using map file: original-ams-euler
{/usr/share/texmf/fonts/map/pdftex/context/original-ams-euler.map}
\openout7 = `test-mpgraph.mp'.

\openout6 = `test-mpgraph.mpb'.

runsystem(mpost  -progname=metafun -mem=metafun test-mpgraph)...disabled (restr
icted).


[MP test-mpgraph.1] (./test.tuo)
(/usr/share/texmf/tex/context/base/sort-def.mkii)
(/usr/share/texmf/tex/context/base/sort-lan.mkii) [1.1]
systems         : end file test at line 26
system          : cont-err loaded
(/usr/share/texmf/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) ) 
Here is how much of TeX's memory you used:
 1371 strings out of 456423
 19224 string characters out of 536185
 4702368 words of memory out of 7119447
 41869 multiletter control sequences out of 15000+50000
 164788 words of font info for 74 fonts, out of 3000000 for 9000
 396 hyphenation exceptions out of 8191
 51i,18n,77p,254b,973s stack positions out of 5000i,500n,10000p,200000b,50000s
{/usr/share/texmf/fonts/enc/dvips/lm/lm-ec.enc}</usr/share/texmf/fonts/type1
/public/lm/lmr10.pfb>

pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
Output written on test.pdf (1 page, 27822 bytes).
PDF statistics:
 15 PDF objects out of 1000 (max. 8388607)
 9 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 7 words of extra memory for PDF output out of 10000 (max. 10000000)

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=cont-en 2010.2.10)  5 MAY 2010 22:48
entering extended mode
 %&-line parsing enabled.
 (/usr/share/texmf/web2c/natural.tcx)
**test.tex \emergencyend
(./test.tex

ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2010.2.10  int: english/english

language        : language en is active
system          : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/usr/share/texmf/tex/context/base/cont-new.mkii)
(/usr/share/texmf/tex/context/base/cont-mtx.tex))
system          : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
(/etc/texmf/tex/context/user/cont-sys.rme
(/usr/share/texmf/tex/context/base/type-tmf.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-one.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials        : tex,postscript,rokicki loaded
\openout3 = `test.tui'.

system          : test.top loaded
(./test.top
specials        : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex
(/usr/share/texmf/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems         : system commands are disabled
(/usr/share/texmf/tex/context/base/type-pre.tex)
color           : mpcmyk color space is supported
color           : mpspot color space is supported
color           : system rgb is global activated
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(/usr/share/texmf/tex/context/base/pdfr-def.tex)
systems         : begin file test at line 20
fonts           : resetting map file list
{/usr/share/texmf/fonts/map/pdftex/context/original-empty.map}
fonts           : using map file: original-base
{/usr/share/texmf/fonts/map/pdftex/context/original-base.map}
fonts           : using map file: original-ams-base
{/usr/share/texmf/fonts/map/pdftex/context/original-ams-base.map}
fonts           : using map file: original-public-lm
{/usr/share/texmf/fonts/map/pdftex/context/original-public-lm.map}
fonts           : using map file: lm-ec
{/usr/share/texmf/fonts/map/dvips/lm/lm-ec.map}
fonts           : using map file: lm-math
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           : using map file: 8r-base
{/usr/share/texmf/fonts/map/pdftex/context/8r-base.map}
fonts           : using map file: ec-base
{/usr/share/texmf/fonts/map/pdftex/context/ec-base.map}
fonts           : using map file: t5-base
{/usr/share/texmf/fonts/map/pdftex/context/t5-base.map}
fonts           : using map file: original-ams-euler
{/usr/share/texmf/fonts/map/pdftex/context/original-ams-euler.map}
\openout7 = `test-mpgraph.mp'.

\openout6 = `test-mpgraph.mpb'.

 [MP to PDF]
(./test-mpgraph.4000 (./test.tuo))
(/usr/share/texmf/tex/context/base/sort-def.tex
(/usr/share/texmf/tex/context/base/sort-def.mkii))
(/usr/share/texmf/tex/context/base/sort-lan.tex
loading         : Context Sorting Macros (languages)
(/usr/share/texmf/tex/context/base/sort-lan.mkii)) [1.1]
systems         : end file test at line 26
[flush and process test-mpgraph.mp afterwards]
system          : cont-err loaded
(/usr/share/texmf/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) ) 
Here is how much of TeX's memory you used:
 1676 strings out of 57603
 24480 string characters out of 553749
 4614192 words of memory out of 5543135
 41248 multiletter control sequences out of 10000+50000
 166046 words of font info for 74 fonts, out of 1200000 for 2000
 192 hyphenation exceptions out of 8191
 52i,20n,77p,257b,1372s stack positions out of 5000i,500n,6000p,200000b,5000s
{/usr/share/texmf/fonts/enc/dvips/lm/lm-ec.enc}</usr/share/texmf/fonts/type1
/public/lm/lmr10.pfb>
Output written on test.pdf (1 page, 27949 bytes).
PDF statistics:
 19 PDF objects out of 1000 (max. 8388607)
 13 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 131072)
 19 words of extra memory for PDF output out of 10000 (max. 10000000)

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Mi, 30 Mär 2011, Kumar Appaiah wrote:
> Add metafun to the list of commands in shell_escape_commands in
> /etc/texmf/texmf.cnf and then run the example. It should work.

Closing this bug.

shell_esacpe_commands have been completely disabled and only
very few really safe programs will be allowed after packaging TL2011.

If you want to make this change and are aware that you might run
a security risk, simply edit the config file in /etc/texmf/texmf.d
to reenable it and add metafon there.

> Please confirm. If it works, please consider adding metafun in the
> configuration file permanently.

It will not happen due to security reasons.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
"What was the self-sacrifice?"
"I jettisoned half of a much loved and I think
irreplaceable pair of shoes."
"Why was that self-sacrifice?"
"Because they were mine!" said Ford crossly.
"I think we have different value systems."
"Well mine's better."
"That's according to your... oh never mind."
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy


--- End Message ---

Reply to: