Bug 50025 - [PATCH] pdfseparate.1: Syntax fixes
Summary: [PATCH] pdfseparate.1: Syntax fixes
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 13:50 UTC by Ville Skyttä
Modified: 2012-05-21 14:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
pdfseparate.1: Syntax fixes (882 bytes, patch)
2012-05-16 13:50 UTC, Ville Skyttä
Details | Splinter Review
said image (3.54 KB, image/png)
2012-05-21 10:14 UTC, Albert Astals Cid
Details

Description Ville Skyttä 2012-05-16 13:50:22 UTC
Created attachment 61734 [details] [review]
pdfseparate.1: Syntax fixes
Comment 1 Albert Astals Cid 2012-05-17 11:27:13 UTC
By using this patch I still get
"contain %d .  %d is replaced by the page number."

With one extra space after the first %d and the . is also "bold"

Do you know how to remove that extra space and unbold the '.'?
Comment 2 Ville Skyttä 2012-05-20 13:21:16 UTC
I get the behavior you describe if I apply the patch incorrectly so that it results in this:

    .B %d .
    %d is replaced by the page number.

...instead of the correct one in the patch, ie. this:

    .BR %d .
    %d is replaced by the page number.

With the latter, it works as it should for me; the first %d is bold, no space after it, the dot is not "bold", etc.  This is on Fedora 17, man from man-db 2.6.0.2, groff 1.21.
Comment 3 Albert Astals Cid 2012-05-21 10:13:13 UTC
man-db 2.6.1 and groff 1.21 in ubuntu here. I'm attaching the screenshot to make sure you understand what i mean, i don't see any difference between your two texts.
Comment 4 Albert Astals Cid 2012-05-21 10:14:35 UTC
Created attachment 61926 [details]
said image
Comment 5 Ville Skyttä 2012-05-21 13:41:07 UTC
(In reply to comment #3)
> i don't see any difference between your two texts.

The first one had .B, the second one .BR.

And now I'm confused, earlier you said there's an extra space after the first %d, but there's no space after it in your screenshot - the period comes immediately after it.

FWIW, I think your screenshot shows the desired outcome.  I don't care about the two spaces between the period and the 2nd %d - to me that's a feature, not a bug (Google for "two spaces after period" for more info).
Comment 6 Albert Astals Cid 2012-05-21 14:01:33 UTC
Doh :D I can't read :D

Well, two spaces after a dot is just crazy, noone does that when writing nor on books, but seems to be man style... can't fight that :D
Comment 7 Albert Astals Cid 2012-05-21 14:03:56 UTC
Pushed


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.