[Lexicog] Tshwanadje

Ricardo Soca ricardo@soca.com.br [lexicographylist] lexicographylist at YAHOOGROUPS.COM
Tue Jun 10 13:16:42 UTC 2014


David,

Thank you very much for your rapid response. We managed to get the style we
wanted with your instructions.
There are a few other questions regarding format and styles that we haven’t
been able to answer with the handbook. Could you please help us?

1.      We’d like to use both italics and Roman print (but not
simultaneously) in the same element. For example, we’d like to have
something looking like this in the Etymology Attribute:

                                                                   Del lat.
*nectar* y este del gr. *nektar*


2.      We need to combine italics and bold print only in those lemma signs
related to foreign words. Is that possible? If we activate the bold and
italics options in the Format/style tab all of our lemma signs are affected.

Looking forward to hearing from you.
Regards,
Ricardo






2014-06-10 3:18 GMT-03:00 'David Joffe' david.joffe at tshwanedje.com
[lexicographylist] <lexicographylist at yahoogroups.com>:

> Hi Ricardo,
>
> Hm, yes, it's not in the handbook. This can be done using the
> 'smart-styles' system, as follows, and as per the attached example,
> which I've just created based on one of the TLex sample files (I
> hope the TLex file attachment works). Instructions:
>
> "This sample demonstrates hiding the first sense number.
> (1) Go to "Format/Styles" menu
> (2) Select Sense / SenseNumber attribute in list of styles
> (3) Select 'Smart-styles' tab
> (4) Paste the following into the Lua script field box (NB: Adapt the
> "SenseNumber" name here if your numbering attribute has a different
> name than "SenseNumber", but keep it otherwise very precisely the
> same):
>
> if tQuery(gCurrentNode,"@SenseNumber")=="1" then
> gCurrentStyle:SetHidden();end
>
> (5) NB: You need a relatively recent TLex for the 'SetHidden()' call
> to work - if you get warning messages relating to SetHidden(),
> update to the latest TLex"
>
> Please let me know if you manage to get this working, and if so, if
> this solution seems acceptable to you.
>
>  - David
>
>
>
>
> On 10 Jun 2014 at 0:23, Ricardo Soca wrote:
>
> Date sent:      Tue, 10 Jun 2014 00:23:53 -0300
> Subject:        Re: [Lexicog] Tshwanadje
> From:   Ricardo Soca <ricardo at soca.com.br>
> To:     David Joffe <david.joffe at tshwanedje.com>
>
> > Hello, David:
> > Yes, I would like to begin numering from the second sense, hidding the
> number of the first
> > one.
> > Neither I nor the rest of my team couldn't find any answer on the the
> handbook.
> > It would be great if you could help us about it.
> > Your example matches exactly with what we're looking for.
> > Thank you,
> > Ricardo
> >
> >
> >
> >
> > 2014-06-09 21:38 GMT-03:00 David Joffe <david.joffe at tshwanedje.com>:
> >     Hi Ricardo,
> >
> >     Sorry, could you perhaps clarify? Do you mean you want to display
> >     something like the following:
> >
> >     crane a bird 2. a type of construction equipment
> >
> >     instead of the following?
> >
> >     crane 1. a bird 2. a type of construction equipment
> >
> >     I.e. the same as now, but just with the first number hidden? I
> >     think
> >     it should be possible to do this in TLex, I just want to confirm if
> >     I understand correctly.
> >
> >     - David
> >
> >
> >
> >     On 29 May 2014 at 16:22, Ricardo Soca ricardo at soca.com.br
> >     [lexicogr[Lexicog] Tshwanadje wrote:
> >
> >     From: "Ricardo Soca ricardo at soca.com.br [lexicographylist]"
> >     <lexicographylist at yahoogroups.com>
> >     To: lexicographylist at yahoogroups.com
> >     Date sent: Thu, 29 May 2014 16:22:34 -0300
> >     Subject: [Lexicog] Tshwanadje
> >     Send reply to: lexicographylist at yahoogroups.com
> >
> >     >
> >     >
> >     > I'm beginning to use Tshwandje.
> >     >
> >     > Is there any way to avoid numbering the first sense when they are
> >     more than one?
> >     >
> >     > I would like to number from the second on.
> >     >
> >     > Thank you,
> >     >
> >     > Ricardo
> >     >
> >     >
> >     >
> >     >
> >     >
> >     >
> >     >
> >     >
> >     >
> >     > Posted by: Ricardo Soca <ricardo at soca.com.br>
> >     >
> >     >
> >     >
> >     >
> >
> >
> >
>
>
>
>
>
>
> ------------------------------------
> Posted by: "David Joffe" <david.joffe at tshwanedje.com>
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
> The following section of this message contains a file attachment
> prepared for transmission using the Internet MIME message format.
> If you are using Pegasus Mail, or any other MIME-compliant system,
> you should be able to save it or view it from within your mailer.
> If you cannot, please ask your system administrator for assistance.
>
>    ---- File information -----------
>      File:  tlex_hide_first_number.tldict
>      Date:  10 Jun 2014, 8:14
>      Size:  26475 bytes.
>      Type:  Unknown
>
> The following section of this message contains a file attachment
> prepared for transmission using the Internet MIME message format.
> If you are using Pegasus Mail, or any other MIME-compliant system,
> you should be able to save it or view it from within your mailer.
> If you cannot, please ask your system administrator for assistance.
>
>    ---- File information -----------
>      File:  tlex.png
>      Date:  10 Jun 2014, 8:08
>      Size:  118779 bytes.
>      Type:  Unknown
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/lexicography/attachments/20140610/000f442a/attachment.htm>


More information about the Lexicography mailing list