> On 12-Oct-2016, at 9:10 am, Vikas Rawal wrote: > > Wrong type argument: stringp, nil Debug gives me this: Debugger entered--Lisp error: (wrong-type-argument stringp nil) compare-strings(nil 0 nil "CAPTION" 0 nil t) member-ignore-case(nil ("CAPTION")) #[0 "\212\214~\210`\300\206 \306 \211\211:\204\211;\205$\307\262\202&\211@9\205$\211@\262\310\211;\2037\311\312#\266\202\202?\313A@\"\266\202\211\203\233W\203\233\314 \210\315\316\n!\210)\317\320\321! \"\204d\322\323\"\210\202\225\312\225W\203t\312\225\324 }\210\202\225\325\224\203\220\325\224Y\203\220\325\225W\203\220\325\224\325\225}\210\202\225\322\323\"\210\326\262\202=\327=\203\370\330\211;\203\262\311\312#\266\202\202\272\313A@\"\266\202\211\203\305\331 U\204\315\322\323\"\210\202\364\314 \210\332\324 \"\210\312\224b\210`Y\203\357\312\225W\203\357`\312\225}\210\202\364\322\323\"\210\210\202=\333>\203R\334\211;\203\311\312#\266\202\202\313A@\"\266\202b\210\316\f!\210\335\225\211\204+\322\323\"\210\202N\335\224b\210\336\316 !)\203<\312\225b\210`Y\203J\322\323\"\210\202N`}\210\210\202=\337>\203\272\340\211;\203i\311\312#\266\202\202q\313A@\"\266\202\341\211;\203\202\311\312#\266\202\202\212\313A@\"\266\202\203\257\211\203\257Y\203\257W\204\250U\203\257m\203\257}\210\202\265\322\323\"\210\266\202=\342=\2038\343\211\203/\211@\211\211;\203\330\311\312#\266\202\202\340\313A@\"\266\202\211\203'\334\211;\203\365\311\312#\266\202\202\375\313A@\"\266\202X\203'\344\211;\203\311\312#\266\202\202\313A@\"\266\202V\203'\322\323\"\210\210A\266\202\202\301\210\322\323\"\210\202=\322\323\"\210eb\210\2119\203J\211\202e\211\211:\204[\211;\205c\307\262\202e\211@9\205c\211@\2623\236A\262CC4\203~5\203~\345\346!\204\202\336\202\2236\203\217\3476\"\202\223\350 \210\336C\336C\336C\336C\351\352\353\312\354\355\356      &\357\"\360\361%D\215\362\n\242\"\210\266\206\266\204*\207" [nil case-fold-search org-element--affiliated-re org-element-parsed-keywords org-complex-heading-regexp org-comment-string org-element-at-point plain-text :post-affiliated get-text-property 0 plist-get beginning-of-line t looking-at member-ignore-case match-string 1 throw objects-forbidden line-end-position 2 keyword item :tag line-beginning-position search-forward (headline inlinetask) :begin 4 nil (paragraph table-row verse-block) :contents-begin :contents-end planning (:closed :deadline :scheduled) :end derived-mode-p org-mode gethash org-element-cache-reset exit funcall make-byte-code "\304\242\204\"\302\242\303\242\236\211\203\305\240\210\202!\303\305\302\242\307D\240\303\242B\240\210\210\310\311\312\313\314\315\316\300\301\302\304\305%\317\"\320\321%D\215\210\304\242\203[\322\304\242\211;\203N\323\313#\266\202\202V\324A@\"\266\202\300V\203i\325\326\306\242\206d\302\242\"\210\202\327\304\242\211;\203{\323\313#\266\202\202\203\324A@\"\266\202\330\304\242\211;\203\225\323\313#\266\202\202\235\324A@\"\266\202\331\304\242\211;\203\257\323\313#\266\202\202\267\324A@\"\266\202\300X\203\334dU\204\334b\210\300U\203T`Sf\332>\204T\306\304\242\240\210\202T\203N\211\203N\300Y\203N\300W\204\300U\203Nd\300U\204\300\206`Sf\333>\204Nb\210`}\210\302\304\242\240\210\301\304\242\2119\203 \211\202;\211\211:\2041\211;\2059\334\262\202;\211@9\2059\211@\262\236A\262\240\210\304\307\240\210\305\307\240\210\202T\325\326\304\242\"\210\266\202" vconcat vector [nil found funcall make-byte-code 0 "\303\242\203\303\305\301\242!\240\210\202\312\304\242\211AA\262\304\242A@\204+\211\203+\306\307\302\242\"\210\202\310\2049\303\305\301\242!\240\210\202\310\310@\211;\203K\311\312#\266\202\202S\313A@\"\266\202\211\300Y\203\275\211\203\263\211@\314\211;\203q\311\312#\266\202\202y\313A@\"\266\202\300X\203\254\310\211;\203\217\311\312#\266\202\202\227\313A@\"\266\202\300Y\203\246\306\315\303\240\"\210\202\254\306\307\302\242\"\210A\266\202\202Z\306\307\302\242\"\266\202\307\211b\210\303\305\301\242!\240\210\210\266\303\242\203\303\242\316\302\242;\203\344\317\320$\266\203\202\362A\321A@#\240\210\266\203\210\304\242\211A\303\242\211AA\262B\241\207\304\242A\322\240\207" vconcat vector [org-element--object-lex throw exit :end get-text-property 0 plist-get :begin found :parent org-add-props nil plist-put t] 11 "\n\n(fn)" :begin get-text-property plist-get throw exit :end :contents-begin :contents-end (32 9) (32 9) plain-text org-element-object-restrictions] 12 "\n\n(fn)" ...] 24 "\n\n(fn)"]() funcall(#[0 "\212\214~\210`\300\206 \306 \211\211:\204\211;\205$\307\262\202&\211@9\205$\211@\262\310\211;\2037\311\312#\266\202\202?\313A@\"\266\202\211\203\233W\203\233\314 \210\315\316\n!\210)\317\320\321! \"\204d\322\323\"\210\202\225\312\225W\203t\312\225\324 }\210\202\225\325\224\203\220\325\224Y\203\220\325\225W\203\220\325\224\325\225}\210\202\225\322\323\"\210\326\262\202=\327=\203\370\330\211;\203\262\311\312#\266\202\202\272\313A@\"\266\202\211\203\305\331 U\204\315\322\323\"\210\202\364\314 \210\332\324 \"\210\312\224b\210`Y\203\357\312\225W\203\357`\312\225}\210\202\364\322\323\"\210\210\202=\333>\203R\334\211;\203\311\312#\266\202\202\313A@\"\266\202b\210\316\f!\210\335\225\211\204+\322\323\"\210\202N\335\224b\210\336\316 !)\203<\312\225b\210`Y\203J\322\323\"\210\202N`}\210\210\202=\337>\203\272\340\211;\203i\311\312#\266\202\202q\313A@\"\266\202\341\211;\203\202\311\312#\266\202\202\212\313A@\"\266\202\203\257\211\203\257Y\203\257W\204\250U\203\257m\203\257}\210\202\265\322\323\"\210\266\202=\342=\2038\343\211\203/\211@\211\211;\203\330\311\312#\266\202\202\340\313A@\"\266\202\211\203'\334\211;\203\365\311\312#\266\202\202\375\313A@\"\266\202X\203'\344\211;\203\311\312#\266\202\202\313A@\"\266\202V\203'\322\323\"\210\210A\266\202\202\301\210\322\323\"\210\202=\322\323\"\210eb\210\2119\203J\211\202e\211\211:\204[\211;\205c\307\262\202e\211@9\205c\211@\2623\236A\262CC4\203~5\203~\345\346!\204\202\336\202\2236\203\217\3476\"\202\223\350 \210\336C\336C\336C\336C\351\352\353\312\354\355\356      &\357\"\360\361%D\215\362\n\242\"\210\266\206\266\204*\207" [nil case-fold-search org-element--affiliated-re org-element-parsed-keywords org-complex-heading-regexp org-comment-string org-element-at-point plain-text :post-affiliated get-text-property 0 plist-get beginning-of-line t looking-at member-ignore-case match-string 1 throw objects-forbidden line-end-position 2 keyword item :tag line-beginning-position search-forward (headline inlinetask) :begin 4 nil (paragraph table-row verse-block) :contents-begin :contents-end planning (:closed :deadline :scheduled) :end derived-mode-p org-mode gethash org-element-cache-reset exit funcall make-byte-code "\304\242\204\"\302\242\303\242\236\211\203\305\240\210\202!\303\305\302\242\307D\240\303\242B\240\210\210\310\311\312\313\314\315\316\300\301\302\304\305%\317\"\320\321%D\215\210\304\242\203[\322\304\242\211;\203N\323\313#\266\202\202V\324A@\"\266\202\300V\203i\325\326\306\242\206d\302\242\"\210\202\327\304\242\211;\203{\323\313#\266\202\202\203\324A@\"\266\202\330\304\242\211;\203\225\323\313#\266\202\202\235\324A@\"\266\202\331\304\242\211;\203\257\323\313#\266\202\202\267\324A@\"\266\202\300X\203\334dU\204\334b\210\300U\203T`Sf\332>\204T\306\304\242\240\210\202T\203N\211\203N\300Y\203N\300W\204\300U\203Nd\300U\204\300\206`Sf\333>\204Nb\210`}\210\302\304\242\240\210\301\304\242\2119\203 \211\202;\211\211:\2041\211;\2059\334\262\202;\211@9\2059\211@\262\236A\262\240\210\304\307\240\210\305\307\240\210\202T\325\326\304\242\"\210\266\202" vconcat vector [nil found funcall make-byte-code 0 "\303\242\203\303\305\301\242!\240\210\202\312\304\242\211AA\262\304\242A@\204+\211\203+\306\307\302\242\"\210\202\310\2049\303\305\301\242!\240\210\202\310\310@\211;\203K\311\312#\266\202\202S\313A@\"\266\202\211\300Y\203\275\211\203\263\211@\314\211;\203q\311\312#\266\202\202y\313A@\"\266\202\300X\203\254\310\211;\203\217\311\312#\266\202\202\227\313A@\"\266\202\300Y\203\246\306\315\303\240\"\210\202\254\306\307\302\242\"\210A\266\202\202Z\306\307\302\242\"\266\202\307\211b\210\303\305\301\242!\240\210\210\266\303\242\203\303\242\316\302\242;\203\344\317\320$\266\203\202\362A\321A@#\240\210\266\203\210\304\242\211A\303\242\211AA\262B\241\207\304\242A\322\240\207" vconcat vector [org-element--object-lex throw exit :end get-text-property 0 plist-get :begin found :parent org-add-props nil plist-put t] 11 "\n\n(fn)" :begin get-text-property plist-get throw exit :end :contents-begin :contents-end (32 9) (32 9) plain-text org-element-object-restrictions] 12 "\n\n(fn)" ...] 24 "\n\n(fn)"]) org-element-context() org-babel-exp-process-buffer() org-export-as(latex nil nil nil (:output-file "./drybeans_note.tex")) org-export-to-file(latex "./drybeans_note.tex" nil nil nil nil nil #[257 "\300!\207" [org-latex-compile] 3 "\n\n(fn FILE)"]) org-latex-export-to-pdf(nil nil nil nil) (org-open-file (org-latex-export-to-pdf nil s v b)) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))) (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))))(nil nil nil nil) org-export-dispatch(nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch)