On 05/09/2015 09:04 PM, Uwe Stöhr wrote:
Dear LyXers,

attached is a patch that

- redesigns the box dialog (better logic and necessary to expand it with features) - adds support to change the line thickness, box separation and shadow size (fixes bug #2598) - makes it possible to set a horizontal alignment for all box types (fixes bug #9522)
- calculates and outputs the correct width for all box types

OK to go on?

(I am aware that tex2lyx is still missing - I will do this before committing.)

I see that you explicitly set default values for some of these parameters, e.g.:

+def convert_BoxFeatures(document):
+    " adds new box features "
+
+    i = 0
+    while True:
+        i = find_token(document.body, "height_special", i)
+        if i == -1:
+            return
+        document.body.insert(i + 1, 'thickness "0.4pt"\nseparation "3pt"\nshadowsize 
"4pt"\n')
+        i = i + 1

Shouldn't there be some way of just leaving this empty, so that it goes to whatever the default setting is?

The same thing happens in the code for the dialog itself.

Richard

Reply via email to