Pages: « 1 2 3 4 5 6 7 8 9 10 »
 41 
 on: August 21, 2019, 09:30:40 AM 
Started by 2dogsandawriter - Last post by 2dogsandawriter
Update. Entering a custom attribute id for the <p></p> elements makes them available for insertion into a topic.

 42 
 on: August 21, 2019, 09:04:17 AM 
Started by 2dogsandawriter - Last post by 2dogsandawriter
I am authoring in XMetal Author Enterprise 12.0
Binary#: 12.0.0.079
Installer#: 12.0.0183
my conref files are in a sub folder called "shared paragraphs" under the .common content folder.

I've created a conref that contains 2 paragraphs and an unordered list. I can insert the list into a reference topic without problems but the paragraphs are not available.

I recreated the conref with only 1 paragraph and still wasn't available to insert into a reference topic.

I copied a paragraph from an older conref into the new one, and then edited the text. This one, I could insert into the topic without problems. I was able to copy that working paragraph into the conref with the list. That worked too.

Has anyone else seen this? 
Thanks

 43 
 on: August 21, 2019, 01:56:07 AM 
Started by phe_de - Last post by phe_de
In the CTM file, after the <Templates> section (as a sibling to that section), add the following:

  <Tables>
    <CALSTable useFindInsertLocation="true">
      <table alias="your nice name here">Table</table>
      <tgroup>tgroup</tgroup>
      <tbody>tbody</tbody>
      <thead>thead</thead>
      <colspec>colspec</colspec>
      <row>row</row>
      <entry>entry</entry>
    </CALSTable>
  </Tables>

If you don't have XMetaL Developer installed you may need to restart XMetaL Author for the CTM file to be reloaded.
Thank you so much! It works!

Is there a CTM syntax reference somewhere? I looked in the XMetaL Author and Developer help, but didn't find one.

 44 
 on: August 20, 2019, 11:09:06 AM 
Started by phe_de - Last post by Derek Read
In the CTM file, after the <Templates> section (as a sibling to that section), add the following:

  <Tables>
    <CALSTable useFindInsertLocation="true">
      <table alias="your nice name here">Table</table>
      <tgroup>tgroup</tgroup>
      <tbody>tbody</tbody>
      <thead>thead</thead>
      <colspec>colspec</colspec>
      <row>row</row>
      <entry>entry</entry>
    </CALSTable>
  </Tables>

If you don't have XMetaL Developer installed you may need to restart XMetaL Author for the CTM file to be reloaded.

 45 
 on: August 20, 2019, 08:04:26 AM 
Started by phe_de - Last post by phe_de
Hello,

One of our customers uses a complex XML Schema to validate their contents, which they edit with XMetaL.
They have a table model which is based on CALS, but has more possible sub elements.

An example XML file with the XSD file are attached to this issue.

The problem: By default, XMetaL does not display the tgroup content as a table.
When I enhance the local CTM file as suggested in this topic:
http://forums.xmetal.com/index.php?topic=3936.0
 <Tables>
    <CustomTable useFindInsertLocation="true">
      <table>tgroup</table>
      <row>row</row>
      <cell>entry</cell>
    </CustomTable>
  </Tables>


then XMetaL does display the tgroup content as a table; but it does not offer all editing possibilities for tables.
Especially the "Merge Table Cell" functions are not working.

What do I have to do to allow table cell merging?

Note: With earlier versions of XMetaL (9.0 or older), the merge-cell functions worked for the model of our customer, even without customization of the CTM file.
The current product, where merge cell is not working, is:
XMetaL 13 Author Essential
Binary#: 13.0.0.029
Installer#: 13.0.0213

 46 
 on: June 26, 2019, 08:03:07 AM 
Started by dmurphy - Last post by dmurphy
In XMetaL Author Enterprise 12.0, sometimes the content in Plain Text View displays in such a way that some content is shifted to the left, covering other content (see the attached image). Restarting XMetaL sometimes fixes it, but sometimes not.


 47 
 on: June 13, 2019, 01:50:54 PM 
Started by JS_Nbg_DE - Last post by Derek Read
Yes, it is the same Programmers Guide for XMetaL Author Enterprise, XMetaL Author Essential, and XMAX. APIs specific to XMAX are identified as such.

 48 
 on: June 13, 2019, 11:17:52 AM 
Started by JS_Nbg_DE - Last post by JS_Nbg_DE
Hello *,

exists an API-Description or a programmers guide for xmax?
We use xmax 9.0.

Sincerly
JS

 49 
 on: June 03, 2019, 09:01:12 AM 
Started by mikestratton99 - Last post by mikestratton99
Thank you so much for your speedy reply! Super-helpful! I am noodling on where to save the .oft (Outlook template) file.

 50 
 on: May 31, 2019, 05:17:36 PM 
Started by mikestratton99 - Last post by Derek Read
DITA supports linking to any file type.

However, what happens when the user clicks on a link to that file will depend on what format you are transforming to, what the DITA Open Toolkit creates for that link in that particular output, which application the person viewing/reading that particular output is using, and how that application (maybe a browser, but possibly also the OS, antivirus, etc) deals with the link when that person clicks on it, and whether the user has the right software installed to open and use an OFT file (ie: they have MS Outlook installed or some other software capable of using that file). Best case scenario is that it might be automatically associated with the right software like Outlook and opened. Worst case scenario is that nothing happens or the application tells the user it doesn't know what to do with an OFT file. Medium case scenario is that the application tells the user it doesn't know what to do and simply offers to save the file, or perhaps locate some software that can open it.

Lots of variables there, but perhaps some of them are within your control.

First thing I'd try is this:

1. Figure out where you are going to save the OFT file. This will either need to be a permanent location or travel with the other file you are outputting from this particular DITA task (ie: full path, or URL, or relative path).

2. Create a link from the task to the OFT file: Insert > Link > File Reference, browse to and select the OFT file. Or if the file will live on a web server then use: Insert > Link > Web Link.

3. Generate output for the task (using whatever output format you need it to be in) and see if it does what you need under whichever test conditions the person reading your output content will be using.

The following works under these specific conditions for me on Windows:

1. The <xref> @href value links to the *.oft file (ie: C:\temp\template.oft) or relative path (ie: template.oft) and @scope is set to either "peer" or "external". (see note 1)

2. Generate output in HTML form using the default DITA OT. Most people are generating some form of HTML (CHM, HTML, Java Help, etc, so this is my assumption).

3. Open the resulting HTML file in a browser.

4. In the HTML (in the browser) click on the link to the OFT file. Some versions of IE will just try to open the file, some will trigger a security warning, some will prompt you to save and / or scan for viruses then might offer to open the file. Other browsers should do similar things.

5. If whatever happens in #4 triggers the file to be opened then it might open. I have MS Outlook installed and it is associated with these files so opens the OFT file.

Note 1: The DITA specs are a bit vague on which @scope value is correct for this particular case, but the DITA OT generates a link (at least in HTML) that browsers seem to deal with in a somewhat expected way in both cases. That expected way (for me) is that because the browser itself can't open the file it either offers to save it somewhere on my system, or it saves a temp copy and offers to open it in an application or my choosing, or it saves a temp copy and then automatically opens it in MS Outlook (if I have it installed).

If all that works then you might be done -- assuming all the people reading that topic in its output form have a similar setup.

If it doesn't work then you might need to adjust attributes for the <xref> (perhaps a relative link is needed if you are shipping the OFT file together with the output topic, or perhaps if you are storing the OFT file on a web server you really should be using a URL instead). The main two for <xref> are @href and @scope (see the DITA specs for details) which you can also adjust using the Attribute Inspector (F6). Depending on the output you are generating you may also need to adjust how the DITA OT generates that output (CHM, PDF, HTML, Java Help, etc) or whichever other process you are using to generate output if it is using something other than the DITA OT, a modified copy of the DITA OT, or something else.

If things beyond how output is generated need to be modified, or controlled, I don't know that there is much else you can do unless this is part of some internal system and you can force people reading the file to follow some procedure and configure their computers a specific way. ie: If the person reading your output doesn't have or refuses to install MS Outlook what do you want them to do instead?

Pages: « 1 2 3 4 5 6 7 8 9 10 »
email us