![]() ![]() Without the force switch, the original Textadept instance opens files, regardless of the number of instances open. Passing a -f or -force switch to Textadept overrides this behavior and opens the file in a new instance. Windows) opens file.ext in the original Textadept instance. This means that after starting Textadept, running textadept file.ext on Linux or BSD (ta file.ext on Mac OSX) from the command line or opening a file with Textadept from a file manager (e.g. "Textadept is a single-instance application. The recent documentation at first glance seems confusing on the first point (-F is NOT needed, see below) What is needed is passing to a single instance of the editor at least the line number you wish to go back to. Neither when I switch to "bash /home/edu/textadept.sh" "%f" -e _line(%l-1)Īs you identify, Okular should not be the problem. The unsuccessful command I have written in Okular is "/home/username/Software/textadept_10.0_beta_2.x86_64/textadept" "%f" -e _line(%l-1) That does the trick in order to compile with Textadept using my personal fonts in ~/.fonts, and not with Latin Modern or whatever. Therefore, behind my icon for launching Textadept we have the comand "bash /home/username/textadept.sh". The second line is due to I only could download the portable version. ![]() Then, in my home there is a texadept.sh file with this lines inside: If not, ConTeXt compile my pdf with a fallout font like Latin Modern. In order to do that, I added this line into my ~/.bashrc file: source /opt/context-minimals/setuptex. Among other things I can make use of my otf fonts within my /home/username/.font folder. I work in a Plasma desktop with context-minimals in /opt/context-minimals/setuptex path. Textadept's help page omites SincTEX at all.įirst things first. However, I have tested SyncTEX in the past with TexWorks and had no problem running forward and inverse search. Here says that we have relative small SyncTEX files in ConTeXt because it doesn't use SyncTEX's internal code. In relation to my code above, it is worth to note that "synctex=1", "synctex=-1", or simply "synctex", are interchangeable in ConTeXt. The first is needed for inverse search and the second is needed for forward search. You need to know two commands to setup forward and inverse search: (i) Call textadept to open a specific file at a specific line-number and (ii) Call okular to jump to a specific synctex location. Just below I have quoted an Aditya's advice about this request, but I have no clue how to handle it yet. I have this line in my a yet: _commands.tex = 'mtxrun -autogenerate -script context -autopdf -purge -synctex "%f"'īut seems to me, after Internet searching, that is difficult to achieve my goal. That is nice, but it is not enough to me. Textadept jumps to Okular with Ctrl+R and compiles my ConTeXt file with Ctrl+Shift+R. My question is very simple: can I setup Textadept and Okular in order to get forward and backward search? Subprocess installed post-installation script returned error exit status 1 Sha256sum mismatch textadept_7.8.i386.tgzĭpkg: error processing textadept (-configure): The file is already fully retrieved nothing to do. Works just fine!Įxcept - apt (?) still thinks I have a corrupt download pending, and keeps giving the same error message. The icon was still present on my dock bar, but gone from the system menu.)Īfter trying various "fixes" (like apt-get purge, and starting over) all with the same results - the system thinking I have a corrupt download - I simply downloaded the textadept_ file from, and bunged it into /opt/textadept myself. (It lives in /opt/textadept, and this vanished. In fact, the Textadept install disappeared from my system. However, I must have got a corrupted download (see various error code/log entries), and the upgrade failed. I get this via the WebUpd8 PPA, and have done for some time (this is pretty routine). Yesterday I attempted to upgrade my installation of the Textadept editor in my Linux Mint 13 ("Maya") LTS Xfce 32-bit system (based on Ubuntu 12.04 Precise). ![]()
0 Comments
Leave a Reply. |