From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sanjib Sikder Subject: Re: #+BEGIN_COMMENT latex export issue Date: Mon, 15 Oct 2012 16:35:14 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae93403cf7cee4304cc170557 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNiUi-0003KQ-WE for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 07:06:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNiUe-0005wQ-0E for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 07:06:00 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:51155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNiUd-0005wM-Pc for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 07:05:55 -0400 Received: by mail-ie0-f169.google.com with SMTP id 10so9588063ied.0 for ; Mon, 15 Oct 2012 04:05:55 -0700 (PDT) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --14dae93403cf7cee4304cc170557 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have solved the problem after removing all the relevant packages and reinstalling. Some left over packages were causing trouble and reinstalling was not of any help. Thanks. ----------------------------- *Sanjib Sikder *Ph.D. Fellow Chemical Engineering IIT Bombay* * On Mon, Oct 15, 2012 at 4:13 PM, Sanjib Sikder wrote: > Hi, > > #+BEGIN_COMMENT > Some text > #+END_COMMENT > > The above code is not working on my desktop while it runs without any > error on my laptop. I have same .emacs set up for both desktop and laptop. > I am getting the following error message. > > byte-code: unbalanced begin/end_comment blocks with #("#+BEGIN_COMMENT > " 0 15 (fontified nil font-lock-fontified t) 15 16 (fontified nil > font-lock-fontified t)) > > > Thanks. > > Following is the corresponding part in my .emacs > > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(TeX-PDF-mode t t) > '(TeX-source-correlate-method (quote synctex)) > '(TeX-source-correlate-mode t) > '(TeX-source-correlate-start-server t) > '(TeX-view-program-list (quote (("Okular" "okular --unique > %o#src:%n%b")))) > '(TeX-view-program-selection (quote ((output-pdf "Okular") ((output-dvi > style-pstricks) "dvips and gv") (output-dvi "xdvi") (output-html > "xdg-open")))) > '(org-modules (quote (org-bbdb org-bibtex org-docview org-gnus org-info > org-jsinfo org-irc org-mew org-mhe org-rmail *org-special-blocks* org-vm > org-wl org-w3m))) > '(show-paren-mode t)) > (custom-set-faces > ;; custom-set-faces was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(default ((t (:inherit nil :stipple nil :background "white" :foreground > "black" :inverse-video nil :box nil :strike-through nil :overline nil > :underline nil :slant normal :weight normal :height 98 :width normal > :foundry "unknown" :family "Liberation Sans"))))) > > ----------------------------- > *Sanjib Sikder > *Ph.D. Fellow > Chemical Engineering > IIT Bombay* > > * > > --14dae93403cf7cee4304cc170557 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I have solved the problem after removing all the relevant packag= es and reinstalling. Some left over packages were causing trouble and reins= talling was not of any help.

Thanks.

----------= -------------------
Sanjib Sik= der
Ph.D. Fellow
Ch= emical Engineering
IIT Bombay






On Mon, Oct 15, 2012 at 4:13 PM, Sanjib = Sikder <sanjibju2002@gmail.com> wrote:
Hi,

#+BEGIN_COMMENT
Some text
#+END_COMMENT

The above c= ode is not working on my desktop while it runs without any error on my lapt= op. I have same .emacs set up for both desktop and laptop. I am getting the= following error message.

byte-code: unbalanced begin/end_comment blocks with #("#+BEGIN_COM= MENT
" 0 15 (fontified nil font-lock-fontified t) 15 16 (fontified = nil font-lock-fontified t))


Thanks.

Following is the corr= esponding part in my .emacs

(custom-set-variables
=A0 ;; custom-set-variables was added by Custo= m.
=A0 ;; If you edit it by hand, you could mess it up, so be careful.=A0 ;; Your init file should contain only one such instance.
=A0 ;; If= there is more than one, they won't work right.
=A0'(TeX-PDF-mode t t)
=A0'(TeX-source-correlate-method (quote s= ynctex))
=A0'(TeX-source-correlate-mode t)
=A0'(TeX-source-co= rrelate-start-server t)
=A0'(TeX-view-program-list (quote (("Ok= ular" "okular --unique %o#src:%n%b"))))
=A0'(TeX-view-program-selection (quote ((output-pdf "Okular")= ((output-dvi style-pstricks) "dvips and gv") (output-dvi "x= dvi") (output-html "xdg-open"))))
=A0'(org-modules (q= uote (org-bbdb org-bibtex org-docview org-gnus org-info org-jsinfo org-irc = org-mew org-mhe org-rmail org-special-blocks org-vm org-wl org-w3m))= )
=A0'(show-paren-mode t))
(custom-set-faces
=A0 ;; custom-set-face= s was added by Custom.
=A0 ;; If you edit it by hand, you could mess it = up, so be careful.
=A0 ;; Your init file should contain only one such in= stance.
=A0 ;; If there is more than one, they won't work right.
=A0'(de= fault ((t (:inherit nil :stipple nil :background "white" :foregro= und "black" :inverse-video nil :box nil :strike-through nil :over= line nil :underline nil :slant normal :weight normal :height 98 :width norm= al :foundry "unknown" :family "Liberation Sans")))))
-----------------------------
Sanjib Sikder
Ph.D. Fellow
Chemical Engineering
IIT Bombay





--14dae93403cf7cee4304cc170557--