Hi,

yes, I use two costum conf-files. I put them in appendix. 
One try of me to locate the issues were clean this files, but the issue of 
"lost text" stay on.

For the issue "not valid" I sed temporary this macro in the 
osp_docbook45.conf.

[listtags-bibliography]
#list=<bibliodiv{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}>{title?<title>{title}</title>}|</bibliodiv>
list=<bibliography{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}>{title?<bibliodiv><title>{title}</title>}|{title?</bibliodiv>}</bibliography>
item=<bibliomixed>|</bibliomixed>
text=<bibliomisc>|</bibliomisc>


Regards
Dirk

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.
#
# osp_asciidoc.conf
#
# Open Source Press configuration file for Asciidoc
#
# Part of OSP author's kit
#

source-highlighter=source-highlight

# screen-style hinzugefügt
#
[tabledef-default]
delimiter=^\|={3,}$
posattrs=style
template=table
default-style=tags="default"
verse-style=tags="verse"
literal-style=tags="literal",subs=["specialcharacters"]
screen-style=tags="screen",subs=["specialcharacters"]
emphasis-style=tags="emphasis"
strong-style=tags="strong"
monospaced-style=tags="monospaced"
header-style=tags="header"
asciidoc-style=tags="asciidoc",subs=[],filter='python "{asciidoc-file}" -b 
{backend} {asciidoc-args}{lang? -a "lang={lang}@"}{icons? -a icons -a 
"iconsdir={iconsdir}"}{imagesdir? -a "imagesdir={imagesdir}"}{data-uri? -a 
data-uri} -a "indir={indir}"{trace? -a "trace={trace}"} -s -'
source-highlighter=source-highlight

[attributes]
ShiftKey=&#8679;
TabKey=&#8594;
ReturnKey=&#8629;
# Apple-Zeichen:
CommandKey=&#8984;
CapsLockKey=&#8682;
index=
#
ensp=&#x2002;
emsp=&#x2003;
numsp=&#x2007;
puncsp=&#x2008;
thinsp=&#x2009;
hairsp=&#x200A;
# zwsp=&#8203; = &#x200B;

[replacements]
(^-- )=&#8211;&#8201;
(\n-- )|( -- )|( --\n)=&#8201;&#8211;&#8201;
(\w)--(\w)=\1&#8211;\2
\\--(?!-)=--

### TODO: mdash seems not to work
## (^--- )=&#8212;&#8201;
## (\n--- )|( --- )|( ---\n)=&#8201;&#8212;&#8201;
## (\w)---(\w)=\1&#8212;\2
## \\---(?!-)=---



[replacements3]
(?<!\\)\{SP\}=&#20;


[macros]
#
# Reguläre Ausdrücke -- Übersicht
#   (?su) => s (dot matches all), u (Unicode support)
#   (?P<name>...) => legt eine benannte Gruppe <name> an
#   \S    => Passt auf alle Nicht-Leerraumzeichen

# TODO: Löschen

# Standard Regel
#   Syntax: cmd:TARGET[ATTRLIST]
#
(?su)(?<!\w)[\\]?(?P<name>cmd):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=

#   Syntax: emph:TARGET[ATTRLIST]
#
(?su)(?<!\w)[\\]?(?P<name>emph):(?P<target>[\S ]*?)\[(?P<attrlist>.*?)\]=

# file
#   Syntax: file:TARGET[ATTLIST]
#
# Target kann auch Leerzeichen (aber kein Umbruch!) enthalten.
(?su)(?<!\w)[\\]?(?P<name>file):(?P<target>[\S ]*?)\[(?P<attrlist>.*?)\]=file


# key
#   Syntax: key:[KeyList]
#
(?su)(?<!\w)[\\]?(?P<name>key):\[(?P<attrlist>.*?)\]=key


# menu
#   Syntax: menu:[MenuList]
#
(?su)(?<!\w)[\\]?(?P<name>menu):\[(?P<attrlist>.*?)\]=menu

#
# video
#  Syntax: video::FILENAME[ATTLIST]
#
(?u)^(?P<name>video)::(?P<target>\S*?)(\[(?P<attrlist>.*?)\])$=#


#
# Syntax: indextermsee:[Primary,SeeTerm],
#         indextermsee:[Primary,Secondary,SeeTerm]
#         indextermseealso:[Primary,SeeAlsoTerm],
#         indextermseealso:[Primary,Secondary,SeeTerm]
#
# Hinweis:
#         Einzelne Einträge ala indextermsee:[Foo] werden ignoriert!!
#
(?su)(?<!\w)[\\]?(?P<name>indextermsee|indextermseealso):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=

#   Syntax: idxperson:TARGET[ATTRLIST]
#
(?su)(?<!\w)[\\]?(?P<name>idxperson|idxplace):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=

#
# Syntax: glossterm:Foo[]
#         glossterm:Barbar[baseform="Bar"]
#
(?su)(?<!\w)[\\]?(?P<name>glossterm):(?P<term>[\S ]*?)\[(?P<attrlist>.*?)\]=

#
# Syntax: author:[firstname,surename]
#
(?su)(?<!\w)[\\]?(?P<name>author)(?P<target>\S*?)\[(?P<attrlist>.*?)\]=


# EOF
#
# Asciidoc DocBook 4.5 configuration file with OSP extensions
#
# 2012
#

[replacements]
#(?<!\\)z\.[ ]?B\.=<abbrev>z.&#x200A;B.</abbrev>
#(?<!\\)s\.[ ]?o\.=<abbrev>s.&#x200A;o.</abbrev>
#(?<!\\)s\.[ ]?u\.=<abbrev>s.&#x200A;u.</abbrev>
#(?<!\\)u\.[ ]?a\.=<abbrev>u.&#x200A;a.</abbrev>
#
([a-z]\.)[ ]?([a-zA-Z]\.)([ ]*)=<abbrev>\1&#x200A;\2</abbrev>\3

# Silbentrennung - manuell eingefuegt
# (?<=\w)[\\][-](?=\w)=&#x00AD;
# [\w][\\][-][\w]=\1&#x00AD;\4
#([\w])([\\][-])([\w])=\1&#x00AD;\3
#([\w])(\[osp-break\])([\w])=\1&#x00AD;\3
\[osp\-break\]=&#x00AD;

# Zeilenumbruch - manuell eingefuegt
\[osp\-newline\]=<?osp-newline?>

# Trennung nach Ergaenzungsstrich verhindern (z.B. "Handykontakte und -termine")
([ ])([\-])([a-zA-Z])=\1\2&#xFEFF;\3

#
# [replacements2]
# (?<!\\)z\.[ ]?B\.=z.&#x200A;B.
ifdef::asciidoc7compatible[]
# Superscripts.
\^(.+?)\^=<superscript>\1</superscript>
# Subscripts.
~(.+?)~=<subscript>\1</subscript>
endif::asciidoc7compatible[]


[+header-declarations]
ifdef::toclevels[]
<?ospfo toclevels="{toclevels}" ?>
endif::toclevels[]

ifdef::doctype-article[]
# Ist einfacher zum Verarbeiten sect{1..4} zu haben anstatt nur section

[sect2]
<sect1{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{language? lang="{language}"}>
<title>{title}</title>
|
</sect1>

[sect3]
<sect2{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{language? lang="{language}"}>
<title>{title}</title>
|
</sect2>

[sect4]
<sect3{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{language? lang="{language}"}>
<title>{title}</title>
|
</sect3>

[sect5]
<sect4{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{language? lang="{language}"}>
<title>{title}</title>
|
</sect4>

endif::doctype-article[]

ifndef::doctype-article[]
# Ist einfacher zum Verarbeiten sect{1..4} zu haben anstatt nur section
# Verwendung von Kurztitel auch bei Unterüberschriften (DIBUE: 12.01.2015: 
0000482)

[sect2]
<section{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{language? lang="{language}"}>
<title>{title}</title>
{titleabbrev#}<titleabbrev>{titleabbrev}</titleabbrev>
<!-- {titleabbrev} -->
|
</section>

[sect3]
<section{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{language? lang="{language}"}>
<title>{title}</title>
{titleabbrev#}<titleabbrev>{titleabbrev}</titleabbrev>
<!-- {titleabbrev} -->
|
</section>

[sect4]
<section{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{language? lang="{language}"}>
<title>{title}</title>
{titleabbrev#}<titleabbrev>{titleabbrev}</titleabbrev>
<!-- {titleabbrev} -->
|
</section>

[sect5]
<section{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{language? lang="{language}"}>
<title>{title}</title>
{titleabbrev#}<titleabbrev>{titleabbrev}</titleabbrev>
<!-- {titleabbrev} -->
|
</section>

endif::doctype-article[]


[sect1]
<chapter{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{language? lang="{language}"}>
<title>{title}</title>
{titleabbrev#}<titleabbrev>{titleabbrev}</titleabbrev>
<!-- {titleabbrev} -->
|
</chapter>


[appendix]
<appendix{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
<title>{title}</title>
{titleabbrev#}<titleabbrev>{titleabbrev}</titleabbrev>
|
</appendix>

[tags]
doublequoted=<quote>{1?<phrase role="{1}">}|{1?</phrase>}</quote>
singlequoted=<quote role="single">{1?<phrase role="{1}">}|{1?</phrase>}</quote>


[author-inlinemacro]
<author>
  <firstname>{2}</firstname><surname>{1}</surname>
</author>


[mailto-inlinemacro]
{1%}<email>{target}</email>
{1#}<email>{target}</email> ({0={target}})

[key-inlinemacro]
# One keycap only.
{2%}<keycap>{1}</keycap>
# Two keycaps:
{2#}{3%}<keycombo>
{2#}{3%}  <keycap>{1}</keycap><keycap>{2}</keycap>
{2#}{3%}</keycombo>
# Three keycaps:
{3#}<keycombo>
  <keycap>{1}</keycap><keycap>{2}</keycap><keycap>{3}</keycap>
{3#}</keycombo>

[menu-inlinemacro]
# One guimenu only.
{2%}<guimenu>{1}</guimenu>
# Two menu entries:
{2#}{3%}<menuchoice>
{2#}{3%}  <guimenu>{1}</guimenu><guimenu>{2}</guimenu>
{2#}{3%}</menuchoice>
# Three menu entries:
{3#}<menuchoice>
  <guimenu>{1}</guimenu><guimenu>{2}</guimenu><guimenu>{3}</guimenu>
{3#}</menuchoice>

# Befehle
[cmd-inlinemacro]
<command{role? role="{role}"}>{target}</command>{1? <option>{1}</option>}

[emph-inlinemacro]
<emphasis{role? role="{role}"}>{target}</emphasis>

[file-inlinemacro]
<filename{class? class="{class}"}>{target}</filename>

[glossterm-inlinemacro]
<glossterm{baseform? baseform="{baseform}"}>{term}</glossterm>

[indexterm-inlinemacro]
# Index term.
# Generate separate index entries for primary, secondary and tertiary
# descriptions.
# Primary only.
{2%}<indexterm>
{2%}  <primary>{1}</primary>
{2%}</indexterm>
# Primary and secondary.
{2#}{3%}<indexterm>
{2#}{3%}  <primary>{1}</primary><secondary>{2}</secondary>
{2#}{3%}</indexterm>
# Primary, secondary and tertiary.
{3#}<indexterm>
  <primary>{1}</primary><secondary>{2}</secondary><tertiary>{3}</tertiary>
{3#}</indexterm>


[indextermsee-inlinemacro]
# {2%}<indexterm>
# {2%}  <primary>{1}</primary>
# {2%}</indexterm>
# Primary and secondary.
{2#}{3%}<indexterm>
{2#}{3%}  <primary>{1}</primary><see>{2}</see>
{2#}{3%}</indexterm>
# Primary, secondary and tertiary.
{3#}<indexterm>
  <primary>{1}</primary><secondary>{2}</secondary><see>{3}</see>
{3#}</indexterm>


[indextermseealso-inlinemacro]
# {2%}<indexterm>
# {2%}  <primary>{1}</primary>
# {2%}</indexterm>
# Primary and secondary.
{2#}{3%}<indexterm>
{2#}{3%}  <primary>{1}</primary><seealso>{2}</seealso>
{2#}{3%}</indexterm>
# Primary, secondary and tertiary.
{3#}<indexterm>
  <primary>{1}</primary><secondary>{2}</secondary><seealso>{3}</seealso>
{3#}</indexterm>

[idxperson-inlinemacro]
# Index term.
# Generate separate index entries for primary, secondary and tertiary
# descriptions.
# Primary only.
{2%}<indexterm type="person">
{2%}  <primary>{1}</primary>
{2%}</indexterm>
# Primary and secondary.
{2#}{3%}<indexterm type="person">
{2#}{3%}  <primary>{1}</primary><secondary>{2}</secondary>
{2#}{3%}</indexterm>
# Primary, secondary and tertiary.
{3#}<indexterm 
type="person"><primary>{1}</primary><secondary>{2}</secondary><tertiary>{3}</tertiary></indexterm>

[idxplace-inlinemacro]
# Index term.
# Generate separate index entries for primary, secondary and tertiary
# descriptions.
# Primary only.
{2%}<indexterm type="place">
{2%}  <primary>{1}</primary>
{2%}</indexterm>
# Primary and secondary.
{2#}{3%}<indexterm type="place">
{2#}{3%}  <primary>{1}</primary><secondary>{2}</secondary>
{2#}{3%}</indexterm>
# Primary, secondary and tertiary.
{3#}<indexterm 
type="place"><primary>{1}</primary><secondary>{2}</secondary><tertiary>{3}</tertiary></indexterm>

[tabletags-screen]
bodydata=<entry align="{halign}" valign="{valign}"{colspan@1:: 
namest="col_{colstart}" nameend="col_{colend}"}{morerows@0:: 
morerows="{morerows}"}><screen>|</screen></entry>
paragraph=

[video-blockmacro]
{title#}<figure{id? id="{id}"}><title>{title}</title>
{title%}<informalfigure{id? id="{id}"}>
<mediaobject>
  <videoobject{role? {role}}>
  <videodata fileref="{imagesdir=}{imagesdir?/}{target}"{width? 
width="{width}"}{height? depth="{height}"}>
  </videoobject>
  <textobject><phrase>{alt={title}}</phrase></textobject>
</mediaobject>
{title#}</figure>
{title%}</informalfigure>


[listingblock]
<formalpara{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}><title>{title}</title><para>
{title#}<screen>
{title%}<screen{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"} {linenumbering? linenumbering="{linenumbering}"}>
|
</screen>
{title#}</para></formalpara>

[exampleblock]
{title#}<example{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}><title>{title}</title>
{title%}<informalexample{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}>
# DocBook XSL Stylesheets custom processing instructions.
|
{title#}</example>
{title%}</informalexample>

[image-blockmacro]
<figure{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}{pgwide-option? pgwide="1"}><title>{title}</title>
{title%}<informalfigure{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}>{pgwide-option?<?dbfo pgwide="1"?>}
# DocBook XSL Stylesheets custom processing instructions.
<?dbfo keep-together="{breakable-option#auto}"?>
<?dbfo keep-together="{unbreakable-option#always}"?>
<mediaobject>
  <imageobject>
  <imagedata fileref="{imagesdir=}{imagesdir?/}{target}"{width? 
width="{width}"}{height? height="{height}"}{scale? 
scale="{scale}"}{scaledwidth? width="{scaledwidth}" scalefit="1"}{align? 
align="{align}"}/>
  </imageobject>
  <textobject><phrase>{alt={target}}</phrase></textobject>
</mediaobject>
{title#}</figure>
{title%}</informalfigure>


ifdef::basebackend-docbook[]
[source-highlight-block]
{title#}<example{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}><title>{title}</title>
{title%}<informalexample{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}>
  <programlisting language="{language}" 
linenumbering="{src_numbered=unnumbered}">
|
</programlisting>
{title#}</example>
{title%}</informalexample>
endif::basebackend-docbook[]

ifdef::index[]
ifdef::doctype-book[]
[footer]
<index/>
</book>
endif::doctype-book[]
endif::index[]



[table]
<{title?table}{title!informaltable}{id? id="{id}"}{role? 
role="{role}"}{reftext? xreflabel="{reftext}"}{pgwide-option? 
pgwide="1"}{frame? frame="{frame}"}
{grid%rowsep="1" colsep="1"}
rowsep="{grid@none|cols:0:1}" colsep="{grid@none|rows:0:1}"
>
<title>{title}</title>
# DocBook XSL Stylesheets custom processing instructions.
<?dbhtml table-width="{width}"?>
<?dbfo table-width="{width}"?>
<?dblatex table-width="{width}"?>
<?dbfo keep-together="{breakable-option#auto}"?>
<?dbfo keep-together="{unbreakable-option#always}"?>
<tgroup cols="{colcount}">
{colspecs}
{headrows#}<thead>
{headrows}
{headrows#}</thead>
{footrows#}<tfoot>
{footrows}
{footrows#}</tfoot>
<tbody>
{bodyrows}
</tbody>
</tgroup>
</{title?table}{title!informaltable}>


# dbue: Das Element <bibliography> wurde nicht gebildet (s. Ticket LAYOSP-8)
[listtags-bibliography]
#list=<bibliodiv{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}>{title?<title>{title}</title>}|</bibliodiv>
list=<bibliography{id? id="{id}"}{role? role="{role}"}{reftext? 
xreflabel="{reftext}"}>{title?<bibliodiv><title>{title}</title>}|{title?</bibliodiv>}</bibliography>
item=<bibliomixed>|</bibliomixed>
text=<bibliomisc>|</bibliomisc>


# EOF

Reply via email to