!rUhEinythPhVTdddsb:matrix.org

org-mode

715 Members
Digital and analog. | "Any sufficiently advanced hobby is indistinguishable from work." | https://orgmode.org108 Servers

Load older messages


SenderMessageTime
19 Apr 2024
@urban_syth:matrix.orgurban_syth set a profile picture.12:55:44
@tecosaur:matrix.orgtecosaur urban_syth and us the "it complains that it can't find the file…" you mentioned from the LaTeX log in that buffer? 13:01:12
@urban_syth:matrix.orgurban_syth

Hey tecosaur indeed. The full error is of the form

This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=/Users/.../.config/emacs/.local/cache/org/persist/29/cd936b-395e-46db-a42a-8d83c7af93cd-10106eb5521c6e478270dbe1e0699f47)
 restricted \write18 enabled.
entering extended mode
! I can't find file `"/Users/.../Library/Mobile Documents/com"'.
<to be read again> 
                   \protect 
<*> ...rs/urbanavsec/Library/Mobile Documents/com~
                                                  apple~CloudDocs/Cortex/org...

(Press Enter to retry, or Control-D to exit)
Please type another input file name
! Emergency stop.
<to be read again> 
                   \protect 
<*> ...rs/.../Library/Mobile Documents/com~
                                                  apple~CloudDocs/Cortex/org...

No pages of output.
Transcript written on /var/folders/tl/m1m3_67x4pg92kpxrzybx62r0000gn/T//texput.
log.
13:06:35
@urban_syth:matrix.orgurban_syth *

Hey tecosaur indeed. The full error is of the form

This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=/Users/.../.config/emacs/.local/cache/org/persist/29/cd936b-395e-46db-a42a-8d83c7af93cd-10106eb5521c6e478270dbe1e0699f47)
 restricted \write18 enabled.
entering extended mode
! I can't find file `"/Users/.../Library/Mobile Documents/com"'.
<to be read again> 
                   \protect 
<*> ...rs/.../Library/Mobile Documents/com~
                                                  apple~CloudDocs/Cortex/org...

(Press Enter to retry, or Control-D to exit)
Please type another input file name
! Emergency stop.
<to be read again> 
                   \protect 
<*> ...rs/.../Library/Mobile Documents/com~
                                                  apple~CloudDocs/Cortex/org...

No pages of output.
Transcript written on /var/folders/tl/m1m3_67x4pg92kpxrzybx62r0000gn/T//texput.
log.
13:07:35
@urban_syth:matrix.orgurban_syth I can confirm that old latex-preview did work on files in iCloud, and the new one does work if file is placed on my desktop for example. 13:08:29
@urban_syth:matrix.orgurban_sythWhich hints to me some issue with how paths are handled when pdfTeX is invoked... Tried investigating it.. but my elisp is still very weak. 13:10:27
@c-alpha:matrix.orgc-alpha @urban_syth: What happens if you process a LaTeX file on an iCloud drive from the command line? Same error? 13:12:11
@urban_syth:matrix.orgurban_syth c-alpha: just running pdflatex on a manually created file on iCloud folder works just fine. Also tested compiling an org file on icloud using M-x org-latex-export-to-pdf which also works fine 13:31:30
@c-alpha:matrix.orgc-alpha @urban_syth: Ok, so it seems the issue is linked to the temporary files being created for rendering the preview. Not being a user of LaTeX Preview myself, did you discover any customization options for controlling where those temp files are created? Can you move that location away from iCloud to a local directory? 14:01:24
@urban_syth:matrix.orgurban_syth Thanks c-alpha I agree. I found only two variables that I seem to be able to set as part of org-latex-preview-* which are both already set on the local path. I will wait for karthink and tecosaur for now. Thanks for all the help. 14:12:03
@c-alpha:matrix.orgc-alpha👍14:13:57
20 Apr 2024
@urban_syth:matrix.orgurban_syth Hey again, based on c-alpha suggestions I have reimplemented org-latex-preview--create-tex-file function. Making latex rendering working fine on iCloud folder by generating the temporary tex file on local drive. karthink tecosaur would be possible to provide some configuration for https://code.tecosaur.net/tec/org-mode/src/branch/dev/lisp/org-latex-preview.el#L2294? 13:07:35
@yantar92:matrix.orgyantar92 (Org contributor)
In reply to @urban_syth:matrix.org
Hey again, based on c-alpha suggestions I have reimplemented org-latex-preview--create-tex-file function. Making latex rendering working fine on iCloud folder by generating the temporary tex file on local drive. karthink tecosaur would be possible to provide some configuration for https://code.tecosaur.net/tec/org-mode/src/branch/dev/lisp/org-latex-preview.el#L2294?
we should ideally make use of temporary-file-directory function. This function honours file name handler that allows custom per-directory handler
15:47:04
21 Apr 2024
@psionic-lights:matrix.orgpsionic-lightsDownload tree-slide-preview.mkv00:48:11
@psionic-lights:matrix.orgpsionic-lightsOnly a few more little fixups remain. The implementation is generic for basically integrating anything in Emacs into a forward-backward interface for presentation.00:49:35
@apoorv569:matrix.orgapoorv569

How can I have a schedule that occurs everyday except sunday?

Like I have this,

 SCHEDULED: <2023-09-25 Mon 23:30 +1d>

it works.. but it shows up everyday.. I want this to skip on sunday.

12:47:47
@yantar92:matrix.orgyantar92 (Org contributor)
In reply to @apoorv569:matrix.org

How can I have a schedule that occurs everyday except sunday?

Like I have this,

 SCHEDULED: <2023-09-25 Mon 23:30 +1d>

it works.. but it shows up everyday.. I want this to skip on sunday.

You need diary sexp style timestamp
14:15:35
@apoorv569:matrix.orgapoorv569
In reply to @yantar92:matrix.org
You need diary sexp style timestamp
What's that?
14:28:15
@yantar92:matrix.orgyantar92 (Org contributor)
In reply to @apoorv569:matrix.org
What's that?
https://orgmode.org/manual/Timestamps.html
14:29:32
22 Apr 2024
@apoorv569:matrix.orgapoorv569
In reply to @yantar92:matrix.org
https://orgmode.org/manual/Timestamps.html

Not sure how would I use diary one here, but I found this,

 SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 2 3 4 5 6))>

in org FAQ.https://orgmode.org/worg/org-faq.html#orgaedcaba

00:09:51
@apoorv569:matrix.orgapoorv569point 17.700:09:57
@apoorv569:matrix.orgapoorv569
In reply to @yantar92:matrix.org
https://orgmode.org/manual/Timestamps.html
*

Not sure how would I use diary one here, but I found this,

 SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 2 3 4 5 6))>

in org FAQ. https://orgmode.org/worg/org-faq.html#orgaedcaba

00:10:09
@apoorv569:matrix.orgapoorv569is this going to repeating though? or only this week?00:10:56
@apoorv569:matrix.orgapoorv569 because there is no +1d 00:11:08
@apoorv569:matrix.orgapoorv569 also is it possible to mark a task DONE such that it becomes a TODO again the next day? 00:11:36
@apoorv569:matrix.orgapoorv569except same rules as above (skip sunday)00:12:06
@apoorv569:matrix.orgapoorv569 * same rules as above (skip sunday)00:12:22
@yantar92:matrix.orgyantar92 (Org contributor)
In reply to @apoorv569:matrix.org
is this going to repeating though? or only this week?
Yes, repeating
05:22:43
@apoorv569:matrix.orgapoorv569
In reply to @yantar92:matrix.org
Yes, repeating
Cool..
06:52:45
23 Apr 2024
@karthink:matrix.orgkarthink yantar92 (Org contributor): was there an org meetup this month? 03:31:50

Show newer messages


Back to Room ListRoom Version: 1