1. Anchors in eudoc/creole tables

Using eudoc/creole is there any easier way to put destination anchors in tables other than resorting to native html?

Arthur

new topic     » topic index » view message » categorize

2. Re: Anchors in eudoc/creole tables

ArthurCrump said...

Using eudoc/creole is there any easier way to put destination anchors in tables other than resorting to native html?

Arthur

You can put a plain anchor within a table. I created two text files and then converted them to html using creole.

source.txt

Here is the source: 
 
Please goto [[ destination.html#anchorname ]] 
 

destination.txt

Here is an anchor: 
 
| cell1 | @[ anchorname ] | 
| cell3 | cell4 | 

After running creole you have: source.html and destination.html

From the source.html file you can clik the link and open the anchor in the second file.

What is missing is the ablity to make an "invisible anchor" or an "anchor with alternative text".

The syntax
@[ anchorname | bettername ]
does not work within a table because the '|' glyph is used to make tables.

So, maybe D. Parnell will provide us with the option to write
@[ anchorname <- bettername ]
(or something like it).

_tom

new topic     » goto parent     » topic index » view message » categorize

3. Re: Anchors in eudoc/creole tables

Thank you. A visible anchor will be sufficient for now.

Arthur

new topic     » goto parent     » topic index » view message » categorize

4. Re: Anchors in eudoc/creole tables

_tom said...

The syntax
@[ anchorname | bettername ]
does not work within a table because the '|' glyph is used to make tables.

So, maybe D. Parnell will provide us with the option to write
@[ anchorname <- bettername ]
(or something like it).

When I got home last night I looked into the source code and I'm sure I can improve the parsing of the 'anchor' tag so it can be used inside tables. The way I do it now is quite lazy, I'm ashamed to say.

Also, the way to link to an anchor is by using the this tag ... [[:anchorname]] or [[:anchorname | alternatetext ]]

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu