Errata itemgroup[symbol="5"] { list-style-type : circ ; } itemgroup[symbol="A"] { list-style-type : alpha ; } itemgroup[symbol="G"] { list-style-type : upper-greek ; } Corrige itemgroup[symbol="5"] { list-style-type : circle ; } itemgroup[symbol="A"] { list-style-type : upper-alpha ; } itemgroup[symbol="G"] { list-style-type : upper-roman ; } Note upper-greek doesn't exist -- luigi
On 2-3-2012 11:39, luigi scarso wrote:
Errata itemgroup[symbol="5"] { list-style-type : circ ; } itemgroup[symbol="A"] { list-style-type : alpha ; } itemgroup[symbol="G"] { list-style-type : upper-greek ; }
Corrige itemgroup[symbol="5"] { list-style-type : circle ; } itemgroup[symbol="A"] { list-style-type : upper-alpha ; } itemgroup[symbol="G"] { list-style-type : upper-roman ; }
Note upper-greek doesn't exist
hm, I is upper-roman ... is there no way to get greek? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, Mar 2, 2012 at 5:20 PM, Hans Hagen
On 2-3-2012 11:39, luigi scarso wrote:
Errata itemgroup[symbol="5"] { list-style-type : circ ; } itemgroup[symbol="A"] { list-style-type : alpha ; } itemgroup[symbol="G"] { list-style-type : upper-greek ; }
Corrige itemgroup[symbol="5"] { list-style-type : circle ; } itemgroup[symbol="A"] { list-style-type : upper-alpha ; } itemgroup[symbol="G"] { list-style-type : upper-roman ; }
Note upper-greek doesn't exist
hm, I is upper-roman ... is there no way to get greek?
Hans
Not with list-style-type --- maybe list-style-image as svg ? http://www.w3.org/TR/CSS2/generate.html#propdef-list-style-type 12.5.1 Lists: the 'list-style-type'http://www.w3.org/TR/CSS2/generate.html#propdef-list-style-type, 'list-style-image'http://www.w3.org/TR/CSS2/generate.html#propdef-list-style-image, 'list-style-position'http://www.w3.org/TR/CSS2/generate.html#propdef-list-style-position, and 'list-style'http://www.w3.org/TR/CSS2/generate.html#propdef-list-styleproperties *'list-style-type'* *Value:* disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian | lower-alpha | upper-alpha | none | inherit http://www.w3.org/TR/CSS2/cascade.html#value-def-inherit *Initial:* disc *Applies to:* elements with 'display: list-item' * Inherited:* yes *Percentages:* N/A *Media:* visualhttp://www.w3.org/TR/CSS2/media.html#visual-media-group *Computed value:* as specified This property specifies appearance of the list item marker if 'list-style-image'http://www.w3.org/TR/CSS2/generate.html#propdef-list-style-imagehas the value 'none' or if the image pointed to by the URI cannot be displayed. The value 'none' specifies no marker, otherwise there are three types of marker: glyphs, numbering systems, and alphabetic systems. Glyphs are specified with *disc*, *circle*, and *square*. Their exact rendering depends on the user agent. Numbering systems are specified with: *decimal*Decimal numbers, beginning with 1. *decimal-leading-zero* Decimal numbers padded by initial zeros (e.g., 01, 02, 03, ..., 98, 99). * lower-roman* Lowercase roman numerals (i, ii, iii, iv, v, etc.). * upper-roman* Uppercase roman numerals (I, II, III, IV, V, etc.). *georgian* Traditional Georgian numbering (an, ban, gan, ..., he, tan, in, in-an, ...). *armenian* Traditional uppercase Armenian numbering. Alphabetic systems are specified with: *lower-latin* or *lower-alpha* Lowercase ascii letters (a, b, c, ... z). * upper-latin* or *upper-alpha* Uppercase ascii letters (A, B, C, ... Z). * lower-greek* Lowercase classical Greek alpha, beta, gamma, ... (α, β, γ, ...) This specification does not define how alphabetic systems wrap at the end of the alphabet. For instance, after 26 list items, 'lower-latin' rendering is undefined. Therefore, for long lists, we recommend that authors specify true numbers. CSS 2.1 does not define how the list numbering is reset and incremented. This is expected to be defined in the CSS List Module [CSS3LIST]http://www.w3.org/TR/CSS2/refs.html#ref-CSS3LIST. For example, the following HTML document: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML> <HEAD> <TITLE>Lowercase latin numbering</TITLE> <STYLE type="text/css"> ol { list-style-type: lower-roman } </STYLE> </HEAD> <BODY> <OL> <LI> This is the first item. <LI> This is the second item. <LI> This is the third item. </OL> </BODY> </HTML> might produce something like this: i This is the first item. ii This is the second item. iii This is the third item. The list marker alignment (here, right justified) depends on the user agent. *'list-style-image'* *Value:* <uri>http://www.w3.org/TR/CSS2/syndata.html#value-def-uri| none | inherit http://www.w3.org/TR/CSS2/cascade.html#value-def-inherit *Initial: * none *Applies to:* elements with 'display: list-item' *Inherited:* yes *Percentages:* N/A *Media:* visualhttp://www.w3.org/TR/CSS2/media.html#visual-media-group *Computed value:* absolute URI or 'none' This property sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type'http://www.w3.org/TR/CSS2/generate.html#propdef-list-style-typemarker. The size of the image is calculated from the following rules: 1. If the image has a intrinsic width and height, the used width and height are the intrinsic width and height. 2. Otherwise, if the image has an intrinsic ratio and either an intrinsic width or an intrinsic height, the used width/height is the same as the provided intrinsic width/height, and the used value of the missing dimension is calculated from the provided dimension and the ratio. 3. Otherwise, if the image has an intrinsic ratio, the used width is 1em and the used height is calculated from this width and the intrinsic ratio. If this would produce a height larger than 1em, then the used height is instead set to 1em and the used width is calculated from this height and the intrinsic ratio. 4. Otherwise, the image's used width is its intrinsic width if it has one, or else 1em. The image's used height is its intrinsic height if it has one, or else 1em. The following example sets the marker at the beginning of each list item to be the image "ellipse.png". ul { list-style-image: url("http://png.com/ellipse.png") } -- luigi
On 2-3-2012 17:28, luigi scarso wrote:
On Fri, Mar 2, 2012 at 5:20 PM, Hans Hagen
wrote: On 2-3-2012 11:39, luigi scarso wrote:
Errata itemgroup[symbol="5"] { list-style-type : circ ; } itemgroup[symbol="A"] { list-style-type : alpha ; } itemgroup[symbol="G"] { list-style-type : upper-greek ; }
Corrige itemgroup[symbol="5"] { list-style-type : circle ; } itemgroup[symbol="A"] { list-style-type : upper-alpha ; } itemgroup[symbol="G"] { list-style-type : upper-roman ; }
Note upper-greek doesn't exist
hm, I is upper-roman ... is there no way to get greek?
Hans
Not with list-style-type --- maybe list-style-image as svg ?
so best we can do is map to lower-greek then as then it still looks like greek ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, Mar 2, 2012 at 17:28, luigi scarso wrote:
On Fri, Mar 2, 2012 at 5:20 PM, Hans Hagen wrote:
On 2-3-2012 11:39, luigi scarso wrote:
Errata itemgroup[symbol="5"] { list-style-type : circ ; } itemgroup[symbol="A"] { list-style-type : alpha ; } itemgroup[symbol="G"] { list-style-type : upper-greek ; }
Corrige itemgroup[symbol="5"] { list-style-type : circle ; } itemgroup[symbol="A"] { list-style-type : upper-alpha ; } itemgroup[symbol="G"] { list-style-type : upper-roman ; }
Note upper-greek doesn't exist
hm, I is upper-roman ... is there no way to get greek?
Hans
Not with list-style-type --- maybe list-style-image as svg ?
http://www.w3.org/TR/CSS2/generate.html#propdef-list-style-type
Issue: According to a native Greek speaker, the lower-greek and upper-greek styles aren't actually used. I've removed upper-greek for now, but kept lower-greek because CSS2.1 included the keyword. Do these have actual use-cases? @counter-style lower-greek { type: alphabetic; glyphs: '\3B1' '\3B2' '\3B3' '\3B4' '\3B5' '\3B6' '\3B7' '\3B8' '\3B9' '\3BA' '\3BB' '\3BC' '\3BD' '\3BE' '\3BF' '\3C0' '\3C1' '\3C3' '\3C4' '\3C5' '\3C6' '\3C7' '\3C8' '\3C9'; /* 'α' 'β' 'γ' 'δ' 'ε' 'ζ' 'η' 'θ' 'ι' 'κ' 'λ' 'μ' 'ν' 'ξ' 'ο' 'π' 'ρ' 'σ' 'τ' 'υ' 'φ' 'χ' 'ψ' 'ω' */ /* This style is only defined because CSS2.1 has it. It doesn't appear to actually be used in Greek texts. */ } (However there is lower-serbo-croatian and upper-serbo-croation, lower-macedonian and upper-macedonian. I should ask for lower-slovenian and upper-slovenian ;) You need to ask Thomas about his opinion, but I see no reason for not using lowercase greek for mathematical purposes. Mojca
On 2-3-2012 22:34, Mojca Miklavec wrote:
On Fri, Mar 2, 2012 at 17:28, luigi scarso wrote:
On Fri, Mar 2, 2012 at 5:20 PM, Hans Hagen wrote:
On 2-3-2012 11:39, luigi scarso wrote:
Errata itemgroup[symbol="5"] { list-style-type : circ ; } itemgroup[symbol="A"] { list-style-type : alpha ; } itemgroup[symbol="G"] { list-style-type : upper-greek ; }
Corrige itemgroup[symbol="5"] { list-style-type : circle ; } itemgroup[symbol="A"] { list-style-type : upper-alpha ; } itemgroup[symbol="G"] { list-style-type : upper-roman ; }
Note upper-greek doesn't exist
hm, I is upper-roman ... is there no way to get greek?
Hans
Not with list-style-type --- maybe list-style-image as svg ?
http://www.w3.org/TR/CSS2/generate.html#propdef-list-style-type
From http://www.w3.org/TR/css3-lists/:
Issue: According to a native Greek speaker, the lower-greek and upper-greek styles aren't actually used. I've removed upper-greek for now, but kept lower-greek because CSS2.1 included the keyword. Do these have actual use-cases?
@counter-style lower-greek { type: alphabetic; glyphs: '\3B1' '\3B2' '\3B3' '\3B4' '\3B5' '\3B6' '\3B7' '\3B8' '\3B9' '\3BA' '\3BB' '\3BC' '\3BD' '\3BE' '\3BF' '\3C0' '\3C1' '\3C3' '\3C4' '\3C5' '\3C6' '\3C7' '\3C8' '\3C9'; /* 'α' 'β' 'γ' 'δ' 'ε' 'ζ' 'η' 'θ' 'ι' 'κ' 'λ' 'μ' 'ν' 'ξ' 'ο' 'π' 'ρ' 'σ' 'τ' 'υ' 'φ' 'χ' 'ψ' 'ω' */ /* This style is only defined because CSS2.1 has it. It doesn't appear to actually be used in Greek texts. */ }
(However there is lower-serbo-croatian and upper-serbo-croation, lower-macedonian and upper-macedonian. I should ask for lower-slovenian and upper-slovenian ;)
I have no problem adding them but you have to key them in.
You need to ask Thomas about his opinion, but I see no reason for not using lowercase greek for mathematical purposes.
indeed. also, it's in context because someone asked for it (mkii times) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sat, Mar 3, 2012 at 12:13 AM, Hans Hagen
On 2-3-2012 22:34, Mojca Miklavec wrote:
On Fri, Mar 2, 2012 at 17:28, luigi scarso wrote:
On Fri, Mar 2, 2012 at 5:20 PM, Hans Hagen wrote:
On 2-3-2012 11:39, luigi scarso wrote:
Errata itemgroup[symbol="5"] { list-style-type : circ ; } itemgroup[symbol="A"] { list-style-type : alpha ; } itemgroup[symbol="G"] { list-style-type : upper-greek ; }
Corrige itemgroup[symbol="5"] { list-style-type : circle ; } itemgroup[symbol="A"] { list-style-type : upper-alpha ; } itemgroup[symbol="G"] { list-style-type : upper-roman ; }
Note upper-greek doesn't exist
hm, I is upper-roman ... is there no way to get greek?
Hans
Not with list-style-type --- maybe list-style-image as svg ?
http://www.w3.org/TR/CSS2/**generate.html#propdef-list-**style-typehttp://www.w3.org/TR/CSS2/generate.html#propdef-list-style-type
From http://www.w3.org/TR/css3-**lists/http://www.w3.org/TR/css3-lists/ :
Issue: According to a native Greek speaker, the lower-greek and upper-greek styles aren't actually used. I've removed upper-greek for now, but kept lower-greek because CSS2.1 included the keyword. Do these have actual use-cases?
@counter-style lower-greek { type: alphabetic; glyphs: '\3B1' '\3B2' '\3B3' '\3B4' '\3B5' '\3B6' '\3B7' '\3B8' '\3B9' '\3BA' '\3BB' '\3BC' '\3BD' '\3BE' '\3BF' '\3C0' '\3C1' '\3C3' '\3C4' '\3C5' '\3C6' '\3C7' '\3C8' '\3C9'; /* 'α' 'β' 'γ' 'δ' 'ε' 'ζ' 'η' 'θ' 'ι' 'κ' 'λ' 'μ' 'ν' 'ξ' 'ο' 'π' 'ρ' 'σ' 'τ' 'υ' 'φ' 'χ' 'ψ' 'ω' */ /* This style is only defined because CSS2.1 has it. It doesn't appear to actually be used in Greek texts. */ }
(However there is lower-serbo-croatian and upper-serbo-croation, lower-macedonian and upper-macedonian. I should ask for lower-slovenian and upper-slovenian ;)
I have no problem adding them but you have to key them in.
You need to ask Thomas about his opinion, but I see no reason for not
using lowercase greek for mathematical purposes.
indeed. also, it's in context because someone asked for it (mkii times)
In css3 we can define our style: so for example @counter-style upper-greek { type: non-repeating; glyphs: 'Α','Γ','Δ','Ε','Ζ','Η','Θ','Ι','Κ','Λ','Μ','Ν','Ξ','Ο','Π','Ρ','Σ','Τ','Υ','Φ','Χ','Ψ','Ω' ; suffix: '.'; } (not sure if the sequence is correct.)
-- luigi
On 3-3-2012 07:12, luigi scarso wrote:
In css3 we can define our style: so for example @counter-style upper-greek { type: non-repeating; glyphs: 'Α','Γ','Δ','Ε','Ζ','Η','Θ','Ι','Κ','Λ','Μ','Ν','Ξ','Ο','Π','Ρ','Σ','Τ','Υ','Φ','Χ','Ψ','Ω' ; suffix: '.'; } (not sure if the sequence is correct.)
afaiks only the B is missing Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, Mar 5, 2012 at 9:59 AM, Hans Hagen
afaiks only the B is missing Hans
@counter-style upper-greek { type: non-repeating; glyphs: 'Α','Β','Γ','Δ','Ε','Ζ','Η','Θ','Ι','Κ','Λ','Μ','Ν','Ξ','Ο','Π','Ρ','Σ','Τ','Υ','Φ','Χ','Ψ','Ω'; suffix: '.'; } ie U+0391 GREEK CAPITAL LETTER ALPHA,...,U+03A9 GREEK CAPITAL LETTER OMEGA -- luigi
On Sat, Mar 3, 2012 at 00:13, Hans Hagen wrote:
On 2-3-2012 22:34, Mojca Miklavec wrote:
(However there is lower-serbo-croatian and upper-serbo-croation, lower-macedonian and upper-macedonian. I should ask for lower-slovenian and upper-slovenian ;)
I have no problem adding them but you have to key them in.
I was talking about asking CSS people to add it to specification ;) ConTeXt already has slovenian itemize. Mojca
On 3-3-2012 14:26, Mojca Miklavec wrote:
On Sat, Mar 3, 2012 at 00:13, Hans Hagen wrote:
On 2-3-2012 22:34, Mojca Miklavec wrote:
(However there is lower-serbo-croatian and upper-serbo-croation, lower-macedonian and upper-macedonian. I should ask for lower-slovenian and upper-slovenian ;)
I have no problem adding them but you have to key them in.
I was talking about asking CSS people to add it to specification ;) ConTeXt already has slovenian itemize.
I know, but not yet in the export css file, but I guess Luigi will define one for you now. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, Mar 5, 2012 at 10:49 AM, Hans Hagen
On 3-3-2012 14:26, Mojca Miklavec wrote:
On Sat, Mar 3, 2012 at 00:13, Hans Hagen wrote:
On 2-3-2012 22:34, Mojca Miklavec wrote:
(However there is lower-serbo-croatian and upper-serbo-croation,
lower-macedonian and upper-macedonian. I should ask for lower-slovenian and upper-slovenian ;)
I have no problem adding them but you have to key them in.
I was talking about asking CSS people to add it to specification ;) ConTeXt already has slovenian itemize.
I know, but not yet in the export css file, but I guess Luigi will define one for you now.
lost with jquery .... It's impossible to do a paginator with CSS2.1 and CSS3 is still a draft. Some kind of javascript is necessary then. Of course you can also use a heavy xslt -> standard xhtml , but still you need javascript to paginate. I've added html5 to my personal notes "nice idea to explore for next eurotex meeting ".
--
luigi
participants (3)
-
Hans Hagen
-
luigi scarso
-
Mojca Miklavec