Jeremy Henty | 18 Jun 15:35 2015

What happened to the git mirror at gitorius ?


I  used to  happily pull  the TeXmacs  source from  the git  mirror at
gitorious but recently it started failing:

    $ git remote update --prune
    Fetching origin
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    error: Could not fetch origin

    $ git config remote.origin.url
    git://gitorious.org/texmacs/texmacs.git

Is it still maintained?

Regards,

Jeremy Henty
Karl Hegbloom | 7 Jun 23:31 2015
Picon

QTMsockets.hpp not found???

Ever since a few days ago, I can't get TeXmacs to compile. I've tried with a fresh checkout from svn, and get the same result. What's weird is that the "not found" file is sitting right there, and every other file in the directory builds perfectly, so it's not an "-I" option missing.

make[1]: Entering directory '/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src'
mkdir -p src/Deps
mkdir -p src/Objects
mkdir -p TeXmacs/bin
mkdir -p TeXmacs/lib
cd src; make -r -f makefile link=shared
make[2]: Entering directory '/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src/src'
g++ -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 -ITexmacs -ITexmacs/Data -IEdit -ITypeset -IPlugins/Qt -m64 -pipe -O2 -Wall -W -D_REENTRANT -pthread -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -DQTTEXMACS -Wall -Wno-return-type -fno-rtti -ggdb -c ./Plugins/Qt/QTMSockets.cpp -o Objects/QTMSockets.o 
./Plugins/Qt/QTMSockets.cpp:12:26: fatal error: QTMsockets.hpp: No such file or directory
 #include "QTMsockets.hpp"
                          ^
compilation terminated.
makefile:342: recipe for target 'Objects/QTMSockets.o' failed
make[2]: *** [Objects/QTMSockets.o] Error 1
make[2]: Leaving directory '/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src/src'
Makefile:56: recipe for target 'TEXMACS' failed
make[1]: *** [TEXMACS] Error 2
make[1]: Leaving directory '/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src'

--
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Stephen Crowley | 3 Jun 03:02 2015

texmacs trunk (svn rev 9712) using 100% cpu on Linux3.16kernel/qt4 , gprof and strace info

Hi all, I'm running the latest texmacs trunk (1.99.2.something) and have
for some time been getting 1 cpu pegged out at 100% cpu. I've attached a
gprofile report.. is this a known issue? any ideas? It's annoying when
the cpu fan starts whirring unnecessarily, and also it wastes energy..

strace -f shows a these messages, looping quite quickly

ecvmsg(6, 0x7ffddb18f980, 0)           = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6,
events=POLLIN}], 3, 0) = 0 (Timeout)
recvmsg(6, 0x7ffddb18f9a0, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
recvmsg(6, 0x7ffddb18f980, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6,
events=POLLIN}], 3, 0) = 0 (Timeout)
recvmsg(6, 0x7ffddb18f9a0, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
recvmsg(6, 0x7ffddb18f980, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6,
events=POLLIN}], 3, 0) = 0 (Timeout)
recvmsg(6, 0x7ffddb18f9a0, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
recvmsg(6, 0x7ffddb18f980, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6,
events=POLLIN}], 3, 0) = 0 (Timeout)
recvmsg(6, 0x7ffddb18f9a0, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
recvmsg(6, 0x7ffddb18f980, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6,
events=POLLIN}], 3, 0) = 0 (Timeout)
recvmsg(6, 0x7ffddb18f9a0, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
nanosleep({0, 1000}, NULL)              = 0
recvmsg(6, 0x7ffddb18f980, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6,
events=POLLIN}], 3, 0) = 0 (Timeout)
recvmsg(6, 0x7ffddb18f9a0, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
recvmsg(6, 0x7ffddb18f980, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6,
events=POLLIN}], 3, 0) = 0 (Timeout)
recvmsg(6, 0x7ffddb18f9a0, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
recvmsg(6, 0x7ffddb18f980, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6,
events=POLLIN}], 3, 0) = 0 (Timeout)
recvmsg(6, 0x7ffddb18f9a0, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
recvmsg(6, 0x7ffddb18f980, 0)           = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6,
events=POLLIN}], 3, 0) = 0 (Timeout)

Thanks in advance

Stephen

----------------------------------------------------------------------
The information contained in this communication may be confidential and/or legally privileged. If you
are not the intended recipient, please contact the sender and destroy all copies of this message and any
attachments. Any disclosure, copying, distribution or taking any action in reliance on this
information other than by the intended recipient is strictly prohibited and may be unlawful. Canaccord
Genuity Inc. is required by regulation to review and store both outgoing and incoming electronic
correspondence. E-mail transmissions cannot be guaranteed to be secure, timely or error-free. This
communication is not an offer or solicitation to buy or sell any security or other investment product.
Additional information, including disclosures regarding securities under research coverage, is avai
 lable at http://www.canaccordgenuity.com/en/Our-Company/Research/  . Any information regarding
specific investment products is subject to change without notice. Canaccord Genuity Inc. - Member FINRA/SIPC.
Attachment (texmacs.profiled.txt.gz): application/gzip, 680 KiB
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 2 Jun 21:01 2015
Picon

font-database.scm ...

How are these files built? I want to see about supporting MT2pro fonts in TeXmacs. How difficult is it top add a new font? Can the info be gotten automatically to make those scheme files in src/TeXmacs/fonts/font-*.scm ?

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 28 May 20:00 2015
Picon

Subdirectory per document, metadata, specific svn or git version of local packages maintained per document for archival purposes and development

I bet some of you would enjoy helping me think this all out and see what can be created within and surrounding TeXmacs to facilitate workflows involving creation and management of a series of documents with common macros, services, and look-and-feel, that must remain stable and continue to function even as the stylesheet and document production automation services evolve over the course of the series, necessitating reference to version-sensitive information from frozen and released documents.

I'm thinking of using this for legal writing; obviously best practices indicates writing it in a form that is abstractable to any series of writings with similar but developing styles... e.g. mathematics homework answer workbooks, handouts, quizzes, or exams, civil litigation document management. Once a document is filed for court, it may not be modified. In order to freeze it in place, but make it still load up into TeXmacs and be capable of producing the identical output as it did 2 years ago, the document needs to reference a stable version of the local package.ts files it utilizes, or any scheme programs it needs. For example, I use a legal-filing.ts and casenicks.ts to provide features, services, and a common look-and-feel to all of the documents managed while I learn paralegal writing skills and civil litigation procedure. I think I want each large document that uses local package.ts style files to have its own subdirectory, The subdirectory can contain a file of metadata concerning the document; a bibTeX file would do nicely, right? One for the metadata of this document, and one for the documents actual bibliographic information. (Of course it needs Bluebook or McGill legal citation styles for tables of authorities... or a link with ML-Zotero running in Firefox?)

When I cite statutes or caselaw, I want the PDF to carry a hyperlink to a URL for quick and easy access to that information. The Utah Code is available at a well known URLbase, and is displayed by a program that can use the query-string to find a specified version of the statute, as it is on the day the document is finalized or as it was upon the date pertinent to the discussion regarding a particular statute or rule. Appellate and Supreme Court caselaw does not change once it has been issued. Each have a deterministic URI string that can templated based on variables that can be gotten from a macro's arguments, so \TCS can create a presentable reference to a title, chapter, and section of the statutes, wrapped with an \hlink, and entered into the pertinent table of authorities in case one is to be printed with the document. So far, first iteration, it looks good, but hlinks must be done by hand and I've not figured out how to make my own sort of bibliography or glossary lists for sets of authorities, such as constitutions, federal statutes, state statutes, federal caselaw, state caselaw, journal articles, or textbooks.

Each `part', `chapter', or `...' can be contained within a separate file, all linked with the master document. This breaks the document tree down... I'm hoping it will speed up the editor also. What are other users experiences with that? I think maybe it takes TeXmacs way too long to traverse the document tree. If it does that a lot, and it's a slow or crucially central often-run algorithm, I bet it does that a lot more than it needs to; perhaps some sort of memoization; intelligent caching for shortcuts through the tree?;  But for my own or some generally useful common file organization for complex and compound documents of this nature... I want a subdirectory per document with (?) arbitrary or programatically managed (?) organization above that; Nice to have a tag-cloud and good curation tools, prompts for initial meta-data, automation. Within a document's subdirectory, I want a subdirectory for each exhibit.

The metadata needs to securely record, via use of git features and mandatory commits of document history entries that mark significant calendaring, scheduling, and timelining events, such as document initiation date, document_completion_date, filing_deadline, filing_date, answer_deadline, reply_deadline, submit_for_decision_date, document_type_tag_set (memorandum, motion, answer, reply, interrogatory, request_for_admission, affidavit, of_petitioner, of_respondent), document_name, civil_case_number, court_venue_designation, ...

Perhaps they can be managed in a document management system that uses a revision control system like git for locally produced documents stored in a deterministic filesystem structure, potentially utilizing cryptographicly secure signatures and even some sort of double-custody sign-off feature, and metadata concerning efiling; for document handling, managed review, release, efiling, and archiving protocols; There can be no direct edits of past revisions due to SHA hash etc that git provides; This is something that log-structured record keeping systems which require an audit trail such as court case-histories require, to prohibit edits of previous entries, each is signed and each revision relies on the previous; like a laboratory notebook.

A simple Makefile can do whatever it needs to do to export the latest or a specific set of the version-sensitive inclusions from your git repository; It can easily use templates (autoconf is overkill) to instantiate subdirectories for the {$document_name}_Exhibit_{$symbolic_exhibit_name}.d and each subdirectory will need to be made by hand when an {$document_name}_Exhibit_An_Exhibit_by_This_Name.d/exhibit.tm for exhibit cover-page and summary information, with the running page number, and any files it includes somehow in the PDF output...

I want to insert actual PDF pages from scans or other documents, and have the page numbering increment properly, and superimposed nicely onto each included page in an unobtrusive footer; the footer should probably have a solid white background and black text so the entire footer or relevant portions of it is clearly visible and on top of the stacking order when the page is rendered; It should not require much more work in every day use to add an exhibit or chapter to a document than it takes to invoke a macro that names and pulls in the exhibit cover page and included page-list. Using cut-and-paste, it should be easy to rearrange the finaly order of those chapters and exhibits, and to easily respecify page-inclusion-lists for those exhibits.

Q: What if the included PDF has it's own bookmarks? They should be reparented to be sub-bookmarks of the Exhibit, and landing-point-editted to reflect their correct page-number within the including document... I wonder what it will take to do that? I bet pdftk or something like that can do it with some scripting. Maybe pull the bookmarks and landing zones for the pages of the pdf(s) being included, and associate the bookmark name to the landing zone on the page it references, and use those as input to the routine that rebuilds the bookmarks of the final PDF after it has been written out by TeXmacs? A variables I might like for configuration, if it ever comes up, is: included_pdfs_bookmark_depth_limit.

Sometimes I mark up pages of the PDF with Xournal or an annotation capable PDF reader app, but maybe TeXmacs own drawing functions can do similar things, or more nicely display PDF annotation notes balloon content? It might have the advantage of using the same fonts and scaling as the rest of the document when you write captions on marked up documentary evidence---selected pages from or entire copies of financial declarations, written statements, photographs (possibly requiring special paper for high-fidelity reproduction as an evidencial exhibit before a court, etc.).--- Can a scheme program run from inside TeXmacs when the document is updated manually read a short configuration file that specifies the page-list for an exhibit, count how many pages, and create headings and bookmarks at the correct page number or location within the final PDF. (? PDF/A ?)

So, any ideas? What already exists within TeXmacs that can be utilized as a basis for or part of a document creation and workflow management solution like the above? What already exists as part of the revision control support? The gpg signature support? What are "remotes"? What else?

Karl

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 26 May 18:57 2015
Picon

TeXmacs using 45% cpu when idle?

TeXmacs compiled from svn repo.

Even when it's sitting idle, without me typing or anything, it's using 45% of one CPU. It does it even when I do not have a document loaded. That makes my laptop get hot and uses battery power. Any idea what could be causing it?

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Sam Liddicott | 17 Apr 15:56 2015

doc-render-title

Has doc-render-title gone out of fashion?

doc-title used to use doc-render-title, but doc-render-title seems to have vanished at commit 6003 from title-base.ts where reference is made to package title-render but I find no such package now.

Many packages still re-define doc-render-title but no-where is it called any more.

Sam
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Darcy Shen | 11 Apr 17:16 2015
Picon

Move TeXmacs Documentation to Git Suggestion

Dear TeXmacs developers,

Does TeXmacs have any plans to migrate from SVN to Git? If any, I suggest firstly we may migrate Documentation to Git. And I think Github is suitable to host the project because of its popularity.

There are some possible pros:

1. It seems using Git makes it easier to maintain different document for different version of TeXmacs.

2. Also separating Documentation from code will make documentation more up-to-date.

3. ........

Darcy Shen
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Adrian S. | 19 Mar 21:41 2015
Picon

Manage to get Maxima session in TeXmacs in Windows. Relatively easy workaround.

Hello everyone. I managed to get Maxima running in Windows. This is what I did:

(1) Install te TeXmacs binary, but *DO NOT*  install it in the default
location, but in one *THAT DOES NOT HAVE SPACES* (The location
"Program Files (x86)", which is the default, fails precisely because
of this reason.

In my case, I installed it in my desktop, with path:

C:\users\adrian\Desktop

(2) In the instalation directory, which in my case is
C:\users\adrian\Desktop\TeXmacs
go to the file

progs/kernel/texmacs/tm-plugins

and open it using notepad.

Then go to the line

(define-public (plugin-add-windows-path rad rel after?)
  (when (os-macos?)
    (add-windows-program-path (url-append rad rel) after?)))

and change it to

(define-public (plugin-add-windows-path rad rel after?)
  (when (os-mingw?)
    (add-windows-program-path (url-append rad rel) after?)))

If you had already started TeXmacs, then, in TeXmacs, update the
plugins to have it detect it.

I use Maxima 5.35.1.2

I do hope this helps others.

----More details below-------

The problem with the spaces seems to be coming from the line in the file
init-maxima in the following part:
      `((:launch
         ,(string-append "maxima.bat -p \"" (getenv "TEXMACS_PATH")
                         "\\plugins\\maxima\\lisp\\texmacs-maxima.lisp\"")))

Running the command  code in Scheme in my computer, it gives:

((#:launch "maxima.bat -p
\"C:\\Users\\adrian\\Desktop\\TeXmacs\\plugins\\maxima\\lisp\\texmacs-maxima.lisp\""))

which has no problems, but if I install in the default location, it
outputs a location with spaces, which somehow had to be escaped
somehow. I do not know how to fix that.

Take care.
Peace
-Adrian.
Adrian S. | 19 Mar 20:02 2015
Picon

Modification to the file tm-plugins to have maxima detected in Windows.

Hello.  I am trying to get Maxima be detected in Windows, and after
some messing around, I found the following line in the file
tm-plugins:

(define-public (plugin-add-windows-path rad rel after?)
  (when (os-macos?)
    (add-windows-program-path (url-append rad rel) after?)))

Which I guessed was a mistake, since we are detecting windows, not mac-os.

I modied it so that it now reads:

(define-public (plugin-add-windows-path rad rel after?)
  (when (os-mingw?)
    (add-windows-program-path (url-append rad rel) after?)))

Then I erased the .TeXmacs directory to have TeXmacs reload and search
for Maxima again.

The result is that  **Maxima is now detected**

 : )

The bad news is that it shows an error message, which I show by the
end of this e-mail.

Any help on this would greatly be appreciated.

I tried to submit an error in Savannah, but could not remember my password.

I hope this helps someone.

Greetings, and all the best. I am really liking TexMacs.

Peace.
-Adrian.

Maxima encountered a Lisp error:

 Couldn't load "C:\\Program": file does not exist.

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Ignore runtime option --eval "(cl-user::run)".
  1: [ABORT   ] Skip rest of --eval and --load options.
  2:            Skip to toplevel READ/EVAL/PRINT loop.
  3: [EXIT    ] Exit SBCL (calling #'EXIT, killing the process).

("no debug information for frame")

debugger invoked on a SB-INT:SIMPLE-CONTROL-ERROR in thread
#<THREAD "main thread" RUNNING {25FB2F19}>:
  attempt to THROW to a tag that does not exist: RETURN-FROM-DEBUGGER
Busy…

Maxima]  2+2;

Busy…

Maxima]

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Peter Rapčan | 11 Mar 11:46 2015
Picon

linkback support on OS X?

Hi developers,

Is there any chance that linkback (http://www.linkbackproject.org/) will be implemented? Would be great to be able to edit included objects in the application where they were originally created.


Cheers,
Peter.
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Gmane