From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iDTROldShV/tRAAA0tVLHw (envelope-from ) for ; Tue, 13 Oct 2020 07:08:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YBqpNldShV82ZgAA1q6Kng (envelope-from ) for ; Tue, 13 Oct 2020 07:08:07 +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 29CE89404D2 for ; Tue, 13 Oct 2020 07:08:07 +0000 (UTC) Received: from localhost ([::1]:49446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSEPk-0006S3-Fc for larch@yhetil.org; Tue, 13 Oct 2020 03:08:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSEMv-00039S-6g for emacs-orgmode@gnu.org; Tue, 13 Oct 2020 03:05:10 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:36985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSEMs-0001WK-K1 for emacs-orgmode@gnu.org; Tue, 13 Oct 2020 03:05:08 -0400 Received: by mail-ed1-x533.google.com with SMTP id o18so19739777edq.4 for ; Tue, 13 Oct 2020 00:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzamboni-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Jb0TCu0zzYomSauKQJzXRAXIyP1ZsM/f0KKwLkYmAfk=; b=tC7OEj9B6DYTwSSFFmFLinH5BqaqKf0UpPGI0C4SK6DS7yMsQJXZjlP2tu0f+ZAB/K 5k87MOM1NDP1SImMitRJDorp+EBtU6ut5hE4WWZvCZQRM2ESyKmpUKmg1mRt9ndhnYGd ADmbMwpGWGAJ8WZgfq2Jn7Bh/oqohQmj6Gr1gIWyQVir0OTHRiapWNHv9kgrH6PR1Mt1 2j4LWjPO8ZW+aIW1LNVt1OCsk4sVCvREbDlLjCJRrWndf0VR+iJP967PZ2R96V0DXvp2 IdBnJ3hUDGOJeJwYq/V54sQc7yQ/UXoGGk6OAhlNTWKISbKS+tnyENxI/ZOJB9XPQMi9 n2dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Jb0TCu0zzYomSauKQJzXRAXIyP1ZsM/f0KKwLkYmAfk=; b=AJGIFvl8Z5s4c8ysvvJTT8tH+dD4IEff7bfpz60plgkfzZ4y1M7VLqq5jGiUccRwJe /I58ILTFopMvMhhH2aYYxY9XYciv3d0O8im0+nM+WAoinInEKn8ErRbLEl5bCWTsmwNv 7wUmu7Vs+3hsRLR/ctwW6CzhKL6caHqbcq4+aRamoEOLALJ+W57FJktxfoyIqSWGkQyc Pts2UIok3xnVHvem6YLsks7MCNnGVpixAK/nZUj0cZffc+WP4I+T3Q7Q1ppksX51Md+B VdqwBk5421YOGyMB/bYQ+9atzWaT3FBud+pnIEMQKmi2ko/fyALWo3R9n63mTbKkMg80 iZzA== X-Gm-Message-State: AOAM5318ulet6j2Da4YydPNGuckSvl3EPxrIhe7OHXMPMQ8VnFnKTMrN 52zx2xhenMrkeYKxtFd1VhdARzvbDsIcbeZ/x5HXY9RLDnRmvw== X-Google-Smtp-Source: ABdhPJxtg0+xlHAjEX+cYJ6+B8+9uzcLCDQniu7pqERi8HEAVoP1Fb30/3v4Loj8QKW9ObH2kVvw5S7OmVHxRzkIPRE= X-Received: by 2002:aa7:ce0a:: with SMTP id d10mr18047408edv.254.1602572703644; Tue, 13 Oct 2020 00:05:03 -0700 (PDT) MIME-Version: 1.0 References: <87mu0qzli4.fsf@mat.ucm.es> In-Reply-To: <87mu0qzli4.fsf@mat.ucm.es> From: Diego Zamboni Date: Tue, 13 Oct 2020 09:04:52 +0200 Message-ID: Subject: Re: org mode with babel source: execute all source blocks, don't export them to latex To: Org-mode Content-Type: multipart/alternative; boundary="000000000000ba578305b1880880" Received-SPF: none client-ip=2a00:1450:4864:20::533; envelope-from=diego@zzamboni.org; helo=mail-ed1-x533.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: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no 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=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=tC7OEj9B; dmarc=none; 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: -1.21 X-TUID: FSx2gYEaN8RT --000000000000ba578305b1880880 Content-Type: text/plain; charset="UTF-8" Hi Uwe, 1. Is there any equivalent to org-update-all-dblocks for the source > blocks? > I think you want org-babel-execute-buffer: Documentation Call org-babel-execute-src-block on every source block in the current buffer. 2. I want to export the org file to latex, in the current setting > the source blocks are also exported. I tried > #+begin_src matlab :results output raw :eval never-export > but it did not help. > Normally, =:results output= should be enough, but there might be some peculiarities with matlab blocks that change this behavior. --Diego --000000000000ba578305b1880880 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Uwe,

<= div class=3D"gmail_quote">
=C2=A0 =C2=A0 1. Is there any equivalent to org-update-all-dblocks for the = source blocks?

I think you want org-bab= el-execute-buffer:

Documentation
Call org-babel-execute-src-block on every source block in
the current buffer.

=C2=A0 =C2=A0 =C2=A02. I want to export = the org file to latex, in the current setting
=C2=A0 =C2=A0 =C2=A0 =C2=A0the source blocks are also exported. I tried
=C2=A0 =C2=A0 =C2=A0 =C2=A0#+begin_src matlab=C2=A0 :results output raw=C2= =A0 =C2=A0:eval never-export
=C2=A0 =C2=A0 =C2=A0 =C2=A0but it did not help.

<= /div>
Normally, =3D:results output=3D should be enough, but there might= be some peculiarities with matlab blocks that change this behavior.
<= div>=C2=A0
--Diego

--000000000000ba578305b1880880--