Hello list,

I am desperately trying to override the default field_name_limit for 
html4css1 writer, but in the end my html pages are always rendered with the 
default (14).
This results in rendering the names of many fields with "colspan=2" - which 
I am trying to avoid.

To override the default field_name_limit I created a docutils.conf file 
with the following contents:

# Documentation: http://docutils.sourceforge.net/docs/user/config.html
[general]
dump_settings: 1
dump_internals: 1

[html4css1 writer]
field_name_limit: 40


The printout (produced by enabling dump_* settings) always shows: 
'field_name_limit': 
40.
Still, this does not seem to be propagated to the HTMLTranslator class (in 
html4css1/__init__.py). So its visit_field_name() always uses the default 
value of 14.

I don't know if I am doing things the wrong way or if this is a bug.
Any help would be greatly appreciated.

Thank you!
Manolis

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/FtT1UfDFivoJ.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to