Re: [XeTeX] Any progress on 16 open write file limit?

2011-12-15 Thread Daniel Greenhoe
>> On Wed, Dec 14, 2011 at 3:06 PM, Vladimir Lomov  wrote:
> You can install TL 2011 as any other TL release in parallel, and use
> then switching the PATH to appropriate release.

Nice idea --- thanks!

> I simply don't understand for what reason you need more than 16 openned files.

Just as most everything else in life, the answer is, I don't need it.
Just as many other things in life, the answer is, it can be useful.
Unlike programming languages (for example c) that work at a "base"
level, I don't explicitly initiate these writes. They can be initiated
by other packages (that are explicitly invoked by myself). For
example, the very useful (my opinion) graphics package {pgfplots}
initiates at least one write.

Thank you for your help!
Dan




On Fri, Dec 16, 2011 at 7:49 AM, Vladimir Lomov  wrote:
> Hello,
> ** Daniel Greenhoe [2011-12-15 07:47:03 +0800]:
>
>> On Wed, Dec 14, 2011 at 3:06 PM, Vladimir Lomov  wrote:
>>> Update you TeX system. This command relates with experimental package
>>> (aka latex3).
>
>> On Wed, Dec 14, 2011 at 3:06 PM, Bruno Le Floch  wrote:
>>> Update the l3kernel bundle to the newest version
>
>> OK, thanks! I am hoping to complete and deliver a major project this
>> month, so I don't want to risk a major update to my Texlive system at
>> this point; but I hope to test it next month.
> You can install TL 2011 as any other TL release in parallel, and use
> then switching the PATH to appropriate release. For example, on Windows
> you have
> C:/texlive/2010/bin/win32
> C:/texlive/2011/bin/win32
>
> To use TL 2010 run in cmd:
> set PATH=C:/texlive/2010/bin/win32;%PATH%
> ...
>
> or to use TL 2011:
> set PATH=C:/texlive/2011/bin/win32;%PATH%
> ...
>
>> On Wed, Dec 14, 2011 at 3:06 PM, Vladimir Lomov  wrote:
>>> Why do you need separate files for each letter?
>>> You have more than 65536 entries for each one?
>
>> Thanks for the tip. However, the previously attached code is just a
>> test bench --- that is, it demonstrates the problem and allows me to
>> test a proposed solution to see if it can resolve the problem. The
>> example happens to use the Latin alphabet as a kind of enumeration of
>> the instances that cause the writes.
> Ok, then may be there is another solution for your problem? I simply
> don't understand for what reason you need more than 16 openned files. I
> not familiar with TeX itself (ok, I will do investigation then) but in
> other programming languages you could open a file for write, close it
> and use again the freed resources.
>
> ---
> WBR, Vladimir Lomov
>
> --
> Till then we shall be content to admit openly, what you (religionists)
> whisper under your breath or hide in technical jargon, that the ancient
> secret is a secret still; that man knows nothing of the Infinite and
> Absolute; and that, knowing nothing, he had better not be dogmatic about
> his ignorance.  And, meanwhile, we will endeavour to be as charitable as
> possible, and whilst you trumpet forth officially your contempt for our
> skepticism, we will at least try to believe that you are imposed upon
> by your own bluster.
> - Leslie Stephen, "An agnostic's Apology", Fortnightly Review, 1876
>
>
> --
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Any progress on 16 open write file limit?

2011-12-15 Thread Vladimir Lomov
Hello,
** Daniel Greenhoe [2011-12-15 07:47:03 +0800]:

> On Wed, Dec 14, 2011 at 3:06 PM, Vladimir Lomov  wrote:
>> Update you TeX system. This command relates with experimental package
>> (aka latex3).

> On Wed, Dec 14, 2011 at 3:06 PM, Bruno Le Floch  wrote:
>> Update the l3kernel bundle to the newest version

> OK, thanks! I am hoping to complete and deliver a major project this
> month, so I don't want to risk a major update to my Texlive system at
> this point; but I hope to test it next month.
You can install TL 2011 as any other TL release in parallel, and use
then switching the PATH to appropriate release. For example, on Windows
you have
C:/texlive/2010/bin/win32
C:/texlive/2011/bin/win32

To use TL 2010 run in cmd:
set PATH=C:/texlive/2010/bin/win32;%PATH%
...

or to use TL 2011:
set PATH=C:/texlive/2011/bin/win32;%PATH%
...

> On Wed, Dec 14, 2011 at 3:06 PM, Vladimir Lomov  wrote:
>> Why do you need separate files for each letter?
>> You have more than 65536 entries for each one?

> Thanks for the tip. However, the previously attached code is just a
> test bench --- that is, it demonstrates the problem and allows me to
> test a proposed solution to see if it can resolve the problem. The
> example happens to use the Latin alphabet as a kind of enumeration of
> the instances that cause the writes.
Ok, then may be there is another solution for your problem? I simply
don't understand for what reason you need more than 16 openned files. I
not familiar with TeX itself (ok, I will do investigation then) but in
other programming languages you could open a file for write, close it
and use again the freed resources.

---
WBR, Vladimir Lomov

-- 
Till then we shall be content to admit openly, what you (religionists)
whisper under your breath or hide in technical jargon, that the ancient
secret is a secret still; that man knows nothing of the Infinite and
Absolute; and that, knowing nothing, he had better not be dogmatic about
his ignorance.  And, meanwhile, we will endeavour to be as charitable as
possible, and whilst you trumpet forth officially your contempt for our
skepticism, we will at least try to believe that you are imposed upon
by your own bluster.
- Leslie Stephen, "An agnostic's Apology", Fortnightly Review, 1876


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Any progress on 16 open write file limit?

2011-12-15 Thread Bruno Le Floch
It would still be better to have an engine-level solution. Morewrites
is definitely a hack.

>> Update the l3kernel bundle to the newest version
>
> OK, thanks! I am hoping to complete and deliver a major project this
> month, so I don't want to risk a major update to my Texlive system at
> this point; but I hope to test it next month.

When you do it, feel free to report whether it works or not.

Thanks in advance,
-- 
Bruno


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Any progress on 16 open write file limit?

2011-12-14 Thread Daniel Greenhoe
On Wed, Dec 14, 2011 at 3:06 PM, Vladimir Lomov  wrote:
> Update you TeX system. This command relates with experimental package
> (aka latex3).

On Wed, Dec 14, 2011 at 3:06 PM, Bruno Le Floch  wrote:
> Update the l3kernel bundle to the newest version

OK, thanks! I am hoping to complete and deliver a major project this
month, so I don't want to risk a major update to my Texlive system at
this point; but I hope to test it next month.

On Wed, Dec 14, 2011 at 3:06 PM, Vladimir Lomov  wrote:
> Why do you need separate files for each letter?
> You have more than 65536 entries for each one?

Thanks for the tip. However, the previously attached code is just a
test bench --- that is, it demonstrates the problem and allows me to
test a proposed solution to see if it can resolve the problem. The
example happens to use the Latin alphabet as a kind of enumeration of
the instances that cause the writes.

Thank you again,
Dan

On Wed, Dec 14, 2011 at 3:06 PM, Bruno Le Floch  wrote:
>> I tried it with \usepackage{index} (see below and attachments), but I
>> get the error
>>   ! Undefined control sequence.
>>  \tl_replace_in:Nnn
>>
>> Any recommendations of what I should do?
>
> Update the l3kernel bundle to the newest version via your package
> manager (or directly from CTAN. It's sort of mentionned in the doc of
> morewrites (but I really should've added an explicit test in the
> package, sorry).
>
> Hope this helps,
> --
> Bruno Le Floch
>
>
> --
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Any progress on 16 open write file limit?

2011-12-13 Thread Bruno Le Floch
> I tried it with \usepackage{index} (see below and attachments), but I
> get the error
>   ! Undefined control sequence.
>  \tl_replace_in:Nnn
>
> Any recommendations of what I should do?

Update the l3kernel bundle to the newest version via your package
manager (or directly from CTAN. It's sort of mentionned in the doc of
morewrites (but I really should've added an explicit test in the
package, sorry).

Hope this helps,
-- 
Bruno Le Floch


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Any progress on 16 open write file limit?

2011-12-13 Thread Vladimir Lomov
Hello,
** Daniel Greenhoe [2011-12-14 12:57:05 +0800]:

> Hi Bruno,

> On Wed, Dec 14, 2011 at 11:35 AM, Bruno Le Floch  wrote:
> > \usepackage{morewrites}

> I tried it with \usepackage{index} (see below and attachments), but I
> get the error
>   ! Undefined control sequence.
>  \tl_replace_in:Nnn

> Any recommendations of what I should do?
Update you TeX system. This command relates with experimental package
(aka latex3).

> Dan

> \documentclass{book}
>  \usepackage{morewrites}
>  \usepackage{index}   % multiple index support
> %---
>  \newindex{indexA}{adx}{and}{Index A} % \openout03
>  \newindex{indexB}{bdx}{bnd}{Index B} % \openout04
>  \newindex{indexC}{cdx}{cnd}{Index C} % \openout05
>  \newindex{indexD}{ddx}{dnd}{Index D} % \openout06
>  \newindex{indexE}{edx}{end}{Index E} % \openout07
>  \newindex{indexF}{fdx}{fnd}{Index F} % \openout08
>  \newindex{indexG}{gdx}{gnd}{Index G} % \openout09
>  \newindex{indexH}{hdx}{hnd}{Index H} % \openout10
>  \newindex{indexI}{idx}{ind}{Index I} % \openout11
>  \newindex{indexJ}{jdx}{jnd}{Index J} % \openout12
>  \newindex{indexK}{kdx}{knd}{Index K} % \openout13
>  \newindex{indexL}{ldx}{lnd}{Index L} % \openout14
>  \newindex{indexM}{mdx}{mnd}{Index M} % \openout15
>  \newindex{indexN}{ndx}{nnd}{Index N} % \openout16
>  \newindex{indexO}{odx}{ond}{Index O} % \openout17
>  \newindex{indexP}{pdx}{pnd}{Index P} % \openout18
>  \newindex{indexQ}{qdx}{qnd}{Index Q} % \openout19
>  \newindex{indexR}{rdx}{rnd}{Index R} % \openout20
>  \newindex{indexS}{sdx}{snd}{Index S} % \openout21
>  \newindex{indexT}{tdx}{tnd}{Index T} % \openout22
> \pagestyle{empty}
> \makeindex
> \begin{document}
> abc
> %\tableofcontents
> \end{document}

Why do you need separate files for each letter? You have more than 65536 
entries for
each one?

---
WBR, Vladimir Lomov

-- 
Man is an animal that makes bargains: no other animal does this--
no dog exchanges bones with another.
-- Adam Smith


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Any progress on 16 open write file limit?

2011-12-13 Thread Daniel Greenhoe
Hi Bruno,

On Wed, Dec 14, 2011 at 11:35 AM, Bruno Le Floch  wrote:
> \usepackage{morewrites}

I tried it with \usepackage{index} (see below and attachments), but I
get the error
  ! Undefined control sequence.
 \tl_replace_in:Nnn

Any recommendations of what I should do?
Dan

\documentclass{book}
 \usepackage{morewrites}
 \usepackage{index}   % multiple index support
%---
 \newindex{indexA}{adx}{and}{Index A} % \openout03
 \newindex{indexB}{bdx}{bnd}{Index B} % \openout04
 \newindex{indexC}{cdx}{cnd}{Index C} % \openout05
 \newindex{indexD}{ddx}{dnd}{Index D} % \openout06
 \newindex{indexE}{edx}{end}{Index E} % \openout07
 \newindex{indexF}{fdx}{fnd}{Index F} % \openout08
 \newindex{indexG}{gdx}{gnd}{Index G} % \openout09
 \newindex{indexH}{hdx}{hnd}{Index H} % \openout10
 \newindex{indexI}{idx}{ind}{Index I} % \openout11
 \newindex{indexJ}{jdx}{jnd}{Index J} % \openout12
 \newindex{indexK}{kdx}{knd}{Index K} % \openout13
 \newindex{indexL}{ldx}{lnd}{Index L} % \openout14
 \newindex{indexM}{mdx}{mnd}{Index M} % \openout15
 \newindex{indexN}{ndx}{nnd}{Index N} % \openout16
 \newindex{indexO}{odx}{ond}{Index O} % \openout17
 \newindex{indexP}{pdx}{pnd}{Index P} % \openout18
 \newindex{indexQ}{qdx}{qnd}{Index Q} % \openout19
 \newindex{indexR}{rdx}{rnd}{Index R} % \openout20
 \newindex{indexS}{sdx}{snd}{Index S} % \openout21
 \newindex{indexT}{tdx}{tnd}{Index T} % \openout22
\pagestyle{empty}
\makeindex
\begin{document}
abc
%\tableofcontents
\end{document}



On Wed, Dec 14, 2011 at 11:35 AM, Bruno Le Floch  wrote:
>> Has there been any progress on getting around the 16 open write file
>> limit and the associated crash message
>>   "No room for a new \write"?
>>
>> This has been causing me problems lately.
>
> \usepackage{morewrites}
>
> If you are using XeLaTeX (or any other *LaTeX). It won't work if
> filenames contain spaces, but I can get to it if someone gives me a
> clear specification of how \openout reads a filename.
>
> Regards,
> Bruno
>
>
> --
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex


writes.tex
Description: TeX document


writes.log
Description: Binary data


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Any progress on 16 open write file limit?

2011-12-13 Thread Bruno Le Floch
> Has there been any progress on getting around the 16 open write file
> limit and the associated crash message
>   "No room for a new \write"?
>
> This has been causing me problems lately.

\usepackage{morewrites}

If you are using XeLaTeX (or any other *LaTeX). It won't work if
filenames contain spaces, but I can get to it if someone gives me a
clear specification of how \openout reads a filename.

Regards,
Bruno


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


[XeTeX] Any progress on 16 open write file limit?

2011-12-13 Thread Daniel Greenhoe
Has there been any progress on getting around the 16 open write file
limit and the associated crash message
  "No room for a new \write"?

This has been causing me problems lately.

Many thanks in advance,
Dan


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex