Sarovar.org
     Advanced search
Login
New Account
  
 
Home My Page Project Tree Code Snippets Project Openings pdftex
 
 
Summary Tracker Docs News Files
 

Bugs: Browse | Download .csv

[#292] protuding leads to "This can't happen (paragraph)."

Please login

State:
Closed
Date:
2005-02-14 19:52
Priority:
3
Submitted By:
Martin Schröder (oneiros)
Assigned To:
The Thanh Han (hanthethanh)
Summary:
protuding leads to "This can't happen (paragraph)."

Detailed description
The input
---------------------
\pdfoutput=1
\input edmac
\input protcode

\font\eightrm=ptmr8t
\setprotcode\eightrm
\pdfprotrudechars=2

\linenummargin{outer} %% left|right|inner|outer
\footparagraph{A}

\tracingall\tracingonline=0
\beginnumbering

\pstart 
\text{There}\Afootnote{Habent sua fata libelli. (Der
Satz wurde auf
Wunsch der Redaktion von »Living Marxism« gestrichen;
siehe Korsch an
P.~Mattick am 3.10.1938.)}/ is a striking contrast
between the
impression produced in the minds of West"=European
revolutionaries by
those short pamphlets of Lenin and Trotsky which
appeared in poorly
translated and poorly printed editions during the final
stage and the
aftermath of the war, and the response called forth in
Europe and
U.S.A. by the belated appearance, in 1927, of the first
extra"=Russian
versions of Lenin's philosophical work of 1908, on
»Materialism and
Empirio"=Criticism«.
\pend

\endnumbering

\bye
---------------------
(all input files are in the attached archive) leads to 
---------------------
! This can't happen (paragraph).
<recently read> \par 
                     
\do@feet ...s \else \Afootstart {A}\Afootgroup {A}
                                                  \fi
\ifvoid \Bfootins \els...

\pagecontents ...p \@cclv \unvbox \@cclv \do@feet 
                                                 
\ifr@ggedbottom \kern -\di...

\pagebody ...\boxmaxdepth \maxdepth \pagecontents 
                                                  }
\edmac@output ...e \vbox {\makeheadline \pagebody 
                                                 
\makefootline }\fi }\advan...
<output> {\edmac@output 
                        }
...
l.30 \bye
         
I'm broken. Please show this to someone who can fix can fix
---------------------

Followup

Message
Date: 2005-05-25 03:48
Sender: Hartmut Henkel

Logged In: YES 
user_id=929

Fixed from pdftex-20050414 on, should be ok in pdftex-1.30.
New fix adds \leftmarginkern and \rightmarginkern
primitives. Margin kerns will generally be removed during
unhboxing or unhcopying, but they can be stored away before,
using these primitives. See manual. Requires patching of
edmac and ledmac styles to get protrusion with these packages.
Date: 2005-04-04 00:30
Sender: Hartmut Henkel

Logged In: YES 
user_id=929

P.S. A nice test are the various ledmac test files in
directory texmf-dist/doc/latex/ledmac/, when you add the
microtype package (somebody must have provided such a
directory to me, thanks)...

Regards, Hartmut
Date: 2005-04-03 23:56
Sender: Hartmut Henkel

Logged In: YES 
user_id=929

New try of a patch, see patch-292b.tgz.

Regards, Hartmut
Date: 2005-03-23 20:13
Sender: Martin Schröder

Logged In: YES 
user_id=421

Hartmut,
what's the status here? I remember you fixed this somehow at
EuroTeX.
Date: 2005-02-15 01:12
Sender: Hartmut Henkel

Logged In: YES 
user_id=929

Now we know which side effects patch-274 has. When it's
reverted, the file is processed without error, but margin
kerning is missing (which was the original problem before
patch-274).

Following experiment is done _with_ patch-274.

The "this can't happen" error happens within the
line_break
routine, which chokes on a margin_kern_node (which was
filtered out before patch-274).If one adds margin_kern_node
to the do_nothing list, like:

mark_node,ins_node,adjust_node,margin_kern_node: do_nothing;
othercases confusion("paragraph")

it apparently works ok, and margin kerning is fine also
(requires patch in hz.ch). But i need to understand how the
line_break routine works, whether a do_nothing is the right
thing to do...

Regards, Hartmut
Date: 2005-02-14 20:00
Sender: Martin Schröder

Logged In: YES 
user_id=421

The submitter used the attached edmac.doc; the error is the
same.

Attached Files:

Name Download
olli.zip Download
edmac.doc Download
hz.ch.diff Download
patch-292b.tgz Download

Changes:

Field Old Value Date By
status_idOpen2005-05-25 03:48hhenkel
assigned_tohhenkel2005-05-25 03:48hhenkel
summaryprotuding leads to "This can't happen (paragraph)."2005-05-25 03:48hhenkel
close_date1970-01-01 05:302005-05-25 03:48hhenkel
summaryprotuding leads to "This can't happen (paragraph)."2005-04-04 00:30hhenkel
File Added83: patch-292b.tgz2005-04-03 23:56hhenkel
summaryprotuding leads to "This can't happen (paragraph)."2005-04-03 23:56hhenkel
summaryprotuding leads to "This can't happen (paragraph)."2005-03-23 20:13oneiros
summaryprotuding leads to "This can't happen (paragraph)."2005-02-16 01:16hhenkel
File Added64: hz.ch.diff2005-02-16 01:16hhenkel
summaryprotuding leads to "This can't happen (paragraph)."2005-02-15 01:12hhenkel
summaryprotuding leads to "This can't happen (paragraph)."2005-02-14 20:00oneiros
File Added63: edmac.doc2005-02-14 20:00oneiros
File Added62: olli.zip2005-02-14 19:52oneiros