Forum Replies Created

  • txvia

    Reply To: Extra spaces before and after a conreffed keyword wrapped in <codeph>

    Participants 0
    Replies 28
    Last Activity 10 years, 6 months ago

    Hi Derek:
      The “keyword” to my problem is “conref.” In your example, you were generating a PDF from a source that does not contain conreffed keyword, but in my case, I used “conreffed” keyword, wrapped it in , and I got extra white spaces before and after the “conreffed” keyword. If you don't mind, I can send my source file to you for testing.

    I am maintaining a separate DITA file that contains nothing but keywords, and if I want to reference any of those keywords, I inserted them using the “Insert Element with Content Reference” function in XMetaL.

    Reply

    txvia

    Reply To: Extra spaces before and after a conreffed keyword wrapped in <codeph>

    Participants 0
    Replies 28
    Last Activity 10 years, 6 months ago

    Hi Derek: Do you think that the newer version of DITA-OT fix that problem? I used PDF2 on both tools, but oXygen seems to be shipped with DITA-OT v.1.5.4, does the latter correct that problem? Thanks.

    Reply

    txvia

    Reply To: <shortdesc> gets ignored for chapter topics in PDF output

    Participants 0
    Replies 28
    Last Activity 10 years, 9 months ago

    I've resolved this issue, and here is my solution:

    1) Go to C:Program Files (x86)Common FilesXMetaL SharedDITA_OTdemoxmfoCustomizationfoxsl (Program Files for Windows XP), and open the file “xm_commons_mod.xsl”.
    2) Search for the following code:


                        [XM] no miniTOC in chapter
                        [XM] no miniTOC in chapter
                       

                       
                           
                       

    3) Add the following code right after [XM] no miniTOC in chapter in the code above:


                           
                       

    4) The entire code now looks like this:


                        [XM] no miniTOC in chapter
                        [XM] no miniTOC in chapter
                     
                       
                           
                       

                     
                       

                       
                           
                       

    Hope this helps anyone who is interested.

    Reply

    txvia

    Reply To: <shortdesc> gets ignored for chapter topics in PDF output

    Participants 0
    Replies 28
    Last Activity 10 years, 9 months ago

    Hi Derek:

      Is there any other ways of getting to appear in PDF output other than restructuring my ditamap file? Are there lines of code that I can just modify to get that to appear?

    My current doc structure is this:

    Thanks

    Reply

    txvia

    Reply To: Generate PDF with Symbol, Courier New and Wingding

    Participants 0
    Replies 28
    Last Activity 10 years, 9 months ago

    Hi Derek: I've followed the instructions step-by-step detailed in: [url=http://forums.xmetal.com/index.php/topic,116.msg1254.html#msg1254]http://forums.xmetal.com/index.php/topic,116.msg1254.html#msg1254[/url], but that did not work. As I've stated before, the way I got the symbol to appear was when I changed the default-family to ArialUnicodeMS and embed the font in xep.xml. My company must use a proprietary font for its PDF output due to marketing requirements, and we cannot supress that font for something else, this is precisely what my dilemma is.

    If you don't mind, I'd like to send you my version of xep.xml, font-mappings.xml, and en_US.xml in a private message for your reference, maybe by looking at my codes, you'd have a better understanding of where I am coming from. Please reply so I can send these files to you, thanks. 

    Reply

    txvia

    Reply To: Generate PDF with Symbol, Courier New and Wingding

    Participants 0
    Replies 28
    Last Activity 10 years, 9 months ago

    Hi Derek: The embedded font will only appear “embedded” in PDF is when I also defined the default family as “ArialUnicodeMS” (as in the following code in xep.xml):


     
     
     
              xml:base=”fonts/”
            default-family=”ArialUnicodeMS”>

    To actually embed the font, I did the following (also in xep.xml):




                   

    My problem is, I must define “default-family” as “ArialUnicodeMS” in order for the font to be successfully embedded; I already have another type face defined as “default-family” in xep.xml which my organization must use , what should I do so that I can continue using the font I defined previously while embed ArialUnicodeMS? Thanks again for your help!

    Reply

    txvia

    Reply To: Generate PDF with Symbol, Courier New and Wingding

    Participants 0
    Replies 28
    Last Activity 10 years, 9 months ago

    Hi Derek: Thanks for the detailed explanation, your solution worked like a charm; I got it to work in the WebHelp output. The only problem I am having is that the command key symbol doesn't appear in the PDF output (I used XMetaL Enhanced PDF via RenderX XEP to produce my PDF docs). I read through the links you posted as well as similar discussions previously posted in this forum, I still couldn't get it to work. Basically I tried to insert a few lines of code in both font-mappings.xml and xep.xml to get this to work. Below is what I did (I am running XMetaL 6.0 SP1 on Windows 7 by the way):

    1) In “C:Program Files (x86)Common FilesXMetaL SharedDITA_OTdemoxmfocfgfofont-mappings.xml”, I added the following codes:

    Wingdings

    2) In “C:Program Files (x86)Common FilesXMetaL Sharedrenderxxep.xml”, I added the following:


     

     

    I then redeployed DITA_OT and ran my PDF transform, to no avail.

    Could you tell me what is wrong with code and whether I've done things right so far? Thanks a million.

    Reply

    txvia

    Reply To: Generate PDF with Symbol, Courier New and Wingding

    Participants 0
    Replies 28
    Last Activity 10 years, 9 months ago

    Hi Derek: Thanks for the quick reply. Sorry I actually meant the Macintosh “command” key. You mentioned that “Arial Unicode MS” has a glyph for it, how do I embed it or make the character available so that I can just “insert” it while I am editing docs in XmetaL? Could you provide a step-by-step instruction? Thanks again.

    Reply

    txvia

    Reply To: Generate PDF with Symbol, Courier New and Wingding

    Participants 0
    Replies 28
    Last Activity 10 years, 9 months ago

    Hi Derek: Could you provide the “easier solution” like you have stated in your previous post? I have a similar problem; I'd like to use just 1 symbol from Wingdings in XMetaL and couldn't find a way to do it, I've read the XEP documentation but to no avail.

    The only symbol I'd like to use is the Mac option key symbol (which is “z”on the qwerty keyboard). In the screenshot you've shown, it seems like you want to replace one of the Arial characters and replace with it with a Wingdings character, is that right? And if that's the case, could you provide a simple tutorial to work around this? Thanks in advance for your help.

    Reply

    txvia

    Reply To: Embed custom font in webhelp output

    Participants 0
    Replies 28
    Last Activity 10 years, 10 months ago

    Great, thanks for your help Derek.

    Reply

    txvia

    Reply To: How the buid a lowcost and userfriendly publish enviroment ?SOS! :_)

    Participants 0
    Replies 28
    Last Activity 10 years, 11 months ago

    Hi, do you know whether there is a trial version of Topleaf, and where can I download it? I'd like to try it out with my licensed version of XMetaL Author 6.0. Thanks.

    Reply

    txvia

    Reply To: Embed custom font in webhelp output

    Participants 0
    Replies 28
    Last Activity 10 years, 11 months ago

    Hi Derek, as always, thanks for the quick reply. My question is not so much on how to use certain fonts in the html output,  but rather on how to “embed” proprietary fonts in the html pages that are ordinarily not installed in users' computers. I mentioned Cufon because that is a widely used method to embed fonts in html pages. I assume if it works for ordinary production html-based sites, it should work for local copies of html pages as well. Thanks again.

    Reply

    txvia

    Reply To: Add color to index page links

    Participants 0
    Replies 28
    Last Activity 10 years, 11 months ago

    Move this up and see if anyone has a solution for this, thanks.

    Reply

    txvia

    Reply To: Insert an image to the PDF cover page that fills up the whole page

    Participants 0
    Replies 28
    Last Activity 10 years, 11 months ago

    Hi Derek, could you tell me when using the jpg file I attached to produce a pdf output, what file size did you specify when generating the pdf so that it fits perfectly within the boundary of the title page? I'd like to use the values you set for my future reference, thanks again.

    Reply

    txvia

    Reply To: Insert an image to the PDF cover page that fills up the whole page

    Participants 0
    Replies 28
    Last Activity 10 years, 11 months ago

    I truly appreciate both of your help; I tried Derek's method, and it worked perfectly! I will try gcrews's method and let you know, thank you all.

    Reply

Products
Downloads
Support