Re: too big bother


Aaron Mehl
 

Thanks, 
That's exactly what I needed. I should have guessed that keyref could go in uicontrol, etc. but I just learned something new. I guess I will indeed need a separate map for my keydef's....
In fact I will have to reorganize my maps altogether. There is so much to learn....
Thanks,
Aaron

On Wednesday, March 17, 2021, 03:41:09 PM EDT, Chris Brand via groups.io <chrizzbee74@...> wrote:


Sorry, you asked for code view. Here you go.

Map with all UI keys:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//XPLM//DTD DITA Map//EN" "map.dtd">
<map>
...
?????? <topicgroup>
?????????? <topicmeta>
?????????????? <navtitle>field</navtitle>
?????????? </topicmeta>
?????????? <keydef keys="new_f_name">
?????????????? <topicmeta>
?????????????????? <keywords>
?????????????????????? <keyword>Name</keyword>
?????????????????? </keywords>
?????????????? </topicmeta>
?????????? </keydef>
?????????? <keydef keys="new_f_targetDir">
?????????????? <topicmeta>
?????????????????? <keywords>
?????????????????????? <keyword>Target directory</keyword>
?????????????????? </keywords>
?????????????? </topicmeta>
?????????? </keydef>
?????? </topicgroup>
...
</map>

Concept topic:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//XPLM//DTD DITA Concept//EN" "concept.dtd">
<concept id="concept_jjh_vrd_n1b" xml:lang="en">
?????? ...
?????? <section>
?????????? <title>Section: <ph keyref="new_s_settings"/></title>
?????????? <p>In this section, you can define the project name and the project directory.</p>
?????????? <p>
?????????????? <table frame="all" rowsep="1" colsep="1">
?????????????????? <tgroup cols="2">
?????????????????????? <colspec colname="c1" colnum="1" colwidth="2*"/>
?????????????????????? <colspec colname="c2" colnum="2" colwidth="5*"/>
?????????????????????? <thead>
?????????????????????????? <row>
?????????????????????????????? <entry>Label</entry>
?????????????????????????????? <entry>Description</entry>
?????????????????????????? </row>
?????????????????????? </thead>
?????????????????????? <tbody>
?????????????????????????? <row>
?????????????????????????????? <entry><uicontrol keyref="open_f_name"/> (F)</entry>
?????????????????????????????? <entry>Defines the project name.</entry>
?????????????????????????? </row>
?????????????????????????? <row>
?????????????????????????????? <entry><uicontrol keyref="new_f_targetDir"/> (F)</entry>
?????????????????????????????? <entry>Defines the directory where the design data will be created.</entry>
?????????????????????????? </row>
?????????????????????????? <row>
?????????????????????????????? <entry><b>Browse</b> (B)</entry>
?????????????????????????????? <entry>Opens Windows Explorer to select a directory.</entry>
?????????????????????????? </row>
?????????????????????? </tbody>
?????????????????? </tgroup>
?????????????? </table>
?????????? </p>
?????? </section>
?????? ...
</concept

Good luck!

Greez,
Chris.



Am 17.03.21 um 16:16 schrieb Aaron Mehl via groups.io:

Thanks, I saw this same issue on a old webinar but didn't get it then. I will print out your screen capture and spend some time on this.??

These aspects of Dita deserve my attention, wow,
Thanks,
Aaron
On Wednesday, March 17, 2021, 06:14:20 AM EDT, Chris Brand via groups.io <chrizzbee74@...> wrote:


Hi Aaron

I keep key definitions in a separate map and use topic-group elements to structure it. I then can search for the key in the "DITA Reusable Components" view and insert it (often as <uicontrol>).
See screenshot below for an example.



Greez,
Chris.

Join main@dita-users.groups.io to automatically receive all group messages.