Re: [NTG-context] I need some advices/guidelines before start writing my PhD thesis

2005-06-20 Thread andrea valle


It *is* possible if you know how and are very careful (split the text 
in
chapters, safe and backup often etc.), but OpenOffice.org is better 
for that -

besides any TeX, of course. ;-)



 I like the idea of OO, but I have to say  I have always found strange 
behaviour in OO. I switched to latex (and then very probably to 
context) because on Macosx in the version I tried of OO I wrote 
italics, I printed italics, but I didn't see on the screen italics. So, 
if I have to use a non-wysysyg, oh well, I use TeX. As a word processor 
AbiWord is interesting.


Another important thing: *only* MS-Word can read your Word-document, 
and of
course only the right version (M$ won't guarantee, that Word-2005 
prints

out your document the same way as Word-2000).


That's not true since about Word 98; and there are a lot of other word
processors that can import MSW-Docs (e.g. OOo again).




I do not agree. Microsoft always changes in some unpredictable and 
bad-documented way their file format. I've *always* found enormous 
difficulties in opening with other word processors M$ files, even when 
they should be rtf. It is simply not possible, if you want to retain 
the exact document information.

So, I switched to latex...

Question:
One of the main feature I appreciated in latex was a very simple but 
effective latex2rtf converter. It is very useful if you have simple 
document to be shared with other non-tex people, especially during 
preliminary work on a project. You write the context (with structure: 
section, subsection, etc,), share it, modify it, and finally control 
the typographic stuff in details. Is anything similar for context?


Best


-a-


Andrea Valle
Laboratorio multimediale "G. Quazza"
Facoltà di Scienze della Formazione
Università degli Studi di Torino
[EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] I need some advices/guidelines before start writing my PhD thesis

2005-06-20 Thread andrea valle

 You write the context


(I meant: "You write the text". Evidently I'm appreciating more and 
more ConTeXt...)


-a-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] s-pre-19: page numbers?

2005-06-20 Thread h h extern

Christopher Creutzig wrote:

Christopher Creutzig wrote:


Taco Hoekwater wrote:


Is this not the same problem as the one that was mentioned last
week (the one that requires the core-lst.tex that Hans posted
as attachment)?



 As a short term measure, I have included

\def\linklisttoelement#1#2#3#4#5% % list location format page data
  {\gotonextinternal\currentlist{#2}{#4}{#5}}

into my document and got the menu I wanted – no spurious numbers any 
more and the hyperlinks do work.  YMMV.



 Technical discussion (probably should go to the dev-list):

 Since I have no clear view of where else the code is used, I'm not sure 
whichplace to fix, but the definition (and comment) of 
\linklisttoelement and \gotonextinternal do not agree on what to print:


Note that the comment here refers to a fifth argument which does not exist:

\def\linklisttoelement#1#2#3#4% % list location format page data
  {\gotonextinternal\currentlist{#1}{#3}{#4}}

Therefore, \gotonextinternal in its fourth argument gets the page 
number.  It expects “text” in there and dutifully passes it to 
\gotorealpage, where it is printed.


your patch will break the list handler; a quick glance learns me that in the 
following case we have one arg too much (some time ago i cleaned up part of the 
list macros and it seems that this indirect call was not done).


(core-int.tex:)

\def\dodomenulistelement#1#2#3#4#5#6#7%
  {\setbox0=\hbox
 {\let\gotolocation\gobbleoneargument % hack to catch last []
  % \locationclickfalse % ipv ^
  \docheckrealreferencepage{#7}%
  \setlocationboxyes
{\??am#1}% % needed !
[]% no settings
{\limitatetext{#5}{\getvalue{\??li#2\c!maxwidth}}{\unknown}}% % needed !
[]}% normally the destination, catch by gobble
   \@@amboxcommand\do@@amposition{#1}{#7}% beware, we pass the pagenumber
 {\ignorespaces\linklisttoelement{#3}{#6}{#7}{\box0}\unskip}\\}

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] s-pre-19: page numbers?

2005-06-20 Thread Christopher Creutzig

h h extern wrote:

your patch will break the list handler; a quick glance learns me that in 


 I did not expect this dirty hack to “really” work.  It was just a 
desparate short-term measure.



\def\dodomenulistelement#1#2#3#4#5#6#7%


 Thanks, that fixes the problem.


regards,
Christopher
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] startlines bug(s)

2005-06-20 Thread h h extern

Taco Hoekwater wrote:



Stuart Jansen wrote:


Below is a simple test case that illustrates what I suspect are bugs
with \startlines. I suspect that fixing them will be tricky, so I'm
wondering if anyone can think of work arounds.



I'm not sure if they are bugs, because they come as a natural
amd predictable side-effect of using \obeyspaces. Here is an
example of the needed source changes to get your expected
output:

  \starttext
  \bgroup\tt
  \ConTeXt\ is A\bgroup\ttsl maz\egroup ing
  \setuplines[space=yes]
  \startlines
  \ConTeXt\ is A{\ttsl{}maz}ing
   I didn't expect spaces around "maz"
  \stoplines
  \setuplines[space=on]
  \startlines
  \ConTeXt{ }is A{\ttsl{}maz}ing
   I expected a space marker before "is"
  \stoplines\egroup
  \stoptext


indeed this is not a bug, tex sees the (active) space not as a space but as a 
terminator and keeps it in place; in addition to taco's solution you can do:


\starttext

\switchtobodyfont[tt]

\setuplines[space=on]

% hacky, so not to be used

\startlines
Let's talk about this{\ttsl\gobbleoneargument or}that.
\stoplines

% verbose and okay

\startlines
Let's talk about this{\getvalue{ttsl}or}that.
\stoplines

% TACO: what do you think of

\let\cs\getvalue

\startlines
Let's talk about this{\cs{ttsl}or}that.
\stoplines

\stoptext

(there is no language or font or whatecver \cs)

Hans




-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] startlines bug(s)

2005-06-20 Thread Taco Hoekwater




h h extern wrote:

% TACO: what do you think of

\let\cs\getvalue

\startlines
Let's talk about this{\cs{ttsl}or}that.
\stoplines


Assuming you are not going to use it for czech at some point ... yes

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] startlines bug(s)

2005-06-20 Thread Vit Zyka

Taco Hoekwater wrote:


h h extern wrote:


% TACO: what do you think of

\let\cs\getvalue

\startlines
Let's talk about this{\cs{ttsl}or}that.
\stoplines



Assuming you are not going to use it for czech at some point ... yes


That is all right with Czech:
  Czech language -> cz
  Slovac language -> sk

(But you are right, there is a true context: 'cs' was used for 
Czechoslovakia, but the state has not existed for 13 years; Czechoslovac 
language does never exist, so no such abbreviation.)


vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] UTF further problems

2005-06-20 Thread Duncan Hothersall
I'm still having trouble with UTF contents in  tags in MathML
content.

It's difficult to send a sample because UTF isn't preserved well either
by email or when sending files to the ConTeXt Live server, but I'd
really appreciate it if somebody could help. When I replace 'HERE' in
the following snippet with any UTF encoded accented character, it comes
out wrong:

\useXMLfilter[utf]\usemodule[mathml]
\starttext\startXMLdata
HERE
\stopXMLdata\stoptext

Can anyone help?

Thanks a million.

Duncan
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] columnset layout distortion

2005-06-20 Thread Vit Zyka

Hallo,

I am working on our 40-anniversary scout group bulletin with a complex 
layout (twocolumn, footnotes, photos, pictures, flowing text in margin). 
I noticed weird behaviour. It is expressed by vertical shift of columns, 
please see the page 2 of

  http://typokvitek.com/tmp/layoutdistort.pdf
  source: http://typokvitek.com/tmp/layoutdistort.tex

It seems that the problem is caused by switch to \ss font family 
continueing to a place of the page break. Any explanation/suggestion?


Thanks
vit

===
\setuplayout[
  height=fit,topspace=10mm,
  width=fit,backspace=20mm,
  margin=0pt,columndistance=5mm,
  lines=40,grid=yes,
]

\showframe

\startbuffer[A]
  \input thuan

%  {\input hawking }%
  {\ss\input hawking }%

  \input bryson
\stopbuffer

\definecolumnset[col][n=2]

\starttext
  \startcolumnset[col]
\dorecurse{10}{\getbuffer[A]}%
  \stopcolumnset
\stoptext
=
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] columnset layout distortion

2005-06-20 Thread Hans Hagen

Vit Zyka wrote:

Hallo,

I am working on our 40-anniversary scout group bulletin with a complex 
layout (twocolumn, footnotes, photos, pictures, flowing text in margin). 
I noticed weird behaviour. It is expressed by vertical shift of columns, 
please see the page 2 of

  http://typokvitek.com/tmp/layoutdistort.pdf
  source: http://typokvitek.com/tmp/layoutdistort.tex

It seems that the problem is caused by switch to \ss font family 
continueing to a place of the page break. Any explanation/suggestion?


the linedistance is expressed in ex, and ss has a different ex height

you may try to set the interlinespace to e.g. 14.4pt (or 1.2\bodyfontsize) or so

interesting 'bug/feature' btw, i need to think this over

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] columnset layout distortion

2005-06-20 Thread Vit Zyka

Hans Hagen wrote:

Vit Zyka wrote:

margin). I noticed weird behaviour. It is expressed by vertical shift 
of columns, please see the page 2 of

  http://typokvitek.com/tmp/layoutdistort.pdf
  source: http://typokvitek.com/tmp/layoutdistort.tex

It seems that the problem is caused by switch to \ss font family 
continueing to a place of the page break. Any explanation/suggestion?


the linedistance is expressed in ex, and ss has a different ex height


I seee. Thank you Hans for a very quick response. My response (in case 
of sorting) is much much slower. I have only installed ruby and run your 
example with newtexexec.rb. It runs smoothly (with exception of 
generating format every run newtexexec.rb but - my guess, no time to 
check - it is due to ignoring engines in my texmf.cnf). But I will need 
sorting for name index in this project, so I will have to solve it 
sooner or later.


vit

you may try to set the interlinespace to e.g. 14.4pt (or 
1.2\bodyfontsize) or so


interesting 'bug/feature' btw, i need to think this over

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



--
===
Ing. Vít Zýka, Ph.D. TYPOkvítek

database publishing  databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: +420 777 198 189   www: http://typokvitek.com
===

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: I need some advices/guidelines before start writing my PhD thesis

2005-06-20 Thread Alexandra Ribeiro




Hi to 
all,
 
Thank you 
to all of you. I really appreciated your opinions/advices. I’ll give Context a 
try. I’ve already installed the minimal 
distribution (for MS Windows XP) from the Pragma site and printed the beginners’ 
manual.
At the 
beginning, I’m sure that I’ll post some silly questions. Be patient 
please!
 
I’ve 
another question. What is the best way to deal with a big document in 
Context, to save each chapter in a single file and at the end include them 
in a “main document”, or is there a better way? 
 
Best 
regards,
Alexandra
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: I need some advices/guidelines before start writing my PhD thesis

2005-06-20 Thread Willi Egger

Hi Alexandra,

welcome to the gang!

Do not worry, there are no silly questions, may be silly answers though!

I would suggest to setup a project structure for your thesis. This makes 
it possible to structure the whole thing and gives you the possibility 
to compile also parts of the thesis which still will contain the general 
features of the whole.


Kind regards Willi

Alexandra Ribeiro wrote:

Hi to all,

 


Thank you to all of you. I really appreciated your opinions/advices. I'll give 
Context a try. I've already installed the minimal distribution (for MS Windows 
XP) from the Pragma site and printed the beginners' manual.

At the beginning, I'm sure that I'll post some silly questions. Be patient 
please!

 

I've another question. What is the best way to deal with a big document in Context, to save each chapter in a single file and at the end include them in a "main document", or is there a better way? 

 


Best regards,

Alexandra





___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] I need some advices/guidelines before start writing my PhD thesis

2005-06-20 Thread Peter Münster
On Fri, 17 Jun 2005, Alexandra Ribeiro wrote:

> At this moment I've to make a choice: continue using Word or start
> learning a new tool, which will probably consume much of my time. So, I'm
> in a dilemma. That's why I'm asking for help.

Another point, that you should perhaps consider when choosing between
something like Word/OOo and LaTeX/ConTeXt:
It's often a great advantage to have plain text files instead of binary
format! With versioning systems such as SVN you can merge changes, you can
process your files with simple scripts, you can use database-backends, you
can make a lot of automatisations and a lot more, that's impossible or
difficult with binary files.
Or just: you would have more control with plain text files!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: I need some advices/guidelines before start writing my PhD thesis

2005-06-20 Thread Mojca Miklavec

Alexandra Ribeiro wrote:
I've another question. What is the best way to deal with a big document in Context, to save each chapter in a single file and at the end include them in a "main document", or is there a better way? 


It's no problem to keep everything in one document, but I like to split 
the file so that I can search easier (and some other advantages). Apart 
from that you can simply comment out the whole chapter at once if you 
use multiple files by simply commenting out the line

% \input ch03-aliens
in the main document for example.

Besides that - ConTeXt is pretty slow. If you have a document with 300 
pages, lots of graphics, ... and you only have to try out different 
parameters to fine-tune typesetting of one specific table, paragraph or 
figure, than it is easier to compile and show just a couple of pages 
than all of them at once.


I usually use one file for style, one main file, multiple files (for 
example one per chapter) for content and another portion of files for 
figures. But it's all a matter of taste. ConTeXt doesn't really care 
about it.


See chapter 2 in cont-eni.pdf.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] UTF further problems

2005-06-20 Thread James Cloos
> "Duncan" == Duncan Hothersall <[EMAIL PROTECTED]> writes:

Duncan> I'm still having trouble with UTF contents in  tags in
Duncan> MathML content.

For whatever it is worth, I just tried that.  A double-acute u (U+0171)
came through w/o problem.  I'm using a gentoo box w/ tetex 3.0.

I tried both dvi and pdf output.  Both worked.

Are you sure your file is in utf-8 and not, eg, utf-16?

What platform are you on?  

The exact text I ended up with is:

\useXMLfilter[utf]\usemodule[mathml]
\starttext\startXMLdata
ű
\stopXMLdata\stoptext

-JimC
-- 
James H. Cloos, Jr. <[EMAIL PROTECTED]>
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] columnset layout distortion

2005-06-20 Thread Hans Hagen

Vit Zyka wrote:

Hallo,

I am working on our 40-anniversary scout group bulletin with a complex 
layout (twocolumn, footnotes, photos, pictures, flowing text in margin). 
I noticed weird behaviour. It is expressed by vertical shift of columns, 
please see the page 2 of

  http://typokvitek.com/tmp/layoutdistort.pdf
  source: http://typokvitek.com/tmp/layoutdistort.tex

It seems that the problem is caused by switch to \ss font family 
continueing to a place of the page break. Any explanation/suggestion?


i made an \restoreinterlinespace mechanism so that you can do the following:

\setuplayout[height=middle,width=middle,grid=yes]

\starttext
  \startcolumnset
\dorecurse{10}
  {\input thuan \endgraf
   \bgroup
   \ss\restoreinterlinespace
   \dorecurse{3}{\input hawking \endgraf}
   \egroup
   \input bryson \endgraf}
  \stopcolumnset
\stoptext

(tricky stuff)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context