I got the install from cpan working eventually.
Don't even understand what went wrong :-)
And the titles seem to work now, that's great!
/anders
On Mon, Oct 1, 2012 at 3:17 PM, D. Barbier <bouzim(a)gmail.com> wrote:
On 2012/10/1 Anders Nawroth wrote:
> Hi!
>
>> I was wrong, we need text width; I checked in some commits to use
>> Unicode::GCString if available, thanks to both of you for the help.
>> The downside is that there is one new string in PO files.
>
> For me, it failed with:
> po4a::text: Detection of two line titles failed at
> target/original/src/introduction/index.asciidoc:3
> Install the Unicode::GCString module!
>
> (so "use if available" doesn't seem to work?)
I was unclear; what I meant is that Unicode::GCString will be called
only if it is needed. And it is needed if a title line contains
non-ASCII characters.
But if your titles contain only ASCII characters, po4a will work even
if Unicode::GCString is not installed.
> I installed it from CPAN, and still get the same message.
>
> I currently run po4a using PERLLIB pointing to my own copy pf po4a.
> I tried copying the lib/ part of GCString into the same location, but
> that didn't work either.
>
> As you may recognize I'm not that used to Perl :-)
>
> Any pointers?
You must make sure that this module can be loaded:
$ perl -MUnicode::GCString -e ''
If there is an error, it has to be fixed first.
Denis
_______________________________________________
Po4a-devel mailing list
Po4a-devel(a)lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/po4a-devel
--
Anders Nawroth [anders(a)neotechnology.com]
Skype: anders.nawroth