Question about <ulink url="&wiki-filepermissions; "> (and similar)
Rich Johnson
nixternal at ubuntu.com
Wed Sep 13 20:56:23 UTC 2006
On Wednesday 13 September 2006 12:52, Milo Casagrande wrote:
> Hello to all!
> I've another question reguarding the use of variables inside the
> desktopguide.
> I've seen the global.ent file and this variable is defined inside it.
> What I would like to know is: if I substitute the
> "&wiki-[whateverepage]" with the link of a page (like
> http://wiki.ubuntu-it.org/PermessiFile for "&wiki-filepermissions"), is
> going to happen something wrong?
> We (as Italian team) have many pages similar to those of the english
> wiki, so it would be nice to link to those pages in the translated
> version of the guide.
>
> Bye.
Easiest way for the translated stuff I believe is to goto the main .xml file,
in this case it would be desktopguide.xml. You could do something like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % globalent SYSTEM "../../../libs/global.ent">
%globalent;
<!ENTITY % cdo-C SYSTEM "../../../libs/cdo-C.ent">
%cdo-C;
<!ENTITY % kde SYSTEM "../../libs/kde.ent">
%kde;
<!ENTITY % kde-general
SYSTEM "/usr/share/apps/ksgmltools2/customization/obsolete/general.entities">
%kde-general;
<!ENTITY % xinclude SYSTEM "../../../libs/xinclude.mod">
%xinclude;
<!ENTITY language "en">
<!ENTITY wiki-whateverpage 'http://whateverpage' >
]>
However, if you are only going to use the link once or twice throughout the
documentation, then i would just recommend doing:
<ulink url="http://whateverpage">Whater-wiki</ulink>
Just my 2 cents if I was following this correctly.
--
Richard Johnson <> nixternal at ubuntu.com
ubuntu.com <> kubuntu.com <> edubuntu.com <> xubuntu.com <> chi.ubuntu-us.com
online everywhere as nixternal
<><
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20060913/33fc79cb/attachment.pgp>
More information about the ubuntu-doc
mailing list