Re: config file doesn't work.

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 UTC