Bug 276657 - Wrong links and image sizes in PDF on docs.kde.org
Summary: Wrong links and image sizes in PDF on docs.kde.org
Status: RESOLVED FIXED
Alias: None
Product: docs.kde.org
Classification: Websites
Component: docs.kde.org (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 07:29 UTC by Yuri Chornoivan
Modified: 2012-03-11 17:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Chornoivan 2011-06-28 07:29:39 UTC
Version:           unspecified
OS:                Linux

It seems that PDF versions of KDE docs on docs.kde.org are not always as good as can be.

Reproducible: Always

Steps to Reproduce:
Look at the KOrganizer PDF:
  
http://docs.kde.org/stable/en/kdepim/korganizer/korganizer.pdf

(The same issues can be found in other docs (kdegames/killbots, etc.).)

Actual Results:  
Page 11 line 3: [?varlistentry] instead of xref
Page 11 item 2.4.3: inappropriate size of the image.

Expected Results:  
Correct link to the section.
Embedded image of the appropriate size.
Comment 1 Burkhard Lück 2011-06-29 07:12:31 UTC
* Page 11 line 3: [?varlistentry] instead of xref

docbook source has a cooment here, removing that seems to solve the issue, " ?varlistentry" is gone:
<step><para>Select the <xref linkend="menu-actions-new-todo"/>
<!--menuchoice><guimenu>Actions</guimenu>
<guimenuitem>New To-do...</guimenuitem></menuchoice--> menu item to open the
<guilabel>New To-do</guilabel> dialog.</para></step>
Comment 2 Burkhard Lück 2011-06-29 14:44:33 UTC
I found some infos about this Problem here:

http://lists.oasis-open.org/archives/docbook-apps/200908/msg00019.html
Comment 3 Yuri Chornoivan 2011-06-29 15:55:37 UTC
So what is the best solution? 

1. Batch convert all images in KDE repository to 72 ppi (what about localized ones? Hard task anyway with git-split repository...).
2. Add width attribute (did not work for me when I've tried to use it for Amarok in pre-1.76 days).
3. Modify graphics.xsl to add <xsl:param name="ignore.image.scaling" select="1"/>.
Comment 4 Yuri Chornoivan 2011-06-29 16:04:10 UTC
Oops, seems better to convert to 96 ppi (it gives the best results, tested).
Comment 5 Yuri Chornoivan 2012-01-06 15:08:36 UTC
Links were fixed. Some images still need some batch processing.