1
0
Fork 0
doc/main/faq/faq.en.tm

492 lines
17 KiB
Plaintext
Raw Permalink Normal View History

2024-08-18 18:52:35 +08:00
<TeXmacs|2.1.4>
2011-08-28 15:59:50 +08:00
2020-11-22 23:29:54 +08:00
<style|<tuple|tmweb|english|old-spacing|old-dots|old-lengths>>
2011-08-28 15:59:50 +08:00
<\body>
2011-09-02 04:54:19 +08:00
<tmdoc-title|Frequently asked questions>
2011-08-28 15:59:50 +08:00
<section*|Overview>
<\itemize>
<item>General
<\itemize-minus>
<item><hlink|What is <TeXmacs>|#general-1>?
<item><hlink|For what typical purposes do people use
\ <TeXmacs>|#general-2>?
<item><hlink|What Operation Systems are supported|#general-3>?
<item><hlink|What are the system requirements|#general-4>?
<item><hlink|I have already learned <TeX>/<LaTeX> and <name|Emacs>, do
I have to learn all over again|#general-5>?
<item><hlink|I have a question, where should I ask it|#general-5>?
<item><hlink|Is it free Software|#general-6>?
2020-11-22 23:40:26 +08:00
<item><hlink|When will <TeXmacs> be based on Qt5 and Guile
2|#general-8>?
2011-08-28 15:59:50 +08:00
</itemize-minus>
2020-11-22 23:29:54 +08:00
<item>Troubleshooting
<\itemize-minus>
<item><hlink|<TeXmacs> used to work, but suddenly refuses to be
launched. What should I do?|#trouble-1>
</itemize-minus>
2011-08-28 15:59:50 +08:00
<item>System Appearance and Behavior
<\itemize-minus>
<item><hlink|How can I see the <LaTeX> or <TeX> code corresponding to
what I see on the screen|#sys-2>?
<item><hlink|Trying to start <TeXmacs> remotely over a ssh connection,
I get an error, while <abbr|e.g.> xclock works without a
problem|#sys-4>?
<item><hlink|<TeXmacs> is unusually slow while editing|#sys-5>?
</itemize-minus>
2011-09-02 04:54:19 +08:00
<item>Windows and Cygwin specific
2011-08-28 15:59:50 +08:00
<\itemize-minus>
2011-09-02 04:54:19 +08:00
<item><hlink|My Windows username contains spaces. Will this cause
problems|#cygwin-4>?
2011-08-28 15:59:50 +08:00
2011-09-02 04:54:19 +08:00
<item><hlink|What to do with Cygwin specific questions|#cygwin-1>?
2011-08-28 15:59:50 +08:00
2011-09-02 04:54:19 +08:00
<item><hlink|How to associate .tm files with <TeXmacs> inside
Cygwin|#cygwin-2>?
2011-08-28 15:59:50 +08:00
2011-09-02 04:54:19 +08:00
<item><hlink|How to get spell checking working inside
Cygwin|#cygwin-3>?
2011-08-28 15:59:50 +08:00
</itemize-minus>
<item>Usage
<\itemize-minus>
<item><hlink|How to mark/select a whole paragraph|#usage-1>?
<item><hlink|Spell checking always starts at the beginning of the
document|#usage-2>?
<item><hlink|How can I insert an OpenOffice.org table|#usage-3>?
<item><hlink|How can I insert the number of pages|#usage-4>?
<item><hlink|How can I resize an image|#usage-5>?
</itemize-minus>
<item>Microtypography
<\itemize-minus>
<item><hlink|There is too much space after an abbreviation like
<abbr|wrt.> or <abbr|etc.>|#typo-1>?
<item><hlink|How to add unbreakable space|#typo-2>?
</itemize-minus>
<item>Legacy Questions
<\itemize-minus>
<item><hlink|A publisher sent me a giant <LaTeX> preamble I'm supposed
to put in in order to prepare a book for them. What is the best way of
putting it in and figuring if it will work|#legacy-1>?
</itemize-minus>
</itemize>
<section*|General>
<\question>
<label|general-1>What is <TeXmacs>?
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-08-28 15:59:50 +08:00
GNU <TeXmacs>
<\itemize-dot>
<item>is a free scientific text editor, which was both inspired by
<TeX> and GNU Emacs.
<item>allows you to write structured documents via a wysiwyg
(what-you-see-is-what-you-get) and user friendly interface.
<item>lets you create new styles.
<item>implements high-quality typesetting algorithms and <TeX> fonts,
which helps you to produce professionally looking documents.
<item>is suitable as an interface for computer algebra systems, as the
high typesetting quality goes through for automatically generated
formulas.
<item>can be highly customized as it supports the
<name|Guile>/<name|Scheme> extension language.
<item>lets you export your documents to PS and PDF and offers both
import and export to HTML, <LaTeX>, Scheme, Verbatim and Xml. We would
2020-11-05 01:54:30 +08:00
very much appreciate your <hlink|help|https://www.texmacs.org/Web/Contribute.html>
2011-08-28 15:59:50 +08:00
for writing and improving converters for <TeXmacs> documents.
</itemize-dot>
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
<\question>
2011-09-02 04:54:19 +08:00
<label|general-2>For what typical purposes do people use <TeXmacs>?
2011-08-28 15:59:50 +08:00
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-09-02 04:54:19 +08:00
<TeXmacs> can be used for
2011-08-28 15:59:50 +08:00
<\itemize>
<item>Books and Articles. They can be written fully within <TeXmacs>.
If your publisher requires a certain <LaTeX> style for an article, then
as a last step you can export your document to <LaTeX> and make the
final modifications there.
<item>Presentations.
<item>Interface to computer algebra systems and other scientific
software.
<item>Webpages. For example the <TeXmacs> webpage is maintained as
2011-09-02 04:54:19 +08:00
<TeXmacs> documents, which are exported to <name|Html>.
2011-08-28 15:59:50 +08:00
</itemize>
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
<\question>
<label|general-3>What Operation Systems are supported?
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-09-02 04:54:19 +08:00
<TeXmacs> can be easily installed on all major systems, such as
GNU/<name|Linux>, <name|MacOS> and <name|Windows>. There are <name|rpm>
and Debian packages as well as binaries available for <name|Linux>. For
Mac <name|OS X> there is a <name|Fink> package. For <name|MS Windows>, a
<name|Cygwin> package is available.\
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
<\question>
<label|general-4>What are the system requirements?
</question>
2019-06-01 22:20:18 +08:00
<answer*|A reasonably fast machine is recommended. Having said this, I
2011-08-28 15:59:50 +08:00
(Andreas) am typing this on a Pentium III 450Mhz under Cygwin, and
2011-09-02 04:54:19 +08:00
<TeXmacs> is still useable here, although not overly reactive.>
2011-08-28 15:59:50 +08:00
<\question>
<label|general-5>I have already learned <TeX>/<LaTeX> and <name|Emacs>,
do I have to learn all over again?
</question>
2019-06-01 22:20:18 +08:00
<answer*|You will find out, that much <LaTeX>-knowledge can be reused. For
2011-08-28 15:59:50 +08:00
example, you can start a section by typing <key|\\section[return]> or you
get <math|\<alpha\><rsub|1>> by typing <key|$\\alpha_1$>. Note that there
are even shorter ways provided, for example <key|$a[tab]$> gives you an
alpha as well, so you might want to migrate after a while. Styles like
article, book or seminar, as known from <LaTeX>, are provided as well.
Furthermore, many <name|Emacs> shortcuts like <key|C-x C-s> for saving a
file, or <key|C-_> for undo will work. >
<\question>
<label|general-6>I have a question, where should I ask it?
</question>
2019-06-01 22:20:18 +08:00
<answer*|The best place is the <TeXmacs> user mailing list. Search this
list and the FAQ beforehand, to ensure your question was not asked before.>
2011-08-28 15:59:50 +08:00
<\question>
<label|general-7>Is it free Software?
</question>
2019-06-01 22:20:18 +08:00
<answer*|<TeXmacs> falls under the GNU public licence. >
2011-08-28 15:59:50 +08:00
2020-11-22 23:40:26 +08:00
<\question>
<label|general-8>When will <TeXmacs> be based on Qt5 and Guile 2?
</question>
<\answer*>
<TeXmacs> already works quite well with Qt5, but several issues remain to
be fixed. <TeXmacs> 2.1 will still be based on Qt4, but <TeXmacs> 2.2
will be based on Qt5.
As to <name|Guile>, please be aware that <name|Guile> 1 and <name|Guile>
2 carry the same name, but that resemblances very much end there:
<name|Guile> 2 has a completely different design, which breaks the
interface with<nbsp><TeXmacs>. Porting our interface to <name|Guile> 2
requires a lot of work and it is possible that this will never be done.
Since <name|Guile> 1 is no longer supported by many standard <name|Linux>
distributions, recent versions of <TeXmacs> directly include <name|Guile>
1. We will continue to do so until we find time to switch to a more
recent version of <name|Guile> or to another <scheme> implementation.
</answer*>
2020-11-22 23:29:54 +08:00
<section*|Troubleshooting>
<\question>
<label|trouble-1><TeXmacs> used to work, but suddenly refuses to be
launched. What should I do?
</question>
<\answer*>
Something strange must have happened. You may try the following remedies,
in the given order:
<\enumerate>
<item>Try to open <TeXmacs> with the <verbatim|--setup> option:
<\shell-code>
texmacs --setup
</shell-code>
<item>Rename your <verbatim|~/.TeXmacs> directory (you may also delete
it, but that will irrevocably destroy all your preferences) and
2021-05-18 21:56:37 +08:00
relaunch the editor. If you use Windows, then we note that you have no
<hgroup|<verbatim|~/.TeXmacs>> directory, but the hidden
<verbatim|AppData\\Roaming\\TeXmacs> subdirectory of your home
directory plays the same role.
2020-11-22 23:29:54 +08:00
<item>Try reinstalling <TeXmacs>, preferably the latest version that
used to work for you. Old versions can be found at
2024-08-18 18:52:35 +08:00
\ <slink|https://ftp.texmacs.org/TeXmacs/tmftp/>
2020-11-22 23:29:54 +08:00
<item>Submit a bug report, report the issue to one of our mailing
lists, or contact the authors.
</enumerate>
</answer*>
2011-08-28 15:59:50 +08:00
<section*|System Appearance and Behavior>
<\question>
<label|sys-2>How can I see the <LaTeX> or <TeX> code corresponding to
what I see on the screen?
</question>
2019-06-01 22:20:18 +08:00
<answer*|This question is due to a fundamental misunderstanding about
2011-08-28 15:59:50 +08:00
<TeXmacs>. Indeed, <TeXmacs> is not <em|based> on <TeX>/<LaTeX>, although
it does support (not yet perfect) <em|conversion> to and from <LaTeX>.
Furthermore, in theory at least, there is actually no need anymore to look
at something like the <TeX> source, since <TeXmacs> is guaranteed to be
fully WYSIWYG. Conversion to <LaTeX> may only be useful, when transmitting
an accepted paper to the publisher of a journal.>
<\question>
<label|sys-4>Trying to start <TeXmacs> remotely over a ssh connection, I
get an error, while <abbr|e.g.> xclock works without a problem?
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-08-28 15:59:50 +08:00
If you get an error message including the following:
<verbatim|Fatal error: I failed to connect to Xserver in
'x_display_rep::x_display_rep>
then execute <verbatim|export DISPLAY=127.0.0.1:10.0> on the remote
machine and make sure your /etc/hosts file is sound, <abbr|i.e.> it
contains the line <verbatim|127.0.0.1 localhost> and the IP information
about the local and remote machine.
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
<\question>
<label|sys-5><TeXmacs> is unusually slow while editing?
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-08-28 15:59:50 +08:00
Graphics card drivers with poor 2D performance can slow <TeXmacs> down
2011-09-02 04:54:19 +08:00
tremendously.\
2011-08-28 15:59:50 +08:00
If you are running TeXmacs under X on a system with an ATI graphics card
and are using ATI's proprietary drivers (the driver called
2011-09-02 04:54:19 +08:00
<verbatim|fglrx)>, you can achieve a significant speedup by
2011-08-28 15:59:50 +08:00
<\itemize>
<item><em|either> running an X server such as Xgl that performs 2D
operations using the 3D API of the graphics card driver,
<item><em|or> switching to an open source graphics card driver such as
<verbatim|ati> or <verbatim|radeon> which have a far better 2D
performance than <verbatim|fglrx>.
</itemize>
Note that if you try both at the same time, you will slow your system
down even more, instead of speeding it up.
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
2011-09-02 04:54:19 +08:00
<section*|Windows and Cygwin specific>
<\question>
<label|cygwin-4>My Windows username contains spaces. Will this cause
problems?
</question>
2019-06-01 22:20:18 +08:00
<answer*|It is strongly recommended to have a Windows username without
2011-09-02 04:54:19 +08:00
spaces. Please make a new account, as simply changing the username could be
insufficient.>
2011-08-28 15:59:50 +08:00
<\question>
<label|cygwin-1>What to do with Cygwin specific questions?
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-08-28 15:59:50 +08:00
Look at the Cygwin FAQ at <hlink|http://cygwin.com/faq.html|http://cygwin.com/faq.html>,
the Cygwin User Guide at <hlink|http://cygwin.com/cygwin-ug-net/|http://cygwin.com/cygwin-ug-net/>
and search the Cygwin mailing list <hlink|http://www.cygwin.com/ml/cygwin/|http://www.cygwin.com/ml/cygwin/>.
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
<\question>
2011-09-02 04:54:19 +08:00
<label|cygwin-2>How to associate .tm files with <TeXmacs> inside Cygwin?
2011-08-28 15:59:50 +08:00
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-08-28 15:59:50 +08:00
Create a file <verbatim|texmacs.bat> with the following content:
<\verbatim>
\ \ \ \ rem cmdow @ /hid<next-line> \ \ \ c:\\cygwin\\bin\\bash --login
-c "texmacs \\"`cygpath -u "%1"`\\""
</verbatim>
Ensure that it lies in your <verbatim|PATH>. Now you can associate .tm
files with this batch file.
If you want to hide the black Cygwin window when <TeXmacs> is started,
then download <name|cmdow> from <simple-link|http://www.commandline.co.uk/cmdow/>,
drop <verbatim|cmdow.exe> <abbr|e.g.> in your
<verbatim|C:\\WINDOWS\\system32> directory (this applies to <name|Windows
XP> installed on <verbatim|C:\\>) and uncomment (<abbr|i.e.> remove
``rem'' from) the first line of <verbatim|texmacs.bat>.
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
<\question>
2011-09-02 04:54:19 +08:00
<label|cygwin-3>How to get spell checking working inside Cygwin?
2011-08-28 15:59:50 +08:00
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-08-28 15:59:50 +08:00
Install the Cygwin package aspell. Execute in a shell:
<\verbatim>
\ \ \ \ cd /usr/bin<next-line> \ \ \ ln -s /usr/share/aspell/ispell
ispell
</verbatim>
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
<section*|Usage>
<\question>
<label|usage-1>How to mark/select a whole paragraph?
</question>
2019-06-01 22:20:18 +08:00
<answer*|Clicking once on a word will place the cursor there, clicking
twice marks this word, clicking thrice will mark the paragraph and so on;
2011-08-28 15:59:50 +08:00
eventually, the whole document will be selected.>
<\question>
<label|usage-2>Spell checking always starts at the beginning of the
document?
</question>
2019-06-01 22:20:18 +08:00
<answer*|Mark a region, and spell checking will be restricted to this
2011-08-28 15:59:50 +08:00
selection.>
<\question>
<label|usage-3>How can I insert an OpenOffice.org table?
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-08-28 15:59:50 +08:00
\;
<\enumerate>
<item>Create a PostScript image of your table using OpenOffice
(<samp|File<math|\<rightarrow\>>Print<math|\<rightarrow\>>Print to
file)>. Name the file, for example, ``<kbd|table1.ps>''.
<item>Convert the PostScript file to an Encapsulated PostScript file
(<verbatim|.eps>) using <verbatim|ps2epsi> in a shell. Just type:
``<kbd|ps2epsi table1.ps table1.eps>''.
<item>Insert or link the image <verbatim|table.eps> in the <TeXmacs>
document.
</enumerate>
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
<\question>
<label|usage-4>How can I insert the number of pages?
</question>
2019-06-01 22:20:18 +08:00
<answer*|Put a label on the last page of your document and use the
2011-08-28 15:59:50 +08:00
<verbatim|pageref> primitive in order to produce the corresponding number.>
<\question>
<label|usage-5>How can I resize an image?
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-09-02 04:54:19 +08:00
Put your cursor right behind the image and edit the fields in the lowest
icon bar. You may for instance set the width to <verbatim|5cm> and the
2011-08-28 15:59:50 +08:00
height to <verbatim|27mm>. When leaving the width open, it will
automatically be determined as a function of the height (and vice versa).
When leaving both fields open, the image will be reproduced at its
original size. Notice that a width of <verbatim|1par> will span your
image over the paragraph width. The remaining two fields specify the
<math|x>-offset and <math|y>-offset of the image. By default, images are
aligned at the bottom. When specifying <verbatim|-0.5h> for the last
field, the image will be vertically aligned at the center.
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
<section*|Microtypography>
<\question>
<label|typo-1>There is too much space after an abbreviation like
<abbr|wrt.> or <abbr|etc.>?
</question>
2019-06-01 22:20:18 +08:00
<answer*|This is because <TeXmacs> thinks, that the sentence ends after the
2011-08-28 15:59:50 +08:00
dot in the abbreviation. To resolve this <em|a posteriori>, mark the
abbreviation and press <shortcut|(make 'abbr)>. To care for this while
2011-09-02 04:54:19 +08:00
writing: <shortcut|(make 'abbr)><key*|e t c . right>.>
2011-08-28 15:59:50 +08:00
<\question>
<label|typo-2>How to add unbreakable space?
</question>
2019-06-01 22:20:18 +08:00
<answer*|Type <shortcut|(make 'no-break)> after the space.>
2011-08-28 15:59:50 +08:00
<section*|Remaining legacy questions>
<\question>
<label|legacy-1>A publisher sent me a giant <LaTeX> preamble I'm supposed
to put in in order to prepare a book for them. What is the best way of
putting it in and figuring if it will work?
</question>
2019-06-01 22:20:18 +08:00
<\answer*>
2011-09-02 04:54:19 +08:00
I recommend to convert the preamble to <TeXmacs> and to put the result in
2011-08-28 15:59:50 +08:00
a <TeXmacs> style file. However, the result will probably be
disappointing, because conversion between <TeX>/<LaTeX> and <TeXmacs> is
not yet perfect and style files are particularly problematic. What you
can also do is write a <TeXmacs> style file by your own which supports
the major extra constructs you want to use from the editors style file.
When you convert your book to <LaTeX>, you next use the editors style.
Some layout will probably need to be redone at that stage, but this
should actually be the work of the editor... Please look in the <TeXmacs>
2011-09-02 04:54:19 +08:00
help for more information about conversions between <TeXmacs> and
2011-08-28 15:59:50 +08:00
<LaTeX>.
2019-06-01 22:20:18 +08:00
</answer*>
2011-08-28 15:59:50 +08:00
2020-11-22 23:29:54 +08:00
<tmdoc-copyright|1998\U2011|Andreas Seidl|Joris van der Hoeven>
2011-08-28 15:59:50 +08:00
<tmdoc-license|Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.1
or any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled "GNU Free
Documentation License".>
</body>
<\initial>
<\collection>
<associate|preamble|false>
</collection>
</initial>