[Lexicog] Tshwanadje [2 Attachments]
'David Joffe' david.joffe@tshwanedje.com [lexicographylist]
lexicographylist at YAHOOGROUPS.COM
Tue Jun 10 06:18:39 UTC 2014
<*>[Attachment(s) from David Joffe included below]
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>
> >
> >
> >
> >
>
>
>
<*>Attachment(s) from David Joffe:
<*> 1 of 1 Photo(s) https://groups.yahoo.com/neo/groups/lexicographylist/attachments/1725113180;_ylc=X3oDMTJybWcwcDMxBF9TAzk3MzU5NzE0BGdycElkAzExNjgyNzgxBGdycHNwSWQDMTcwOTE5NTkxMQRzZWMDYXR0YWNobWVudARzbGsDdmlld09uV2ViBHN0aW1lAzE0MDIzODExODg-
<*> tlex.png
<*> 1 of 1 File(s) https://groups.yahoo.com/neo/groups/lexicographylist/attachments/1725113180;_ylc=X3oDMTJybWcwcDMxBF9TAzk3MzU5NzE0BGdycElkAzExNjgyNzgxBGdycHNwSWQDMTcwOTE5NTkxMQRzZWMDYXR0YWNobWVudARzbGsDdmlld09uV2ViBHN0aW1lAzE0MDIzODExODg-
<*> tlex_hide_first_number.tldict
------------------------------------
Posted by: "David Joffe" <david.joffe at tshwanedje.com>
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/lexicographylist/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/lexicographylist/join
(Yahoo! ID required)
<*> To change settings via email:
lexicographylist-digest at yahoogroups.com
lexicographylist-fullfeatured at yahoogroups.com
<*> To unsubscribe from this group, send an email to:
lexicographylist-unsubscribe at yahoogroups.com
<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/
-------------- next part --------------
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
-------------- next part --------------
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
More information about the Lexicography
mailing list