From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MIaNKpSMYWNO1wAAbAwnHQ (envelope-from ) for ; Tue, 01 Nov 2022 22:16:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wL5WKpSMYWNLFwAA9RJhRA (envelope-from ) for ; Tue, 01 Nov 2022 22:16:04 +0100 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 44036360AB for ; Tue, 1 Nov 2022 22:16:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opybB-0001pU-Io; Tue, 01 Nov 2022 17:15:05 -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 1opyb9-0001p8-9P for emacs-orgmode@gnu.org; Tue, 01 Nov 2022 17:15:03 -0400 Received: from hostline.pl ([46.248.185.39] helo=server.hostline.pl) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opyb6-0008Dn-SJ for emacs-orgmode@gnu.org; Tue, 01 Nov 2022 17:15:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=electrum-bikes.pl; s=x; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BPmMlYI7AXVcaXZ/W+kceHQ3SwQnwGrYa97ZhWk+ZoE=; b=GudeD9UTyeS5fcVHXqO0SyztDS JQPjI3R262khz9eZ7oTg2YJtWjj/xGFEpX2iRPJcNjl4+nJ+viBzwK0Kkz87MBXymtClXO4Sexqfa pV84bjElaZBfItlFKCvEvf2WxImfgw9v97G8csFc5HIgWhQCjI0RJiJLuVQqJEEU+llmxE3m2/F7g ecdDwDeguQYC8GNclSp3eUQq+IWUH4GLn9M5Z6scmkVFuLBZcxB6XKY88WbrGVUiRB2oU5h7PFtCT W5V/KBiRPzkbwEoOFtv9H2qxwtWvehZG2659QWlu0NkUUg6QVwfGsHrXHLGVQPO0j2ddASZwfQS3g xC/sQs1g==; Received: from [31.42.0.226] (helo=[192.168.1.101]) by server.hostline.pl with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1opyb3-00BQNe-0Z for emacs-orgmode@gnu.org; Tue, 01 Nov 2022 22:14:57 +0100 Message-ID: Date: Tue, 1 Nov 2022 22:14:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [O] Maxima code blocks does not work in windows revisited Content-Language: en-US To: emacs-orgmode@gnu.org References: <8ae50265-2a3a-b1cc-de80-11fd7d8d4a8a@electrum-bikes.pl> <87leovm77b.fsf@localhost> <7d4bfdf1-b210-c90c-9448-703939764fe0@electrum-bikes.pl> <87sfj2mv0i.fsf@t14.reltub.ca> From: Mati In-Reply-To: <87sfj2mv0i.fsf@t14.reltub.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-Authenticated-Id: mati@electrum-bikes.pl Received-SPF: pass client-ip=46.248.185.39; envelope-from=mati@electrum-bikes.pl; helo=server.hostline.pl 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, NICE_REPLY_A=-0.001, SPF_HELO_PASS=-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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667337364; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BPmMlYI7AXVcaXZ/W+kceHQ3SwQnwGrYa97ZhWk+ZoE=; b=GxbcPGPiRO8eQiGH59/VIgPFkG6mZCG9sVsLDKUx11f9z1sRNBExU374GuJYduhbKA4rkY VKdpLKY+Ah1w2X8R+HRVUuhfQBKZCfkcBAmJe7xJJmKSohogREFb5RDd9N1uZrlOrAUn+G RRRW6ZaquLLNRCIEUJ7Oj3v31ugEFNugDoBmwSp+9LuR0/VxYAQ/jOG4xZCH2Ge+DFv9Wp /tfO/jDwZMtAcQIjU9968+CvSqua+57qGR/9ItIegg6SFcE9TNwxs0As3ZWIOQwtzAsx+I ab6S3bByGHGaNc7fZGlLO/dHL40wMtz9zDayVM+mRWL4vbysI/6K99FnRytQ0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667337364; a=rsa-sha256; cv=none; b=hY1TZF4VuEi2GaP0ootKacsb6iR2JTAKtoy2wZ3T2O+nWvtcO8cKgsbDoEBdyqMU0dbcTF /gBBzCsVYez6Y2y3Gq8rNUX3HTYW2xHEoj5HnzmgWVrkQ3E0Dhj6VMyivSEp4iVHlWB8+a AGm8i7+WW7m4Md+w2MHhyJOD/PrusEIZF1qTMyfva+O5N8BPcUbzxZ6FE4v68JAysrP3OJ 4E80oeWyWTAlPqEVEGJKPefeEqr4tJh+i8E1kSl6d08AaJtmRghy6mf6U2amCuMjegt7rn JjPMub1po5cWUpH+rNEXYSg0/CRFjC4ShPJ46sZWFQtPa92dyCMjaJ8INWKoCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=electrum-bikes.pl header.s=x header.b=GudeD9UT; dmarc=none; 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" X-Migadu-Spam-Score: 1.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=electrum-bikes.pl header.s=x header.b=GudeD9UT; dmarc=none; 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" X-Migadu-Queue-Id: 44036360AB X-Spam-Score: 1.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: BzqLvUaW+Uu6 >> I am testing maxima-mode now (not in org) and it works, but is broken >> on windows. Looks like there are many more problems with syntax. > I am interested to know what is broken in maxima-mode. Please > explain with examples. > > Best, > Leo There is problem with handling ghostscript. Ghostscript gui opens three times, one time with commands help, and error is displayed in minibuffer: "Your version Ghostscript does not appear to support the image type -sDEVICE=png16m. The command "gs -h" lists the available devices." when it does support it. maybe if I could use setup file it would work, but it gives error: Wrong type argument: stringp, nil. I also had to correct miktex path in this function, but without modification this error occurs too Overall, configuration on windows is a pain. manually installing packages in miktex and ghostscript (not that bad, but I had to dig to find that's neccesary), wondering what code actually should be put in init.el, finding and moving files from maxima installation to site-lisp, adding installation pathes to path environment variable because setup-imaxima-imath.el is not working... Plots produce output but it's not inline in emacs buffer, but gnuplot window. My current path to miktex binary is: C:\Users\user\AppData\Local\Programs\MiKTeX\miktex\bin\x64 My init.el config for maxima: > (add-to-list 'load-path "~/.emacs.d/site-lisp/maxima/") > > (load-file "~/.emacs.d/site-lisp/maxima/setup-imaxima-imath.el") > > (use-package maxima >   :custom (maxima-display-maxima-buffer nil) >   :mode ("\\.ma[cx]" . imaxima) >   :interpreter ("maxima" . imaxima)) > > ;;(autoload 'maxima-mode "maxima" "Maxima mode" t) > (autoload 'imaxima "imaxima" "Frontend for maxima with Image support" t) > ;;(autoload 'maxima "maxima" "Maxima interaction" t) > (autoload 'imath-mode "imath" "Imath mode for math formula input" t) > ;;(setq imaxima-use-maxima-mode-flag t) > ;;(setq imaxima-gs-program "gswin64") > (setq imaxima-fnt-size "large") > (setq imaxima-pt-size 12) > ;;(add-to-list 'auto-mode-alist '("\\.ma[cx]" . maxima-mode)) > > (org-babel-do-load-languages >  'org-babel-load-languages >  '((maxima . t))) ; this line activates maxima >