A few minor W2X and W4L changes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@99 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
028e30afb6
commit
4ecd5ede1e
5 changed files with 57 additions and 44 deletions
|
@ -98,9 +98,11 @@ public class HeadingConverter extends ConverterHelper {
|
|||
// Export the heading
|
||||
ldp.append(baHardPage.getBefore());
|
||||
ldp.append("\\"+hm.getName(nLevel));
|
||||
if (bUnNumbered) { ldp.append("*"); }
|
||||
// If this heading contains formatting, add optional argument:
|
||||
if (baHardChar.getBefore().length()>0 || containsElements(node)) {
|
||||
if (bUnNumbered) {
|
||||
ldp.append("*");
|
||||
}
|
||||
else if (baHardChar.getBefore().length()>0 || containsElements(node)) {
|
||||
// If this heading contains formatting, add optional argument:
|
||||
ldp.append("[");
|
||||
palette.getInlineCv().traversePlainInlineText(node,ldp,ic);
|
||||
ldp.append("]");
|
||||
|
|
|
@ -604,10 +604,10 @@ public class Converter extends ConverterBase {
|
|||
createMeta(head,"keywords",metaData.getKeywords());
|
||||
|
||||
// Dublin core meta data (optional)
|
||||
// Format as recommended on dublincore.org
|
||||
// Format as recommended on dublincore.org (http://dublincore.org/documents/dc-html/)
|
||||
// Declare meta data profile
|
||||
if (config.xhtmlUseDublinCore()) {
|
||||
head.setAttribute("profile","http://dublincore.org/documents/dcq-html/");
|
||||
head.setAttribute("profile","http://dublincore.org/documents/2008/08/04/dc-html/");
|
||||
// Add link to declare namespace
|
||||
Element dclink = htmlDOM.createElement("link");
|
||||
dclink.setAttribute("rel","schema.DC");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue