From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Convert the shell command used in emacs init-file into its normal version. Date: Wed, 9 Jun 2021 14:49:00 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12239"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 09 08:49:44 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqs24-0002yc-MU for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Jun 2021 08:49:44 +0200 Original-Received: from localhost ([::1]:59318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqs23-0006x6-OG for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Jun 2021 02:49:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqs1c-0006wr-1d for help-gnu-emacs@gnu.org; Wed, 09 Jun 2021 02:49:16 -0400 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:43557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqs1a-0003jp-B6 for help-gnu-emacs@gnu.org; Wed, 09 Jun 2021 02:49:15 -0400 Original-Received: by mail-lf1-x135.google.com with SMTP id n12so29273405lft.10 for ; Tue, 08 Jun 2021 23:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Y6DDiA88aNyz38X+NgiQnBg+pTdBDOIOfTuMSTjH+pA=; b=LzX+qNYlpQc5uX2aPUZYBbl+p/jukNrINkGOTrU1bFVthdRfx8mQ1nFM94wQsH6UGv mQBtrtgcWpaxq4S3fcdoWYqJ8Ax1LNba6327yu/F3sguIc3Q6Yp1hZ3PsUB5mOPmBjvA UhSD6Gm0o6mj2yqVvInIa203Z3wwJq/lJbhgT3s0YkSFXbiEp71kRrZqaSiiABX50VuY yyvsOcpvCTuDXe1mQykLmb/Fc+n/sPHjpqQ0guRhbSqX1K4fb0xXoahaR8WHGjJo7yje xn0F4zfAZlIUO1GUkfbyGMz0MSejfF8E/MHjRhd/xdGM6dYaiEzhJOiSdlFZUHydjKRQ GT/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Y6DDiA88aNyz38X+NgiQnBg+pTdBDOIOfTuMSTjH+pA=; b=Aq7OMfANA6L89KFy/Ss8EJShm6+gW8KPSx61p6v9WwGmyl3zjMLObqdc2VqY36KzOH wlXCjkyDCOuu9IDTWA6ZlbPYTlXtOgkDquHicd5+euAx5R+MpdYa5U+HZ3u2zOoO573f D9LBHXkLla2u/6v4Rj+ECmPyIfin/iVznybgZAtvJoqO86ryrdzNvrhM/JfLKbJRSIB/ K/A+ZdPjGHp+kz/HQwwKy6AFqDOBhwb64V6ZutX6Jt9vpmy1tEU2bMQLKHEmleU/uGoQ RR+HCO7U7qJrYSXCuV/7SbrrQJoLYk1uNAonh8EvjzQxOpvgddvz9ZJsKsWRMkZ/IPfJ tRjQ== X-Gm-Message-State: AOAM532IdSwZELtVIE2t7+j7DQ01VJytcjg/q9HrVOnOsVH1jk7jLbWr VHk6m6KTFWRH2U+korMxv8zVUOmLlvzXwHqjfqDbXGyxFo+ZJB5M/SA= X-Google-Smtp-Source: ABdhPJxkj+lr6DFi9k+4s7vmTJtz8ZPP7uIyQ2SQeekbQ1xPWWgR7e16A+UP1qwcRgLN0wsmIEhfEl3ev4VBmMlgylU= X-Received: by 2002:ac2:57c1:: with SMTP id k1mr13095817lfo.231.1623221351358; Tue, 08 Jun 2021 23:49:11 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130652 Archived-At: I found the following command from : "curl -s https://api.mathpix.com/v3/latex -X POST -H \"app_id: %s\" -H \"app_key: %s\" -H \"Content-Type: application/json\" --data \"{\\\"src\\\":\\\"%s\\\",\\\"formats\\\": [\\\"latex_styled\\\"],\\\"format_options\\\":{\\\"latex_styled\\\": {\\\"transforms\\\": [\\\"rm_spaces\\\"]}}}\"" I want to obtain its normal version and test it under the system's shell terminal. Any hints for deleting the escape characters correctly from the above command in Emacs way? Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China