914 element polit { attlist.polit, (typo | appel | renv | renvlnk | br)* } |
914 element polit { attlist.polit, (typo | appel | renv | renvlnk | br)* } |
915 attlist.polit &= empty |
915 attlist.polit &= empty |
916 # politesse pour une correspondance |
916 # politesse pour une correspondance |
917 |
917 |
918 # ****** Elements Lettrine ****** |
918 # ****** Elements Lettrine ****** |
919 let = element let { attlist.let, typo* } |
919 let = element let { typo* } |
920 attlist.let &= empty |
|
921 # Lettrine |
920 # Lettrine |
922 |
921 |
923 # ****** Encadre ****** |
922 # ****** Encadre ****** |
924 enc = |
923 enc = |
925 element enc { attlist.enc, surtit?, tit?, stit?, exer*, dev, sign* } |
924 element enc { attlist.enc, surtit?, tit?, stit?, exer*, dev, sign* } |
926 attlist.enc &= empty |
925 attlist.enc &= empty |
927 # Encadre |
926 # Encadre |
928 |
927 |
929 # mai 2009 : ajout surtitre optionnel ****** |
928 # mai 2009 : ajout surtitre optionnel ****** |
930 |
929 |
931 # ****** Elements definitions de notes ****** |
930 |
932 defnotes = |
931 # ****** Niveau d'intertitre et de Texte ****** |
933 element defnotes { |
932 nfniv1 = |
934 attlist.defnotes, (ntb | ntb2 | ntb3 | ntf | ntm)+ |
933 element nfniv1 { |
935 } |
934 attlist.nfniv1, |
936 attlist.defnotes &= empty |
935 n?, |
937 # Definition des notes de la partie, du chapitre etc... |
936 int?, |
|
937 sint?, |
|
938 ((ntf | p)* | (nfniv2 | nfniv3 | nfniv4 | nfniv5)*)+ |
|
939 } |
|
940 attlist.nfniv1 &= empty |
|
941 # Niveau 1 |
|
942 nfniv2 = |
|
943 element nfniv2 { |
|
944 attlist.nfniv2, |
|
945 n?, |
|
946 int?, |
|
947 sint?, |
|
948 ((ntf | p)* | (nfniv3 | nfniv4 | nfniv5)*)+ |
|
949 } |
|
950 attlist.nfniv2 &= empty |
|
951 # Niveau 2 |
|
952 nfniv3 = |
|
953 element nfniv3 { |
|
954 attlist.nfniv3, |
|
955 n?, |
|
956 int?, |
|
957 sint?, |
|
958 ((ntf | p)* | (nfniv4 | nfniv5)*)+ |
|
959 } |
|
960 attlist.nfniv3 &= empty |
|
961 # Niveau 3 |
|
962 nfniv4 = |
|
963 element nfniv4 { |
|
964 attlist.nfniv4, |
|
965 n?, |
|
966 int?, |
|
967 sint?, |
|
968 ((ntf | p)* | nfniv5*)+ |
|
969 } |
|
970 attlist.nfniv4 &= empty |
|
971 # Niveau 4 |
|
972 nfniv5 = element nfniv5 { attlist.nfniv5, n?, int?, sint?, (ntf | p)+ } |
|
973 attlist.nfniv5 &= empty |
|
974 # Niveau 5 |
|
975 |
|
976 # ****** Elements definitions de figure ****** |
|
977 fig = element fig { attlist.fig, (tit | img | leg | source)+ } |
|
978 # contenu du bloc figure |
|
979 attlist.fig &= attribute id { xsd:ID }? |
|
980 # Lien appel de figure |
|
981 img = element img { attlist.img, empty } |
|
982 # Appel de la source de l'image |
|
983 attlist.img &= attribute src { text }? |
|
984 # Nom de l'image |
|
985 leg = element leg { attlist.leg, p+ } |
|
986 attlist.leg &= empty |
|
987 # Legende d'illustration |
|
988 |
|
989 |
|
990 # ============================================================================= |
|
991 # Elements definitions de note |
|
992 # ============================================================================= |
|
993 |
|
994 # ~~~~~~ defnotes |
|
995 defnotes = element defnotes { defnotes.content } |
|
996 |
|
997 defnotes.content = |
|
998 (ntb |
|
999 | ntb2 |
|
1000 | ntb3 |
|
1001 | ntf |
|
1002 | ntm)+ |
|
1003 |
938 ntb = element ntb { attlist.ntb, (p | pbib | tableau | fig)+ } |
1004 ntb = element ntb { attlist.ntb, (p | pbib | tableau | fig)+ } |
939 # Texte de la note |
1005 # Texte de la note |
940 attlist.ntb &= attribute id { xsd:ID } |
1006 attlist.ntb &= attribute id { xsd:ID } |
941 # Lien appel de note |
1007 # Lien appel de note |
942 ntb2 = element ntb2 { attlist.ntb2, (p | pbib | tableau | fig)+ } |
1008 ntb2 = element ntb2 { attlist.ntb2, (p | pbib | tableau | fig)+ } |
954 ntm = element ntm { attlist.ntm, (p | pbib | tableau | fig)+ } |
1020 ntm = element ntm { attlist.ntm, (p | pbib | tableau | fig)+ } |
955 # Texte de la note |
1021 # Texte de la note |
956 attlist.ntm &= attribute id { xsd:ID } |
1022 attlist.ntm &= attribute id { xsd:ID } |
957 # Lien appel de note |
1023 # Lien appel de note |
958 |
1024 |
959 # ****** Elements note de fin ****** |
1025 # ~~~~~~ elements note de fin |
960 notefin = |
1026 notefin = element notefin { |
961 element notefin { |
|
962 attlist.notefin, |
|
963 ((ntf | p)* | (nfniv1 | nfniv2 | nfniv3 | nfniv4 | nfniv5)*)+ |
1027 ((ntf | p)* | (nfniv1 | nfniv2 | nfniv3 | nfniv4 | nfniv5)*)+ |
964 } |
1028 } |
965 attlist.notefin &= empty |
1029 |
966 # Developpement des chapitres, parties ou sections... |
1030 |
967 |
1031 # ============================================================================= |
968 # ****** Niveau d'intertitre et de Texte ****** |
1032 # Elements definitions de tableau |
969 nfniv1 = |
1033 # ============================================================================= |
970 element nfniv1 { |
1034 |
971 attlist.nfniv1, |
|
972 n?, |
|
973 int?, |
|
974 sint?, |
|
975 ((ntf | p)* | (nfniv2 | nfniv3 | nfniv4 | nfniv5)*)+ |
|
976 } |
|
977 attlist.nfniv1 &= empty |
|
978 # Niveau 1 |
|
979 nfniv2 = |
|
980 element nfniv2 { |
|
981 attlist.nfniv2, |
|
982 n?, |
|
983 int?, |
|
984 sint?, |
|
985 ((ntf | p)* | (nfniv3 | nfniv4 | nfniv5)*)+ |
|
986 } |
|
987 attlist.nfniv2 &= empty |
|
988 # Niveau 2 |
|
989 nfniv3 = |
|
990 element nfniv3 { |
|
991 attlist.nfniv3, |
|
992 n?, |
|
993 int?, |
|
994 sint?, |
|
995 ((ntf | p)* | (nfniv4 | nfniv5)*)+ |
|
996 } |
|
997 attlist.nfniv3 &= empty |
|
998 # Niveau 3 |
|
999 nfniv4 = |
|
1000 element nfniv4 { |
|
1001 attlist.nfniv4, |
|
1002 n?, |
|
1003 int?, |
|
1004 sint?, |
|
1005 ((ntf | p)* | nfniv5*)+ |
|
1006 } |
|
1007 attlist.nfniv4 &= empty |
|
1008 # Niveau 4 |
|
1009 nfniv5 = element nfniv5 { attlist.nfniv5, n?, int?, sint?, (ntf | p)+ } |
|
1010 attlist.nfniv5 &= empty |
|
1011 # Niveau 5 |
|
1012 |
|
1013 # ****** Elements definitions de figure ****** |
|
1014 fig = element fig { attlist.fig, (tit | img | leg | source)+ } |
|
1015 # contenu du bloc figure |
|
1016 attlist.fig &= attribute id { xsd:ID }? |
|
1017 # Lien appel de figure |
|
1018 img = element img { attlist.img, empty } |
|
1019 # Appel de la source de l'image |
|
1020 attlist.img &= attribute src { text }? |
|
1021 # Nom de l'image |
|
1022 leg = element leg { attlist.leg, p+ } |
|
1023 attlist.leg &= empty |
|
1024 # Legende d'illustration |
|
1025 |
|
1026 # ****** Elements definitions de tableau ****** |
|
1027 yesorno = string |
1035 yesorno = string |
1028 tableau = |
1036 tableau = |
1029 element tableau { |
1037 element tableau { |
1030 attlist.tableau, |
1038 attlist.tableau, |
1031 (leg | source)*, |
1039 (leg | source)*, |