Latex/Kubuntu: Nassi–Shneiderman diagram
- Spharx
- Location: Germany
- Main keyboard: Leoplod FC200R
- Main mouse: DeathAdder
- Favorite switch: MX Brown
- DT Pro Member: -
This whole linux thing is driving me nuts ! For every single easy step I have to google hours to get a (rather frustrating) result .
Now I am trying to make a Nassi–Shneiderman diagram with Gummi (laggy, buggy but close to real time pdf creation) and I don't get how or where I have to put in the xyling.sty package. I tried to put it into /usr/share/texmf/tex/latex/xyling/ and /usr/share/texmf-texlive/tex/latex/xyling/ but still the program throws out a error that the xyling pakacke is missing
Where do I have to put in the packages?? Why do I have 2 texmf folders ?
Now I am trying to make a Nassi–Shneiderman diagram with Gummi (laggy, buggy but close to real time pdf creation) and I don't get how or where I have to put in the xyling.sty package. I tried to put it into /usr/share/texmf/tex/latex/xyling/ and /usr/share/texmf-texlive/tex/latex/xyling/ but still the program throws out a error that the xyling pakacke is missing
Where do I have to put in the packages?? Why do I have 2 texmf folders ?
Last edited by Spharx on 09 Jan 2012, 18:10, edited 1 time in total.
- webwit
- Wild Duck
- Location: The Netherlands
- Main keyboard: Model F62
- Favorite switch: IBM beam spring
- DT Pro Member: 0000
- Contact:
File permissions or security context?
Try
ls -l
and
ls --lcontext
in the directories where you found xyling.sty
Try
ls -l
and
ls --lcontext
in the directories where you found xyling.sty
- Spharx
- Location: Germany
- Main keyboard: Leoplod FC200R
- Main mouse: DeathAdder
- Favorite switch: MX Brown
- DT Pro Member: -
I have changed the package to nassi (nassflow) now and copied them to /usr/share/texmf/tex/latex/nassflow/ as root user.
ls -l shows this:
-rw-r--r-- 1 root root 5027 2012-01-09 19:03 nassi.sty
I found the problem I think: I should not jerk around as root. I need to install them either somewhere else or in a different way. I will try ~/.texmf/tex/latex/nassflow now and report back.
ls -l shows this:
-rw-r--r-- 1 root root 5027 2012-01-09 19:03 nassi.sty
I found the problem I think: I should not jerk around as root. I need to install them either somewhere else or in a different way. I will try ~/.texmf/tex/latex/nassflow now and report back.
- Spharx
- Location: Germany
- Main keyboard: Leoplod FC200R
- Main mouse: DeathAdder
- Favorite switch: MX Brown
- DT Pro Member: -
I copied the files into ~/.texmf/tex/latex/nassflow and defined TEXMF=~/.texmf/. Gummi still can't find the nassi.sty
The Variable evaporates after I close bash. How do I define it to be permanently ?
TeXLive is installed on my system but I don't really know if Gummi is using it. As "typsetter comand" is pdflatex selected.
The Variable evaporates after I close bash. How do I define it to be permanently ?
TeXLive is installed on my system but I don't really know if Gummi is using it. As "typsetter comand" is pdflatex selected.
- Minskleip
- Location: Norway
- Main keyboard: HHKB Pro 2
- Main mouse: CM Sentinel Storm
- Favorite switch: Buckling spring
- DT Pro Member: -
You have to export it in ~/.bashrc or ~/.bach_profile or ~/.profile or something
It could be that you have to update some cache as well! Try putting the .sty in the same directory as your .tex files.
Actually, I suggest you scrap that 'buntu and try something that works, like Debian or OpenBSD. Did I tell you that I wrote my thesis on OpenBSD with Texlive? Never had a problem.
It could be that you have to update some cache as well! Try putting the .sty in the same directory as your .tex files.
Actually, I suggest you scrap that 'buntu and try something that works, like Debian or OpenBSD. Did I tell you that I wrote my thesis on OpenBSD with Texlive? Never had a problem.
- Lustique
- Location: Germany
- Main keyboard: G81-3424LPNDE-0/00
- Main mouse: Kensington Orbit Scroll Ring Trackball
- Favorite switch: Buckling Cherry MY bruewck
- DT Pro Member: -
Or just use the version from the TeX Live guys (TeX Live 2011). This way you do not have to work with a TeX system that's totally outdated.Minskleip wrote:[...]Actually, I suggest you scrap that 'buntu and try something that works, like Debian or OpenBSD. Did I tell you that I wrote my thesis on OpenBSD with Texlive? Never had a problem.
- Spharx
- Location: Germany
- Main keyboard: Leoplod FC200R
- Main mouse: DeathAdder
- Favorite switch: MX Brown
- DT Pro Member: -
If I munch all files together everything works fine
Well at least now I can make this damn diagram. As it looks I will need a good book about latex because I cant do a thing here with intuition.
Why do you use TexLive ? Isn't Latex supposed to be easier than the old Tex ??
Witch editors do you use?
Well at least now I can make this damn diagram. As it looks I will need a good book about latex because I cant do a thing here with intuition.
Why do you use TexLive ? Isn't Latex supposed to be easier than the old Tex ??
Witch editors do you use?
- webwit
- Wild Duck
- Location: The Netherlands
- Main keyboard: Model F62
- Favorite switch: IBM beam spring
- DT Pro Member: 0000
- Contact:
Not sure if ubuntu has SELinux, if it has and the permissions are right but security context is wrong, it still won't find it.
ls --lcontext
and
man chcon
Does gummi have access to the files with the security context you got?
It's one of the things I hate most about this class of linuxes. BSD for me!
You can check if it's the problem with:
setenforce 0
and try again
If you do that and have a chmod 777 on the file (and check the parent directory for permissions too) it should find it, or it's looking in the wrong place.
ls --lcontext
and
man chcon
Does gummi have access to the files with the security context you got?
It's one of the things I hate most about this class of linuxes. BSD for me!
You can check if it's the problem with:
setenforce 0
and try again
If you do that and have a chmod 777 on the file (and check the parent directory for permissions too) it should find it, or it's looking in the wrong place.
- Minskleip
- Location: Norway
- Main keyboard: HHKB Pro 2
- Main mouse: CM Sentinel Storm
- Favorite switch: Buckling spring
- DT Pro Member: -
It's the most modern/uptodate/something Latex distribution. Latex is a macro package on top of Tex. There are others as well, like Context (or Contex?).Spharx wrote:Why do you use TexLive ? Isn't Latex supposed to be easier than the old Tex ??
Witch editors do you use?
My editor is nvi
- Lustique
- Location: Germany
- Main keyboard: G81-3424LPNDE-0/00
- Main mouse: Kensington Orbit Scroll Ring Trackball
- Favorite switch: Buckling Cherry MY bruewck
- DT Pro Member: -
Yes, it probably is, but TeX Live is a (La)TeX distribution, so you do not have to use TeX (I never did, well, not directly, only LaTeX).Spharx wrote:[...]Why do you use TexLive ? Isn't Latex supposed to be easier than the old Tex ??
Witch editors do you use?
I switch between Texmaker and Emacs with AucTeX, both are great, but Texmaker is way easier. I can most definitely recommend it.
Oh, and for LaTeX problems I can really recommend http://tex.stackexchange.com/. You will probably get help really fast, sometimes even from the package authors themselves.
- Lustique
- Location: Germany
- Main keyboard: G81-3424LPNDE-0/00
- Main mouse: Kensington Orbit Scroll Ring Trackball
- Favorite switch: Buckling Cherry MY bruewck
- DT Pro Member: -
... and LuaTeX, which is very promising, I think.Minskleip wrote:It's the most modern/uptodate/something Latex distribution. Latex is a macro package on top of Tex. There are others as well, like Context (or Contex?).[...]
- Spharx
- Location: Germany
- Main keyboard: Leoplod FC200R
- Main mouse: DeathAdder
- Favorite switch: MX Brown
- DT Pro Member: -
@webwit: The command ls --lcontext does not exist on my system.
Ansyways I have deleted all the mess before you posted
I will try other editors and maybe even freeBSD.
Thx guys for the help. Case closed for now
E:
@JBert that could be really the problem. I did read about it just some minutes ago. But I am to lazy for this now. Maybe I will try tomorrow.
Ansyways I have deleted all the mess before you posted
I will try other editors and maybe even freeBSD.
Thx guys for the help. Case closed for now
E:
@JBert that could be really the problem. I did read about it just some minutes ago. But I am to lazy for this now. Maybe I will try tomorrow.
- Minskleip
- Location: Norway
- Main keyboard: HHKB Pro 2
- Main mouse: CM Sentinel Storm
- Favorite switch: Buckling spring
- DT Pro Member: -
Tex implemented in Lua?Lustique wrote:... and LuaTeX, which is very promising, I think.Minskleip wrote:It's the most modern/uptodate/something Latex distribution. Latex is a macro package on top of Tex. There are others as well, like Context (or Contex?).[...]
- webwit
- Wild Duck
- Location: The Netherlands
- Main keyboard: Model F62
- Favorite switch: IBM beam spring
- DT Pro Member: 0000
- Contact:
Or maybe even better, he doesn't have that crap!
- Spharx
- Location: Germany
- Main keyboard: Leoplod FC200R
- Main mouse: DeathAdder
- Favorite switch: MX Brown
- DT Pro Member: -
Redo it again:
- put in the package files as root in usr/share/texmf/tex/latex/nassflow/
- change the owner from root to my account
- chmod 777 on folder & files
install Texmaker -> viola it works
reinstall gummi -> also works
My conclusion: either texmaker, the owner change from root to a normal account or even a simple reboot did the job
This new OS will make me quiet some headaches in the next time
Also woodys commands work
- put in the package files as root in usr/share/texmf/tex/latex/nassflow/
- change the owner from root to my account
- chmod 777 on folder & files
install Texmaker -> viola it works
reinstall gummi -> also works
My conclusion: either texmaker, the owner change from root to a normal account or even a simple reboot did the job
This new OS will make me quiet some headaches in the next time
Also woodys commands work
Spoiler:
- Lustique
- Location: Germany
- Main keyboard: G81-3424LPNDE-0/00
- Main mouse: Kensington Orbit Scroll Ring Trackball
- Favorite switch: Buckling Cherry MY bruewck
- DT Pro Member: -
No, I think it's more like an advanced pdfTeX with a built-in Lua scripting engine. But I, more or less, only use it to be able to use OTF fonts.Minskleip wrote:Tex implemented in Lua?Lustique wrote:... and LuaTeX, which is very promising, I think.Minskleip wrote:It's the most modern/uptodate/something Latex distribution. Latex is a macro package on top of Tex. There are others as well, like Context (or Contex?).[...]