Forum Replies Created
gcrews June 8, 2010 at 8:30 pm
Reply To: Change Creation of an CHM-FileJune 8, 2010 at 8:30 pmParticipants 0Replies 198Last Activity 11 years ago
You could add “ANT_PARAM_args.outext = htm” to the advanced tab on the chm output to get .htm files.
As you the flat file system, that’s going to take a bit more. You may want to look though this thread on the dita-users group ( http://tech.groups.yahoo.com/group/dita-users/message/18105 ).gcrews June 5, 2010 at 11:38 pm
Reply To: Overriding Html ViewJune 5, 2010 at 11:38 pmParticipants 0Replies 198Last Activity 11 years ago
Not a complaint. I was just wondering if it was possible after seeing how the Journalist file works, but I see now that it would not work with dita. I didn’t want to have to completely change the Tag and Normal view CSS to get a close to accurate WYSIWYG view without having to full render it.
I noticed the Journalist DocType has a multiple CSS styles with buttons to switch between them. That’s only for the Structure though and on Journalist files. I tracked that button down to the call ActiveDocument.RefreshCssStyleDoc.RefreshCssStyleToAppend(); but could not get it to work on a dita call. RefreshCssStyleDoc come back as null and I can’t find any info on it. Do you know if it’s possible to have multiple CSS files like that but for tag and Normal view with a similar call? I could probably make a macro button that would write a topic_ditabase.css that imports another CSS for each button and then just call the standard RefreshCssStyle() function. This way there can be one CSS for tag an normal view that shows the conrefs in gray, meta data, ect… and then have another CSS with it as close to output format as possible.gcrews June 5, 2010 at 12:39 am
Reply To: Overriding Html ViewJune 5, 2010 at 12:39 amParticipants 0Replies 198Last Activity 11 years ago
Thanks for the feedback. I saw that function and poked around but wasn’t finding what I was trying to edit. What I was talking about was how when you’re in a journal file and go to the preview mode it opens up in about 1 second using journalist_Style.xsl. However when you go to preview a DITA file, it fires up the toolkit and takes about 10 seconds. I was hoping I could enable the same thing for DITA files and make some xsl and CSS files that would create a near match to the actual output without going through the toolkit and generating it quickly. Thinking about it now though, that’s not going to work well because of all the conrefs and filtering that the toolkit does but a single xsl transform could not very easilygcrews May 26, 2010 at 6:20 pm
Reply To: XMetaL 6 crashesMay 26, 2010 at 6:20 pmParticipants 0Replies 198Last Activity 11 years, 1 month ago
As much as I would love to do that it’s not really an option in our department since McAfee is used system wide. Perhaps there a work around such as excluding xmetal60.exe or its folder or on access scan or script scanning? I tried adding Xmetal to the exclude lists but they are overwritten with company policy a few min later. My Xmetal 6.0 pretty much crashes consistently when you use any kind of dialog box in Xmetal, the crash is just delayed. I will try some experiments and see if I can find a solution, if not Xmetal 6.0 is pretty much unusable for anyone in our department or company for that matter. Are there any bugs that have been reported or fixed related to this that future releases will cause Xmetal will be functional again?gcrews April 20, 2010 at 12:01 am
Reply To: XMetaL 6 crashesApril 20, 2010 at 12:01 amParticipants 0Replies 198Last Activity 11 years, 2 months ago
I’m having the same kind of issues. Have you tried http://forums.xmetal.com/index.php/topic,526.0.html
Apparently it helped some people but my Xmetal 6.0 still has issues. I mostly do just compiles and toolkit tweaking so it doesn’t bother me too much. I wonder if there is some interaction with another piece of software. Do you have MacAfee on your system by any chance?gcrews April 19, 2010 at 11:20 pm
Reply To: Marginalia or Floating Text?April 19, 2010 at 11:20 pmParticipants 0Replies 198Last Activity 11 years, 2 months ago
I started dabbling with marginalia last week. We are trying to create training materials with a student and instructor pdf format. The instructor pdf needs to have extra notes but that will not affect the page count so it’s always in sync with the student guides. I posted about this on the dita-users yahoo group and got a good response from user renderxxep that pointed me to the 7th example on http://www.renderx.com/usecasestest.html it shows just what you are asking. If you know your way around the pdf customizations it’s possible, but tricky. Hardest part is getting the margins just right.gcrews April 9, 2010 at 7:01 pm
Reply To: Indent bullets on PDFsApril 9, 2010 at 7:01 pmParticipants 0Replies 198Last Activity 11 years, 2 months ago
Try adding the following to:
gcrews April 9, 2010 at 6:25 pm
Reply To: Breadcrumbs in XHTML outputApril 9, 2010 at 6:25 pmParticipants 0Replies 198Last Activity 11 years, 2 months ago
I never used that plug-in but I created my own code to create bread crumbs. I can’t quite figure out what the plug-in is doing glancing at the code. It does not look like there is any true plug-in integration code for a dita-ot plug-in code such as a conductor that puts it in the regular Xhtml target flow. You probably need to make a new target or put it in the Xhtml target flow. The main problem I find with breadcrumbs is when a topic is included in the map many times. Either you have it show all breadcrumbs or just the first match. Both ways have their advantages and downsides.gcrews March 26, 2010 at 9:52 pm
Reply To: Different pdf StylesMarch 26, 2010 at 9:52 pmParticipants 0Replies 198Last Activity 11 years, 3 months ago
Thank you so much for your help. I was thinking about making a copy of the customization folder and doing something similar. I think I found out a solution that works similarly but is a little more complex. Since the main 2 files that I have had to edit (so far) have been the the custom attrs and xsl file, I found I can just have 2 different catalog files. I changed the build script slightly to check for a parameter of a catalog filename. This way allows me to only have a few different files that can import/include a common set of changes from an xsl file and only have minimal code. With having completely different customization folder sets may lead to lot of code duplication. Down the line it would become hander and harder to make slight changes that have to affect every output format. Additionally when there are Xmetal updates it would be easier to compare the file structure and migrate my changes to a newer version of the toolkit.gcrews March 23, 2010 at 5:00 pm
Reply To: page breaks between topicsMarch 23, 2010 at 5:00 pmParticipants 0Replies 198Last Activity 11 years, 3 months ago
I tried the Evaluation Guide and low and behold there were no page breaks between the topics. Turns out if you have a chapter tag but with no topic associated with it puts the sub topics on separate book pages.
Thank you for your help, I Knew there must have been some DITA element I was missing.gcrews February 24, 2010 at 1:37 am
Reply To: Problems during rendering to PDF and CHM / XMetaL 188.8.131.52 /February 24, 2010 at 1:37 amParticipants 0Replies 198Last Activity 11 years, 4 months ago
I think that will fix the pdf issue, but you may still have issues with the chm build at the end. I don’t think the HtmlHelp workshop call uses the XMETAL_DITA_SDK_DRIVE before changing directory. So if the HtmlHelp workshop is on D: to and Xmetal is opened on C: it may not work.gcrews February 23, 2010 at 9:55 pm
Reply To: Problems during rendering to PDF and CHM / XMetaL 184.108.40.206 /February 23, 2010 at 9:55 pmParticipants 0Replies 198Last Activity 11 years, 4 months ago
Looks like the issue I ran into with opening Xmetal with the Current working directory on a network share. I think the “cd” command in the instructions file (print_dita142.xml) is not working since the cd command need the “/d” option to change drive letters. When tries to cd to “D:Documents and Settings” from C: it fails, that’s why it can’t find the build.xml. I know in Xmetal 6.0 the changed the command to “pushd”, I think just adding the /d argument could have worked to. I’m not sure directly editing the print_dita142.xml directly would be recommended. You could also try pointing the DITA_OT_DIR to a directory on the same drive temporally. Just my thoughts on the issue.gcrews February 16, 2010 at 9:46 pm
Reply To: Upgrade to XMetaL Reviewer 6.0February 16, 2010 at 9:46 pmParticipants 0Replies 198Last Activity 11 years, 4 months agogcrews February 4, 2010 at 11:46 pm
Reply To: Crash when adding metadata (6.0)February 4, 2010 at 11:46 pmParticipants 0Replies 198Last Activity 11 years, 4 months ago
There is still something goofy going on. I am able to crash XMetaL about 9 times in 30 min when I’m doing different things. But that is clicking around wily nilly until it crashes trying to pinpoint a cause. It seems to almost be random but nothing random. I think I may have a theory. It may be a timing thing if you try and insert something or do something right in the middle of the spell-check routine. The crashes I have experienced don’t seems to be related to a particular task but more the timing of quickly doing stuff. Every event in the picture below is an XMetaL crash.
I noticed one of the crashes was when the metadata.xft started being read right in the middle of reading the writing tools files. Perhaps the removal of the files and repair install just defragmented the files causing them to load faster and not get interrupted therefore not crashing? My laptop also has whole disk encryption, perhaps people with slower disk I/O cause more crashes?
To reproduce a crash try opening up a dita file with a decent amount of text and go to “insert” menu, then “Topic Metadata” then just press “Ok” then repeat 8+times quickly trying to interrupt the spell check routine.gcrews February 4, 2010 at 12:32 am
Reply To: Upgrade to 6.0 — map editor crash?February 4, 2010 at 12:32 amParticipants 0Replies 198Last Activity 11 years, 4 months ago
I still can get XMetaL 6.0 to crash after a fresh install. I did find some things that may help.
In the windows application log file it says:
“Faulting application xmetal60.exe, version 220.127.116.11, stamp 4b4ee45a, faulting module oleaut32.dll, version 5.1.2600.5512, stamp 4802a112, debug? 0, fault address 0x00004942.”
The interesting thing though is the event source it says “.NET Runtime 2.0 Error Reporting”
I looked into what dlls XMetaL has open and looks like some .net framework 2.0 stuff is open. I have 1.1, 2.0, 3.0, and 3.5 versions of the .net framework on my system. Perhaps having older versions of the .net framework on the system is causing the crashes?
Also trying to pinpoint the issue, I found slurry of reads to topicref.xft right before the crash. The topicref.xft file is 37,806 bytes and it looks like it crashed one I/O read away from the end of the file. The Microsoft application error reporting application (dw20.exe) also opens a handle to just that XMetaL file when it runs.
Hope that helps. Images atached showing log and stuff.