From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Misc. questions Date: Tue, 4 Oct 2016 14:57:53 -0500 Message-ID: References: <1475607776.3238953.745790809.290F05FA@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brVqf-0002O7-P9 for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 15:57:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brVqd-00022g-BE for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 15:57:56 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:38249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brVqd-00022Q-3O for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 15:57:55 -0400 Received: by mail-wm0-x22d.google.com with SMTP id p138so232426860wmb.1 for ; Tue, 04 Oct 2016 12:57:54 -0700 (PDT) In-Reply-To: <1475607776.3238953.745790809.290F05FA@webmail.messagingengine.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Peter Davis Cc: emacs-orgmode On Tue, Oct 4, 2016 at 2:02 PM, Peter Davis wrote: > I apologize in advance for the flood of questions, but I'm using org in > new ways now for creating documentation, and running into a lot of > issues. > > 1) Is there a way to automatically say "yes" to all the "Evaluate code > block...?" questions when I export, so I don't have to keep typing "yes" > over and over again? I googled "stop orgmode babel having to confirm" and got these: - http://emacs.stackexchange.com/questions/23946/how-can-i-stop-the-confirmation-to-evaluate-source-code-when-exporting-to-html - http://stackoverflow.com/questions/29952543/how-do-i-prevent-org-mode-from-executing-all-of-the-babel-source-blocks Both refer to babel variables you can set.[1] You can put them in a single file (at the very top): # -*- org-confirm-babel-evaluate: nil; -*- Or add this to .emacs (setq org-confirm-babel-evaluate nil) Or use #+bind[2] within a file (similar to the first local variable example). > > 2) How does the export menu get set? I'm loading, for example, > ox-texinfo, but I don't see the option to export texinfo when I type C-c > C-e. I'm also loading ox-pandoc, which shows me a slew of export > formats on my Mac, but only two, file and buffer, on my Win10 machine. > Guessing it's something on your side? Having never used it, I just added: (require 'ox-texinfo) I get an [i] option after C-e with various "Export to texinfo" options. > 3) Still trying to find a way to get to DocBook XML (4, it turns out). I > know the export page says to output texi (see #2 above) and then convert > with makeinfo, but I have my doubts. Of course, once I get texi working > I'll be able to see for myself what information, if any, is lost. > No experience, so can't speak to this. > 4) Is json a valid language for #+BEGIN_SRC? I don't see any syntax > highlighting in HTML or LaTeX/PDF output, and I'm getting errors from > LaTeX: > > ! Package Listings Error: language json undefined. > > Come to think of it, I think the org-mode doc lists both JavaScript (js) > and JSON (json) as supported languages for code blocks, but the Listings > LaTeX package doesn't list either of these. > Not sure where that was. I use this page as my reference and don't see it (but do see js): - http://orgmode.org/worg/org-contrib/babel/languages.html > Thanks! > -pd > Hope that helps, John [1] the manual where these are mentioned: http://orgmode.org/manual/Code-evaluation-security.html [2] http://orgmode.org/manual/Export-settings.html > -- > Peter Davis > www.techcurmudgeon.com >