extracting getfptex batch file - tex

while loading getfptex(got it from CTAN) batch file ,when i'm extracting this batch file i'm getting series of statements saying "No Such directory" Can
anyone please help me with this.
Thank you.

Well, CTAN is the Tex archive, suggesting the getfptex is a Tex or Latex package. A quick google suggests (to me) that it's used to help download Tex via DOS / Windows. If this is what you want to do can I actually suggest you download and install MikTex. It's a very good package for creating Tex or Latex documents on Windows and is what I use.

Related

Compile Library for local use with Latex

I'm have a Latex template that still uses scrpage2. Since this library has been marked as outdated Miktex and Texlive both report File 'scrpage2.sty' not found. The recommendation is, to simply replace it with scrlayer-scrpage but if I do that, other things in the template, which is quite elaborate, break. My Idea was, to download the library from https://www.ctan.org/pkg/scrpage2, compile it and simply change the imports in the template to the locally compiled scrpage2.sty. Unfortunately the package only contains scrlettr.ins which in turn, when i run latex scrlettr.ins builds scrlettr.cls but not scrpage2.sty.
How do I get scrpage2.sty so I can use it locally?
Preface:
Using an old package version with a newer latex distribution can lead to all kinds of problems. Modifications to the kernel/class/other packages might be incompatible. My recommendation would be:
Solve the problems with scrlayer-scrpage and your template instead
If these problems can't be solved, use an older version of texlive which still has the package. You can find links to historic releases here: https://www.tug.org/historic/
To answer the actual question:
run tex scrpage2-obsolete.dtx to extract the .sty file

How to unpack a single EXE file produced by Electron pack?

I have an EXE file which is packed and run by Electron. Now I want to unpack the single EXE file (not asar) to study the source code of this app. But how?
I have tried to unpack this web desktop app (EXE file packed by Electron) by change the extension of this file from exe to zip, 7z and tar. But all failed and indicates that this file is in "PE" format.
Could you please show some ways to unpack this Electron app in a single exe file? Thank you.
You don't unpack an executable file, you decompile it.
AFAIK, you won't get the source code from executable, all you get is machine code that is assembly instructions. There are tools out there which can help you to convert this assembly instructions to readable C code, for example, IDA Pro can do this.
There are lot many other decompilers and debuggers which can help you in this scenario. Like x64 debugger or Olly Debugger.
Trust me, you need a lot many hours to get proficient with these tools before you can actually make sense out of the raw assembly instructions, getting the source code out is a long way ahead.
And out of curiosity, why you wanted the source code of electron executable? All the real implementations for electron app should be inside ASAR packed file (which can be decompressed and then you have all the JavaScript source code). Electron executable is just like a wrapper which runs the JavaScript.
You can check out the electron implementation here.
Hi you can use exeinfope software. This is best ever software you can check programming languages easily

could not start the command pdflatex - synctex=1 -interaction=nonstopmode %.tex error

I'm very new to LaTeX and its distributions so this might be a very newbie question.
I was following this tutorial and I'm not being able to compile the document. The code so far is very simple i don't think there are any typos and also I did not find a similar question in the forum.
can someone point me in the right direction ?
I'm using windows XP and I've installed TexMaker 4.4.1 found here
The code I have so far is simply:
\documentclass[11pt]{article}
\begin{document}
This is my first LaTeX document.
\end{document}
the error I'm getting is:
Could not start the command. pdflatex -synctex=1
-interaction=nonstopmode %.tex
Cheers !
If you meet the error:
Error : could not start the command
while executing TexMakerX commands in Windows 7 x64, it is probably due to environment path of LaTex compiler.
The following steps may help you solve this error:
Make sure that you did install a LaTex compiler like MiKTeX. You know, TexMakerX is just an editor of latex input, not a compiler.
Locate the bin directory in the installation directory of the LaTex compiler.
Add the directory of bin like d:\Program Files (x86)\MiKTeX 2.9\miktex\bin to the environment paths of Windows.
Right click computer in start menu, choose properties.
Find the "Advanced system settings" in upper left corner.
Click the button "Environment Variables".
Find the row of variable path in the group of "System Variables" and add bin path like ;d:\Program Files (x86)\MiKTeX 2.9\miktex\bin to the tail.
Remember to add a semicolon to separate different path.
Then, try it again...
I found this question on another forum and it says that you should install MiKTex for windows too. Worked like a charm !
I came across a page which mentions that MiKTeX has two major bugs due to which users haven't been able to compile at all.
Use TeX Live compiler instead
Source
https://wiki.lyx.org/Windows/TeXLive
Most of the time errors occur due to space in the file names. while saving the Latex file one should always remember don't put spaces in between the file name.

Can't find Neo4jImport.bat

I just installed Neo4j 2.2 Milestone 1 Release on a Windows 64-bit machine and I am unable to locate the file Neo3jImport.bat.
I want to play around with the feature described here. Until now, I have been playing around with the RNeo4J package. It has helped the learning curve quite a bit, but now that I am goint beyond toy datasets, importing data using the package is painful.
With that said, I can't seem to locate the file/utility that seemingly makes importing larger datasets a breeze. I was expecting to see the file at C:\Program Files\Neo4j Community\bin.
I imagine this is a really basic question, but I am somewhat stumped.
Thanks in advance.
Sorry for the exclusion but the binary installation misses also Neo4jShell and other command line scripts as is is intended for a UI only user.
Please use the ZIP download from neo4j.com/download as Mark suggested.

Texments package not working on Ubuntu

I am trying to use the Texments Latex package on Ubuntu to do syntax highlighting.
Texments is a wrapper around Pygments.
I installed Texments and followed the steps to add the style file to the path.
But when I try to compile the .tex file, I get the error.
!Undefined Control Sequence
and then it prints out a bunch of wierd characters and places the ? prompt.
Anybody facing this error? What is the resolution?
If there is any other better way to provide syntax highlighting of source code I would be glad to accept it.
I know there is something called "listings" but frankly, i did not find the colors so good in it.
Thanks,
Perhaps you could give minted a try … it basically does the same as texments but has more features and is a little more robust in the face of errors.
Furthermore, as the maintainer of minted I’m always glad of error reports. ;-)
Texments uses a special control sequence for pdftex to allow shell escapes, needed to call the pygmentize binary. You need to call it with pdflatex, and you need to pass pdflatex the -shell-escape switch. Cf. the texments documentation.

Resources