Pages: « 1 2 3 4 5 6 7 8 9 10 »
 21 
 on: July 17, 2017, 08:00:27 AM 
Started by lekiert - Last post by lekiert
ActiveDocument.ShowEditButtonInAttributeInspector doesn't work if a list of possible values is specified in DTD. Instead of elipsis button the standard listbox is displayed. Is there a workaround that allows to display elipsis button without changing the DTD?

 22 
 on: July 14, 2017, 10:51:51 AM 
Started by tsnnsc - Last post by tsnnsc
Hello Friends,

I am currently in the job market looking for a very similar type of job that I was doing at Texas Instruments/National Semiconductor where I was a technical documentation specialist/engineering support for the past 25 years. Since I was from the start of introducing XMetal to create and publish web ready technical documents like datahseets, application notes, user guides etc. I blindly developed my expertise with the application and did not bother to look into any other form of editing. Now, as I see other companies where FrameMaker is used extensively, I am totally at a loss and feel like I am useless. I really need some help in how to shape myself or is it worthwhile to look into learning FrameMaker, though it will be easy to pick up FM as I have a lot of years with XMetal. But, the hiring companies are ready to accept the fact....

Thank you very much. I would be more than happy to talk to anyone who can guide me through.
Sincerely,
Shantha Natarajan

 23 
 on: July 12, 2017, 02:48:10 PM 
Started by Derek Read - Last post by Derek Read
XMetaL "release notes" and "install readme" files for version 12.0 products.
See bottom of this posting for links to zip files for each product.

See also: Do I need the 32-bit or 64-bit version?

XMetaL Author Enterprise 12 (32-bit and 64-bit)
software release date:2017-04-20
zip file:XMEE_12_Release_Notes.zip
contains:"XMetaL Author Enterprise 12.0 Install Readme" (install-readme.html)
"XMetaL Author Enterprise 12.0 Release Notes" (readme.html)

XMetaL Author Essential 12 (32-bit and 64-bit)
software release date:2017-04-20
zip file:XMES_12_Release_Notes.zip
contains:"XMetaL Author Essential 12.0 Install Readme" (install-readme.html)
"XMetaL Author Essential 12.0 Release Notes" (readme.html)

XMAX (XMetaL Author for ActiveX) 12 (32-bit and 64-bit)
software release date:2017-04-28
zip file:XMAX_12_Release_Notes.zip
contains:"XMetaL XMAX 12.0 Install Readme" (install-readme.html)
"XMetaL XMAX 12.0 Release Notes" (readme.html)

XMetaL Developer 12 (32-bit and 64-bit)
software release date:tbd

For previous releases see:
XMetaL Release Notes (readme files) for version 5.0 - 6.0 SP1 products
XMetaL Release Notes (readme files) for version 7.0 products
XMetaL Release Notes (readme files) for version 8.0 products
XMetaL Release Notes (readme files) for version 9.0 products
XMetaL Release Notes (readme files) for version 10.0 products
XMetaL Release Notes (readme files) for version 11.0 products

 24 
 on: July 10, 2017, 12:44:40 PM 
Started by Consigliere - Last post by Derek Read
Yes, as you have noted, there is functionality included with the DITA authoring solution in XMetaL Author Enterprise that lets you copy from Word and paste into a DITA document. It attempts to convert HTML on the Windows clipboard into DITA, so it actually works whenever there is any HTML on the clipboard, which means you can copy from Word, a browser, or any application that puts HTML on the clipboard.

Results will be mixed depending on how the original source Word document was marked up, which also influences what Word puts on the clipboard. Different versions of Word encode documents in different ways and they also end up putting different things on the clipboard.

One notable example is where two separate lists have been joined together to form what appears to be styled as a single list in Word (ie: 1. 2. + 1. 2. looks like 1. 2. 3. 4. in Word). In this case Word may put two different lists on the clipboard (1. 2. followed by a different 1. 2.) and this results in two lists being created in a DITA document (there is no way to add missing information that Word does not provide). These are the kinds of things that all Word to DITA conversion solutions are going to run into to different degrees for different reasons depending on their approach.

I don't think there is any perfect solution. Mostly due to the wide variety of proprietary Word formatting that has to be dealt with and the amount of time people are willing to spend trying to deal with them all. So, at present, no matter which solution you choose I think there is going to be some manual fixing up to do. The one benefit to using the XMetaL copy and paste feature is that the resulting document should be valid. The main drawback is that there is no batch capability.

 25 
 on: July 06, 2017, 09:59:05 AM 
Started by akheiljain - Last post by akheiljain
Hi Derek,
I was able to run my js using the sample http://forums.xmetal.com/index.php/topic,514.0.html, but once the event takes place in the browser window, it doesn't report the event back to XMetal.
I have the mcr set to :
<?xml version="1.0"?>
<!DOCTYPE MACROS SYSTEM "macros.dtd">
<MACROS>
   <MACRO name="On_Application_Open_Complete" lang="JScript" hide="true"><![CDATA[
      // XMetaL Script Language JSCRIPT:
      ResourceManager.Visible = true;
      ResourceManager.RemoveTab( "Assets" );
      ResourceManager.RemoveTab( "Desktop" );
      ResourceManager.RemoveAllTabs();
      ResourceManager.AddTab("Web Service","Shell.Explorer");
      ResourceManager.SelectTab("Web Service");
      WebService = ResourceManager.ControlInTab( "Web Service" );
      WebService.navigate( "file:///C:/Program%20Files%20(x86)/XMetaL%209.0/Author/Forms/resManTest.html" );
   ]]></MACRO>
</MACROS>

And the html file looks like :
window.open("http://hw-en-daem-ap01:8080","Picker")
if(window.addEventListener) {
        window.addEventListener("message", receiveMessage, false);
    }//if
    else if (window.attachEvent) {
        window.attachEvent("onmessage", receiveMessage, false);
    }//else
 
    function receiveMessage(event) {
        console.log("Received message from: " + event.origin);
 }

The receiveMessage is never called.

 26 
 on: July 05, 2017, 04:39:36 AM 
Started by Consigliere - Last post by Consigliere
Hello,

I've been struggling with trying to convert Word documents into DITA. I have a number of methods available, but none have really worked out for me. I'm using XMetaL 12 Author Enterprise.

I have tried to convert Word documents into DITA with a program called X-ICE, which is advertised as sort of an extension of XMetaL. However, there is next to no information on it online. There's the user manual online - which happens to be more complete than the manual it comes with - but no one has as much as commented on the program on any forums, let alone shared tips or tricks or anything.

My problem with X-ICE lies in that it requires you to create specific rules to "scan" Word documents with. In certain cases, it goes well enough, but in other cases, the documents' styling is like a patchwork so rules like that won't work. And even if the text is styled conveniently enough that X-ICE can go through it, its output is not simple enough to customize. It constantly runs into problems, such as not closing tags, or closing them but leaving the cursor inside the tag - things that are fairly small, but will throw a gigantic monkey wrench in the works. And EVEN if this problem was solved, it would arise all over again once documents with differently funky layouts pop up. So all in all, X-ICE doesn't sound like a very stable solution.

There is another converter program called Convertoo, but it's even worse than X-ICE in certain ways. While X-ICE's shortcomings could arguably be called user-based on some level, Convertoo simply won't work with half the Word documents I try to convert.

I've even tried looking up alternative methods, such as converting Word into RTF and then somehow converting that into DITA/XML, but that was a fairly fruitless endeavour too. I tried using Paul Tremblay's rtf2xml program, but the attempt fell short at installation.

So my question is: Does XMetaL have any form of assistance regarding the conversion of Word documents into DITA/XML? Oxygen apparently does it natively, but does XMetaL have anything similar? How do people usually deal with the need to bring a ton of legacy documents into DITA?

I've tried copying and pasting the contents of an RTF file to a Generic Topic, and although it did keep the tables, images, and other elements intact, it did have its own problems. And correcting hundreds of files manually doesn't sound too plausible...

 27 
 on: July 04, 2017, 09:26:08 PM 
Started by bjorn - Last post by tonys
I believe when disabling macros it is best to use the On_Update_UI even macro. All macros are enabled when this is called so disabling macros elsewhere will probably give the wrong result.

Try something like this:

<MACRO name="On_Update_UI" lang="JScript"><![CDATA[
if (ActiveDocument.ViewType == 2) /* 2: plain text */
   Application.DisableMacro("MacroName");
]]></MACRO>

 28 
 on: July 04, 2017, 06:15:10 AM 
Started by bjorn - Last post by bjorn
We use track changes when editing documents.
I see when I switch from "Tags on view" mode to "Plain text view" mode the buttons in the reviewing toolbar goes gray, meaning that they can't be used. I have added a custom button to the reviewing toolbar and I want the new button to also be "gray" when changing to "Plain text view".

I guess the function that is making the default reviewing buttons gray is a builtin function in XMetaL, meaning that they cannot be altered.

Is there a function that is executed when changing view mode? Maybe I can change this method to deactivate the new button/icon.

Or do you have any other suggestions to solve this?


Using XMetaL Version#: 9.0.0.053


Thanks!

 29 
 on: June 29, 2017, 04:44:23 PM 
Started by formsandprecedents - Last post by Derek Read
I think you can only really do this in Plain Text view, since your id values and the content inside the <label> and the other text is probably different for different <footnote> elements. You can find things using regular expressions but there is no mechanism in this version to leave some portion of what has been found unchanged (the replacement affects everything you find).

So, use Plain Text view and make two separate replacements like this:

Replacement #1:
Find: <footnote
Replace: .<footnote

Replacement #2:
Find: </footnote>.
Replace: </footnote>

The other option would be to write a script. That would involve walking the document using a few different APIs, finding the element in question, checking to see if it has a period before it, if not add one, checking to see if it has a period after it and removing it. Unless you need to do this all the time (or for multiple users) I'd just use the Find described above.

 30 
 on: June 28, 2017, 08:55:54 PM 
Started by formsandprecedents - Last post by formsandprecedents
Sorry for the nooby question, but can anyone suggest a search and replace string for the following situation:

I am trying to move the punctuation mark to before the footnote mark throughout an entire document. The XML tags are as follows:

<footnote id="FN1"><label>1</label>footnote text goes here</footnote>.

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