Why this error (source: see attachment) ?
chapter: 1 Chapter 1
! Extra \fi.
argument \fi
One line.
\doCountLines ...arlines \space L)\fi \endgroup #1
\par
l.35
Thanks,
Alan
On Tue, Mar 10, 2009 at 6:32 PM, Wolfgang
Am 13.03.2009 um 15:22 schrieb Alan Stone:
Why this error (source: see attachment) ?
\ifnum\parnumber=1
\expandafter\expandafter\expandafter\doCountLines
\fi
Wolfgang
___
If your question is of interest to
Thanks Wolfgang.
Digging into some TeX books to understand how and why these fixes work...
Alan
On Tue, Mar 10, 2009 at 6:32 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 10.03.2009 um 18:14 schrieb Alan Stone:
I still say it's not a very good idea to do this
In
Am 10.03.2009 um 16:06 schrieb Alan Stone:
Hi,
Re: files in attachment
Why is step 3 typeset in chapter 2's first paragraph instead of
chapter 1's first paragraph and how to correct ?
I still say it's not a very good idea to do this but here is a fixed
version of your macros. You should
On Tue, Mar 10, 2009 at 4:35 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
I still say it's not a very good idea to do this
In order to make an informed decision, what are you refering to Wolfgang ?
but here is a fixed
version of your macros. You should always take care to
Am 10.03.2009 um 17:35 schrieb Alan Stone:
On Tue, Mar 10, 2009 at 4:35 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com
wrote:
I still say it's not a very good idea to do this
In order to make an informed decision, what are you refering to
Wolfgang ?
Your \EveryPar hackery.
I
On Tue, Mar 10, 2009 at 5:46 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 10.03.2009 um 17:35 schrieb Alan Stone:
On Tue, Mar 10, 2009 at 4:35 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
I still say it's not a very good idea to do this
In order to
Another idea...
How do you make this line counter work ?
\newcount\parnumber
\newcount\linenumber
\def\myCounters{%
\EveryPar{%
\advance\parnumber by 1
(P\the\parnumber)
\EveryLine{%
% (L\the\prevgraf)}}
\advance\linenumber by 1
(L\the\linenumber)}
Alan Stone wrote:
Another idea...
How do you make this line counter work ?
\newcount\parnumber
\newcount\linenumber
\def\myCounters{%
\EveryPar{%
\advance\parnumber by 1
(P\the\parnumber)
\EveryLine{%
% (L\the\prevgraf)}}
\advance\linenumber by 1
On Fri, Mar 6, 2009 at 3:05 PM, Hans Hagen pra...@wxs.nl wrote:
[...]
\startlinenumbering
\input tufte
\stoplinenumbering
Ok, my question was a bit ambiguous...
I was not looking to number lines, but to count lines using EveryLine
within EveryPar, aka the paragraph counter \parnumber in the
Marcin Borkowski wrote:
Dnia Wed, Mar 04, 2009 at 05:02:40PM +0100, Alan Stone napisa#322;(a):
How do you access the first paragraph of each chapter ?
... to calculate its number of lines ?
If not possible with ConTeXt commands, is this possible with LuaTeX commands?
Maybe redefine \par to
How do you invoke a command at the end of a paragraph ?
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Alan Stone wrote:
How do you invoke a command at the end of a paragraph ?
there is no hook for that (apart from adding a \endofpar command or
whatever to every paragraph
-
Hans Hagen |
How do you invoke a command at the end of a paragraph ?
there is no hook for that (apart from adding a \endofpar command or whatever
to every paragraph
From TeX for the Impatient...
---
\prevgraf [ number parameter ]
In horizontal mode, this
Dnia Thu, Mar 05, 2009 at 02:44:53PM +0100, Wolfgang Schuster napisa#322;(a):
Am 05.03.2009 um 14:25 schrieb Alan Stone:
After giving it some further thought and with reference to specifies
the number of lines in the
paragraph so far, I don't need to know the paragraph's number of
lines
Thanks Wolfgang, however I'm looking for a solution without adding
additional commands to the text source.
Requires to switch to the LuaTeX list ?
Alan
On Thu, Mar 5, 2009 at 2:44 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 05.03.2009 um 14:25 schrieb Alan Stone:
After
Am 05.03.2009 um 14:25 schrieb Alan Stone:
After giving it some further thought and with reference to specifies
the number of lines in the
paragraph so far, I don't need to know the paragraph's number of
lines but whether its number of lines = 1 or not.
You can test whether the last
Alan Stone wrote:
Thanks Wolfgang, however I'm looking for a solution without adding
additional commands to the text source.
Requires to switch to the LuaTeX list ?
that does not help you as taco and i are on both lists
i can imagine that mkiv at some point privides something but it needs
On Thu, Mar 5, 2009 at 5:09 PM, Hans Hagen pra...@wxs.nl wrote:
Alan Stone wrote:
Thanks Wolfgang, however I'm looking for a solution without adding
additional commands to the text source.
Requires to switch to the LuaTeX list ?
that does not help you as taco and i are on both lists
i
Alan Stone wrote:
On Thu, Mar 5, 2009 at 5:09 PM, Hans Hagen pra...@wxs.nl wrote:
Alan Stone wrote:
Thanks Wolfgang, however I'm looking for a solution without adding
additional commands to the text source.
Requires to switch to the LuaTeX list ?
that does not help you as taco and i are on
How do you access the first paragraph of each chapter ?
... to calculate its number of lines ?
If not possible with ConTeXt commands, is this possible with LuaTeX commands?
Alan
On Tue, Mar 3, 2009 at 12:49 PM, Alan Stone
software.list.1e...@gmail.com wrote:
Hi,
How do you access the
Alan Stone wrote:
How do you access the first paragraph of each chapter ?
to calculate its number of lines ?
If not possible with ConTeXt commands, is this possible with LuaTeX commands?
\the\prevgraf
but surely doable in luatex
Hans
Alan Stone wrote:
How do you access the first paragraph of each chapter ?
to calculate its number of lines ?
If not possible with ConTeXt commands, is this possible with LuaTeX commands?
there is support for positional info ... depending on the problem that
might help (set two
On Wed, Mar 4, 2009 at 5:33 PM, Hans Hagen pra...@wxs.nl wrote:
Alan Stone wrote:
How do you access the first paragraph of each chapter ?
to calculate its number of lines ?
If not possible with ConTeXt commands, is this possible with LuaTeX
commands?
there is support for positional
Dnia Wed, Mar 04, 2009 at 05:02:40PM +0100, Alan Stone napisa#322;(a):
How do you access the first paragraph of each chapter ?
... to calculate its number of lines ?
If not possible with ConTeXt commands, is this possible with LuaTeX commands?
Maybe redefine \par to do something like
Am 04.03.2009 um 23:38 schrieb Marcin Borkowski:
Dnia Wed, Mar 04, 2009 at 05:02:40PM +0100, Alan Stone napisa#322;
(a):
How do you access the first paragraph of each chapter ?
... to calculate its number of lines ?
If not possible with ConTeXt commands, is this possible with LuaTeX
26 matches
Mail list logo