Page 1 of 1

Is "New Topic as Child" for dictionary implemented

Posted: Sun May 03, 2009 3:08 am
by l_d_allan
Build 821.

I was trying out (for the first time) the "Create New Module" capability. Impressive.

I created several topics as a Dictionary, but the third option for "Add it as a child of the current one" never was enabled. Is this not implemented, or not applicable to dictionaries? Is there something I left out to get this option to be enabled?

If it doesn't apply to dictionaries, perhaps consider removing this option from view (perhaps for 3.0.1 or later).

Seems only applicable to "Generic Book" as I play with it some more. Makes sense, as I don't see the purpose of "children" under a dictionary definition.

Posted: Sun May 03, 2009 8:19 am
by csterg
Yes, this is correct.
When an option does not apply, there are 2 choices:
1. Do not show
2. Gray out

I chose 2 in order to show to a potential novice that there is an option there but does not apply to dictionaries.
In a next release, dictionaries and books will probably be merged anyway!
Costas

Re: Is "New Topic as Child" for dictionary implemented

Posted: Sun Dec 25, 2016 8:36 am
by engellion
Hi Costas,

I am working on an Unabridged BDB Hebrew English Lexicon module.

The way the source file for BDB is organised, I think following the TWOT model for a BDB Unabridged dictionary would be the easiest approach to create a module.

I noted that the TWOT has a Parent-Child topic feature enabled -- ie. Dictionary topics of Hebrew words appear as a child of the Root Hebrew word.
TWOT_Child_Topics_resize.JPG
TWOT_Child_Topics_resize.JPG (81.54 KiB) Viewed 6314 times
But I also noted that this may not be a true "child" topic, due to the book-mark icon. I noted upon examining the "topics" table of TWOT in SQL Lite, that the child entries are actually of "meta" "Content type".
TWOT_Child_Topics_meta_resize.JPG
TWOT_Child_Topics_meta_resize.JPG (52.87 KiB) Viewed 6314 times
To test things out, I took some sample data in my BDB Test module, organised it by making the pages with the root word as the parent topic, and derivatives of the root word as child topics of their respective root word parent topic. I then created a new dictionary, dragged these topics across to it, but the parent-child structure was lost -- all child topics reverted to a parent topic strudture.

How do I do create child topics as per TWOT in my own dictionary module?

Thanks.

Blessings,

Re: Is "New Topic as Child" for dictionary implemented

Posted: Sun Dec 25, 2016 11:08 am
by csterg
Paul,
this is a 'virtual' topic (or an internal bookmark), meaning that it is not really a different topic, but a bookmark within the same topic that appears as a different topic in the tree.
Is that what you want?
Costas

Re: Is "New Topic as Child" for dictionary implemented

Posted: Mon Dec 26, 2016 2:06 pm
by engellion
Yes, Costas, this is what I want. Please advise how I can get this to work in a dictionary module.

Thanks.

Re: Is "New Topic as Child" for dictionary implemented

Posted: Mon Dec 26, 2016 3:01 pm
by JG
Paul,
the specification for Link-topics is shown in the book module spec document. It is not something that can be done from inside theWord.

http://www.theword.net/docs/tw3-book-module-spec.doc

Re: Is "New Topic as Child" for dictionary implemented

Posted: Tue Dec 27, 2016 12:50 am
by engellion
Great! Thanks Jon.