Martin Vermeer <[EMAIL PROTECTED]> writes:

>> I do not quite get what export has to do with this, can you explain
>> the problem?
>
| I don't really understand it deeply either... but what happened was
| that I could interactively do everyting OK, load a doc with char
| styles and export it... but when using the command line 
| (./lyx -e docbook myfile.lyx) it refused to read any of the char style
| insets.  It printed an error for each of them. Apparently it expects
| predefined names for insets, entries in a dynamic list won't do.  So I
| made the name 'CharStyle' and the name of the charstyle the first
| argument after that.

So _why_ is this different from the command line and interactively?
We should fix that instead of doing this.

>> Also if we want to go the
>> 
>> \begin_inset CharStyle  way, I'll prefere 
>> 
>> \begin_inset CharStyle
>>        XXX Filename
>> \end_inset
>
| Ah! I think I see what leads you astray... 'Filename' here is not
| itself a filename, but the *type* of the inset! Substitute 'Noun' and
| you see what I mean. [Note added after the below]
|  
>> if possible...  (XXX is some nice name on a variable)
>> 
>> similar to how InsetFloat and similar handle arguments.
>
| Actually
>
|       \begin_inset Float figure
|       wide true
|       collapsed false

Hmm... how clever of me to do it that way...


-- 
        Lgb

Reply via email to