On 03/01/16 07:42, Jérémie Courrèges-Anglas wrote:
Ray Lai <r...@raylai.com> writes:

Hi,

Hi Ray,

GNU TeXmacs is a free wysiwyw (what you see is what you want) editing
platform with special features for scientists. The software aims to
provide a unified and user friendly framework for editing structured
documents with different types of content (text, graphics, mathematics,
interactive content, etc.). The rendering engine uses high-quality
typesetting algorithms so as to produce professionally looking documents,
which can either be printed out or presented from a laptop.

The software includes a text editor with support for mathematical
formulas, a small technical picture editor and a tool for making
presentations from a laptop. Moreover, TeXmacs can be used as an interface
for many external systems for computer algebra, numerical analysis,
statistics, etc. New presentation styles can be written by the user and
new features can be added to the editor using the Scheme extension
language. A native spreadsheet and tools for collaborative authoring are
planned for later.

Please let me know if there's anything to improve.

Build with fail if ghostscript isn't installed:

c++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link 
-ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers 
-IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers 
-IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme 
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics 
-IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures 
-IGraphics/Spacial -IGraphics/Colors -IPlugins -I.. -I/usr/X11R6/include 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. 
-I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui 
-I/usr/local/include/X11/qt4 -I. -I. -I/include -DQTTEXMACS -Wall 
-Wno-return-type -O2 -fno-rtti -c ./Plugins/Ispell/ispell.cpp -o 
Objects/ispell.o
c++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link 
-ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers 
-IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers 
-IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme 
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics 
-IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures 
-IGraphics/Spacial -IGraphics/Colors -IPlugins -DQT_NO_DEBUG -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. 
-I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui 
-I/usr/local/include/X11/qt4 -I. -I. -I/include -DQTTEXMACS -Wall 
-Wno-return-type -O2 -fno-rtti -c ./Kernel/Containers/iterator.cpp -o 
Objects/iterator.o
c++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link 
-ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers 
-IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers 
-IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme 
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics 
-IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures 
-IGraphics/Spacial -IGraphics/Colors -IPlugins 
-I/usr/obj/pobj/TeXmacs-1.99.4/TeXmacs-1.99.4-src/TeXmacs/include -DQT_NO_DEBUG 
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. 
-I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui 
-I/usr/local/include/X11/qt4 -I. -I. -I/include -DQTTEXMACS -Wall 
-Wno-return-type -O2 -fno-rtti -c ./System/Language/language.cpp -o 
Objects/language.o
c++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link 
-ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers 
-IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers 
-IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme 
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics 
-IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures 
-IGraphics/Spacial -IGraphics/Colors -IPlugins -I.. -I/usr/X11R6/include 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. 
-I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui 
-I/usr/local/include/X11/qt4 -I. -I. -I/include -DQTTEXMACS -Wall 
-Wno-return-type -O2 -fno-rtti -c ./Plugins/LaTeX_Preview/latex_preview.cpp -o 
Objects/latex_preview.o
./Plugins/LaTeX_Preview/latex_preview.cpp: In function 'tree 
latex_load_image(url)':
./Plugins/LaTeX_Preview/latex_preview.cpp:140: error: 'gs_image_size' was not 
declared in this scope
makefile:335: recipe for target 'Objects/latex_preview.o' failed
gmake[1]: *** [Objects/latex_preview.o] Error 1
gmake[1]: Leaving directory 
'/usr/obj/pobj/TeXmacs-1.99.4/TeXmacs-1.99.4-src/src'
Makefile:56: recipe for target 'TEXMACS' failed
gmake: *** [TEXMACS] Error 2
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2773 
'/usr/obj/pobj/TeXmacs-1.99.4/.build_done')
*** Error 2 in /usr/ports/mystuff/textproc/TeXmacs 
(/usr/ports/infrastructure/mk/bsd.port.mk:2495 'all')
     8m42.70s real     5m44.69s user     2m50.54s system

The reason is that gs_utilities.hpp only declares gs_image_size if
USE_GS is defined, yet latex_preview.cpp uses it unconditionally.
I guess that adding ghostscript as a build & run dep is the way to go.

Are you sure that textproc/ is the best directory?  I mean, gummi,
texmaker, texworks, kile all are in editors/.  Oh and lyx is in
print/ ...


Thanks for your suggestions, I've incorporated them into this tarball. Please let me know if there's anything else that can be improved!

Ray


Attachment: TeXmacs-1.99.4.tgz
Description: Binary data

Reply via email to