« first day (3507 days earlier)      last day (1427 days later) » 

cis
4:15 PM
Not much going here....
This is a hell on earth with these relative paths!

I do not understand, why this does not work:
\input{../Common/thefile.tex}
Or
\input{./Common/thefile.tex}
I tested also.
 
@cis Both of these work on my system. Are you sure that the current path is the one you expect?
 
@cis by default they will work, although the first can be disabled if paranoid setting in texmf.cnf which disallows going up from the current directory
@cis the paths are relative to the working directory of the tex executable, not from the main file (if they are different)
@yo' are you around?
 
cis
4:35 PM
@MarcelKrüger @DavidCarlisle
Then I suspect that there are any curiosities with the TeXLive Windows installation. Because logically speaking it should work, as you say.
I bet if I install Linux Mint it will work. I have to back up my data and do that.
 
4:49 PM
@cis I'm on windows and \input{../Common/thefile.tex} works fine.
 
@cis No it is more likely user error
Looks like I (finally) get out for the day and it's very quiet here:-)
@cis which one do you think should work? they presumably do not both work.
 
cis
5:18 PM
I have

| Parentfolder
| Parentfolder/Comon/thefile.tex
| Parentfolder/Workingfolder/main.tex

So I think `\input{../Common/thefile.tex}` should work.
 
@cis where are you running tex?
 
@cis from main you have to go two up, so ../../Common/thefile.
 
@cis if you do cd Workingfolder; pdflatex main then ../Common/tefile.tex should work. If you do cd Parentfolder; pdflatex Workingfolder/main then it won't
 
cis
@DavidCarlisle I am in main.tex an running pdflatex in TeXLive.
@UlrikeFischer I tested ` ../../Common/thefile` also. Does not work.
 
@cis you can't be "in" a file, do you mean you are in WorkingFollder when you execute pdflatex?
 
5:27 PM
@cis if you put a test.tex in Workingfolder, can you input it with \input{test}?
 
cis
@DavidCarlisle I think so, I opened main.tex in TeXLive and run pdflatex.
 
show your log file the first few lines uo to where it shows (./main.tex
 
cis
@UlrikeFischer Yes, that works,
 
@cis ok sorry it should only one ../ I misread your structure. Move test.tex to parentfolder and try to input it with \input{../test}
 
cis
@UlrikeFischer \input{../test} This works too...
 
5:35 PM
@cis now move it into Comon or Common (whatever is right) and try \input{../Common/test}
 
yo'
@DavidCarlisle now I am
(but not just on mobile...)
 
cis
@UlrikeFischer This works not.
@DavidCarlisle I am sorry: I get "thefile.tex not found", but I do not find this in the main.log
 
cis
5:56 PM
@DavidCarlisle @UlrikeFischer

I created a super testfolder `Inputtest.zip`
https://drive.google.com/file/d/1Ty8rK5_RToVnhno7NJNnS1-9nmiCa9Pm/view?usp=sharing

Maybe, you can check.
Seems like this

|InputTest
|InputTest/InputA/inputA.tex
|InputTest/InputB/inputB.tex
|InputTest/Main/main.tex

and
\documentclass{article}
% Does not work:
%\input{../inputB.tex}

\begin{document}
Test:

Does not work:
%\input{../inputA.tex}
\end{document}
Ahhhhhhhhhhhh....

Sorry...... forget it: This testfolder works!
But my mainfile not.
The test works with \input{../InputA/inputA.tex}
Sorry forget it...

My problem....
 
@cis yes isn't that what you would expect
@yo' I was going to ask about overleaf aux files, but I found a workaround, so no need to bother you now, sorry:-)
 
cis
@DavidCarlisle

No idea. always when I think I understand the ../ or ./ syntax, I have problems every time I want to insert a relative path.

Sometimes there seems to be something with LuaTeX or fontenc
to have to do.
 
@cis ../ works the same way in latex as it does in a windows or linux commandline
 
cis
@DavidCarlisle Yes clear. But not a my system.
 
@cis judging by the example you give above it sounds like it is working as expected on your system
 
 
2 hours later…
yo'
8:32 PM
@DavidCarlisle ok, if needed, I'll be on tomorrow
 
@yo' thanks, basically the question was where a \jobname.aux was coming from (on the first run) but have a good weekend:-)
 
yo'
@DavidCarlisle from the prev. compilation afaik :)
 
@yo' nope this is submitting a new project from a url off learnlatex.org, if you look at lesson-13 now it works (testing append.aux) but until this evening it was testing \jobname.aux but that seems to be true always, even on the first run
 
yo'
9:13 PM
Ah! That's possible. It could also be latexmk doing its stuff
 
@yo' yes I wondered if it's a latexmk thing. Herbert mailed to say the lesson wasn't working on overleaf (as it wasn't working:-) took a bit of fiddling. I need to use a test rather than the usual way of saying to edit the file to add \includeonly after an initial run, as latexonline (and similar systems) run each submission in a new context so you never get an aux file from a previous edit, but it does run latex twice so it works to do one full run and just do \includeonly on the second
@yo' but \IffileExists{\jobname.aux} is always true, even on the first run, it seems
@yo' but as I say testing for one of the aux files of an included file works as they keep their real names, not disturbed byt the --jobname setting
sub set_trivial_aux_fdb {
    # 1. Write aux file EXACTLY as would be written if the tex file
    #    had no cross references, etc. I.e., a minimal .aux file.
@yo' ^^ so not overleaf's fault:-)
 
10:02 PM
^ Comments? Correct? Useful? (If so…) anyone want to make a pretty version with TikZ or whatever? :-)
(The motivation is that people keep asking and misunderstanding, and not reading explanations of the same in text form…)
 
@ShreevatsaR well actually lualatex is now based on luahbtex. And one context variant on luametatex (or however lmtx is called).
 
@ShreevatsaR -- It's farfetched, but I suppose someone might wonder why eTeX isn't in the table.
 
10:22 PM
@ShreevatsaR you should probably fork xetex from etex rather than pdftex (since it has no pdf backend)
 
 
1 hour later…
11:23 PM
Thanks all :)
 
@UlrikeFischer Thanks for the help
 
11:58 PM
revised version, though after adding more rows and footnotes I'm beginning to realize it may not be as useful or clear as I had hoped :)
 

« first day (3507 days earlier)      last day (1427 days later) »