From users-return-3895-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Thu Jan 17 18:05:27 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8C0E5180663 for ; Thu, 17 Jan 2019 18:05:26 +0100 (CET) Received: (qmail 96033 invoked by uid 500); 17 Jan 2019 17:05:25 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 96020 invoked by uid 99); 17 Jan 2019 17:05:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2019 17:05:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0D47D180CBF for ; Thu, 17 Jan 2019 17:05:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.202 X-Spam-Level: X-Spam-Status: No, score=-0.202 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id D1v1jfD9QXw4 for ; Thu, 17 Jan 2019 17:05:23 +0000 (UTC) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 855215F56C for ; Thu, 17 Jan 2019 17:05:23 +0000 (UTC) Received: by mail-wr1-f52.google.com with SMTP id c14so11908726wrr.0 for ; Thu, 17 Jan 2019 09:05:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=jPyRLU0i3RuX+F3StYxAxMADPDHUWZRksx4N9efJO5E=; b=NxkT2MOSZ6TBNmJeKmNsYQpBEbE9h5bGdoO7dl+5KtVC6069byxZ98yQ+oB2fn1yKe OC1b45Fka00AyvmAOzarw31YShLaP8PVghWbtN5TSJe3cAlnzDjdRFhws0ECuZCO88Ax xyKngtkT8K3Ls5VbfzRKTHvlF4GiP7cOrnMcAjETQ97xbipYyznQuOtFY3bjA7YqhoGg aGFjWsukuhSwUU5YF0MqLmG8oyz8GqqO4HrwgDrAgj3sPw1mhoOQTMb7uSHDTN3msLdw iN54RHyVI2fw4pBbkNKW07pD2eyA9QBb3HFXS9cQskE+NjZB7mq9/eTPtYgc527W/U4V gwlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jPyRLU0i3RuX+F3StYxAxMADPDHUWZRksx4N9efJO5E=; b=IL2tioBFhRx59UQmKnwuFsWpuTrxHCGNpppcCniglvYXUqp+qnG3FEAbZd9XJtG8iX cFc+5yUvxMfIKOx40DITBTmVz4W05IlYBtoPpkA68lzOg2mfHCgqXuSZ1lZ4D2qCIIQY ikhm06OwOpq+AbmMKc/d40bvQ8lEfOWE9lvE0fa+f6ux8d2uOH+ugZq0bv9I4e0GUtBd stJ5moS+2LJdCIIttQjaHvBKqhrQ67oWD1vfX7DzZCbFR/V+ItGJLQOaGx+qGQ9Fee8k KIJM//eYyqKptnuNik36X0/eVyyTN1+piwsqtasuJCkYryY2Mo9llsTHaD/NK5//nxm9 7ARg== X-Gm-Message-State: AJcUukcU2ANoaKiAwb6Uwh88LwH2XeEJpZyBlngjeJT2iM64JZZze+a2 tdLTrgqCNexiLynmYeA4SxD+gGmZ X-Google-Smtp-Source: ALg8bN59TlSefOnaraUlmdeUXqqJHCno8GmTaFdihoop+ATLs+NivPfzoFcDfo2JEyCxNG/xEGCwkA== X-Received: by 2002:adf:b102:: with SMTP id l2mr12470773wra.296.1547744722045; Thu, 17 Jan 2019 09:05:22 -0800 (PST) Received: from ?IPv6:2003:ce:abeb:8700:8d5b:a2f7:e093:202b? (p200300CEABEB87008D5BA2F7E093202B.dip0.t-ipconnect.de. [2003:ce:abeb:8700:8d5b:a2f7:e093:202b]) by smtp.googlemail.com with ESMTPSA id l19sm39919960wme.21.2019.01.17.09.05.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jan 2019 09:05:21 -0800 (PST) Subject: Re: How to handle LaTeX templates without \\-escaping? To: users@groovy.apache.org, users@groovy.incubator.apache.org References: <1547737822457-0.post@n5.nabble.com> From: paul Message-ID: Date: Thu, 17 Jan 2019 18:05:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <1547737822457-0.post@n5.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit Thanks Daniel, Am 17.01.19 um 16:10 schrieb Daniel.Sun: > FYI, you can enable escaping backslash by the following code > > def ste = new SimpleTemplateEngine() > ste.setEscapeBackslash(true) this was exactly what I wanted! Out of curiosity, I suppose it's not easily possible to change the MarkupTemplateEngine's tags from xml-style's ... to something else? Greetings, Paul -- typed with Neo 2 -- an ergonomically optimized keyboard layout for German, English, programming, and science http://neo-layout.org/