fig2mpdf does not generate ranges correctly

Bug #561458 reported by Manuel López-Ibáñez
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
transfig (Debian)
Fix Released
Undecided
Roland Rosenfeld
transfig (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: transfig

Create a fig with 4 layers. 10 20 30 40
Using

fig2mpdf -v -i -l -m test.fig

should create 3 pdfs:

test-01.pdf containing 30 40
test-02.pdf containing 20 40
test-03.pdf containing 10 40

However, test-03.pdf contains 10 20 30 40

This is because the patch:

debian/patches/14_fig2mpdf.dpatch

calls fig2dev with +D %d:%d

the attached version calls it with +D %d,%d and hence, fixes the problem.

Tags: patch
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

This test.fig file reproduces the problem:

fig2mpdf -v -i -l -m test.fig

should show 3 files, each of them with only 1 arrow (excluding axes) and 1 label.

Revision history for this message
David Stansby (dstansby-deactivatedaccount) wrote :

Thanks for taking the time to make Ubuntu better, but in future please could you use the patch tag instead of specifying 'patch' in the title.

tags: added: patch
summary: - fig2mpdf does not generate ranges correctly (patch)
+ fig2mpdf does not generate ranges correctly
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

I will do. In any case, I don't think the patch is all that good. It fixes my problem but I think it may break other user-cases. But perhaps it could help others to provide a definitive solution.

Revision history for this message
Roland Rosenfeld (roland) wrote :

This is fixed in Debian unstable:

 transfig (1:3.2.5.d-1) unstable; urgency=low
...
   * 14_fig2mpdf: use list of layers instead of range of layers. See Ubuntu
     bug https://bugs.launchpad.net/ubuntu/+source/transfig/+bug/561458
     Thanks to Manuel López-Ibáñez for providing a patch.
...
 -- Roland Rosenfeld <email address hidden> Thu, 03 Mar 2011 00:58:52 +0100

Changed in transfig (Debian):
status: New → Fix Released
assignee: nobody → Roland Rosenfeld (roland)
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

This fixed in Precise, since transfig was synced with Debian's.

Changed in transfig (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.