[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#629530: developers-reference: PDF code example has wrong U+2019 for '



Package: developers-reference
Version: 3.4.4
Severity: minor

If I copy script example under "6.5. CONFIGURATION MANAGEMENT . . ."
from PDF:

| 4. Modify all PO files by using sed. The use of that command is recommended over any text editor
|    to guarantee that the files encoding will not be broken by the edit action:
|    cd debian/po
|    for i in *.po; do sed -i ’s/tpyo/typo/g’ $i; done

Here,  ’ is non ASCII and not ASCII '.  This makes copied script to
fail.

TeX backend (specifically pdflatex) used to create this PDF is the
cause.  

If you move this build this with XeTeX (specifically xelatex), this
problem goes away.

Also, " works fine.  So changing example to use double quote may work
around issue.

Regards,

Osamu

PS: This is based on the same TeX conversion bug or singularity.  I
could not fix its ill effect for debiandoc-sgml.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

developers-reference depends on no packages.

Versions of packages developers-reference recommends:
ii  debian-policy                 3.9.2.0    Debian Policy Manual and related d

Versions of packages developers-reference suggests:
ii  doc-base                      0.10.1     utilities to manage online documen

-- no debconf information



Reply to: