ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in luatex?
@ 2008-09-03 21:52 Diego Depaoli
  2008-09-04  8:30 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Diego Depaoli @ 2008-09-03 21:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1392 bytes --]

Hi all,
compiling this small file with luatex I get weird results.
All works fine with xetex.

\mainlanguage[it]
\setupcolors[state=start]
\setupinteraction[state=start, color=darkblue]
\useURL[54/92][http://arianna.consiglioregionale.piemonte.it/base/leggi/l1992054.html][][Legge
regionale 09 dicembre 1992, n. 54]
\useURL[1/90][http://www.italgiure.giustizia.it/nir/lexs/1990/lexs308762.html][][Legge
del 4 gennaio 1990 n. 1]
\useURL[40/07][http://www.parlamento.it/leggi/07040l.htm][][Legge 2
aprile 2007, n. 40]
\useURL[174/05][http://www.camera.it/parlam/leggi/05174l.htm][][Legge
17 agosto 2005, n. 174]
\useURL[1142/70][http://impresa.comune.belluno.it/pdffiles/1142_70.pdf][][Legge
23 dicembre 1970, n. 1142]
\useURL[161/63][http://www.regione.emilia-romagna.it/cra/pdf/161_63.pdf][][Legge
14 febbraio 1963, n. 161]
\useURL[735/84][http://www.italgiure.giustizia.it/nir/1984/lexs_106505.html][][Legge
29 ottobre 1984, n. 735]

\starttext
\startitemize[a,packed]
\item {\bf Attività di acconciatore:} riferimento normativo
\from[161/63], \from[1142/70], \from[174/05], \from[735/84] nelle
parti compatibili con la \from[174/05], \from[40/07], presente
regolamento.
\item {\bf Attività di estetista e affini:} riferimento normativo
\from[1/90], \from[54/92], \from[40/07], presente regolamento
\stopitemize
\stoptext

Many thanks

-- 
Diego Depaoli

[-- Attachment #2: exampleluatex.pdf --]
[-- Type: application/pdf, Size: 11114 bytes --]

[-- Attachment #3: examplexetex.pdf --]
[-- Type: application/pdf, Size: 11346 bytes --]

[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug in luatex?
  2008-09-03 21:52 Bug in luatex? Diego Depaoli
@ 2008-09-04  8:30 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2008-09-04  8:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Taco Hoekwater

Diego Depaoli wrote:
> Hi all,
> compiling this small file with luatex I get weird results.

this is a bug in luatex itself

taco: when i comment brokenpenalty here, it works ok

\def\nopenalties
   {\widowpenalty        \zerocount
    \clubpenalty         \zerocount
    \brokenpenalty       \zerocount % prevents
    \doublehyphendemerits\zerocount
    \finalhyphendemerits \zerocount
    \adjdemerits         \zerocount
   }

this is used in (supp-box) \processisolatedwords

(btw, some day i will rewrite all annotation related stuff)

test file:

\setupinteraction[state=start]

\useURL[161/63][http://www.regione.emilia-romagna.it/cra/pdf/161_63.pdf][][Legge 
14 febbraio]

\starttext
     \from[161/63]
\stoptext

somehow between 14 and febbraio no valid breakpoint occurs (a par is 
created with three lines that has to be split in three)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-04  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-03 21:52 Bug in luatex? Diego Depaoli
2008-09-04  8:30 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).