From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfkin Chiang Subject: "No definition" for "per-file basis in a source code block" mode Date: Mon, 8 Apr 2013 13:18:15 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=e89a8f64674d6bcb3a04d9d2909b Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP4TJ-0000FH-MD for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 01:18:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP4TC-0004pn-3F for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 01:18:25 -0400 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:36041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP4TB-0004pa-DG for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 01:18:17 -0400 Received: by mail-wg0-f41.google.com with SMTP id y10so3365222wgg.4 for ; Sun, 07 Apr 2013 22:18:16 -0700 (PDT) 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 --e89a8f64674d6bcb3a04d9d2909b Content-Type: multipart/alternative; boundary=e89a8f64674d6bcb3404d9d29099 --e89a8f64674d6bcb3404d9d29099 Content-Type: text/plain; charset=ISO-8859-1 Hi, All, While I try the "per-file basis in a source code block" mode, It tells me: No definition for class `per-file-class' in `org-export-latex-classes' I command $ emacs -D -nw --no-splash --batch --kill --file tt1.org --funcall org-export-as-latex And it tells me: Loading 00debian-vars... Loading /etc/emacs/site-start.d/50asymptote.el (source)... Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)... Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)... Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)... Loading /etc/emacs/site-start.d/50geiser.el (source)... Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)... Loading cjk-enc... Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)... Loading /etc/emacs/site-start.d/50org-mode.el (source)... Loading /etc/emacs/site-start.d/50python-docutils.el (source)... Loading /etc/emacs/site-start.d/50thailatex.el (source)... OVERVIEW Exporting to LaTeX... No definition for class `per-file-class' in `org-export-latex-classes' And no positive response whill I try to move the source block at begin. And it is true that this can be right done once I define the `per-file-class' in .emacs. Regards, Wolfkin --e89a8f64674d6bcb3404d9d29099 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi, All,

W= hile I try the "per-file basis in a source code block" mode,
It tells me:
No definition for class `per-file-= class' in `org-export-latex-classes'

I command
$ emacs = -D -nw --no-splash --batch --kill --file tt1.org= --funcall org-export-as-latex
And it tells me:
Loading 00debian-vars...
Loading /etc/emacs/site-= start.d/50asymptote.el (source)...
Loading /etc/emacs/site-start.= d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (sour= ce)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dict= s.el (source)...
Loading /etc/emacs/site-start.d/50emacs-goodies-= el.el (source)...
Loading /etc/emacs/site-start.d/50geiser.el (source)...
Load= ing /etc/emacs/site-start.d/50latex-cjk-common.el (source)...
Loa= ding cjk-enc...
Loading /etc/emacs/site-start.d/50latex-cjk-thai.= el (source)...
Loading /etc/emacs/site-start.d/50org-mode.el (source)...
Lo= ading /etc/emacs/site-start.d/50python-docutils.el (source)...
Lo= ading /etc/emacs/site-start.d/50thailatex.el (source)...
OVERVIEW=
Exporting to LaTeX...
No definition for class `per-file-clas= s' in `org-export-latex-classes'

And no positive response whill I try to move the source block= at begin.
And it is true that this can be right done once I define the `pe= r-file-class' in .emacs.

Regards,<= /div>
Wolfkin
--e89a8f64674d6bcb3404d9d29099-- --e89a8f64674d6bcb3a04d9d2909b Content-Type: application/octet-stream; name="tt1.org" Content-Disposition: attachment; filename="tt1.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hf96eath0 IyAjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj CgojK1RJVExFOiAgICAg6L+05q244oCc5rqr6Imv5oGt5YSJ6K6T4oCdCgojK0FVVEhPUjogICAg 6IyF5LqO6Lu+CiMrRU1BSUw6ICAgICB3b2xma2luLmNoaWFuZ0BnbWFpbC5jb20KCiMrREVTQ1JJ UFRJT046CiMrS0VZV09SRFM6CiMrTEFOR1VBR0U6ICB6aAoKIytPUFRJT05TOiAgIEg6MyBudW06 dCB0b2M6dCBcbjpuaWwgQDp0IDo6dCB8OnQgXjp7fSAtOnQgZjp0ICo6dCA8OnQKIytPUFRJT05T OiAgIFRlWDp0IExhVGVYOnhlbGF0ZXggc2tpcDpuaWwgZDpuaWwgdG9kbzp0IHByaTpuaWwgdGFn czpub3QtaW4tdG9jCiMrSU5GT0pTX09QVDogdmlldzpuaWwgdG9jOjIgbHRvYzp0IG1vdXNlOnVu ZGVybGluZSBidXR0b25zOjAgcGF0aDpodHRwOi8vb3JnbW9kZS5vcmcvb3JnLWluZm8uanMKCiMr RVhQT1JUX1NFTEVDVF9UQUdTOiBleHBvcnQKIytFWFBPUlRfRVhDTFVERV9UQUdTOiBub2V4cG9y dAoKIytMSU5LX1VQOgojK0xJTktfSE9NRToKCiMgIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIwoKIytOQU1FOiBzZXR1cAojK0JFR0lOX1NSQyBl bWFjcy1saXNwIDpyZXN1bHRzIHNpbGVudCA6ZXhwb3J0cyBub25lCihyZXF1aXJlICdvcmctbGF0 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v5rqr5ZKM55qE77yM5ZaE6Imv55qE77yM 5bCN5Yil5Lq65oGt5pWs55qE77yM6Kyb56m256+A57SE55qE77yM5LiN5LqL6KqH5by155qE77yM 6ICM5LiU5piv6KyZ6K6T55qE77yM5LiN54it5YWI5oGQ5b6M55qE44CC5aaC5p6c5oiR5YCR5ZGo 5ZyN5o6l6Ke45Yiw55qE5Lq66YO95YW35pyJ6YCZ5LqU5a2X5L+u6aSK77yM5oiR5YCR5LiA5a6a 55Sf5rS75Zyo5LiA5YCL5ZKM5bmz77yM5Y+L5aW955qE55Kw5aKD6KOP44CC5LiN5pyD5pyJ5YK3 6IWm562L55qE54it56uv77yM5pu05rKS5pyJ5bCN6Ieq5bex5a6J5YWo55qE5aiB6ISF44CCCgrl hbblr6bvvIzpgJnnqK7orJvnqbbkurrlkozkurrnm7jomZXnmoTpgZPnkIbvvIzlnKjlkITnqK7k uI3lkIznmoTmlofmmI7kuK3pg73mmK/lrZjlnKjnmoTjgILmr5TlpoLlnKjoi7HlnIvvvIzkurrm sJHorJvnqbbntLPlo6vkvZzpoqjjgILmiYDorILntLPlo6vkvZzpoqjlkozigJzmuqvoia/mga3l hInorpPigJ3lt67kuI3lpJrvvIzkuI3pgY7mm7TlnKjkuY7lpJblnKjnmoTooajnj77vvIzkuI3l g4/miJHlgJHmiYDltIflsJrnmoTmm7Tms6jph43lhaflnKjnmoTkv67ppIrjgILkvYbkuI3nrqHm mK/lpJblnKjooajnj77kuZ/lpb3vvIzlhaflnKjkv67ppIrkuZ/lpb3vvIzlhbbntZDmnpzpg73m mK/kuIDlgIvlkozoq6fnmoTkurrpmpvpl5zkv4LvvIzlroPkv53orYnkuobmiJHlgJHnlJ/mtLvn moTlronlrprjgIHmnInnp6nluo/jgIHkuI3lj5flgrflrrPjgIIKCuaykuacieS6humAmeS6lOWA i+Wtl++8jOacg+aYr+S7gOm6vOe1kOaenO+8n+eci+eci+aWh+WMlumdqeWRveeahOaFmOeXm+aV meiok+OAgueUqOaatOWKm+S7o+abv+S6hua6q+WSjO+8jOeUqOmGnOaDoeS7o+abv+S6huWWhOiJ r++8jOeUqOiUkeimluS7o+abv+S6huaBreaVrO+8jOeUqOW8teaPmuS7o+abv+S6huevgOWEie+8 jOeUqOmspeeIreS7o+abv+S6huismeiuk+OAgumAmeaYr+WFqOawkeaXj+eahOa1qeWKq++8jOaY r+WFqOekvuacg+eXm+iLpueahOalteWkp+WMluOAguWNgeW5tOKAnOaWh+mdqeKAneS4reaWt+S6 huS4reiPr+awkeaXj+W5vuWNg+W5tOeahOWEquiJr+WCs+e1seOAguKAnOaWh+mdqeKAneW+jOS4 reWci+WAkumBjuS+huWQkeilv+aWueWtuOe/kuS6uuiIh+S6uuebuOiZleeahOimj+WJh+OAgumW i+Wni+WtuOe/kuism+KAnOisneisneS9oOKAne+8iHRoYW5rIHlvde+8ieKAnOWwjeS4jei1t+KA ne+8iHNvcnJ5IOaIlnBhcmRvbiBtZe+8iSzigJzoq4vljp/oq5LigJ3vvIhleGN1c2UgbWXvvInj gILmlofpnankuK3lvp7kvobkuI3orJvigJzorJ3orJ3igJ3vvIzkuI3orJvigJzlsI3kuI3otbfi gJ3vvIzmm7TmspLkurrmnIPorJvigJzoq4vljp/oq5LigJ3jgILlhJjnrqHlm57pgY7poK3kvobl rbjkuobopb/mlrnvvIzmiJHlgJHpgoTpgaDpgaDmspLmnInmgaLlvqnliLDigJzmlofpnanigJ3l iY3vvIzmiJbop6PmlL7liY3nmoTkurrpmpvpl5zkv4LjgILppqzot6/kuIrluLjluLjog73nnIvl iLDkurroiIfkurrlkLXmnrbvvIzln47nrqHmiZPkurrvvIzlvLXlj6PnvbXkurrjgILmm7TkuI3n lKjoqqrvvIzplovou4rnvbXkurrvvIzmkLbooYzvvIzkuI3mjpLpmorvvIzmnb/nnYDpnaLlrZTo qJPkurrvvIzmiorigJzmuqvoia/mga3lhInorpPigJ3pgaDpgaDmi4vlnKjkuoblvozpnaLjgILk u4rlpKnmiJHlgJHkuI3kvYbopoHmkr/lm57muqvoia/mga3lhInorpPvvIzmm7TopoHliqDku6Xn mbzmj67vvIzmiJHoqo3niLLvvIzmnIDph43opoHnmoTnmbzmj67mmK/miorpgJnnrofkuK3lnIvn moTlhKrnp4DlgrPntbHmjqjlu6PliLDlnIvpmpvpl5zkv4LmlrnpnaLjgIIKCua6q+iJr+aBreWE ieiuk+mAmeS6lOWAi+Wtl+aYr+mHkeeOieS5i+iogOOAguS9huaYr+aIkeWAkeeci+eci+Wci+ma m+mXnOS/guS4reW+nuS+huS5n+S4jeeUqOmAmeS6lOWAi+Wtl+OAguacieWTquS9jeWkluS6pOWu mOWcqOWkluS6pOWgtOWQiOS4iuWQkeWwjeaWueiqquKAnOWwjeS4jei1t+KAne+8n+abtOS4jeac g+WcqOato+W8j+aWh+S7tuS4reWvq+S4iuKAnOiri+WOn+irkuKAne+8n+ebuOWPje+8jOWAkuaY r+e2k+W4uOeUqOmmrOi3r+S4iuWFqeWAi+S6uuWQteaetueahOiqnuiogO+8jOeUn+aAleWQkeWw jeaWueWxiOiGne+8jOS4n+S6humdouWtkOOAguS7iuWkqeaIkeWAkeeci+eci+WNl+WMl+acnemu ruS6kuebuOiqqueahOipse+8jOalteWFtuWFuOWei+WcsOaKhOilsuS6hummrOi3r+S4iuWQteae tueahOipse+8jOS4jemBjuabtOW8t+ehrO+8jOabtOmbo+iBveOAguS4reaXpeWFqeWci+mXnOaW vOmHo+mtmuWztueahOS6i+aJgOeUqOeahOiqnuiogOS5n+WlveS4jeWIsOWTquijj+WOu+OAgumA meaoo+WwjeWFqeWci+eahOeZvuWnk+acieWlveiZleWXju+8n+eZvuWnk+WAkeS5n+S4jeefpeS4 jeimuuWcsOimuuW+l+W8t+ehrOe6lOaciemdouWtkOOAguW+nuS+huS5n+S4jeaDs+S4gOaDs+Wk luS6pOWgtOWQiOaYr+S4jeaYr+S5n+aHieipsuism+KAnOa6q+iJr+aBreWEieiuk+KAne+8n+WI sOW6leaAjuaoo+WwjeWFqeWci+S6uuawkeabtOacieWIqe+8n+S6uumhnuaWh+aYjuepjee0r+ea hOeyvuiPr+mbo+mBk+WPqumBqeeUqOaWvOWAi+S6uumXnOS/gu+8jOS4jeiDveeUqOaWvOWci+ma m+mXnOS/guWXju+8nwoK5oiw54it6IiH5ZKM5bmz55qE5aSn5LqL6Iez5LuK5LuN54S25piv5YWo 5LiW55WM55m+5aeT5pyA54iy6Zec5b+D55qE5LqL44CC5YWp5qyh5LiW55WM5aSn5oiw55qE5pWZ 6KiT5aSq5rex5Yi75LqG44CC55So6YCZ6bq85aSn55qE5Luj5YO5542y5b6X55qE5pWZ6KiT5YC8 5b6X5oiR5YCR5rex5rex6KiY5L2P44CC5raI5ruF5oiw54it6KaB5aSa566h6b2K5LiL44CC5ZyL 5a626KaB6LWw5LiK5rCR5Li75pS/5rK75LmL6Lev44CC5YOP5pyd6a6u6YCZ5qij55qE5ZyL5a62 5pyA5a655piT55m85YuV5oiw54it44CC5LqM5oiw5b6M55qE5bm+5qyh5oiw54it5aSa5Y2K55m8 55Sf5Zyo542o6KOB5ZyL5a625LmL6ZaT77yM5oiW6IiH542o6KOB5pS/5rK75pyJ6Zec44CC5YWp 5YCL5rCR5Li75ZyL5a625LiN5Y+v6IO95pyD5omT5LuX44CC6KOB6LuN5Lmf5piv5LiA5qKd6YeN 6KaB55qE6YG/5YWN5oiw54it55qE5pa55rOV44CC5YaN5bCx5piv5aSW5Lqk5aC05ZCI5LiL55qE 56au5YSA77yM6Ziy5q2i6LaK6LWw6LaK5YGP77yM5pOm5qeN6LWw54Gr44CC5oiw54it5pyA57WC 55qE5Y+X5a6z6ICF5piv6ICB55m+5aeT44CC5Y+v5piv6ICB55m+5aeT5Y+I5piv6KKr5qy66aiZ 5LiK5oiw5aC055qE5Li76auU44CC5LuW5YCR5b6A5b6A5LiK55W25Y+X6aiZ44CC55m+5aeT55qE 6Ka66YaS5piv5raI5ruF5oiw54it55qE5pyA5qC55pys55qE6YGT6Lev44CC5biM5pyb5oiR5YCR 55qE55m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