W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

Re: config file doesn't work.

From: Dave Raggett <dsr@w3.org>
Date: Mon, 13 Dec 1999 20:10:57 +0000 (GMT Standard Time)
To: Rodeo Red <rodeored@netstep.net>
cc: HTML Tidy Mailing List <html-tidy@w3.org>
Message-ID: <Pine.WNT.4.10.9912132008430.304-100000@OEMCOMPUTER>
On Thu, 9 Dec 1999, Rodeo Red wrote:

> 
> -- Tidy accesses my html files OK and my config file but I cannot get a
> config file to work.  
> 
> If I use a nonexistant file for config.txt in the command it
> gives me an error message, and rightly so. But I'm not getting
> any error messages when I use config.txt so it seems like it
> does find the file and use it. It just doesn't do anything.
> 
> Any suggestions ? 
> 
> 
> 
> I use this command: 
> tidy -config config.txt book.html
> 
> 
> This is config.txt: 
>          
>          indent: yes
>          indent-spaces: 30
>          wrap: 72
>          markup: yes
>          clean: yes
>          output-xml: no
>          input-xml: no
>          show-warnings: no
>          numeric-entities: yes
>          quote-marks: yes
>          quote-nbsp: yes
>          quote-ampersand: no
>          break-before-br: no
>          uppercase-tags:Yes
>          uppercase-attributes:Yes
>          output-xhtml: yes
>          char-encoding: latin1
> 

I have no idea. The above works fine for me. I suspect that
30 spaces is a wee bit big for normal practice. I recommend
using a lower case yes rather than Yes, but this shouldn't
matter. Try downloading a more recent version of Tidy, as
it is possible you are using a version that predates config
files.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Monday, 13 December 1999 15:11:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT