Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


PS: One thing you might try to see if we can isolate the difference more closely: Download my ODT 
file from the location I provided and see how it saves as HTML on your system.

-----Original Message-----
From: Dennis E. Hamilton [mailto:dennis.hamilton@acm.org] 
Sent: Tuesday, May 24, 2011 09:25
To: users@libreoffice.org
Cc: 'Michael D. Setzer II'
Subject: RE: [libreoffice-users] Export to html with links doesn't work 

With LO3.3.2 Win32 (on Windows 7) the Writer Save As ... HTML action produces correct links from 
the TOC items to the sections of the document.  LO3.4.0rc1 also produces a linking TOC 
successfully.  I see other difficulties with the HTML, but not that.

Here's an example of a TOC entry in the HTML from LO3.4.0rc1:

    <P STYLE="margin-top: 0.04in; margin-bottom: 0.04in; background: transparent; 
page-break-before: auto">
        1  <A CLASS="western" HREF="#__RefHeading__19223_1177041755">Introduction       3</A></P>

(You can see the relatively-small LO3.3.2 test files I am using to confirm consistency of the three 
forms at
<http://www.oasis-open.org/apps/group_public/document.php?document_id=42264>.)

I have no idea why the Win32 and other builds would differ in this regard.  I suspect there is some 
subtle difference in our documents that leads to the breakage we encounter.  I find there are many 
ways for that sort of thing to arise.  Oh, and I have the Tools | Options | Load/Save | General | 
ODF format version set to 1.0/1.1 and HTML Compatibility set to the default (?) (Netscape 
Navigator) and Unicode (UTF-8).  I'm not sure why any of these would matter in this case.

The procedure for filing bugs is at
<http://wiki.documentfoundation.org/BugReport>
and the best way to get to the bug-report form is via 
<https://bugs.freedesktop.org/enter_bug.cgi?product=LibreOffice>

 - Dennis

-----Original Message-----
From: Michael D. Setzer II [mailto:mikes@kuentos.guam.net]
Sent: Tuesday, May 24, 2011 01:09
To: users@libreoffice.org
Subject: [libreoffice-users] Export to html with links doesn't work 

While working on documentation of a project that has a TOC with links that work in the ODT and PDF 
versions, but the HTML version would not jump to the links? In looking at the HTML code, I found 
the problem and was able to manually fix it.

The links in the TOC had a_ in front of them, but when I found the matchin id= they had a__ (two _ 
instead of just one). Doing a search and replace fixed the issue. I thought it might be that I had 
a beta version, so I downloaded the latest linux version, and installed it. But the same thing 
happened with the 3.3.2. 

Haven't tried it in the windows version, since I don't have windows on home machines. Looked for a 
place to report this as a bug, but the list is the best I was able to find. 

Thanks.

+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes@kuentos.guam.net                            
  mailto:msetzerii@gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original) Number of Seti Units Returned:  19,471 Processing time:  
32 years, 290 days, 12 hours, 58 minutes (Total Hours: 287,489)

BOINC@HOME CREDITS
SETI        10781049.916581   |   EINSTEIN     5914603.630851
ROSETTA      3166465.079872   |   ABC          5944986.617824


--
Unsubscribe instructions: E-mail to users+help@libreoffice.org Posting guidelines + more: 
http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/users/
All messages sent to this list will be publicly archived and cannot be deleted


-- 
Unsubscribe instructions: E-mail to users+help@libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/users/
All messages sent to this list will be publicly archived and cannot be deleted


-- 
Unsubscribe instructions: E-mail to users+help@libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.