From e9f7b2dfedfeeced7a804d834f768fd36f100537 Mon Sep 17 00:00:00 2001 From: dchandler Date: Sun, 14 Dec 2003 08:47:03 +0000 Subject: [PATCH] If you want curly brackets around folio markers, you'll have to set the system property thdl.acip.to.x.output.curly.brackets.around.folio.markers to true. --- source/org/thdl/tib/text/ttt/ACIPConverter.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/org/thdl/tib/text/ttt/ACIPConverter.java b/source/org/thdl/tib/text/ttt/ACIPConverter.java index fb4524e..e645141 100644 --- a/source/org/thdl/tib/text/ttt/ACIPConverter.java +++ b/source/org/thdl/tib/text/ttt/ACIPConverter.java @@ -316,6 +316,9 @@ public class ACIPConverter { TStackList lastGuy = null; Color lastColor = Color.BLACK; Color color = Color.BLACK; + boolean outputCurlyBracketsAroundFolioMarkers + = ThdlOptions.getBooleanOption("thdl.acip.to.x.output.curly.brackets.around.folio.markers"); + for (int i = 0; i < sz; i++) { TString s = (TString)scan.get(i); int stype = s.getType(); @@ -378,9 +381,11 @@ public class ACIPConverter { lastGuyWasNonPunct = false; lastGuy = null; String text - = (((stype == TString.FOLIO_MARKER) ? "{" : "") + = (((outputCurlyBracketsAroundFolioMarkers + && stype == TString.FOLIO_MARKER) ? "{" : "") + s.getText() - + ((stype == TString.FOLIO_MARKER) ? "}" : "")); + + ((outputCurlyBracketsAroundFolioMarkers + && stype == TString.FOLIO_MARKER) ? "}" : "")); if (null != writer) writer.write(text); if (null != tdoc) { tdoc.appendRoman(tdocLocation[0], text, Color.BLACK);