# HG changeset patch # User Patrick PIERRE # Date 1325234690 -3600 # Node ID 2aad27159a33649b736e89ef6870e50c690c527e # Parent 2d6627e9d3d65ea98700b0328059d9ffb2276df2 Amélioration de l'édition des méta-données diff -r 2d6627e9d3d6 -r 2aad27159a33 RelaxNG/publidoc.rnc --- a/RelaxNG/publidoc.rnc jeu. déc. 22 13:43:17 2011 +0100 +++ b/RelaxNG/publidoc.rnc ven. déc. 30 09:44:50 2011 +0100 @@ -343,8 +343,8 @@ item = element item { item.content } item.content = - inlines - | block+ + block+ + | inlines # ~~~~~~ glossary.item glossary.item = element item { glossary.item.content } diff -r 2d6627e9d3d6 -r 2aad27159a33 Xml/Documents/torture_test.xml --- a/Xml/Documents/torture_test.xml jeu. déc. 22 13:43:17 2011 +0100 +++ b/Xml/Documents/torture_test.xml ven. déc. 30 09:44:50 2011 +0100 @@ -20,7 +20,7 @@ - + Paris 9782843550362 diff -r 2d6627e9d3d6 -r 2aad27159a33 Xxe/Css/publidoc.css --- a/Xxe/Css/publidoc.css jeu. déc. 22 13:43:17 2011 +0100 +++ b/Xxe/Css/publidoc.css ven. déc. 30 09:44:50 2011 +0100 @@ -22,8 +22,8 @@ head > *:before { display: marker; + color: #7f7f7f; content: element-label(); - color: #7f7f7f; } head > title:before { display: none; } head > subtitle:before { display: none; } @@ -70,6 +70,40 @@ values, "en\A fr\A fr-FR\A, es"); } +head lastname:before { + content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc)); +} +lastname:after { + content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc)); +} + +head role:before { + color: #7f7f7f; + content: " role : " label(attribute, of, color, black) + set-attribute-button(attribute, of); +} + +head > publisher > label:after { + content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc)); +} + +head source[type="book"] { + display: none; +} + +head keyword:after { + content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc)) + " "; +} + +head subject:before { + color: #7F7f7f; + content: "ID = " text-field(attribute, id, columns, 10, color, black, font-size, 75%); +} +head subject:after { + content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc)); +} + /* Division level ========================================================== */ division:before { @@ -256,6 +290,26 @@ font-family: serif; } +/* seepch ~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +speaker { + font-weight: bold; +} + +stage:before, stage:after { + color: #7f7f7f; + content: "("; +} +stage:before { + content: " ("; +} +stage { + font-style: italic; +} +stage:after { + content: ")"; +} + /* list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ list { @@ -303,6 +357,18 @@ sub { font-family: sans-serif; vertical-align: sub; font-size: 75%; } var { font-family: sans-serif; font-style: italic; } +/* date ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +date[value]:after { + color: #7f7f7f; + content: " (" date-picker(attribute, value, columns, 7, color, black, font-size, 75%) ")"; +} +head > date[value]:after { + color: #7f7f7f; + content: " (" date-picker(attribute, value, columns, 7, color, black, font-size, 75%) + ") " insert-after-button(); +} + /* note ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ note:before { font-size: 75%; content: "(Note : "; }