[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2024-01-16 Thread Andrew Shark
https://bugs.kde.org/show_bug.cgi?id=467128

Andrew Shark  changed:

   What|Removed |Added

 CC||ash...@linuxcomp.ru

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-11-15 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=467128

--- Comment #11 from Albert Astals Cid  ---
Can you remind me when is kde-nochunk.xsl used?

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-24 Thread Luigi Toscano
https://bugs.kde.org/show_bug.cgi?id=467128

Luigi Toscano  changed:

   What|Removed |Added

 CC||luigi.tosc...@tiscali.it

--- Comment #10 from Luigi Toscano  ---
That was long ago but I vaguely remember that kde-no-chunk had a few issues and
I decided to postpone the fix because it was not trivial and the web version on
docs.kde.org was used anyway for most cases. But I may be wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-24 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=467128

--- Comment #9 from Jack  ---
There is certainly no rush - this has been sitting for a while, it can sit
longer :-)  Let Luigi enjoy is holiday.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-24 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=467128

--- Comment #8 from Albert Astals Cid  ---
We probably want Luigi to comment since he did that change 10 years ago, but as
far as i understand he's on holiday so let's wait a bit

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-24 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=467128

--- Comment #7 from Jack  ---
I hate to keep updating myself, but on further thought, I'd say only
kde-no-chunk should get the same change that kde-chunk did, as both  are most
likely to be used on a local system, for use by khelpcenter.  For kde-web, it
should probably not specify any directory for the css, letting it be found in
the same folder as the html itself.  That would make more sense if you are
actually hosting it in a web server.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-23 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=467128

Jack  changed:

   What|Removed |Added

 CC||ostroffjh@users.sourceforge
   ||.net

--- Comment #6 from Jack  ---
By the way - I am just running "firefox index.html" in the directory where the
file is, not actually using a web server.  Looking at the README in the
customization folder of kdoctools, it looks like kde-no-chunk should only
differ from kde-chunk (the default KDE style sheet) by using separate files per
chapter instead of a single file, and kde-web is a simplified version with
limited width.  Other than those specific differences, I don't see why their
reference to a common directory should differ.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-23 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=467128

--- Comment #5 from Jack  ---
I just found the following commit for kde-chunk.xsl.

commit 1cd33b3cad5c9a38d39655a39aac911ed7b334f8
Author: Luigi Toscano 
Date:   Sat Apr 26 02:44:12 2014 +0200

Enable common/ for a different prefix, adapt kde-chunk.xsl

Common files are installed again as it was in kdelibs4, but under
a different prefix (kdoctools5-common) to avoid conflicts with the
"old" common directory from kdelibs4.
kde-chunk.xsl has been adapted to use this new prefix.

REVIEW: 117781

Does this change in prefix need to also be applied to kde-no-chunk.xsl and to
kde-web.xsl?  (the only two xsl files which have ../common)

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-23 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=467128

--- Comment #4 from Albert Astals Cid  ---
kde-web is for the kde web, your computer is not setup the same way the kde
web, so the paths are "wrong" for your setup but it's not necessarily a bug.

[*] The kde web may have changed its setup and the paths are also wrong for it,
that's a separate story  and would be indeed a bug of the web setup :D

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-23 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=467128

--- Comment #3 from Jack  ---
If "../common" is actually from kde-web.xsl, then we know meinproc5 is indeed
using that file with the --stylesheet parameter.  So, when the OP says "does
not display properly" I'm very curious exactly what was wrong with the display.
 (see my theory below)

I have no idea where that ../common directory is supposed to point, but I think
it is being taken as relative to the location of the xsl file.  Using the web
developer tools in Firefox, it appears NO css files are being used to display
the index.html produced when I use --stylesheet.  If I change that ../common to
point to the css as referenced in the index.html produced without --stylesheet,
the styling from that css file is used.

If I use kde-no-chunk.xsl I get the same result (in terms of styling) as using
kde-web.xsl, but with chapters in different files, not all in one.  So,
--stylesheet IS doing something, but the reference css file is not being used,
since it's not in the directory specified.

So - is there any way to know what kde-web.xsl is trying to do by using
../common, which doesn't seem to point to any existing directory?  That would
certainly explain why there is no apparent styling applied.

Note, on my system the stylesheets are in
/usr/share/kf5/kdoctools/customization/ and the css files are in
/usr/share/help/en/kdoctools5-common.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-23 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=467128

Albert Astals Cid  changed:

   What|Removed |Added

 CC||aa...@kde.org

--- Comment #2 from Albert Astals Cid  ---
That's defined in the kde-web.xsl file itself, no?

../common/


Why is that a problem?

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kdoctools] [Bug 467128] kde-no-chunk.xsl and kde-web.xsl do not work

2023-10-22 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=467128

--- Comment #1 from Jack  ---
I just ran into this again, and noticed something that might be relevant. 
Without the --stylesheet parameter, index.html produced by meinproc5 includes
the snippet  within the .  (There
are also other, similar links to other css files.  Note (at least on my
systrem) that file is actually in /usr/share/help/en/kdoctools5-common. 
However, when using --stylesheet
/usr/share/kf5/kdoctools/customization/kde-web.xsl, that snippet becomes .  I have not
yet lookied into the meinproc5 source to see how it congures this path, but
that looks like it could be the reason no proper styling seems to be done at
all.

-- 
You are receiving this mail because:
You are watching all bug changes.