On 1/16/06, Martin d Anjou <point14@...1487...> wrote:
The document was printed to t.png - cropped to the size of the layer3 object, and the layer3 is still invisible :-(.
It's a good idea to enable --export-id to enable it to unhide the specified objects if they are hidden. For that, all you need to do is SP_ITEM(object)->setHidden(false).
In any case, I do not want to id the layers, I want to use their name, it is easier, i.e. the_name in inkscape:label="the_name".
Right, so it makes sense to add --export-label which would work exactly the same as --export-id except take a list of labels instead of list of objects.
How would I turn off a layer for printing via a command line without ever entering the GUI? I could write a script and output to temp files... then invoke inkscape.
Yes you can make a script removing display:none from the style= of the objects, but it would be better for everyone if you enable Inkscape do this automatically :)
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org