[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] XHTML has no ...
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] XHTML has no ... |
Date: |
Fri, 19 Dec 2008 11:52:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hi Carsten,
>> * XHTML has no...
>>
>> - ... attribut `name' in `<a name="'. `id' is enough for anchors.
>> Right now we have:
>>
>> <a name="s" id="s">...
>>
>> Should be:
>>
>> <a name="s" id="s">...
>
> If I look at http://www.w3schools.com/tags/tag_a.asp
> it seems that the a tag has a name, but no id......????
The id mentioned below under the headline `Standard Attributes'.
But, yes, you're right. The `name' attribute is deprecated but still
completely legal, as the DTD used for publishing
(http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd) reveals:
<!--================== The Anchor Element ================================-->
<!-- content is %Inline; except that anchors shouldn't be nested -->
<!ELEMENT a %a.content;>
<!ATTLIST a
%attrs;
%focus;
charset %Charset; #IMPLIED
type %ContentType; #IMPLIED
name NMTOKEN #IMPLIED
href %URI; #IMPLIED
hreflang %LanguageCode; #IMPLIED
rel %LinkTypes; #IMPLIED
rev %LinkTypes; #IMPLIED
shape %Shape; "rect"
coords %Coords; #IMPLIED
>
Well, I'll try to recall this when I see this error the next time.
>> - `Element pre is not declared in p list of possible children'
>> means no `<pre>' allowed inside a `<p>' element (close-par-
>> maybe ??)
>
> I believe for this I would need an example org and html
> file, and the line number of the problem.
>
>> * Opening and ending tag mismatch: p line 1837 and div in /home/
>> sebastian/develop/htdocs/org-notes/Emacs/org-mode.html, line: 1838
=> --->8----------------------------->8----------------------------->8---
1: * Abbreviate Links
2:
3. It is possible to define link abbreviations for Org. Just fill the
variable
4: =org-link-abbrev-list= this way:
5: #+BEGIN_SRC emacs-lisp
6: (setq org-link-abbrev-alist
7: '(("man" .
"http://localhost/devel/intranet/knowledge/man.php?q=man%20%s";)
8: ("google" . "http://www.google.de/search?q=%s";)
9: ("wikipedia-de" . "http://de.wikipedia.org/wiki/%s";)
10: ("wikipedia-en" . "http://en.wikipedia.org/wiki/%s";)))
11: #+END_SRC
12: Das =%s= ist optional, aber praktisch. Es wird durch einen ebenfalls
13: optionalen '/TAG/' ersetzt. Hier ein Beispiel für die Benutzung:
<= ---8<-----------------------------8<-----------------------------8<---
Filling in empty lines at line 12 and 5 fixes it. Problem are empty
lines here.
>> <img src="ditaa-all-examples.png" alt="ditaa-all-examples.png">
>>
>> should be
>>
>> <img src="ditaa-all-examples.png" alt="ditaa-all-examples.png" />
>
> Will this be accespted by older browsers?
Yes, this is the common way to display images and was in Org-mode. The
slash is missing in (new ?) function org-export-html-format-image only.
Regards,
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http: www.emma-stil.de