Siduction Forum
Siduction Forum => Software - Support => Topic started by: gorzka on 2023/03/12, 12:14:00
-
Hallo zusammen,
ich suche das Paket gnome-latex. Leider ist es nicht in den Repos. Dort finde ich nur das Paket latexila.
-
It seems you found it.
From https://gitlab.gnome.org/swilmet/gnome-latex
GNOME LaTeX was previously named LaTeXila. The application has been renamed inDecember 2017. The first stable version with the GNOME LaTeX name is the 3.28,
and the last stable version with the old name is the 3.26.
apt show latexilaPackage: latexilaVersion: 3.22.0-1.1Priority: optionalSection: texMaintainer: Tanguy Ortolo <tanguy+debian@ortolo.eu>Installed-Size: 1,751 kBDepends: latexila-data (= 3.22.0-1.1), libc6 (>= 2.4), libgdk-pixbuf-2.0-0 (>= 2.25.2), libgee-0.8-2 (>= 0.10), libglib2.0-0 (>= 2.40), libgspell-1-2 (>= 1.8.2), libgtk-3-0 (>= 3.20), libgtksourceview-3.0-1 (>= 3.18), libpango-1.0-0 (>= 1.14.0)Recommends: gsettings-desktop-schemas, hicolor-icon-theme, latexmk (>= 4.31), texliveHomepage: https://projects.gnome.org/latexila/Tag: implemented-in::TODO, interface::graphical, interface::x11, role::program, scope::application, suite::gnome, uitoolkit::gtk, use::editing, use::text-formatting, use::typesetting, works-with-format::tex, works-with::text, x11::applicationDownload-Size: 295 kBAPT-Sources: http://deb.debian.org/debian unstable/main amd64 PackagesDescription: LaTeX editor designed for the GNOME desktop LaTeXila is a LaTeX editor for GNOME. It integrates the various tools required for processing LaTeX documents. It provides menus, buttons and templates to assist with the edition and the compilation of documents.
-
Danke. Ich werde es wohl selbst kompilieren müssen. Ein fertiges Deb Paket scheint es nicht zu geben. Oder mir das Gedit Plugin mal anschauen.
-
Ich habe mir die Sourcen von gnome-latex gezogen und wollte diese kompilieren. Leider bekomme ich folgende Fehlermeldung:
./autogen.sh
*** WARNING: I am going to run 'configure' with no arguments.
*** If you wish to pass any to it, please specify them on the
*** './autogen.sh' command line.
configure.ac:108: error: macro APPSTREAM_XML is not defined; is a m4 file missing?
/usr/share/aclocal/ax_require_defined.m4:35: AX_REQUIRE_DEFINED is expanded from...
configure.ac:108: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: autom4te failed with exit status: 1
Vielleicht kann mir ja jemand helfen
-
Do you have m4 installed?
apt install m4
-
yes
-
hmm? I just tried it but of course it failed due to gtkdocize(which I don't have) but it didn't error out. Your missing something for sure but I'm not sure what.
I would try further but I don't know what gtkdocize is to go further. I hate going down the compile hole with dependencies.
-
gtkdocize is in the gtk-doc-tools
But thanks anyway.
Maybe you can create a deb package for me
-
Sorry but I haven't built a .deb for years and even that was only for a few scripts at the time. I would need to go through all the documentation again to figure it out.
I can try and compile it for you.
-
I just tried again after installing gtk-doc-tools and it went further but now there is an error.
configure.ac:36: error: possibly undefined macro: PKG_PROG_PKG_CONFIG
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:37: error: possibly undefined macro: PKG_CHECK_VAR
configure.ac:44: error: possibly undefined macro: PKG_CHECK_MODULES
configure:17755: error: possibly undefined macro: AC_MSG_ERROR
configure:18066: error: possibly undefined macro: AM_V_at
autoreconf: error: /usr/bin/autoconf failed with exit status: 1
-
if you would do it i would be very grateful.
Maybe this page will help you
https://askubuntu.com/questions/1371207/how-can-i-install-gnome-latex-on-ubuntu-21-10 (https://askubuntu.com/questions/1371207/how-can-i-install-gnome-latex-on-ubuntu-21-10)
mistakes like mine
-
Building now as per instructions.
-
That package is too old I'm afraid. It requires tepl-5-dev but we have available tepl-6-dev and that's where it errors out. I went into the configure script and changed all instances of tepl-5 to tepl-6 and it configured no problem. It took some time to work through the make then error.
/usr/bin/ld: gnome_latex-document.o: in function `document_save':
/home/dan/gnome-latex-3380/gnome-latex-3.38.0/src/document.vala:227: undefined reference to `tepl_info_bar_add_close_button'
/usr/bin/ld: gnome_latex-main_window.o: in function `main_window_construct':
/home/dan/gnome-latex-3380/gnome-latex-3.38.0/src/main_window.vala:261: undefined reference to `tepl_statusbar_set_tab_group'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:695: gnome-latex] Error 1
make[4]: Leaving directory '/home/dan/gnome-latex-3380/gnome-latex-3.38.0/src'
make[3]: *** [Makefile:1463: all-recursive] Error 1
make[3]: Leaving directory '/home/dan/gnome-latex-3380/gnome-latex-3.38.0/src'
make[2]: *** [Makefile:610: all] Error 2
make[2]: Leaving directory '/home/dan/gnome-latex-3380/gnome-latex-3.38.0/src'
make[1]: *** [Makefile:537: all-recursive] Error 1
make[1]: Leaving directory '/home/dan/gnome-latex-3380/gnome-latex-3.38.0'
make: *** [Makefile:468: all] Error 2
-
The question is, what you want to do with gnome-latex, only for fun or do you write text with LaTeX?
-
@hendrikL
write text with LaTex
-
I managed to compile the sources. I was also able to install it. Now I just have to make a Debian package out of it.
I would be grateful for every help
-
Hier ein paar, hoffentlich hilfreiche, Links:
https://debian-handbook.info/browse/de-DE/stable/debian-packaging.html (https://debian-handbook.info/browse/de-DE/stable/debian-packaging.html)
https://www.linux-magazin.de/ausgaben/2018/12/debian-pakete-bauen/ (https://www.linux-magazin.de/ausgaben/2018/12/debian-pakete-bauen/)
https://www.admin-magazin.de/Das-Heft/2016/04/Debian-Pakete-bauen (https://www.admin-magazin.de/Das-Heft/2016/04/Debian-Pakete-bauen)
edlin
-
Danke, da muss ich viel lesen ;-)
-
Ich habe mir die Links die @edlin mir gesendet hat durchgelesen. Das ganze ist sehr kompliziert. Nun habe ich versucht ein Paket mit checkinstall zu bauen. Dabei erhielt ich folgendes:
checkinstall --install=no --backup=no
checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran
Diese Software wurde unter der GNU GPL veröffentlicht
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]:
Bereite Paket-Dokumentation vor...OK
Bitte geben Sie eine Beschreibung für das Paket ein.
Beenden Sie Ihre Beschreibung mit einer leeren Zeile oder EOF.
>> gnome-LaTeX
>>
*****************************************
**** Debian package creation selected ***
*****************************************
Das Paket wird entsprechend dieser Vorgaben erstellt:
0 - Maintainer: [ ************ ]
1 - Summary: [ gnome-LaTeX ]
2 - Name: [ gnome-latex ]
3 - Version: [ 3.44.0 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ gnome-latex-3.44.0 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Recommends: [ ]
12 - Suggests: [ ]
13 - Provides: [ gnome-latex ]
14 - Conflicts: [ ]
15 - Replaces: [ ]
Geben Sie die betreffende Nummer ein, um die Vorgaben zu ändern:
Installing with make install...
====================== Installations-Ergebnisse ==========================
Making install in data
make[1]: Verzeichnis „/home/gorzka/Downloads/gnome-latex-3.44.0/data“ wird betreten
Making install in build_tools
make[2]: Verzeichnis „/home/gorzka/Downloads/gnome-latex-3.44.0/data/build_tools“ wird betreten
make[3]: Verzeichnis „/home/gorzka/Downloads/gnome-latex-3.44.0/data/build_tools“ wird betreten
make[3]: Für das Ziel „install-exec-am“ ist nichts zu tun.
/usr/bin/mkdir -p '/usr/local/share/gnome-latex'
/usr/bin/install -c -m 644 build_tools.xml '/usr/local/share/gnome-latex'
/usr/bin/install: reguläre Datei '/usr/local/share/gnome-latex/build_tools.xml' kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
make[3]: *** [Makefile:415: install-dist_pkgdataDATA] Fehler 1
make[3]: Verzeichnis „/home/gorzka/Downloads/gnome-latex-3.44.0/data/build_tools“ wird verlassen
make[2]: *** [Makefile:486: install-am] Fehler 2
make[2]: Verzeichnis „/home/gorzka/Downloads/gnome-latex-3.44.0/data/build_tools“ wird verlassen
make[1]: *** [Makefile:575: install-recursive] Fehler 1
make[1]: Verzeichnis „/home/gorzka/Downloads/gnome-latex-3.44.0/data“ wird verlassen
make: *** [Makefile:536: install-recursive] Fehler 1
**** Installation fehlgeschlagen. Breche Paket-Erzeugung ab.
Räume auf...OK
Auf Wiedersehen!
Das ganze habe ich als root ausgeführt. In dem Verzeichnis /usr/local/share/gnome-latex gibt es die Datei schon.
Warum will er in das Verzeichnis? Ich habe doch angegeben das ich keine Installation möchte
-
Es gibt einen neuen (La)TeX Editor für Gnome:
Setzer (https://github.com/cvfosammmm/Setzer)
Er ist auch im Repository:
nala search setzer
setzer 0.4.8-1 [Debian/sid main]
└── simple yet full-featured LaTeX editor
Oder als flatpak...
-
Das flatpak beinhaltet wohl eine vollständige LaTeX-Umgebung und installiert 7,6GB!
flatpak info org.cvfosammmm.Setzer
Setzer - LaTeX-Editor mit vielen nützlichen Funktionen
Kennung: org.cvfosammmm.Setzer
Ref: app/org.cvfosammmm.Setzer/x86_64/stable
Architektur: x86_64
Zweig: stable
Version: 54
Lizenz: GPL-3.0-or-later
Ursprung: flathub
Sammlung: org.flathub.Stable
Installation: system
Installiert: 7,6 GB
Laufzeitumgebung: org.gnome.Platform/x86_64/42
Sdk: org.gnome.Sdk/x86_64/42
-
Danke @fams,
ich werde ihn mir mal anschauen. Ich brauche kein Schwergewicht
-
Und dann gäbe es da noch LyX, auch in debian, https://www.lyx.org/
LaTeX mal etwas anders, habe selber vor vielen Jahren meine Technikerarbeit mit geschrieben, und ein knapp 350 Seiten starkes Buch gesetzt.
Lange her.
Nebenbei erwähnt, unser Manual wird auch mit ein wenig LaTeX-Magie gesetzt!
-
Lyx habe ich auch probiert. Es scheint aber nicht kompatibel mit .tex Dateien zu sein, oder ich habe etwas falsch gemacht.
Aber trotzdem vielen Dank an alle die geantwortet haben und mir viele Tipps gaben ;-)