Texmaker: Is there a way to compile main.tex eventhough some child-texfile is opened in the editor? - pdf

The main.tex file in my project is the one to be opened in editor view in order to successfully compile the pdf-document. It has several child-files like e.g. content.tex where I write the actual thesis text.
Every time I want to compile the document in order to view the changes I have to change the editor-file to main.tex. Otherwise the process ends with errors.
I already tried the Ctrl+0 base file setting, but it did not show any changes.
The LaTeX project is based on a template provided by my university and though has to stay untouched in regards of the project structure itself (why so ever...).

I managed to do as I strived to. Don't know whether I'd just been too clumsy or if it relates to the problems I faced during the \input{...} integration, but if anyone wonders how to do so too:
It in fact has been the way I already tried - set the main-document to master-document.
Nevertheless I switched to use TexStudio meanwhile.
Thank you for your response #Gowachin

Related

Get an older version of your model back Anylogic

I've a question, I made some change in my model and probably did something wrong, but now every time I open my model, it crashes when I want to open something and I need to close anylogic.. So now I want to open an older version of the model, so that I can work further without having to use a backup of one week ago, is anylogic automaticaly saving some older copies of my model or not? If so where can i find these older versions.
Or is there a way to solve this problem. I deleted the type of the arraylist LiftpleinenPeds collection, and now everytime I click on the collection to change this, the whole anylogic crashes. I only need to change it in the main java to add node as shown in the image, but I am not able to modify something there?
You can open the AnyLogic file the '.alp' file inside any text editor. You can make your changes there (but be careful) and rather make a backup before you do this.
You can literally build your entire model in text mode if you want to ;-)

IntelliJ "File..." action is showing directories when I want it to just show files

I could swear that this wasn't the behavior on an older version. Is there any way to make it so the File... action only displays actual files, and not directories? It's incredibly frustrating to have to always be suggested a directory first instead of a file, since (in my opinion) jumping to a directory is totally useless - all it does is scroll you in the folder/projects view to that directory..
Edit: IntelliJ version is: IntelliJ IDEA 2017.3.2, Build #IU-173.4127.27.
As explained in comments on the Youtrack issue I opened, this is now intended behavior due to the directory being a better match than the file (case sensitivity).
This is resolved for me with these possible solutions:
Use Navigate > Class instead, as suggested by glytching. Works well for most purposes since it handles many languages just fine.
Type a . to ignore directories. This, for me, is easier to incorporate into muscle memory than hitting Shift to capitalize or hitting Up/Down to scroll around the list of suggestions.

Vb.net project save not opening from anywhere by its original source

I've made a program for my assingment, and code it entirely from home. Obviously I need to submit it and work on it from college, i've got about 13 hours until it's due and I cannot for the life of me figure out what these errors mean, I'm guessing its something to do with the paths of the files. To make it clear, the program does not open and it is not the original copy. I do have other copies and I have tried the same approach with the exact same luck. Thank you in advance.
Okay, an update. As I said, I copied it from home, and pasted it in the folder location that it is calling below, however, it's calling an older version of the game which has no relevence to the game(number guessing game), from a location two files up from the actual vb files. Is there a way i can change what the project opens?
In your second picture just drag 'Form1.vb' to the solution Explorer. That way it can recognize your form. I have encountered this problem before and I just did what I said above.

Make MonoDevelop respect smcs.rsp

It's possible to create global defines, by placing them in smcs.rsp, and when you hit play - you'll notice those parts of the code are hit and everything is acting as if it should.
However when editing the source in MonoDevelop, it does not recognize the constants that are set in that file.
Leaving you with text that looks like this:
This makes it hard to keep track of what the current constant values are and requires mentally tracking what is turned on and off despite the editor constantly telling you otherwise.
Is it possible to get monodevelop to respect that file?
The method of using smcs.rsp is pretty old and is not needed after unity3d 4.x. Before 4.0 there is not way of doing it without smcs.rsp file but things have changed, the constants can be added from game itslef.
Go to Edit->Project Settings->Player and in the inspector, choose other settings and u will see configuration title, in the box below specify your symbols one by one followed by ;

Xcode code folding issue

After updating Xcode(5.0.1),one of my project files is automatically unfolding the code every time i leave the file or close Xcode.And this weird behavior is bothering me a lot,i already tried to delete and recreate it but didn't worked.
Anyone knows what might be causing this single file to have its code unfolded?
With Xcode-9, this issue is resolved. Code folding is being remembered and saved by Xcode 9 Editor.
Code you have/had folded exact before last source build/save, is automatically stored upon document/file closure. And same will be visible as it was (folded) when you will open document/file next time.
You don't need to do anything (there is no any option in Xcode tool bar to enable or disable) to save your code fold.
There's no way around it. xCode will unfold your code automatically. Period. There is no option to "preserve" code folding. (sad, but true...)