Kupu character style for inline literals

7 messages Options
Embed this post
Permalink
Israel Saeta Pérez () Kupu character style for inline literals
Reply Threaded More More options
Print post
Permalink
To keep our documentation look consistent, I think we should define a style for inline literals and use it throughout all the official docs.

Most docs use the <code> tag to enclose inline literals, giving them a blue background, but you can't apply this style (use this tag) from the kupu toolbar, or at least I don't know how. Could we add a character style to the kupu interface to highlight literals?

I've already talked about that with Steve, but I wanted to share it to gather more opinions. :-)

-- israel


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Plone-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-docs
Israel Saeta Pérez
Kamon Ayeva-3 () Re: Kupu character style for inline literals
Reply Threaded More More options
Print post
Permalink
On Sat, Jan 10, 2009 at 3:53 PM, Israel Saeta Pérez <[hidden email]> wrote:
> To keep our documentation look consistent, I think we should define a style
> for inline literals and use it throughout all the official docs.
>
> Most docs use the <code> tag to enclose inline literals, giving them a blue
> background, but you can't apply this style (use this tag) from the kupu
> toolbar, or at least I don't know how. Could we add a character style to the
> kupu interface to highlight literals?

+1, I've also experienced this.

-- Kamon

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Plone-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-docs
Anne Bowtell () Re: Kupu character style for inline literals
Reply Threaded More More options
Print post
Permalink
In reply to this post by Israel Saeta Pérez
+ 1 Yes please

Anne

Israel Saeta Pérez wrote:

> To keep our documentation look consistent, I think we should define a
> style for inline literals and use it throughout all the official docs.
>
> Most docs use the <code> tag to enclose inline literals, giving them a
> blue background, but you can't apply this style (use this tag) from
> the kupu toolbar, or at least I don't know how. Could we add a
> character style to the kupu interface to highlight literals?
>
> I've already talked about that with Steve, but I wanted to share it to
> gather more opinions. :-)
>
> -- israel
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> ------------------------------------------------------------------------
>
> _______________________________________________
> Plone-docs mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-docs
>  


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Plone-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-docs
Alexander Limi () Re: Kupu character style for inline literals
Reply Threaded More More options
Print post
Permalink
In reply to this post by Israel Saeta Pérez
On Sat, 10 Jan 2009 06:53:14 -0800, Israel Saeta Pérez  
<[hidden email]> wrote:

> Most docs use the <code> tag to enclose inline literals, giving them a  
> blue
> background, but you can't apply this style (use this tag) from the kupu
> toolbar, or at least I don't know how. Could we add a character style to  
> the
> kupu interface to highlight literals?

+1. I tried adding this to Kupu, but couldn't get it to work. If you know  
how to make it cooperate, feel free to go ahead. :)

--
Alexander Limi · http://limi.net


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Plone-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-docs
Alexander Limi · http://limi.net

vedaw () Re: Kupu character style for inline literals
Reply Threaded More More options
Print post
Permalink
I'll take a stab at this tomorrow. Am I to understand that we need a style
added called "code" and that it needs to give us the same look and feel as
<pre></pre>? Or am I missing something here?


On 1/11/09 7:24 PM, "Alexander Limi" <[hidden email]> wrote:

> On Sat, 10 Jan 2009 06:53:14 -0800, Israel Saeta Pérez  
<[hidden email]>
> wrote:

> Most docs use the <code> tag to enclose inline literals, giving them
> a  
> blue
> background, but you can't apply this style (use this tag) from
> the kupu
> toolbar, or at least I don't know how. Could we add a character
> style to  
> the
> kupu interface to highlight literals?

+1. I tried adding
> this to Kupu, but couldn't get it to work. If you know  
how to make it
> cooperate, feel free to go ahead. :)

--
Alexander Limi ·
> http://limi.net


------------------------------------------------------------
> ------------------
Check out the new SourceForge.net Marketplace.
It is the
> best place to buy or sell services for
just about anything Open
> Source.
http://p.sf.net/sfu/Xq1LFB
___________________________________________
> ____
Plone-docs mailing
> list
[hidden email]
https://lists.sourceforge.net/lists/list
> info/plone-docs



------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Plone-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-docs
Alexander Limi () Re: Kupu character style for inline literals
Reply Threaded More More options
Print post
Permalink
On Sun, 11 Jan 2009 19:39:45 -0800, Veda Williams  
<[hidden email]> wrote:

> I'll take a stab at this tomorrow. Am I to understand that we need a  
> style
> added called "code" and that it needs to give us the same look and feel  
> as
> <pre></pre>? Or am I missing something here?

You are missing something here. ;)

There's already a style for this, it's called the <code> tag — it's just  
not available as a character style in Kupu right now.

I tried adding:

   Code tag|code

…to the Kupu control panel, but it didn't work (the entry shows up, but it  
doesn't insert the code tag).


--
Alexander Limi · http://limi.net


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Plone-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-docs
Alexander Limi · http://limi.net

Duncan Booth () Re: Kupu character style for inline literals
Reply Threaded More More options
Print post
Permalink
"Alexander Limi" <[hidden email]> wrote:

> On Sun, 11 Jan 2009 19:39:45 -0800, Veda Williams  
><[hidden email]> wrote:
>> I'll take a stab at this tomorrow. Am I to understand that we need a
>> style
>> added called "code" and that it needs to give us the same look and
>> feel  as
>> <pre></pre>? Or am I missing something here?
> You are missing something here. ;)
> There's already a style for this, it's called the <code> tag — it's
> just  not available as a character style in Kupu right now.
> I tried adding:
>    Code tag|code
> …to the Kupu control panel, but it didn't work (the entry shows up,
> but it  doesn't insert the code tag).

Kupu only inserts tags which are supported by browser execCommand and span
tags. It does the span tags by inserting FONT tags (which are supported)
and then changing them into SPAN. (So don't try to use FONT tags in Kupu:
they'll probably be mutated accidentally.)

I've had a brief look at the code and I think it should be pretty trivial
to support other inline tags in the same way.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Plone-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-docs