From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UHRKI7GajWYw3AAA62LTzQ:P1 (envelope-from ) for ; Tue, 09 Jul 2024 20:16:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UHRKI7GajWYw3AAA62LTzQ (envelope-from ) for ; Tue, 09 Jul 2024 22:16:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=UlZ9+uyg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720556209; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=D98GR+E+HMpH+meiR/VpPBH2x6A/aJ0SqDWGAtcGf68=; b=kny8YR6W5DhCs5sUmYGKw+xHH0szh9Gzn5SNdcBUQFozzhc6qj2vlcg9GRlMa8OZn1MvCR YZAJt10Jigpfhw3jfLaSMtbUVPiSDgh6H6pmMxhpQ3UMfxE+Bnk066P7Ak+cRJDJ1pC/qd K8Ks3YSU8P5ePiSIUa7Dx3Abc4ymrwydkZzW1DfXMOyaqajehAilTGTIgHT1YGYNp8DMwJ tm4SHYVt+0VxQGN9UwhrdtGMqWE5BVBxTszkvEAycUBo4+ZyhMzR2GYMj71W+HPKWvcXGt tXpeDO6GebJVM+WQ7BpXriIGyDpPIh1lspnpAiYTIarETmRhBy/KIis5rCK7ZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720556209; a=rsa-sha256; cv=none; b=CpTClXjjH1MIG8HPO5FASW7X0RF/nt8WEnwcdzV1Dpnflz8rXCTCpGBRXFTPl1oc9e77Dw MeZLCZ8GGIRr37JquAbSiNdGOtwqQWBkwMXQbFayow0oxBUBucrIWcFAloEXvJlkSck62o DH40873m2u2vxoqpX6TYlgN06SdDmHYfClAdWzyW3NoFWq/xR2IRo+lPiRgXt/VKz0G0Tg OQ4g0+2jL3Sz5FkXzLjcMgRZUAVbtJBBzEabHErx3AO69Dqb4M/lLi+Fn0wgsh6D7ALBx1 UA7XrVtsavSw7uAShZu/uxByQAmBeg9AwuefIZi762VV25AhU/4wTG916IinkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=UlZ9+uyg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" 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 52C87741D2 for ; Tue, 09 Jul 2024 22:16:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRHFe-0001Zz-G5; Tue, 09 Jul 2024 16:15:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRHFc-0001ZO-S6 for emacs-orgmode@gnu.org; Tue, 09 Jul 2024 16:15:48 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRHFa-0006h9-Hf for emacs-orgmode@gnu.org; Tue, 09 Jul 2024 16:15:47 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1fb1c918860so742835ad.1 for ; Tue, 09 Jul 2024 13:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720556145; x=1721160945; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=D98GR+E+HMpH+meiR/VpPBH2x6A/aJ0SqDWGAtcGf68=; b=UlZ9+uyg061lEEKCg1ZqYgvpSxQOSddZoeTqZgYggxRnNHeuLOUnrnw7QzhtpQ2UbD 5hUGiiacxjY6h1iDt4U2LhafsK0f7VE0GZewHJchqM41S67gZYmmmclnkmzVq6pLE7eD bfGPz6CP/V1DUnfKmbApBe7VCSyRP+RgszUpwPrUtlIT2RoSjkiPkLtAcUGi+hWyiCWK e5drMBnEmbkWP8mzOb26GF/PkgOpKrBIqTXRmLl4LmBen7UeMcf5z9aN7Bu0K7oBX3QN 8fqxc3GiO5jzDV25voBXAv5YA7+6HMTRnF4lPsTb5cqtaMkHzMZTlv0FaWycE4mluqo0 6Slg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720556145; x=1721160945; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=D98GR+E+HMpH+meiR/VpPBH2x6A/aJ0SqDWGAtcGf68=; b=lofRwEvTbieEvIwByK8mv8vJWjrNODoHObHtV+Ey4G+ijPbWm4dgxSEw/TpfC4HXRc PRe+c6VeOQBEdUMW0snmCNd8agkYs9lIwABV+SzfGhsKNyEOPH6bq1jq/XnHa9yq17po 3EDIgly+9ChAmwwpzO2sLaFN2y/fqSsMbniOKoDhd3v0aK3h0xZCdiKrK5tYbb1rztB1 aH2rkq8PrbKAMxrv2ANzEnaHQ5ezm3RJsfjOQhdc5FN5a2rbGBXM5Rvkynd8lmZkMZII RJUMJ6vHd5ULLcqFD3JQxkRz/ryTqdaraA/bLVfB1j+MysPhyQb9o3eZ6QP17qmWn1VA 5nSA== X-Forwarded-Encrypted: i=1; AJvYcCWTBHOqDWKnUPVv8ATl6EMAF5N8GL5vuQ+KCRgruMrPS/nGGvgbdTh0C5GM1e+jRN4H6XZbR76Lm7IQ5P5GM9JXLhzk1RY= X-Gm-Message-State: AOJu0YyN53TNVDe/nF/wttRebfukpAuH822dbAzL5zOLmhA9KoPnOV0E 2gjgeL/CGFyIOVbSwtPQK8CvLGJgtkx9nbzetGNlRJQt1k0c9rRI X-Google-Smtp-Source: AGHT+IFNxhIPV/u3yW27/hLaf/a3/ZP7QMg+ffFEyztZUmR46IngBvDTXMCNjB2lrVNLOF7pneuYSg== X-Received: by 2002:a17:903:41c7:b0:1fb:8864:e48 with SMTP id d9443c01a7336-1fbb805cbc7mr42840915ad.29.1720556144476; Tue, 09 Jul 2024 13:15:44 -0700 (PDT) Received: from localhost ([2600:8802:5726:2500:12cd:92af:e914:648a]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fbb6ac0fdcsm20005835ad.206.2024.07.09.13.15.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jul 2024 13:15:43 -0700 (PDT) From: Karthik Chikmagalur To: mahmood sheikh , emacs-orgmode@gnu.org Subject: Re: figures not exported properly by ox-latex In-Reply-To: References: Date: Tue, 09 Jul 2024 13:15:43 -0700 Message-ID: <87jzhu724w.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pl1-x636.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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.74 X-Spam-Score: -6.74 X-Migadu-Queue-Id: 52C87741D2 X-Migadu-Scanner: mx11.migadu.com X-TUID: X3VrdZrRBvOX > im on tecosaur's dev branch (version 9.7-pre) > i have the following in an org file: > ```org > #+name: fig-switching-circuit-1 > #+caption: implementation of \(p\) > [[attachment:circuit.svg]] > ``` > it gets turned into this > ``` > \includesvg[width=.9\linewidth]{/home/mahmooz/brain/notes/data/9e/5ba2ce-c383-4396-a2cb-891465f14d51/circuit}\\[0pt] > ``` Cannot reproduce. I get the following: \begin{figure}[htbp] \centering \includesvg[width=.9\linewidth]{/tmp/circuit} \caption{\label{fig-switching-circuit-1}implementation of \(p\)} \end{figure} Perhaps you have customized the LaTeX export process in some way? Also note that we don't touch any of the LaTeX generation code in ox-latex except the parts handling LaTeX preview images. Karthik