Flex9 : Applying styles after Lift import - is it possible ?

19 views
Skip to first unread message

Bart Eenkhoorn

unread,
May 13, 2020, 12:25:22 PM5/13/20
to FLEx list
L.S.
Dear Flex specialists,

I am using flex9 for the fist time. I am trying to decide what way of importing is the best. I think I have two options:

1. SFM : toolbox -> (solid) -> flex9
2. Lift toobox -> Lexique_Pro -> (lift) FLex9  (toolbox - lexique pro  - MSWord/DAB is our current workflow)

Route 1 give me the possibilty of defining styles that are used a lot for a more flexible print-layout later on. 
Route 2 importing the Lift file seems the easiest at the moment and fits our workflow, but there is no style specification offered after import. The style syntax is imported as text (see image)

Is it possible to define styles after the Lift import? 

Thanks in advance for your help,
Bart.
flex9 question.jpg

Beth-docs Bryson

unread,
May 13, 2020, 12:32:30 PM5/13/20
to 'Rand Valentine' via FLEx list
I’m not aware of styles coming in during import by any of those means, but FLEx is very powerful in terms of defining styles.  Once you get the data into the correct fields, there are a lot of options for how to style each field, including setting up different configurations for different publications.  In addition, DAB is able to make use of the exported (styled) XHTML that FLEx can produce (as well as LIFT).  

Generally going from SFM into FLEx is best, and yes, Solid can help get the SFM into the shape it needs to be in order to do a good SFM import into FLEx.

If you are going from SFM into LIFT and then into FLEx, it is possible some data could be lost.  Although the LIFT import into FLEx is easy, there are some areas of underspecification.  It is preferable to import SFM into FLEx rather than LIFT.

Dictionary and Lexicography Services has a service that does normalization of SFM files and then import.  If you want to apply for this kind of help, here is the link:


-Beth

--
"FLEx list" messages are public. Only members can post.
flex_d...@sil.org
http://groups.google.com/group/flex-list.
---
You received this message because you are subscribed to the Google Groups "FLEx list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flex-list+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flex-list/4ce04f56-4692-4021-83e2-1e9e77f91b01%40googlegroups.com.
<flex9 question.jpg>

Bart-Jacqueline Eenkhoorn

unread,
May 13, 2020, 12:43:19 PM5/13/20
to flex...@googlegroups.com
Thanks a quikc reply Beth,

Indeed the style was not imported as a style, but as text as can be seen in the image : 
efra:{Proverbe : Quand le verger est éloigné de la maison, beaucoup de choses se gâtent dedans. Sens : La longue distance est désavantageuse.}

My question is, after the import, can I specify the existence of the style efra:{ } ? Thus recovering all the styles used in the dictionary.
Bart.

ann_...@sil.org

unread,
May 13, 2020, 2:49:00 PM5/13/20
to flex...@googlegroups.com

Yes, you can change the styles in the Configuration.

Beth-docs Bryson

unread,
May 13, 2020, 5:47:44 PM5/13/20
to flex...@googlegroups.com
Well, in the Styles dialog, you could certainly create a style efra and set it to have the values that your efra:{} style had before.  And then you can use the Configure Dictionary dialog to say that a certain field uses that style.

You may first want to see what styles are already built in (e.g., “Dictionary-Example”, “Dictionary-Example Translation”, “Dictionary-Vernacular”).  It is likely that these built-in names already correlate with elements that you have in your dictionary.  And the default values for those styles might work well for you, or you may want to adjust those values to match what you had before. 

And if there isn’t a built-in style name that corresponds to the element you are trying to style, you can absolutely create a new style name, and set it with whatever values you want. You could give it a name like “efra” or you could pattern the name like the existing styles:  Dictionary-Proverb (or something like that).

But I don’t know of a way to automatically use style settings that you already have set up for specific style names.

Does that make sense?  I don’t think I fully understand what you are asking.

-Beth


Reply all
Reply to author
Forward
0 new messages