François Poulain | 21 Jul 12:15 2015
Picon

Re: copy LaTeX to clipboard Re: suggestions on how to add a feature

Le Mon, 20 Jul 2015 19:56:04 -0500,
Stephen Crowley <crow <at> canaccord.com> a écrit :

> and now texmacs starts but still it does not do a LaTeX copy when I
> press Ctrl-L

Try Ctrl+Shift+L, and it should works. I was wrong about it.

François

--

-- 
François Poulain <fpoulain <at> metrodore.fr>

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Stephen Crowley | 19 Jul 18:56 2015

copy LaTeX to clipboard Re: suggestions on how to add a feature

Oh, great, thanks for pointing that out! Do you also know how to assign a keybinding to this menu item? It
would also be nice to have it on the right-click contextual popup instead
of in menu the main menu.

on an unrelated note, does anyone know what happened to the texmacs package in Debian? it appears to have
fallen off the turnip wagon

https://packages.debian.org/search?keywords=texmacs

Thanks,
Stephen

----------------------------------------------------------------------
This message is intended only for the use of the individual or entity to which it is addressed and may contain
information which is privileged, confidential or subject to copyright. Internet communications
cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost,
arrive late or contain viruses. The information contained in this e-mail is drawn from sources believed
to be reliable, but the accuracy and completeness of the information is not guaranteed, nor in providing
it does Canaccord Genuity Corp. or its subsidiaries, or affiliated companies, "The Firm" assume any
liability. 

Canaccord Genuity Corp., its subsidiaries or affiliated companies, disclaims all responsibility and
accepts no liability (including negligence) for the consequences for any person acting, or refraining
from acting, on such information. Unless otherwise stated, this transmission is neither an offer nor the
solicitation of an offer to sell or purchase any investment. As a solicitation, this e-mail was intended
for distribution in those jurisdictions where The Firm is registered as advisors or dealers in
securities. Any unauthorized use, disclosure, distribution or copying of this communication by anyone
other than the intended recipient is strictly prohibited. 

When addressed to our clients, any opinions or advice contained in this email are subject to the terms and
(Continue reading)

Stephen Crowley | 17 Jul 20:30 2015

suggestions on how to add a feature

Hi All, I'm interested in making a patch to TeXmacs to allow to select
an expression, right click on it, and copy the corresponding LaTeX
markup to the clipboard. Currently, I am exporting .tex files and then
opening up that in an editor and copy/pasting it, but that doesn't allow
to do only the selection, and it's also more steps. This would be a
useful feature for people who use the LaTex renderers on blogs, wikis,
and whatnot

Thanks,
Stephen

p.s. TeXmacs rocks

----------------------------------------------------------------------
This message is intended only for the use of the individual or entity to which it is addressed and may contain
information which is privileged, confidential or subject to copyright. Internet communications
cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost,
arrive late or contain viruses. The information contained in this e-mail is drawn from sources believed
to be reliable, but the accuracy and completeness of the information is not guaranteed, nor in providing
it does Canaccord Genuity Corp. or its subsidiaries, or affiliated companies, "The Firm" assume any
liability. 

Canaccord Genuity Corp., its subsidiaries or affiliated companies, disclaims all responsibility and
accepts no liability (including negligence) for the consequences for any person acting, or refraining
from acting, on such information. Unless otherwise stated, this transmission is neither an offer nor the
solicitation of an offer to sell or purchase any investment. As a solicitation, this e-mail was intended
for distribution in those jurisdictions where The Firm is registered as advisors or dealers in
securities. Any unauthorized use, disclosure, distribution or copying of this communication by anyone
other than the intended recipient is strictly prohibited. 

(Continue reading)

Kostas Oikonomou | 7 Jul 22:23 2015
Picon

texmacs 1.99.3 crashes on export to PDF

Hi, I've been having a problem with the SVN versions of texmacs on
FreeBSD 10.  TeXmacs always crashes (segmentation fault) on trying to
export anything to PDF.  E.g. the "Welcome" document under the  Help menu.
This happens even with the latest SVN, 1.99.3:

[ko <at> kzin ~]$ /opt/texmacs/svn-qt/bin/texmacs
TeXmacs] With linked TrueType support
Reading ko-kbd.scm...
Throwing segmentation fault
-------------------------------------------------
Error message:
  segmentation fault

System information:
  TeXmacs version  : 1.99.3
  Built by         : ko
  Building date    : Tue Jul  7 15:48:54 EDT 2015
  Operating system : freebsd10.1
  Vendor           : unknown
  Processor        : amd64
  Crash date       : Tue Jul  7 16:16:48 EDT 2015

Editor status:
  Root path          : [ 1 ]
  Current path       : [ 1, 0, 0 ]
  Shifted path       : [ 1, 0, 0 ]
  Physical selection : [ 1, 0, 0 ] -- [ 1, 0, 0 ]

Backtrace of C++ stack not supported

(Continue reading)

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

Gmane