{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ_DATA"},{"name":"CREATE"},{"name":"READ"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"DELETE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"READ"}]},{"resourceType":"PIN","capabilities":[{"name":"DELETE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"READ"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":229380146,"authorName":"JC Helary","from":"JC Helary &lt;fusion@mx6.tiki.ne.jp&gt;","profile":"jc_helary","replyTo":"LIST","senderId":"o7acnbhVhOxtKqiebD7FXiqMg34ODzgcCh5GZcGu08relXPYHXKH8233u3Gc1CwJVDDR-Gl8DG-Nz8uS6hOwNCnjqsT0Ibri","spamInfo":{"isSpam":false,"reason":"12"},"subject":"LaTeX support in OmegaT... Now ?","postDate":"1128098717","msgId":3036,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDRBRjlGNkJBLTVGREMtNDZEMi1CQjQ1LTJENDdFRDdCNDgzMUBteDYudGlraS5uZS5qcD4="},"prevInTopic":0,"nextInTopic":0,"prevInTime":3035,"nextInTime":3037,"topicId":3036,"numMessagesInTopic":1,"msgSnippet":"Since the last mail on segmentation rules, I have been checking this function to see whether any tag based format could be set for support in OmegaT without","rawEmail":"Return-Path: &lt;fusion@mx6.tiki.ne.jp&gt;\r\nX-Sender: fusion@mx6.tiki.ne.jp\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nReceived: (qmail 15601 invoked from network); 30 Sep 2005 16:45:36 -0000\r\nReceived: from unknown (66.218.66.217)\n  by m25.grp.scd.yahoo.com with QMQP; 30 Sep 2005 16:45:36 -0000\r\nReceived: from unknown (HELO mx6.tiki.ne.jp) (218.40.30.133)\n  by mta2.grp.scd.yahoo.com with SMTP; 30 Sep 2005 16:45:35 -0000\r\nReceived: from [192.168.11.5] (pl246.nas931.takamatsu.nttpc.ne.jp [210.165.214.182])\n\tby mx6.tiki.ne.jp (8.9.3p2.1/3.7W) with ESMTP id BAA21109;\n\tSat, 1 Oct 2005 01:45:19 +0900 (JST)\r\nMime-Version: 1.0 (Apple Message framework v734)\r\nContent-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed\r\nMessage-Id: &lt;4AF9F6BA-5FDC-46D2-BB45-2D47ED7B4831@mx6.tiki.ne.jp&gt;\r\nCc: linuxfortranslators@yahoogroups.com\r\nContent-Transfer-Encoding: quoted-printable\r\nDate: Sat, 1 Oct 2005 01:45:17 +0900\r\nTo: OmegaT@yahoogroups.com\r\nX-Mailer: Apple Mail (2.734)\r\nX-Originating-IP: 218.40.30.133\r\nX-eGroups-Msg-Info: 1:12:0:0\r\nFrom: JC Helary &lt;fusion@mx6.tiki.ne.jp&gt;\r\nSubject: LaTeX support in OmegaT... Now ?\r\nX-Yahoo-Group-Post: member; u=229380146; y=V3XxLbuRJV5IBaYNJiJqRq9cAiRQqemhoXm5xoZNTmZYsQ0LQg\r\nX-Yahoo-Profile: jc_helary\r\n\r\nSince the last mail on segmentation rules, I have been checking this  \nfunc=\r\ntion to see whether any tag based format could be set for support  \nin Omeg=\r\naT without code compilation.\n\nThe first format I though about was Latex and=\r\n after an hour or so of  \nplaying with the settings I got very interesting =\r\nresults.\n\nFor the test (and the settings), I used the following file (a LaT=\r\neX  \ntutorial):\nhttp://www.tex.ac.uk/tex-archive/info/beginlatex/src/beginl=\r\natex- \ntypebook.tex\n\nHere is what I did:\n\n1) in file filters, added a .tex =\r\nsuffix in the Text category, with  \nthe default settings.\n\n2) I reformatted=\r\n the file by removing unnecessary line breaks and  \nextra spaces (search/re=\r\nplace in any text editor) so that OmegaT would  \nnot put segments in the mi=\r\nddle of a sentence (which is the default  \nbehavior for Text files: segment=\r\n at the line break).\n\n3) I added rules to the segmentation settings (I copy=\r\n the relevant  \nsection of segmention.conf at the end of the mail)\n\n4) I op=\r\nened the project.\n\nThe result I get (which is very probably perfectible) is=\r\n quite  \nsatisfying, but I suppose one would need to know LaTeX to make sur=\r\ne  \nsome esoteric marks are not mistaken for translatable strings...\n\nExamp=\r\nle of segments created with this method:\n\n&lt;segment&gt; &#92;documentclass[12pt,a4p=\r\naper,twoside]{report &lt;/segment&gt;\n\n&lt;segment&gt; } &lt;/segment&gt;\n\n&lt;segment&gt; &#92;usepack=\r\nage{typebook &lt;/segment&gt;\n\n&lt;segment&gt; } &lt;/segment&gt;\n\n&lt;segment&gt; &#92;begin{document =\r\n&lt;/segment&gt;\n\n&lt;segment&gt; } &lt;/segment&gt;\n\n&lt;segment&gt; &#92;title{ &lt;/segment&gt;\n\n&lt;segment&gt;=\r\n Formatting information &lt;/segment&gt;\n\n&lt;segment&gt; } &lt;/segment&gt;\n\n&lt;segment&gt; &#92;subt=\r\nitle{ &lt;/segment&gt;\n\n&lt;segment&gt; A beginner&#39;s introduction to typesetting with &#92;=\r\nLaTeX{} &lt;/ \nsegment&gt;\n\n&lt;segment&gt; } &lt;/segment&gt;\n\n&lt;segment&gt; &#92;author{ &lt;/segment&gt;=\r\n\n\n&lt;segment&gt; Peter Flynn &lt;/segment&gt;\n\n&lt;segment&gt; } &lt;/segment&gt;\n\n&lt;segment&gt; &#92;date=\r\n{ &lt;/segment&gt;\n\n&lt;segment&gt; v.3.6 March 2005 &lt;/segment&gt;\n\n&lt;segment&gt; } &lt;/segment&gt;=\r\n\n\n&lt;segment&gt; &#92;legal{ &lt;/segment&gt;\n\n&lt;segment&gt; % &lt;/segment&gt;\n\n&lt;segment&gt; This docu=\r\nment is Copyright =A9 1999&#92;ndash{}2005 by Silmaril  \nConsultants under the =\r\nterms of what is now the GNU Free Documentation  \nLicense (copyleft). &lt;/seg=\r\nment&gt;\n\n&lt;segment&gt; Permission is granted to copy, distribute and/or modify  \n=\r\nthis document under the terms of the GNU Free Documentation License,  \nVers=\r\nion 1.2 or any later version published by the Free Software  \nFoundation; w=\r\nith no Invariant Sections, no Front-Cover Texts, and no  \nBack-Cover Texts.=\r\n &lt;/segment&gt;\n\n&lt;segment&gt; A copy of the license is included in the section ent=\r\nitled  \n&#92;titlecite{gnufdl}. &lt;/segment&gt;\n\nI put the closing &quot;}&quot; on a separate=\r\n segment to avoid problems when  \nediting the segment. But I suppose that i=\r\ns not necessary.\n\nOne cool thing would be to be able to replace LaTeX speci=\r\nfic entities/ \ncodes by rules created tags so that editing them would not b=\r\ne easy.\n\nMy idea is that the segmentation rules could be developed to becom=\r\ne  \nan even more powerful format specifying tool in OmegaT. Any  \nsuggestio=\r\nns ?\n\nJean-Christophe\n\nRules:\n\n     &lt;object class=3D&quot;org.omegat.core.segmen=\r\ntation.MapRule&quot;&gt;\n      &lt;void property=3D&quot;language&quot;&gt;\n       &lt;string&gt;Latex&lt;/s=\r\ntring&gt;\n      &lt;/void&gt;\n      &lt;void property=3D&quot;pattern&quot;&gt;\n       &lt;string&gt;.*&lt;/s=\r\ntring&gt;\n      &lt;/void&gt;\n      &lt;void property=3D&quot;rules&quot;&gt;\n       &lt;object class=\r\n=3D&quot;java.util.ArrayList&quot;&gt;\n        &lt;void method=3D&quot;add&quot;&gt;\n         &lt;object cl=\r\nass=3D&quot;org.omegat.core.segmentation.Rule&quot;&gt;\n          &lt;void property=3D&quot;afte=\r\nrbreak&quot;&gt;\n           &lt;string&gt;&#92;}$&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void =\r\nproperty=3D&quot;beforebreak&quot;&gt;\n           &lt;string&gt;.&lt;/string&gt;\n          &lt;/void&gt;\n =\r\n         &lt;void property=3D&quot;breakRule&quot;&gt;\n           &lt;boolean&gt;true&lt;/boolean&gt;\n =\r\n         &lt;/void&gt;\n         &lt;/object&gt;\n        &lt;/void&gt;\n        &lt;void method=3D=\r\n&quot;add&quot;&gt;\n         &lt;object class=3D&quot;org.omegat.core.segmentation.Rule&quot;&gt;\n      =\r\n    &lt;void property=3D&quot;afterbreak&quot;&gt;\n           &lt;string&gt;.&lt;/string&gt;\n          =\r\n&lt;/void&gt;\n          &lt;void property=3D&quot;beforebreak&quot;&gt;\n           &lt;string&gt;&#92;&#92;titl=\r\ne&#92;{&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void property=3D&quot;breakRule&quot;&gt;\n    =\r\n       &lt;boolean&gt;true&lt;/boolean&gt;\n          &lt;/void&gt;\n         &lt;/object&gt;\n       =\r\n &lt;/void&gt;\n        &lt;void method=3D&quot;add&quot;&gt;\n         &lt;object class=3D&quot;org.omegat=\r\n.core.segmentation.Rule&quot;&gt;\n          &lt;void property=3D&quot;afterbreak&quot;&gt;\n        =\r\n   &lt;string&gt;.&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void property=3D&quot;beforeb=\r\nreak&quot;&gt;\n           &lt;string&gt;&#92;&#92;par&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void =\r\nproperty=3D&quot;breakRule&quot;&gt;\n           &lt;boolean&gt;true&lt;/boolean&gt;\n          &lt;/void=\r\n&gt;\n         &lt;/object&gt;\n        &lt;/void&gt;\n        &lt;void method=3D&quot;add&quot;&gt;\n        =\r\n &lt;object class=3D&quot;org.omegat.core.segmentation.Rule&quot;&gt;\n          &lt;void prope=\r\nrty=3D&quot;afterbreak&quot;&gt;\n           &lt;string&gt;.&lt;/string&gt;\n          &lt;/void&gt;\n       =\r\n   &lt;void property=3D&quot;beforebreak&quot;&gt;\n           &lt;string&gt;&#92;&#92;subtitle&#92;{&lt;/string&gt;=\r\n\n          &lt;/void&gt;\n          &lt;void property=3D&quot;breakRule&quot;&gt;\n           &lt;bool=\r\nean&gt;true&lt;/boolean&gt;\n          &lt;/void&gt;\n         &lt;/object&gt;\n        &lt;/void&gt;\n   =\r\n     &lt;void method=3D&quot;add&quot;&gt;\n         &lt;object class=3D&quot;org.omegat.core.segmen=\r\ntation.Rule&quot;&gt;\n          &lt;void property=3D&quot;afterbreak&quot;&gt;\n           &lt;string&gt;.=\r\n&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void property=3D&quot;beforebreak&quot;&gt;\n     =\r\n      &lt;string&gt;&#92;&#92;author&#92;{&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void propert=\r\ny=3D&quot;breakRule&quot;&gt;\n           &lt;boolean&gt;true&lt;/boolean&gt;\n          &lt;/void&gt;\n     =\r\n    &lt;/object&gt;\n        &lt;/void&gt;\n        &lt;void method=3D&quot;add&quot;&gt;\n         &lt;objec=\r\nt class=3D&quot;org.omegat.core.segmentation.Rule&quot;&gt;\n          &lt;void property=3D&quot;=\r\nafterbreak&quot;&gt;\n           &lt;string&gt;.&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;voi=\r\nd property=3D&quot;beforebreak&quot;&gt;\n           &lt;string&gt;&#92;&#92;date&#92;{&lt;/string&gt;\n          =\r\n&lt;/void&gt;\n          &lt;void property=3D&quot;breakRule&quot;&gt;\n           &lt;boolean&gt;true&lt;/b=\r\noolean&gt;\n          &lt;/void&gt;\n         &lt;/object&gt;\n        &lt;/void&gt;\n        &lt;void =\r\nmethod=3D&quot;add&quot;&gt;\n         &lt;object class=3D&quot;org.omegat.core.segmentation.Rule=\r\n&quot;&gt;\n          &lt;void property=3D&quot;afterbreak&quot;&gt;\n           &lt;string&gt;.&lt;/string&gt;\n =\r\n         &lt;/void&gt;\n          &lt;void property=3D&quot;beforebreak&quot;&gt;\n           &lt;stri=\r\nng&gt;&#92;&#92;legal&#92;{&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void property=3D&quot;breakRu=\r\nle&quot;&gt;\n           &lt;boolean&gt;true&lt;/boolean&gt;\n          &lt;/void&gt;\n         &lt;/object=\r\n&gt;\n        &lt;/void&gt;\n        &lt;void method=3D&quot;add&quot;&gt;\n         &lt;object class=3D&quot;o=\r\nrg.omegat.core.segmentation.Rule&quot;&gt;\n          &lt;void property=3D&quot;afterbreak&quot;&gt;=\r\n\n           &lt;string&gt;.&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void property=\r\n=3D&quot;beforebreak&quot;&gt;\n           &lt;string&gt;&#92;&#92;subsubsection&#92;*&#92;{&lt;/string&gt;\n         =\r\n &lt;/void&gt;\n          &lt;void property=3D&quot;breakRule&quot;&gt;\n           &lt;boolean&gt;true&lt;/=\r\nboolean&gt;\n          &lt;/void&gt;\n         &lt;/object&gt;\n        &lt;/void&gt;\n        &lt;void=\r\n method=3D&quot;add&quot;&gt;\n         &lt;object class=3D&quot;org.omegat.core.segmentation.Rul=\r\ne&quot;&gt;\n          &lt;void property=3D&quot;afterbreak&quot;&gt;\n           &lt;string&gt;.&lt;/string&gt;\n=\r\n          &lt;/void&gt;\n          &lt;void property=3D&quot;beforebreak&quot;&gt;\n           &lt;str=\r\ning&gt;&#92;&#92;prelim&#92;{&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void property=3D&quot;break=\r\nRule&quot;&gt;\n           &lt;boolean&gt;true&lt;/boolean&gt;\n          &lt;/void&gt;\n         &lt;/obje=\r\nct&gt;\n        &lt;/void&gt;\n        &lt;void method=3D&quot;add&quot;&gt;\n         &lt;object class=3D=\r\n&quot;org.omegat.core.segmentation.Rule&quot;&gt;\n          &lt;void property=3D&quot;afterbreak=\r\n&quot;&gt;\n           &lt;string&gt;&#92;s&lt;/string&gt;\n          &lt;/void&gt;\n          &lt;void propert=\r\ny=3D&quot;beforebreak&quot;&gt;\n           &lt;string&gt;[&#92;.&#92;?&#92;!]+&lt;/string&gt;\n          &lt;/void&gt;\n=\r\n          &lt;void property=3D&quot;breakRule&quot;&gt;\n           &lt;boolean&gt;true&lt;/boolean&gt;\n=\r\n          &lt;/void&gt;\n         &lt;/object&gt;\n        &lt;/void&gt;\n       &lt;/object&gt;\n     =\r\n &lt;/void&gt;\n     &lt;/object&gt;\n\n\n"}}