From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GAUvLAlOy17aKAAA0tVLHw (envelope-from ) for ; Mon, 25 May 2020 04:48:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UDQNKAlOy14aPQAAB5/wlQ (envelope-from ) for ; Mon, 25 May 2020 04:48:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3F5F69403ED for ; Mon, 25 May 2020 04:48:09 +0000 (UTC) Received: from localhost ([::1]:38370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jd51z-0007qS-OB for larch@yhetil.org; Mon, 25 May 2020 00:48:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jd51T-0007pz-HR for emacs-orgmode@gnu.org; Mon, 25 May 2020 00:47:36 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:40449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jd51S-00016Y-OI for emacs-orgmode@gnu.org; Mon, 25 May 2020 00:47:35 -0400 Received: by mail-ed1-x52d.google.com with SMTP id l5so13946482edn.7 for ; Sun, 24 May 2020 21:47:34 -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=NvKfq0YCYSB3YZHMuHjUO1rpUwO3V2B88u2IPhuMRdk=; b=h+m/jpKhFRdGdZ/3VV/XXvotgKOZ/7X7Iloddohqmg5pRqPx4jH+X53DJGqz67ZoOQ fHmZfDWjlxb5AIzS8lGkgpvUi4ZfMMN5+9ikEsvLdMgllaa+lxsNJKjCJg/YuRz7qFS8 dcrxyF1YVjdFD7qejf/0Tx1W/W/JbioN+78H2VdndoDsJjNFMJtT/sFjVDiJc8XAQPud pYnzgC4bE1s2Xnz2PWmw+us6iZ/Bueldwp21h+DwGknKSaQqjUAdu1Kd7lPFuR1Cn3z4 /SCPeHgm46pAjUmWVoHW0Wc970vq/u7dsK/cX112oBd8rwrOCIal2BIPocdNKNrbLX9I ukbg== 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=NvKfq0YCYSB3YZHMuHjUO1rpUwO3V2B88u2IPhuMRdk=; b=sG9mUwzK41SRLrQiu8kiDgSkaSDObPWKPeHd1fRYXxd/ORstRnFapLKIdBCM/aktNz PaIucR11Cz/QbPzGp9ARKXtKzkjrkofJt8qwnMUIDEgD5Zyd40eSAiy4geuUutvQppP/ OoIXV2EfcZdnY4uosGVokbt46kXgj+Cn9aisWsxSx397JNmWe5Haq9/MWDBb9UvW2w5V Ty170VdaLv22iKnWr2j/vhwZfNOVoBmgrwJuObSoONF+8J9XXEzakyx7DYqb1cRAV81Z NmXiYlinITqZFLRYpoeLfxKEZnonIEgOddZxHmkmDOrH9GR4B56qpvf6Vi6OG4db/fIl R1fw== X-Gm-Message-State: AOAM532Lo/QuYo63ai65QN1SpN0K/YeVfJotaCsOgdyEKQYvbMJUM9tu +f+FLkPW5Jt02y9pAiW+Q4ZF+AnNGbXZltIDLdek5frrs6g= X-Google-Smtp-Source: ABdhPJzBPVeeNpgz2deV8MxtX1SSW2skWeQMspl+oASTdFXTId17ncUua5t/3qxY2R/9cf4IKf15jTd2sPMxiOk2TwI= X-Received: by 2002:a50:9a86:: with SMTP id p6mr13597162edb.153.1590382052178; Sun, 24 May 2020 21:47:32 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:907:9e8:0:0:0:0 with HTTP; Sun, 24 May 2020 21:47:31 -0700 (PDT) From: Vladimir Nikishkin Date: Mon, 25 May 2020 12:47:31 +0800 Message-ID: Subject: How do I set attr_latex for the babel-block outputs? To: emacs-orgmode Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=lockywolf@gmail.com; helo=mail-ed1-x52d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=h+m/jpKh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: Zlf1PMVKELBF And the same question: I am drawing pictures for my book suing TikZ and babel. This is my code (almost and mwe): #+name: figure-1-2 #+header: :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 300 #+header: :fit yes :headers '("\\usepackage{tikz}") #+header: :buffer on #+begin_src latex :results value graphics file :exports both :file figure-1-2-tree.png \usetikzlibrary{trees} \begin{tikzpicture}[color=gray] \node {sqrt} % root child { node {sqrt-iter} child[sibling distance=5cm] { node{ good-enough } child[sibling distance=2cm] { node { square } } child[sibling distance=2cm] { node { abs } } } child { node{ improve } child { node { average } } } }; \end{tikzpicture} #+end_src The #+RESULTS has a link [file:figure-1-2-tree.png]] below it. However, after export the picture is rendered \textwidth-wide. If I manually set #+attr_latex: :width 8cm above the #+RESULTS, it is displayed as expected, but If I recompute the picture, it is pasted above my manually added attr line. As far as I understand, the "graphics" Format is essentially org-mode-text. Is it possible to set proper width attributes? -- Yours sincerely, Vladimir Nikishkin