Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [DE] gnome-Latex  (Read 3250 times)

Offline gorzka

  • User
  • Posts: 281
[DE] gnome-Latex
« 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.
Auf dem Baum da saß ein Specht
der Baum war hoch, dem Specht war schlecht

Offline eriefisher

  • User
  • Posts: 267
Re: gnome-Latex
« Reply #1 on: 2023/03/12, 12:38:15 »
It seems you found it.

From https://gitlab.gnome.org/swilmet/gnome-latex
Quote
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.
Code: [Select]
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.

Offline gorzka

  • User
  • Posts: 281
Re: gnome-Latex
« Reply #2 on: 2023/03/12, 14:38:11 »
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.
« Last Edit: 2023/03/12, 15:20:47 by gorzka »
Auf dem Baum da saß ein Specht
der Baum war hoch, dem Specht war schlecht

Offline gorzka

  • User
  • Posts: 281
Re: gnome-Latex
« Reply #3 on: 2023/03/13, 17:02:05 »
Ich habe mir die Sourcen von gnome-latex gezogen und wollte diese kompilieren. Leider bekomme ich folgende Fehlermeldung:

Code: [Select]
./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
Auf dem Baum da saß ein Specht
der Baum war hoch, dem Specht war schlecht

Offline eriefisher

  • User
  • Posts: 267
Re: gnome-Latex
« Reply #4 on: 2023/03/13, 18:00:01 »
Do you have m4 installed?

Code: [Select]
apt install m4

Offline gorzka

  • User
  • Posts: 281
Re: gnome-Latex
« Reply #5 on: 2023/03/13, 18:03:20 »
yes
Auf dem Baum da saß ein Specht
der Baum war hoch, dem Specht war schlecht

Offline eriefisher

  • User
  • Posts: 267
Re: gnome-Latex
« Reply #6 on: 2023/03/13, 18:36:02 »
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.

Offline gorzka

  • User
  • Posts: 281
Re: gnome-Latex
« Reply #7 on: 2023/03/13, 18:45:31 »
gtkdocize is in the  gtk-doc-tools

But thanks anyway.

Maybe you can create a deb package for me
Auf dem Baum da saß ein Specht
der Baum war hoch, dem Specht war schlecht

Offline eriefisher

  • User
  • Posts: 267
Re: gnome-Latex
« Reply #8 on: 2023/03/13, 18:50:55 »
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.

Offline eriefisher

  • User
  • Posts: 267
Re: gnome-Latex
« Reply #9 on: 2023/03/13, 19:03:05 »
I just tried again after installing gtk-doc-tools and it went further but now there is an error.
Code: [Select]
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

Offline gorzka

  • User
  • Posts: 281
Re: gnome-Latex
« Reply #10 on: 2023/03/13, 19:07:13 »
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

mistakes like mine

Auf dem Baum da saß ein Specht
der Baum war hoch, dem Specht war schlecht

Offline eriefisher

  • User
  • Posts: 267
Re: gnome-Latex
« Reply #11 on: 2023/03/13, 20:14:21 »
Building now as per instructions.

Offline eriefisher

  • User
  • Posts: 267
Re: gnome-Latex
« Reply #12 on: 2023/03/13, 20:21:24 »
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.
Code: [Select]
/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

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 944
Re: gnome-Latex
« Reply #13 on: 2023/03/13, 21:53:23 »
The question is, what you want to do with gnome-latex, only for fun or do you write text with LaTeX?


Offline gorzka

  • User
  • Posts: 281
Re: gnome-Latex
« Reply #14 on: 2023/03/14, 05:05:27 »
@hendrikL

write text with LaTex
Auf dem Baum da saß ein Specht
der Baum war hoch, dem Specht war schlecht