From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?iso-8859-1?Q?Vincent_Bela=EFche?= Newsgroups: gmane.emacs.devel Subject: RE: cal-tex.el landscape patch Date: Sat, 26 Aug 2017 15:29:34 +0000 Message-ID: References: , , NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_004_AM5PR10MB0676500E709C57DDF541B7C784980AM5PR10MB0676EURP_" X-Trace: blaine.gmane.org 1503761403 5222 195.159.176.226 (26 Aug 2017 15:30:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 26 Aug 2017 15:30:03 +0000 (UTC) Cc: emacs-devel To: Edward Reingold , Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 26 17:29:56 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dld1v-0000Vo-Cp for ged-emacs-devel@m.gmane.org; Sat, 26 Aug 2017 17:29:47 +0200 Original-Received: from localhost ([::1]:57889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dld22-0001ci-7d for ged-emacs-devel@m.gmane.org; Sat, 26 Aug 2017 11:29:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dld1q-0001cc-KD for emacs-devel@gnu.org; Sat, 26 Aug 2017 11:29:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dld1o-0003Bm-Cd for emacs-devel@gnu.org; Sat, 26 Aug 2017 11:29:42 -0400 Original-Received: from mail-oln040092071083.outbound.protection.outlook.com ([40.92.71.83]:38592 helo=EUR03-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dld1k-00039C-C7; Sat, 26 Aug 2017 11:29:36 -0400 Original-Received: from AM5EUR03FT016.eop-EUR03.prod.protection.outlook.com (10.152.16.52) by AM5EUR03HT016.eop-EUR03.prod.protection.outlook.com (10.152.16.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1341.15; Sat, 26 Aug 2017 15:29:34 +0000 Original-Received: from AM5PR10MB0676.EURPRD10.PROD.OUTLOOK.COM (10.152.16.58) by AM5EUR03FT016.mail.protection.outlook.com (10.152.16.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1341.15 via Frontend Transport; Sat, 26 Aug 2017 15:29:34 +0000 Original-Received: from AM5PR10MB0676.EURPRD10.PROD.OUTLOOK.COM ([fe80::7809:87f5:3097:fd25]) by AM5PR10MB0676.EURPRD10.PROD.OUTLOOK.COM ([fe80::7809:87f5:3097:fd25%13]) with mapi id 15.01.1385.012; Sat, 26 Aug 2017 15:29:34 +0000 Thread-Topic: cal-tex.el landscape patch Thread-Index: AQHTGod4AUzM6bbSVkywIfPXHbKr+KKUSM/QgACExcWAAJSvKIAAB9aAgAFXIAqAAAhRqw== In-Reply-To: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: iit.edu; dkim=none (message not signed) header.d=none;iit.edu; dmarc=none action=none header.from=hotmail.fr; x-incomingtopheadermarker: OriginalChecksum:5B675A39577D007F55451F4FB1B18754B3742EF5451914E54ACB6CDFE03E0402; UpperCasedChecksum:13B68232B5E8A26EA19C95594B8A616008E41155506CAA682170F070FDEE44CF; SizeAsReceived:7519; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [LQGrnP254beEUy1lHtNv+lZpHFpQxjmw] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM5EUR03HT016; 6:7RdI66DQBLwcwK1whh8vYBe3MDgX96rjNhn6gSuQyGS4dOMH6Q6LUX/6808YHkouYftU6JiRioxIB9wYIaa5OzBvYHmjxLh7hWWqqbJW6PMy6wndK/SrFwCPF5NFieG9WGsyOnzkptxK15u6u8QT0678bzkcFxrOghI6jOvtQsM4CCU8biyAx9In7T6TraXT6tflenHiHJ1VgSKRuTHCh/3OCsOmdU0HL/yw+T51RBT/RZFKtLtWCrObm9O0RbHA5eAIpv82stvmcX+H7pL8KzdzC7UHutQVoNhry2L1zCsoJ75DrbAlGg91qbn9k9y8ho7OOunII/awFjAuY4riGw==; 5:4CaYEPaKdEWWRQnPnfV5b2yzhVezeX6vMLzW1+mioiGowRcZw9wP5BgHauveHC287PnzJQNQ2DbfgxRR6pvGdaeUbGAa0wla/OIU8WLEbMp/ezBF2Aveif0bJ/utsBEhjHhCq5iORfURq+BYVGEIyw==; 24:i3zjozlrCqm0v9c3SLCnnu0Q1z9l7/Pc6jpHA5ZUx2Z+naipvHdx1xB6SvAi8GRiJlYSgIAFnExa//cdeCrYvRKS08JEjKQ6lQUmAJiYlfo=; 7:/E3YnQQtnF/qZCUr1GCcVd/CIFRyrM6ulr956eZi9i6C2ls3whHSuEdxZsbAd30lx0eU7pKhzJQ7FwwEhQPskLFoCWjd+EdSggpsUiMCt0rWZLaA1D47878rO3BpRUK5VV9n2LL3iwRU0WOIh6kv1fAMx0P5ecnsA8HIpxuL50QnoS7qvtELKH2who/0nJ788Rvjd3fHDVAsaiNvk9FNB/qpuv7yUIptf x-incomingheadercount: 47 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:AM5EUR03HT016; H:AM5PR10MB0676.EURPRD10.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 973d72ab-0d0a-420a-9b69-08d4ec974153 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM5EUR03HT016; x-ms-traffictypediagnostic: AM5EUR03HT016: x-exchange-antispam-report-test: UriScan:(22074186197030)(788757137089)(170290950945281); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:AM5EUR03HT016; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5EUR03HT016; x-forefront-prvs: 04111BAC64 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2017 15:29:34.5516 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR03HT016 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.92.71.83 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217834 Archived-At: --_004_AM5PR10MB0676500E709C57DDF541B7C784980AM5PR10MB0676EURP_ Content-Type: multipart/alternative; boundary="_000_AM5PR10MB0676500E709C57DDF541B7C784980AM5PR10MB0676EURP_" --_000_AM5PR10MB0676500E709C57DDF541B7C784980AM5PR10MB0676EURP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, Here is the my updated patch, and below the change log. If every body agree= s I can commit/push the change. I have also made a4paper a default option, because if in the future we want= to support other paper sizes, and the cellwidth and so on computed by LaTe= X code based on \papwerwidth, then the paper size has to be specified alway= s. ChangeLog : * lisp/calendar/cal-tex.el (cal-tex-preamble): Make 12pt the default class option. Passing no option, not even an empty option list, can still be done by passing `t' for args. (cal-tex-year, cal-tex-cursor-month-landscape): Pass landscape request to `cal-tex-insert-preamble' function call within the class option string. (cal-tex-cursor-month): Don't pass any longer "12pt" argument to `cal-tex-insert-preamble' function, as it is default. (cal-tex-insert-preamble): Suppress landscape and size argument, and replace them by a class-options string argument. Do not insert any longer "\special{landscape}" in case of landscape layout, as the job is made by the geometry package. (cal-tex-cursor-week): Don't pass any longer "12pt" argument to `cal-tex-preamble' function, as it is default. ________________________________ De : Vincent Bela=EFche Envoy=E9 : samedi 26 ao=FBt 2017 17:06:46 =C0 : Edward Reingold; Glenn Morris Cc : emacs-devel Objet : RE: cal-tex.el landscape patch That is a great idea. The LaTeX code generated by cal-tex.el could have som= e formatter macro defined by \providecommand as identity by default. Then t= he user could change the definition by inserting some custom LaTeX code tha= t would for instance define the formatter as #1->\textcolor{red}{#1}. Another idea is that the code generator for the diary could cusotomized to = use OrgMode translation instead of cal-tex-LaTeXify-string, so you would wr= ite in the diary an entry as : @@latex:\textcolor{red}{@@My important appointment@@latex:}@@ This second idea would make it easier to have different colors or formattin= g for different items. Vincent. ________________________________ De : Edward Reingold Envoy=E9 : vendredi 25 ao=FBt 2017 20:25:51 =C0 : Glenn Morris; Vincent Bela=EFche Cc : emacs-devel Objet : Re: cal-tex.el landscape patch I would add easy optional use of colors for, say, holidays (red) and/or dia= ry entries (blue). Fri, Aug 25, 2017 at 12:59 PM Vincent Bela=EFche > wrote: Oops... sorry for my mistake, class-options is not optional in cal-tex-inse= rt-preamble. I will make it options as you suggest. Vincent. ________________________________ De : Vincent Bela=EFche > Envoy=E9 : vendredi 25 ao=FBt 2017 11:07 =C0 : Glenn Morris Cc : emacs-devel Objet : RE: cal-tex.el landscape patch Answers below. De : Glenn Morris > Envoy=E9 : vendredi 25 ao=FBt 2017 03:10 =C0 : Vincent Bela=EFche Cc : emacs-devel Objet : Re: cal-tex.el landscape patch > > >Fine by me, thanks. Trivial comments below. > >> -(defun cal-tex-preamble (&optional args) >> +(defun cal-tex-preamble (&optional class-options) >> "Insert the LaTeX calendar preamble into `cal-tex-buffer'. >> Preamble includes initial definitions for various LaTeX commands. >> -Optional string ARGS are included as options for the article document c= lass." >> +Optional string CLASS-OPTIONS are included as options for the article d= ocument class." >> (set-buffer (generate-new-buffer cal-tex-buffer)) >> (insert (format "\\documentclass%s{article}\n" >> - (if (stringp args) >> - (format "[%s]" args) >> + (if (stringp class-options) >> + (format "[%s]" class-options) >> ""))) >> + (if (and (stringp class-options) (string-match "\\" clas= s-options)) >> + (insert "\\usepackage{geometry}\n")) > > >I'd prefer if the argument did not get renamed. No problem, I will revert the prior name. > > >> -(defun cal-tex-insert-preamble (weeks landscape size &optional append) >> +(defun cal-tex-insert-preamble (weeks class-options &optional append) >> "Initialize the output LaTeX calendar buffer, `cal-tex-buffer'. >> Select the output buffer, and insert the preamble for a calendar >> -of WEEKS weeks. Insert code for landscape mode if LANDSCAPE is >> -non-nil. Use point-size SIZE. Optional argument APPEND, if >> -non-nil, means add to end of buffer without erasing current contents." >> - (let ((width "18cm") >> +of WEEKS weeks. Insert code for landscape mode if CLASS-OPTIONS >> +contains landscape option. >> +Optional argument APPEND, if non-nil, means add to end of buffer >> +without erasing current contents." > >"Insert code for landscape mode if CLASS-OPTIONS contains landscape >option." seems a bit vague to me. Maybe something like > >"Pass string CLASS-OPTIONS as options for the article document class. >If it contains \"landscape\", use the geometry package to produce >landscape format." You are fully right, your proposed docstring is quite more clear. I will take it. > >Maybe class-options could be optional, and default to "12pt"? > It is already optional, I will make it default to "12pt", that is a good idea. Vincent --_000_AM5PR10MB0676500E709C57DDF541B7C784980AM5PR10MB0676EURP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello,

Here is the my updated patch, and below the change log. If every body ag= rees I can commit/push the change.


I have also made a4paper a default option, because if in the future we w= ant to support other paper sizes, and the cellwidth and so on computed by L= aTeX code based on \papwerwidth, then the paper size has to be specified al= ways.


ChangeLog :

    * lisp/calendar/cal-tex.el (cal-tex-preamble): Make= 12pt the
    default class option. Passing no option, not even an emp= ty
    option list, can still be done by passing `t' for args.<= br>     (cal-tex-year, cal-tex-cursor-month-landscape): Pass lan= dscape
    request to `cal-tex-insert-preamble' function call withi= n the
    class option string.
    (cal-tex-cursor-month): Don't pass any longer "12pt= " argument
    to `cal-tex-insert-preamble' function, as it is default.=
    (cal-tex-insert-preamble): Suppress landscape and size     argument, and replace them by a class-options string
    argument. Do not insert any longer "\special{landsc= ape}" in
    case of landscape layout, as the job is made by the geom= etry
    package.
    (cal-tex-cursor-week): Don't pass any longer "12pt&= quot; argument
    to `cal-tex-preamble' function, as it is default.


De : Vincent Bela=EFche <= ;vincent.b.1@hotmail.fr>
Envoy=E9 : samedi 26 ao=FBt 2017 17:06:46
=C0 : Edward Reingold; Glenn Morris
Cc : emacs-devel
Objet : RE: cal-tex.el landscape patch
 

That is a great idea. The LaTeX code generated by cal-tex.el could have = some formatter macro defined by \providecommand as identity by default. The= n the user could change the definition by inserting some custom LaTeX code = that would for instance define the formatter as #1->\textcolor{red}{#1}.


Another idea is that the code generator for the diary could cusotomized = to use OrgMode translation instead of cal-tex-LaTeXify-string, so you would write in the diary an en= try as :


@@latex:\textcolor{red}{@@My important appointment@@latex:}@@


This second idea would make it easier to have different colors or format= ting for different items.


   Vincent.


De : Edward Reingold <re= ingold@iit.edu>
Envoy=E9 : vendredi 25 ao=FBt 2017 20:25:51
=C0 : Glenn Morris; Vincent Bela=EFche
Cc : emacs-devel
Objet : Re: cal-tex.el landscape patch
 
I would add easy optional use of colors for, say, holiday= s (red) and/or diary entries (blue). 

 Fri, Aug 25, 2017 at 12:59 PM Vincent Bela=EFche <vincent.b.1@hotmail.fr> wrote:

Oops... sorry for my mistake, class-options is not optional in cal= -tex-insert-preamble. I will make it options as you suggest.


  Vincent.


De : Vincent Bel= a=EFche <vin= cent.b.1@hotmail.fr>
Envoy=E9 : vendredi 25 ao=FBt 2017 11:07
=C0 : Glenn Morris
Cc : emacs-devel
Objet : RE: cal-tex.el landscape patch
 

Answers below.


De : Glenn Morris <rgm@= gnu.org>
Envoy=E9 : vendredi 25 ao=FBt 2017 03:10
=C0 : Vincent Bela=EFche
Cc : emacs-devel
Objet : Re: cal-tex.el landscape patch
>
>
>Fine by me, thanks. Trivial comments below.
>
>> -(defun cal-tex-preamble (&optional args)
>> +(defun cal-tex-preamble (&optional class-options)
>>    "Insert the LaTeX calendar preamble into `c= al-tex-buffer'.
>>  Preamble includes initial definitions for various LaTeX comm= ands.
>> -Optional string ARGS are included as options for the article docu= ment class."
>> +Optional string CLASS-OPTIONS are included as options for the= article document class."
>>    (set-buffer (generate-new-buffer cal-tex-buffer)= )
>>    (insert (format "\\documentclass%s{artic= le}\n"
>> -           = ;       (if (stringp args)
>> -           = ;           (format "= ;[%s]" args)
>> +          &= nbsp;       (if (stringp class-options)
>> +          &= nbsp;           (format &= quot;[%s]" class-options)
>>           &= nbsp;          "")))=
>> +  (if (and (stringp class-options) (string-match "\= \<landscape\\>" class-options))
>> +      (insert "\\usepackage{= geometry}\n"))
>
>
>I'd prefer if the argument did not get renamed.

No problem, I will revert the prior name.
>
>
>> -(defun cal-tex-insert-preamble (weeks landscape size &optiona= l append)
>> +(defun cal-tex-insert-preamble (weeks class-options &opti= onal append)
>>    "Initialize the output LaTeX calendar buffe= r, `cal-tex-buffer'.
>>  Select the output buffer, and insert the preamble for a cale= ndar
>> -of WEEKS weeks.  Insert code for landscape mode if LANDSCAPE= is
>> -non-nil.  Use point-size SIZE.  Optional argument APPEN= D, if
>> -non-nil, means add to end of buffer without erasing current conte= nts."
>> -  (let ((width "18cm")
>> +of WEEKS weeks.  Insert code for landscape mode if CLASS= -OPTIONS
>> +contains landscape option.
>> +Optional argument APPEND, if non-nil, means add to end of buf= fer
>> +without erasing current contents."
>
>"Insert code for landscape mode if CLASS-OPTIONS contains landscap= e
>option." seems a bit vague to me. Maybe something like
>
>"Pass string CLASS-OPTIONS as options for the article document cla= ss.
>If it contains \"landscape\", use the geometry package to pro= duce
>landscape format."

You are fully right, your proposed docstring is quite more clear. I will take it.
>
>Maybe class-options could be optional, and default to "12pt"?=
>
It is already optional, I will make it default to "12pt", that is= a good
idea.

  Vincent
--_000_AM5PR10MB0676500E709C57DDF541B7C784980AM5PR10MB0676EURP_-- --_004_AM5PR10MB0676500E709C57DDF541B7C784980AM5PR10MB0676EURP_ Content-Type: text/plain; name="cal-tex-1.diff.txt" Content-Description: cal-tex-1.diff.txt Content-Disposition: attachment; filename="cal-tex-1.diff.txt"; size=5948; creation-date="Sat, 26 Aug 2017 15:29:29 GMT"; modification-date="Sat, 26 Aug 2017 15:29:29 GMT" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3AvY2FsZW5kYXIvY2FsLXRleC5lbCBiL2xpc3AvY2FsZW5kYXIvY2Fs LXRleC5lbAppbmRleCAxZWExMGJmLi4wOWNkYjNiIDEwMDY0NAotLS0gYS9saXNwL2NhbGVuZGFy L2NhbC10ZXguZWwKKysrIGIvbGlzcC9jYWxlbmRhci9jYWwtdGV4LmVsCkBAIC0yNTksMTIgKzI1 OSwzNyBAQCBjYWwtdGV4LWxpc3QtZGlhcnktZW50cmllcwogKGRlZnVuIGNhbC10ZXgtcHJlYW1i bGUgKCZvcHRpb25hbCBhcmdzKQogICAiSW5zZXJ0IHRoZSBMYVRlWCBjYWxlbmRhciBwcmVhbWJs ZSBpbnRvIGBjYWwtdGV4LWJ1ZmZlcicuCiBQcmVhbWJsZ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dGV4LWJ1ZmZlcikpCi0gIChpbnNlcnQgKGZvcm1hdCAiXFxk b2N1bWVudGNsYXNzJXN7YXJ0aWNsZX1cbiIKLSAgICAgICAgICAgICAgICAgIChpZiAoc3RyaW5n cCBhcmdzKQotICAgICAgICAgICAgICAgICAgICAgIChmb3JtYXQgIlslc10iIGFyZ3MpCi0gICAg ICAgICAgICAgICAgICAgICIiKSkpCisgIChzYXZlLW1hdGNoLWRhdGEKKyAgICAoaW5zZXJ0IChm b3JtYXQgIlxcZG9jdW1lbnRjbGFzcyVze2FydGljbGV9XG4iCisgICAgICAgICAgICAgICAgICAg IChjb25kCisgICAgICAgICAgICAgICAgICAgICAoKHN0cmluZ3AgYXJncykKKyAgICAgICAgICAg ICAgICAgICAgICA7OyBzZXQgZGVmYXVsdCBzaXplCisgICAgICAgICAgICAgICAgICAgICAgKHVu bGVzcyAoc3RyaW5nLW1hdGNoICJcXCheXFx8LFxcKSAqWzAtOV0rcHQgKlxcKCxcXHwkXFwpIiBh cmdzKQorICAgICAgICAgICAgICAgICAgICAgICAgKHNldHEgYXJncyAoY29uY2F0IGFyZ3MgIiwx MnB0IikpKQorICAgICAgICAgICAgICAgICAgICAgIDs7IHNldCBkZWZhdWx0IHBhcGVyCisgICAg ICAgICAgICAgICAgICAgICAgKHVubGVzcyAoc3RyaW5nLW1hdGNoICJcXCheXFx8LFxcKSAqXFwo W2FiXVs0LTVdXFx8bGVcXCh0dGVyXFx8Z2FsXFwpXFx8ZXhlY3V0aXZlXFwpcGFwZXIgKlxcKCxc XHwkXFwpIiBhcmdzKQorICAgICAgICAgICAgICAgICAgICAgICAgKHNldHEgYXJncyAoY29uY2F0 IGFyZ3MgIixhNHBhcGVyIikpKQorICAgICAgICAgICAgICAgICAgICAgICh3aGVuIChzdHJpbmc9 IChzdWJzdHJpbmcgYXJncyAwIDEpICIsIikKKyAgICAgICAgICAgICAgICAgICAgICAgIChzZXRx IGFyZ3MgKHN1YnN0cmluZyBhcmdzIDEpKSkKKy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c29yLW1vbnRoCiAgICAgICAgICAgICAgICAgICAgICAgZW5kLXllYXIp KSkpCiAgICAgICAgICAoZGlhcnktbGlzdCAoaWYgY2FsLXRleC1kaWFyeSAoY2FsLXRleC1saXN0 LWRpYXJ5LWVudHJpZXMgZDEgZDIpKSkKICAgICAgICAgIChob2xpZGF5cyAoaWYgY2FsLXRleC1o b2xpZGF5cyAoaG9saWRheS1pbi1yYW5nZSBkMSBkMikpKSkKLSAgICAoY2FsLXRleC1pbnNlcnQt cHJlYW1ibGUgKGNhbC10ZXgtbnVtYmVyLXdlZWtzIG1vbnRoIHllYXIgbikgbmlsICIxMnB0IikK KyAgICAoY2FsLXRleC1pbnNlcnQtcHJlYW1ibGUgKGNhbC10ZXgtbnVtYmVyLXdlZWtzIG1vbnRo IHllYXIgbikpCiAgICAgKGlmICg+IG4gMSkKICAgICAgICAgKGNhbC10ZXgtY21kIGNhbC10ZXgt Y2FsLW11bHRpLW1vbnRoKQogICAgICAgKGNhbC10ZXgtY21kIGNhbC10ZXgtY2FsLW9uZS1tb250 aCkpCkBAIC03MzksNyArNzY0LDcgQEAgY2FsLXRleC1jdXJzb3Itd2VlawogICAgICAgICAgKGQy ICgrICgqIDcgbikgZDEpKQogICAgICAgICAgKGhvbGlkYXlzIChpZiBjYWwtdGV4LWhvbGlkYXlz CiAgICAgICAgICAgICAgICAgICAgICAgIChob2xpZGF5LWluLXJhbmdlIGQxIGQyKSkpKQotICAg IChjYWwtdGV4LXByZWFtYmxlICIxMXB0IikKKyAgICAoY2FsLXRleC1wcmVhbWJsZSkKICAgICAo Y2FsLXRleC13ZWVrbHktcGFwZXIpCiAgICAgKGluc2VydCBjYWwtdGV4LUxhVGVYLWhvdXJib3gp CiAgICAgKGNhbC10ZXgtYi1kb2N1bWVudCkKQEAgLTE2MTUsMjQgKzE2NDAsMjcgQEAgY2FsLXRl eC1lbmQtZG9jdW1lbnQKIFx0XHRNLXggdGV4LWJ1ZmZlciBSRVQKIFx0XHRNLXggdGV4L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AobGV0ICgo bGFuZHNjYXBlICAoYW5kIGNsYXNzLW9wdGlvbnMKKyAgICAgICAgICAgICAgICAgICAgICAgICAo c3RyaW5nLW1hdGNoICJcXDxsYW5kc2NhcGVcXD4iIGNsYXNzLW9wdGlvbnMpKSkKKyAgICAgICAg KHdpZHRoICIxOGNtIikKICAgICAgICAgKGhlaWdodCAiMjRjbSIpKQogICAgICh3aGVuIGxhbmRz Y2FwZQotICAgICAgKHNldHEgd2lkdGggIjI0Y20iCi0gICAgICAgICAgICBoZWlnaHQgIjE4Y20i KSkKKyAgICAgIChsZXQgKChzd2FwICB3aWR0aCkpCisgICAgICAgKHNldHEgd2lkdGggaGVpZ2h0 IGhlaWdodCBzd2FwKSkpCiAgICAgKHVubGVzcyBhcHBlbmQKLSAgICAgIChjYWwtdGV4LXByZWFt YmxlIHNpemUpCisgICAgICAoY2FsLXRleC1wcmVhbWJsZSBjbGFzcy1vcHRpb25zKQogICAgICAg KGlmIChub3QgbGFuZHNjYXBlKQogICAgICAgICAgIChwcm9nbgogICAgICAgICAgICAgKGNhbC10 ZXgtY21kICJcXG9kZHNpZGVtYXJnaW4gLTEuNzVjbSIpCiAgICAgICAgICAgICAoY2FsLXRleC1j bWQgIlxcZGVmXFxob2xpZGF5bXVsdCIgIi4wNiIpKQotICAgICAgICAoY2FsLXRleC1jbWQgIlxc c3BlY2lhbCIgImxhbmRzY2FwZSIpCiAgICAgICAgIChjYWwtdGV4LWNtZCAiXFx0ZXh0d2lkdGgg OS41aW4iKQogICAgICAgICAoY2FsLXRleC1jbWQgIlxcdGV4dGhlaWdodCA3aW4iKQogICAgICAg ICAoY2FsLXRleC1jb21tZW50KQo= --_004_AM5PR10MB0676500E709C57DDF541B7C784980AM5PR10MB0676EURP_--