Re: Re: Unicode character property (Open, Close, etc)
- To: mathgroup at smc.vnet.net
- Subject: [mg80510] Re: [mg80482] Re: [mg80441] Unicode character property (Open, Close, etc)
- From: "厉正吉" <zhengji.li at gmail.com>
- Date: Fri, 24 Aug 2007 01:53:41 -0400 (EDT)
- References: <200708230513.BAA09123@smc.vnet.net>
I have found such line-breaking behavior in Publicon: \[CloseCurlyDoubleQuote] appears at the beginningof a line. If I change \[CloseCurlyDoubleQuote]'s property from "Close" to "NonBreakingBeforeLetter", the line-breaking looks good. The file listed below could show the behavior. There are simplified Chinese characters (CP936) in it. Maybe this is only a shortcoming of Publicon 1.0.1? (************** Content-type: application/mathematica ************** CreatedBy='Publicon 1.0' Mathematica-Compatible Notebook This notebook can be used with any Mathematica-compatible application, such as Mathematica, MathReader or Publicon. The data for the notebook starts with the line containing stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info at wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. *******************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 2169, 61]*) (*NotebookOutlinePosition[ 4067, 121]*) (* CellTagsIndexPosition[ 4023, 117]*) (*WindowFrame->Normal*) Notebook[{ Cell[TextData[{ "\:628a\:590d\:6742\:7684\:7f16\:7a0b\:629b\:5f00\:ff0c", StyleBox["Mathematica", FontSlant->"Italic"], "\[ThinSpace]\:5c31\:6210\:4e86\:624b\:4e2d\:6709\:8da3\:7684\ \[OpenCurlyDoubleQuote]\:73a9\:5177\[CloseCurlyDoubleQuote]\:3002\:8ba9\:6211\ \:4eec\:4ece\[OpenCurlyDoubleQuote]\:795e\:5947\:7684\:6570\:5b57\ \[CloseCurlyDoubleQuote]142857\[ThinSpace]\:5f00\:59cb\:3002" }], "Text"] }, FrontEndVersion->"4.2 for Microsoft Windows", ScreenRectangle->{{0, 1024}, {0, 693}}, Editable->True, ScreenStyleEnvironment->"Screen", PrintingStyleEnvironment->"Printout", WindowToolbars->"EditBar", Selectable->True, WindowSize->{660, 490}, WindowMargins->{{Automatic, 138}, {59, Automatic}}, PrintingCopies->1, PrintingStartingPageNumber->1, PrintingPageRange->{Automatic, Automatic}, PageHeaders->{{Cell[ TextData[ { StyleBox[ CounterBox[ "Page"], "PageNumber"], " \:4e50\:5728\:5176\:4e2d"}], "Header"], Inherited, Inherited}, { Inherited, Inherited, Inherited}}, PrintingOptions->{"PrintingMargins"->{{54, 54}, {54, 54}}, "PaperOrientation"->"Portrait", "PrintCellBrackets"->False, "PrintSelectionHighlighting"->False, "PrintRegistrationMarks"->False, "PrintMultipleHorizontalPages"->False, "FirstPageHeader"->False, "FirstPageFooter"->True, "RestPagesHeader"->True, "RestPagesFooter"->True, "FacingPages"->True, "FirstPageFace"->Right, "GraphicsPrintingFormat"->"Automatic", "IncludeSpecialFonts"->True, "IncludePostScriptResourceDirectives"->True, "PostScriptOutputFile":>"Automatic", "UsePostScriptOutputFile"->False, "UnixShellPrintingCommand"->Automatic, "UseUnixShellPrintingCommand"->False, "Magnification"->1, "CellBackgroundHalftoneDensity"->Automatic, "CellBackgroundHalftoneAngle"->Automatic}, Magnification->1.25, StyleDefinitions -> "Default.nb" ] (******************************************************************* Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. *******************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[1753, 51, 412, 8, 52, "Text"] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)
- References:
- Re: Unicode character property (Open, Close, etc)
- From: John Fultz <jfultz@wolfram.com>
- Re: Unicode character property (Open, Close, etc)