nsowatsk wrote:
Hi

I live without multi-coloured paragraphs, but the overall skin I can do a
lot with :-)

Images are included like this:

[http://url/image.gif]

The title is best created as a link {Image Name} before the '[]'s

That's not what I meant, I meant the image itself is the link, something like

Link to {{{maven.org}[maven.jpg]}}

but that's not supported by apt, nor images within tables, nor in-line images within a paragraph.


Anyway, my examples where just to illustrate the limitations, someone who is in the process of deciding which format to choose should know what he can and cannot do with each. But then, it's not that hard to switch later, on a per-document basis, so one can easily start with some simple apt pages and later switch to xdoc if you need something more complicated. In any case, IMO it is much easier and straightforward to switch to xdoc than to write a custom macro or velocity template.

IMO there is absolutely no reason to prefer apt over xdoc, apart from the simplicity/compactness argument. It is equally well supported by Doxia/Maven (macros, vm templating) and only offers functionality enhancements.

Cheers,
-Lukas

PS Here's the opinion of one of the authors of the Maven Book: http://www.sonatype.com/people/2008/04/14/



Regards

Nathan

On 29/07/2009 12:07, "Lukas Theussl" <[email protected]> wrote:


nsowatsk wrote:
Hi

APT does support style sheets for Maven sites. We have our own L&F for our
APT based sites.
So how do you write that in apt:

<p style="color:red; font-size:8px;">A small red paragraph</p>
<p style="color:blue; font-size:20px;">A large blue paragraph</p>

?

I have many images included in my APT files using URLs.
So how do you write that in apt:

Here's a little icon with a link: <a href="maven.org"><img
src="maven.jpg"/></a>
inside my text.

?

Table layout is no better or worse than a Wiki.
Agree. If that's all you need, take it, was my whole point.

Meta information can be supported by Velocity templates *.apt.vm).
Sure, but that makes the simplicity argument redundant IMO.

-Lukas

Regards

Nathan


On 29/07/2009 10:44, "Lukas Theussl" <[email protected]> wrote:

Just use the easiest tool that does the job, it all depends on what you
need.
Apt is easy to learn and use (especially for people who are allergic to xml),
but
in turn it also lacks in flexibility and misses advanced functionality, eg
(from
the top of my head):

- no styles (css)
- no javascript
- no inline images (icons)
- no figures as links
- no advanced formatting and layout (eg tables)
- no meta-information


If you need any of those, you'd have to use eg xdoc or direct xhtml. Xdoc
lets
you do all of the above (plus the things you mention: snippets and .vm macros), but is also more complicated and, for some, harder to read.

Cheers,
-Lukas


nsowatsk wrote:
We use APT as it is easy to use and has features like snippets that allow
us
to include code in the documents.

Of course you can also use html in the resources directory also, so using
APT doesn't mean that's all you get.

APT also allows you to create .apt.vm files that can contain macros that do
funky stuff (when they work at all).

Regards

Nathan


On 28/07/2009 20:46, "EJ Ciramella" <[email protected]> wrote:

So a discussion has popped up here as to why use apt, xdoc or fml over
just plain html.
I (personally) think it's easier to just throw together APT docs REALLY
fast and not worry about various components (css and such).
How do I sell apt as the format to use?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to