[Privoxy-devel] docbook build changes
Ian Silvester
iansilvester at fastmail.fm
Sat Oct 20 19:39:31 UTC 2018
Hi Lee,
Figure the ldp.dsl.in all lines changed in diff will be line terminators changing from the DOS two-byte CRLF to Unix one-byte LF. Is there another tool that could strip the blank space without touching the line terminators?
Ian
My PGP public key[http://silvester.org.uk/IanSilvesterPGPPublicKey.asc]
On Sat, 20 Oct 2018, at 14:46, Lee wrote:
> Before I start commiting changes I'd like some feedback. See attached diff.txt
>
> short story:
> - docbook generated html files are straight ascii
> - docbook generated text files are ascii if possible, utf-8 for AUTHORS
>
> changes:
>
> - GNUmakefile.in
> W3M_DUMP =
> W3M_DUMP_UTF8 =
> specify the input & output character set
> need the UTF8 variant for things like the AUTHORS text file where
> ascii isn't enough
>
> DB_TXT =
> docbook call to create a text file instead of an html file
>
>
> - doc/source/ldp.dsl.in
> fix the 'html' section to leave &char; strings alone; the 'print'
> section converts them to a latin1 character
>
> (define %indent-screen-lines%
> needs to be either "#f" or a string
> anyone want one or two leading spaces automatically added in <screen> output?
>
> <style-specification id="print-notoc" use="print">
> needed for building text files without a table of contents
>
>
> - doc/source/p-authors.sgml
> use &char; strings instead of non-ascii chars like á
> allows for creating html files that are ascii instead of requiring
> utf-8 or latin1
>
> - doc/webserver/user-manual/copyright.html
> example of what you get with these changes
>
>
> note that
> $ git diff -- AUTHORS README INSTALL
> shows no changes :)
>
>
> still to do:
>
> doc/source/ldp.dsl.in needs to be put thru dos2unix & have all the
> trailing blanks removed
>
> I tried it and didn't notice anything breaking; backed it out because
> every single line showed as a change when looking at diffs
>
> Lee
> _______________________________________________
> Privoxy-devel mailing list
> Privoxy-devel at lists.privoxy.org
> https://lists.privoxy.org/mailman/listinfo/privoxy-devel
> Email had 1 attachment:
> + diff.txt
> 13k (text/plain)
More information about the Privoxy-devel
mailing list