4

I have a list from Mathematica

{{{1, 1, 1}, {1, 1, 1}}, {{1, 1, 1}, {1, 1, 2}}, {{1, 1, 1}, {1, 2, 
1}}, {{1, 1, 1}, {1, 2, 2}}, {{1, 1, 1}, {2, 1, 1}}, {{1, 1, 
1}, {2, 1, 2}}, {{1, 1, 1}, {2, 2, 1}}, {{1, 1, 1}, {2, 2, 2}}, {{1, 1, 2}, {1, 1, 1}}, {{1, 1, 2}, {1, 1, 2}}, {{1, 1, 2}, {1, 2, 1}}, {{1, 1, 2}, {1, 2, 2}}, {{1, 1, 2}, {2, 1, 1}}, {{1, 1, 2}, {2, 1, 2}}, {{1, 1, 2}, {2, 2, 1}}, {{1, 1, 2}, {2, 2, 2}}, {{1, 2, 1}, {1, 1, 1}}, {{1, 2, 1}, {1, 1, 2}}, {{1, 2, 1}, {1, 2, 1}}, {{1, 2, 1}, {1, 2, 2}}, {{1, 2, 1}, {2, 1, 1}}, {{1, 2, 1}, {2, 1, 2}}, {{1, 2, 1}, {2, 2, 1}}, {{1, 2, 1}, {2, 2, 2}}, {{1, 2, 2}, {1, 1, 1}}, {{1, 2, 2}, {1, 1, 2}}, {{1, 2, 2}, {1, 2, 1}}, {{1, 2, 2}, {1, 2,2}}, {{1, 2, 2}, {2, 1, 1}}, {{1, 2, 2}, {2, 1, 2}}, {{1, 2, 2}, {2, 2, 1}}, {{1, 2, 2}, {2, 2, 2}}, {{2, 1, 1}, {1, 1, 1}}, {{2, 1, 1}, {1, 1, 2}}, {{2, 1, 1}, {1, 2, 1}}, {{2, 1, 1}, {1, 2, 2}}, {{2, 1, 1}, {2, 1, 1}}, {{2, 1, 1}, {2, 1, 2}}, {{2, 1, 1}, {2, 2, 1}}, {{2, 1, 1}, {2, 2, 2}}, {{2, 1, 2}, {1, 1, 1}}, {{2, 1, 2}, {1, 1, 2}}, {{2, 1, 2}, {1, 2, 1}}, {{2, 1, 2}, {1, 2, 2}}, {{2, 1, 2}, {2, 1, 1}}, {{2, 1, 2}, {2, 1, 2}}, {{2, 1, 2}, {2, 2, 1}}, {{2, 1, 2}, {2, 2, 2}}, {{2, 2, 1}, {1, 1, 1}}, {{2, 2, 1}, {1, 1, 2}}, {{2, 2, 1}, {1, 2, 1}}, {{2, 2, 1}, {1, 2, 2}}, {{2, 2, 1}, {2, 1, 1}}, {{2, 2, 1}, {2, 1, 2}}, {{2, 2, 1}, {2, 2, 1}}, {{2, 2, 1}, {2, 2, 2}}, {{2, 2, 2}, {1, 1, 1}}, {{2, 2, 2}, {1, 1, 2}}, {{2, 2, 2}, {1, 2, 1}}, {{2, 2, 2}, {1, 2, 2}}, {{2, 2, 2}, {2, 1, 1}}, {{2, 2, 2}, {2, 1, 2}}, {{2, 2, 2}, {2, 2, 1}}, {{2, 2, 2}, {2, 2, 2}}}

I would like to convert that list in the form

enter image description here

I tried it by hand.

\documentclass[12pt,a4paper]{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[label=\arabic*)]
\item $(1, 1, 1), (1, 1, 1). $ \item $ (1, 1, 1), (1, 1, 2). $ \item $ (1, 1, 1), (1, 2, 
    1). $ \item $ (1, 1, 1), (1, 2, 2). $ \item $ (1, 1, 1), (2, 1, 1). $ \item $ (1, 1, 
    1), (2, 1, 2). $ \item $ (1, 1, 1), (2, 2, 1). $ \item $ (1, 1, 1), (2, 2, 
    2). $ \item $ (1, 1, 2), (1, 1, 1). $ \item $ (1, 1, 2), (1, 1, 2). $ \item $ (1, 1, 
    2), (1, 2, 1). $ \item $ (1, 1, 2), (1, 2, 2). $ \item $ (1, 1, 2), (2, 1, 
    1). $ \item $ (1, 1, 2), (2, 1, 2). $ \item $ (1, 1, 2), (2, 2, 1). $ \item $ (1, 1, 
    2), (2, 2, 2). $ \item $ (1, 2, 1), (1, 1, 1). $ \item $ (1, 2, 1), (1, 1, 
    2). $ \item $ (1, 2, 1), (1, 2, 1). $ \item $ (1, 2, 1), (1, 2, 2). $ \item $ (1, 2, 
    1), (2, 1, 1). $ \item $ (1, 2, 1), (2, 1, 2). $ \item $ (1, 2, 1), (2, 2, 
    1). $ \item $ (1, 2, 1), (2, 2, 2). $ \item $ (1, 2, 2), (1, 1, 1). $ \item $ (1, 2, 
    2), (1, 1, 2). $ \item $ (1, 2, 2), (1, 2, 1). $ \item $ (1, 2, 2), (1, 2, 
    2). $ \item $ (1, 2, 2), (2, 1, 1). $ \item $ (1, 2, 2), (2, 1, 2). $ \item $ (1, 2, 
    2), (2, 2, 1). $ \item $ (1, 2, 2), (2, 2, 2). $ \item $ (2, 1, 1), (1, 1, 
    1). $ \item $ (2, 1, 1), (1, 1, 2). $ \item $ (2, 1, 1), (1, 2, 1). $ \item $ (2, 1, 
    1), (1, 2, 2). $ \item $ (2, 1, 1), (2, 1, 1). $ \item $ (2, 1, 1), (2, 1, 
    2). $ \item $ (2, 1, 1), (2, 2, 1). $ \item $ (2, 1, 1), (2, 2, 2). $ \item $ (2, 1, 
    2), (1, 1, 1). $ \item $ (2, 1, 2), (1, 1, 2). $ \item $ (2, 1, 2), (1, 2, 
    1). $ \item $ (2, 1, 2), (1, 2, 2). $ \item $ (2, 1, 2), (2, 1, 1). $ \item $ (2, 1, 
    2), (2, 1, 2). $ \item $ (2, 1, 2), (2, 2, 1). $ \item $ (2, 1, 2), (2, 2, 
    2). $ \item $ (2, 2, 1), (1, 1, 1). $ \item $ (2, 2, 1), (1, 1, 2). $ \item $ (2, 2, 
    1), (1, 2, 1). $ \item $ (2, 2, 1), (1, 2, 2). $ \item $ (2, 2, 1), (2, 1, 
    1). $ \item $ (2, 2, 1), (2, 1, 2). $ \item $ (2, 2, 1), (2, 2, 1). $ \item $ (2, 2, 
    1), (2, 2, 2). $ \item $ (2, 2, 2), (1, 1, 1). $ \item $ (2, 2, 2), (1, 1, 
    2). $ \item $ (2, 2, 2), (1, 2, 1). $ \item $ (2, 2, 2), (1, 2, 2). $ \item $ (2, 2, 
    2), (2, 1, 1). $ \item $ (2, 2, 2), (2, 1, 2). $ \item $ (2, 2, 2), (2, 2, 1). $ \item $ (2, 2, 2), (2, 2, 2)$.
\end{enumerate} 
\end{document}

It is difficult for me if the list too long. How can I convert it by text?

1

5 Answers 5

5

Here's a LuaLaTeX-based solution, which makes use of Lua's string.sub and string.gsub functions. The solution's main requirement is that the long string not have any linebreaks in it.

enter image description here

% !TEX TS-program = lualatex
\documentclass{article}
\usepackage{enumitem}

\usepackage{luacode} % for 'luacode' env.
\begin{luacode}
s = "{{{1, 1, 1}, {1, 1, 1}}, {{1, 1, 1}, {1, 1, 2}}, {{1, 1, 1}, {1, 2, 1}}, {{1, 1, 1}, {1, 2, 2}}, {{1, 1, 1}, {2, 1, 1}}, {{1, 1, 1}, {2, 1, 2}}, {{1, 1, 1}, {2, 2, 1}}, {{1, 1, 1}, {2, 2, 2}}, {{1, 1, 2}, {1, 1, 1}}, {{1, 1, 2}, {1, 1, 2}}, {{1, 1, 2}, {1, 2, 1}}, {{1, 1, 2}, {1, 2, 2}}, {{1, 1, 2}, {2, 1, 1}}, {{1, 1, 2}, {2, 1, 2}}, {{1, 1, 2}, {2, 2, 1}}, {{1, 1, 2}, {2, 2, 2}}, {{1, 2, 1}, {1, 1, 1}}, {{1, 2, 1}, {1, 1, 2}}, {{1, 2, 1}, {1, 2, 1}}, {{1, 2, 1}, {1, 2, 2}}, {{1, 2, 1}, {2, 1, 1}}, {{1, 2, 1}, {2, 1, 2}}, {{1, 2, 1}, {2, 2, 1}}, {{1, 2, 1}, {2, 2, 2}}, {{1, 2, 2}, {1, 1, 1}}, {{1, 2, 2}, {1, 1, 2}}, {{1, 2, 2}, {1, 2, 1}}, {{1, 2, 2}, {1, 2,2}}, {{1, 2, 2}, {2, 1, 1}}, {{1, 2, 2}, {2, 1, 2}}, {{1, 2, 2}, {2, 2, 1}}, {{1, 2, 2}, {2, 2, 2}}, {{2, 1, 1}, {1, 1, 1}}, {{2, 1, 1}, {1, 1, 2}}, {{2, 1, 1}, {1, 2, 1}}, {{2, 1, 1}, {1, 2, 2}}, {{2, 1, 1}, {2, 1, 1}}, {{2, 1, 1}, {2, 1, 2}}, {{2, 1, 1}, {2, 2, 1}}, {{2, 1, 1}, {2, 2, 2}}, {{2, 1, 2}, {1, 1, 1}}, {{2, 1, 2}, {1, 1, 2}}, {{2, 1, 2}, {1, 2, 1}}, {{2, 1, 2}, {1, 2, 2}}, {{2, 1, 2}, {2, 1, 1}}, {{2, 1, 2}, {2, 1, 2}}, {{2, 1, 2}, {2, 2, 1}}, {{2, 1, 2}, {2, 2, 2}}, {{2, 2, 1}, {1, 1, 1}}, {{2, 2, 1}, {1, 1, 2}}, {{2, 2, 1}, {1, 2, 1}}, {{2, 2, 1}, {1, 2, 2}}, {{2, 2, 1}, {2, 1, 1}}, {{2, 2, 1}, {2, 1, 2}}, {{2, 2, 1}, {2, 2, 1}}, {{2, 2, 1}, {2, 2, 2}}, {{2, 2, 2}, {1, 1, 1}}, {{2, 2, 2}, {1, 1, 2}}, {{2, 2, 2}, {1, 2, 1}}, {{2, 2, 2}, {1, 2, 2}}, {{2, 2, 2}, {2, 1, 1}}, {{2, 2, 2}, {2, 1, 2}}, {{2, 2, 2}, {2, 2, 1}}, {{2, 2, 2}, {2, 2, 2}}}"
s = s:sub ( 2, -2 )
s = s:gsub ( "%{%{([%d%s%,]*)%}, %{([%d%s%,]*)%}%},?" , "\\item $(%1)$, $(%2)$." )
\end{luacode}

\begin{document}

\begin{enumerate}[label=\arabic*),noitemsep]
\directlua{ tex.sprint ( s ) }
\end{enumerate}

\end{document}
5
  • After compile with luatext, can I get the text file? Commented Jan 27 at 9:08
  • 1
    @JohnPaulPeter - Do you need the text file, or the pdf file? I had been assuming it was the latter. (If it's just the text file, why did you post your query on TeX.SE?)
    – Mico
    Commented Jan 27 at 9:12
  • I am sorry, I need a text file. I think, text can be solve my question. Commented Jan 27 at 9:13
  • It is very nice with me.I tried it. Thanks. Commented Jan 27 at 9:17
  • I posted here and here, not superuser.se Commented Jan 28 at 6:54
6

Here's a way to do it.

Create a script

Store your Mathematica output e.g. as list.txt:

{{{1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 2, 1}}, {{2, 1, 2}, {2, 2, 2}}, {{2, 2, 1}, {1, 1, 1}}, {{2, 2, 1}, {1, 1, 2}}, {{2, 2, 1}, {1, 2, 1}}, {{2, 2, 1}, {1, 2, 2}}, {{2, 2, 1}, {2, 1, 1}}, {{2, 2, 1}, {2, 1, 2}}, {{2, 2, 1}, {2, 2, 1}}, {{2, 2, 1}, {2, 2, 2}}, {{2, 2, 2}, {1, 1, 1}}, {{2, 2, 2}, {1, 1, 2}}, {{2, 2, 2}, {1, 2, 1}}, {{2, 2, 2}, {1, 2, 2}}, {{2, 2, 2}, {2, 1, 1}}, {{2, 2, 2}, {2, 1, 2}}, {{2, 2, 2}, {2, 2, 1}}, {{2, 2, 2}, {2, 2, 2}}}

A tool made for post-processing is perl, a Practical Extraction and Report Language, like so:

list2latex.pl:

#!/usr/bin/perl
use strict;
use warnings;

# ~~~ open list ~~~
open F, "list.txt" or die "can't find list.txt\n";
my @l = <F>;

# ~~~ merging into 1 long string ~~~
my $s = "";

foreach(my $i=0; $i <@l; $i++){
    $s .= $l[$i];
}

# ~~~ some clean up ~~~~
$_ = $s;
s/\n//g;            # no more crlf
s/\{\{\{/\{\{/g;    # removing triplets
s/\}\}\}/\}\}/g;

s/\{/\(/g;
s/\}/\)/g;

$s = $_;

  
# ~~~ now, let's create the items ~~~
my @it = split /\)\)/, $s;

foreach(my $i=0; $i<@it; $i++){
    $_ = "\\item \$$it[$i]).\$ \n";
    s/\(\(/\(/;      
    s/\$,\s/\$/;
      
    print $_;
}

Of course, it does the same as Mico's luatex script, but more granulary, so you can follow it by the debugger and modify when needed. Chose a scripting language, you're confident with.

Run it

From your command line:

  • run
  • redirect into it.txt
>perl list2latex.pl > it.txt

input it

\documentclass[12pt,a4paper]{article}
\usepackage{enumitem}

\begin{document}
 \begin{enumerate}[label=\arabic*)]
    \input{it.txt}
 \end{enumerate} 
\end{document}

result

6

The easiest point at which to convert the code from Mathematica into LaTeX is when it's still in Mathematica.

After we generate the example list

list = Tuples[{1, 2}, {2, 3}]

we can use the following Mathematica code to format each row {{1,1,1},{1,1,1}} of the list as an \item $(1,1,1), (1,1,1)$.:

StringJoin[StringTemplate["\\item $(``,``,``), (``,``,``)$. "] 
  @@ Flatten[#] & /@ list]

(To explain a bit what's going on: StringTemplate["\\item $(``,``,``), (``,``,``)$. "] tells us the format we want to use for each entry in the list. It expects six inputs, so we Flatten the entry to turn it into a list of six numbers rather than a 2 by 3 matrix. We apply (/@) the resulting function to every row, and StringJoin them together. Later on in this answer, I use <>, the inline form of StringJoin)

We could take the resulting output and copy-and-paste it into a .tex file. (If you do this, be sure to use "Copy as..." and select "Plain Text", or else you'll get something formatted as Mathematica input.) However, we could also ask Mathematica to export it:

Export[NotebookDirectory[] <> "output.tex",
"\\documentclass[12pt,a4paper]{article}
\\usepackage{enumitem}
\\begin{document}
\\begin{enumerate}[label=\\arabic*)]
" <> (StringTemplate["\\item $(``,``,``), (``,``,``)$. "]
  @@ Flatten[#] & /@ list) <> 
"
\\end{enumerate}
\\end{document}", "Text"]

You'll notice that we have to write double backslashes to escape every backslash, and typing that into a Mathematica notebook is a pain. If there's a lot of other stuff you want in the output file, you might want to write the code for it separately. Begin by creating a file named input.tex that contains the following:

\documentclass[12pt,a4paper]{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[label=\arabic*)]
``
\end{enumerate}
\end{document}

Then, we can just tell Mathematica to take that file and use it as a template for the output:

list = Tuples[{1, 2}, {2, 3}];
formattedList = StringJoin[StringTemplate["\\item $(``,``,``), (``,``,``)$. "] 
  @@ Flatten[#] & /@ list];
texTemplate = StringTemplate[Import[NotebookDirectory[] <> "input.tex", "Text"]];
Export[NotebookDirectory[] <> "output.tex", texTemplate[formattedList], "Text"]

(I've been assuming that the Mathematica notebook is saved in a directory where you're happy for input.tex and output.tex to also live. But of course we can give Mathematica any other file names to use, including ones that don't depend on NotebookDirectory[].)

3

This answer is
both at TeX - LaTeX StackExchange, question: "How can I convert the code from Mathematica to text and put it in enumerate like this?"
and at Mathematica StackExchange, question: "How can I convert the code from Mathematica to text and put it in enumerate like this?".



In case the issue is about typesetting into a .pdf-file and not about obtaining another external text file:

You can take your Mathematica-list for a nested comma-separated list and have it processed by latex.

In case both it is ensured that no item of your nested comma-separated list is blank (empty or spaces only) and a recent LaTeX distribution (2021-05-10 or later) is in use, where in the expl3 programming layer the two routines \clist_map_tokens:nn and \clist_use:nn are available, you can probably handle your Mathematica-list by means of these two routines:

\documentclass{article}
\usepackage{enumitem}

\ExplSyntaxOn
\cs_new:Npn\iterateonlist { \mymodule_i_iii_ii:Nnn \clist_map_tokens:nn {\mymodule_itemanddot:n} }
\cs_new:Nn \mymodule_i_iii_ii:Nnn {#1{#3}{#2}}
\cs_new:Nn \mymodule_itemanddot:n {
  \item\( % <- switch to math-mode
    \exp_args:Ne \clist_use:nn
    { \clist_map_tokens:nn {#1} {\mymodule_parentheses_separator_between_triplecomponents:n} }
    {,} % <- This comma is the separator between two triples
  \) % <- switch back from math-mode
  .
}
\cs_new:Nn \mymodule_parentheses_separator_between_triplecomponents:n { 
  (
  \exp_not:N \use:n{\clist_use:nn {#1}{,}} % <- This comma is the separator between the components of a triple
  ) 
  ,
}
\ExplSyntaxOff

\begin{document}

\begin{enumerate}[label=\arabic*)]
\iterateonlist
{{{1, 1, 1}, {1, 1, 1}}, {{1, 1, 1}, {1, 1, 2}}, {{1, 1, 1}, {1, 2, 
1}}, {{1, 1, 1}, {1, 2, 2}}, {{1, 1, 1}, {2, 1, 1}}, {{1, 1, 
1}, {2, 1, 2}}, {{1, 1, 1}, {2, 2, 1}}, {{1, 1, 1}, {2, 2, 2}}, {{1, 1, 2}, {1, 1, 1}}, {{1, 1, 2}, {1, 1, 2}}, {{1, 1, 2}, {1, 2, 1}}, {{1, 1, 2}, {1, 2, 2}}, {{1, 1, 2}, {2, 1, 1}}, {{1, 1, 2}, {2, 1, 2}}, {{1, 1, 2}, {2, 2, 1}}, {{1, 1, 2}, {2, 2, 2}}, {{1, 2, 1}, {1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 2, 2}, {2, 2, 2}}}
\end{enumerate}

\end{document}

enter image description here


In case you wish to obtain a text file, basically the same loop can be used.
Instead of doing
\item\( [..] \)
apply a routine which increments a counter and writes a line of pattern
⟨counter⟩) [..] .
to an external text file.

(You can combine this with counting the elements of the surrounding list for obtaining the number of lines that are to be written, which also is the number of the last line to be written and then calculating the amount of digits needed for writing the number number of the last line and prepending spaces with those line numbers where the amount of digits needed is not the same as that with the number of the last line.)

% ============================================================================
% The Routines for processing the Mathematica-list:
% ============================================================================
\ExplSyntaxOn
\int_new:N \g_mymodule_linenotopr_int
\iow_new:N \g_mymodule_output_iow
\cs_new:Npn\iterateonlist #1#2 {  \iow_open:Nn \g_mymodule_output_iow {#1}
                                  \int_gzero:N \g_mymodule_linenotopr_int
                                  \exp_args:Nne 
                                    \clist_map_tokens:nn
                                    {#2}
                                    { \exp_not:N \mymodule_writeline:nnn{ \exp_args:Ne \tl_count:n { \clist_count:n {#2} } }{#1} }
                                  \iow_close:N \g_mymodule_output_iow
                               }
\cs_new:Nn \mymodule_writeline:nnn {
  % Increment the counter:
  \int_gincr:N \g_mymodule_linenotopr_int
  \exp_args:NNe 
  % Write the next line:
  \iow_now:Nn \g_mymodule_output_iow {
    % Print spaces:
    \prg_replicate:nn {(#1)-(\exp_args:Ne \tl_count:n { \int_use:N \g_mymodule_linenotopr_int})} {~}
    % Print the number:
    \int_use:N \g_mymodule_linenotopr_int 
    % Print the losing parenthesis behind the number and a space:
    )~
    % Print the tuple of triples:
    \use:e {
      \exp_args:Ne \clist_use:nn
      { \clist_map_tokens:nn {#3} {\mymodule_parentheses_separator_between_triplecomponents:n} }
      {,} % <- This comma is the separator between two triples
    }
    % Print the dot:
    .
  }
}
\cs_new:Nn \mymodule_parentheses_separator_between_triplecomponents:n { 
  (
  \exp_not:N \use:n{\clist_use:nn {#1}{,}} % <- This comma is the separator between the components of a triple
  ) 
  ,
}
\ExplSyntaxOff
% ============================================================================
% Let's call the routines for processing the Mathematica-list for creating
% an external file OutFile.txt
% ============================================================================
\iterateonlist{OutFile.txt}
{{{1, 1, 1}, {1, 1, 1}}, {{1, 1, 1}, {1, 1, 2}}, {{1, 1, 1}, {1, 2, 
1}}, {{1, 1, 1}, {1, 2, 2}}, {{1, 1, 1}, {2, 1, 1}}, {{1, 1, 
1}, {2, 1, 2}}, {{1, 1, 1}, {2, 2, 1}}, {{1, 1, 1}, {2, 2, 2}}, {{1, 1, 2}, {1, 1, 1}}, {{1, 1, 2}, {1, 1, 2}}, {{1, 1, 2}, {1, 2, 1}}, {{1, 1, 2}, {1, 2, 2}}, {{1, 1, 2}, {2, 1, 1}}, {{1, 1, 2}, {2, 1, 2}}, {{1, 1, 2}, {2, 2, 1}}, {{1, 1, 2}, {2, 2, 2}}, {{1, 2, 1}, {1, 1, 1}}, {{1, 2, 1}, {1, 1, 2}}, {{1, 2, 1}, {1, 2, 1}}, {{1, 2, 1}, {1, 2, 2}}, {{1, 2, 1}, {2, 1, 1}}, {{1, 2, 1}, {2, 1, 2}}, {{1, 2, 1}, {2, 2, 1}}, {{1, 2, 1}, {2, 2, 2}}, {{1, 2, 2}, {1, 1, 1}}, {{1, 2, 2}, {1, 1, 2}}, {{1, 2, 2}, {1, 2, 1}}, {{1, 2, 2}, {1, 2,2}}, {{1, 2, 2}, {2, 1, 1}}, {{1, 2, 2}, {2, 1, 2}}, {{1, 2, 2}, {2, 2, 1}}, {{1, 2, 2}, {2, 2, 2}}, {{2, 1, 1}, {1, 1, 1}}, {{2, 1, 1}, {1, 1, 2}}, {{2, 1, 1}, {1, 2, 1}}, {{2, 1, 1}, {1, 2, 2}}, {{2, 1, 1}, {2, 1, 1}}, {{2, 1, 1}, {2, 1, 2}}, {{2, 1, 1}, {2, 2, 1}}, {{2, 1, 1}, {2, 2, 2}}, {{2, 1, 2}, {1, 1, 1}}, {{2, 1, 2}, {1, 1, 2}}, {{2, 1, 2}, {1, 2, 1}}, {{2, 1, 2}, {1, 2, 2}}, {{2, 1, 2}, {2, 1, 1}}, {{2, 1, 2}, {2, 1, 2}}, {{2, 1, 2}, {2, 2, 1}}, {{2, 1, 2}, {2, 2, 2}}, {{2, 2, 1}, {1, 1, 1}}, {{2, 2, 1}, {1, 1, 2}}, {{2, 2, 1}, {1, 2, 1}}, {{2, 2, 1}, {1, 2, 2}}, {{2, 2, 1}, {2, 1, 1}}, {{2, 2, 1}, {2, 1, 2}}, {{2, 2, 1}, {2, 2, 1}}, {{2, 2, 1}, {2, 2, 2}}, {{2, 2, 2}, {1, 1, 1}}, {{2, 2, 2}, {1, 1, 2}}, {{2, 2, 2}, {1, 2, 1}}, {{2, 2, 2}, {1, 2, 2}}, {{2, 2, 2}, {2, 1, 1}}, {{2, 2, 2}, {2, 1, 2}}, {{2, 2, 2}, {2, 2, 1}}, {{2, 2, 2}, {2, 2, 2}}}
% ============================================================================
% Now LaTeX2e has created the text file OutFile.txt.
% If you don't want a .pdf-file showing the content, then you can stop here
% by uncommenting the following line:
%\stop
% ============================================================================
%
% ============================================================================
% After creating the external text file let's create a document where that 
% text file is input verbatim so that you can see what it looks like:
% ============================================================================
\documentclass{article}
\usepackage{verbatim}
\begin{document}

\LaTeXe\space has just created a file \textbf{OutFile.txt}.

The content of \textbf{OutFile.txt} is:

\verbatiminput{OutFile.txt}

\end{document}

enter image description here


In case you don't want to have to write the Mathematica-list into the same file as the LaTeX code, but wish to keep it as a separate file which is to be loaded via \input, you can take advantage of the fact that the TeX primitive \input, renamed to \@@input in LaTeX 2ε, renamed to \tex_input:D in expl3, is expandable:

% ============================================================================
% The Routines for processing the Mathematica-list:
% ============================================================================
\ExplSyntaxOn
\int_new:N \g_mymodule_linenotopr_int
\iow_new:N \g_mymodule_output_iow
\cs_new:Npn \iterateonlist #1#2 {
  \group_begin:
  \tl_set:Nn \l_tmpa_tl { \group_end: \mymodule_iterateonlist:nn {#2} }
  \exp_after:wN \l_tmpa_tl \tex_input:D "#1"
}
\cs_new:Nn\mymodule_iterateonlist:nn {
  \iow_open:Nn \g_mymodule_output_iow {#1}
  \int_gzero:N \g_mymodule_linenotopr_int
  \exp_args:Nne 
    \clist_map_tokens:nn
    {#2}
    { \exp_not:N \mymodule_writeline:nnn{ \exp_args:Ne \tl_count:n { \clist_count:n {#2} } }{#1} }
  \iow_close:N \g_mymodule_output_iow
}
\cs_new:Nn \mymodule_writeline:nnn {
  % Increment the counter:
  \int_gincr:N \g_mymodule_linenotopr_int
  \exp_args:NNe 
  % Write the next line:
  \iow_now:Nn \g_mymodule_output_iow {
    % Print spaces:
    \prg_replicate:nn {(#1)-(\exp_args:Ne \tl_count:n { \int_use:N \g_mymodule_linenotopr_int})} {~}
    % Print the number:
    \int_use:N \g_mymodule_linenotopr_int 
    % Print the losing parenthesis behind the number and a space:
    )~
    % Print the tuple of triples:
    \use:e {
      \exp_args:Ne \clist_use:nn
      { \clist_map_tokens:nn {#3} {\mymodule_parentheses_separator_between_triplecomponents:n} }
      {,} % <- This comma is the separator between two triples
    }
    % Print the dot:
    .
  }
}
\cs_new:Nn \mymodule_parentheses_separator_between_triplecomponents:n { 
  (
  \exp_not:N \use:n{\clist_use:nn {#1}{,}} % <- This comma is the separator between the components of a triple
  ) 
  ,
}
\ExplSyntaxOff
% ============================================================================
% For demonstration purpose let's create an external text file InFile.txt 
% holding the Mathematica-list:
% ============================================================================
\begin{filecontents*}{InFile.txt}
{{{1, 1, 1}, {1, 1, 1}}, {{1, 1, 1}, {1, 1, 2}}, {{1, 1, 1}, {1, 2, 
1}}, {{1, 1, 1}, {1, 2, 2}}, {{1, 1, 1}, {2, 1, 1}}, {{1, 1, 
1}, {2, 1, 2}}, {{1, 1, 1}, {2, 2, 1}}, {{1, 1, 1}, {2, 2, 2}}, {{1, 1, 2}, {1, 1, 1}}, {{1, 1, 2}, {1, 1, 2}}, {{1, 1, 2}, {1, 2, 1}}, {{1, 1, 2}, {1, 2, 2}}, {{1, 1, 2}, {2, 1, 1}}, {{1, 1, 2}, {2, 1, 2}}, {{1, 1, 2}, {2, 2, 1}}, {{1, 1, 2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{{2, 2, 2}, {2, 2, 1}}, {{2, 2, 2}, {2, 2, 2}}}
\end{filecontents*}
% ============================================================================
% Let's call the routines for processing the Mathematica-list for creating
% an external file OutFile.txt:
% ============================================================================
\iterateonlist{InFile.txt}{OutFile.txt}
% ============================================================================
% Now LaTeX2e has created the text file OutFile.txt.
% If you don't want a .pdf-file showing the content, then you can stop here
% by uncommenting the next but one line:
% ============================================================================
%\stop
% ============================================================================
% After creating the external text file let's create a document where that 
% text file is input verbatim so that you can see what it looks like:
% ============================================================================
\documentclass{article}
\usepackage{verbatim}
\begin{document}

\LaTeXe\space has just created a file \textbf{OutFile.txt}.

The content of \textbf{OutFile.txt} is:

\verbatiminput{OutFile.txt}

\end{document}

enter image description here


In case your Mathematica-list in the external text file comes without outermost surrounding braces you can apply expl3's \file_get:nnN to store the content of the entire file into a token-list...

% ============================================================================
% The Routines for processing the Mathematica-list:
% ============================================================================
\ExplSyntaxOn
\int_new:N \g_mymodule_linenotopr_int
\iow_new:N \g_mymodule_output_iow
\cs_new:Npn \iterateonlist #1#2 {
  \group_begin:
  \file_get:nnN {#1}{}\l_tmpa_tl
  \exp_args:NNno
     \group_end: 
     \mymodule_iterateonlist:nn 
     {#2}
     {\l_tmpa_tl}
}
\cs_new:Nn\mymodule_iterateonlist:nn {
  \iow_open:Nn \g_mymodule_output_iow {#1}
  \int_gzero:N \g_mymodule_linenotopr_int
  \exp_args:Nne 
    \clist_map_tokens:nn
    {#2}
    { \exp_not:N \mymodule_writeline:nnn{ \exp_args:Ne \tl_count:n { \clist_count:n {#2} } }{#1} }
  \iow_close:N \g_mymodule_output_iow
}
\cs_new:Nn \mymodule_writeline:nnn {
  % Increment the counter:
  \int_gincr:N \g_mymodule_linenotopr_int
  \exp_args:NNe 
  % Write the next line:
  \iow_now:Nn \g_mymodule_output_iow {
    % Print spaces:
    \prg_replicate:nn {(#1)-(\exp_args:Ne \tl_count:n { \int_use:N \g_mymodule_linenotopr_int})} {~}
    % Print the number:
    \int_use:N \g_mymodule_linenotopr_int 
    % Print the losing parenthesis behind the number and a space:
    )~
    % Print the tuple of triples:
    \use:e {
      \exp_args:Ne \clist_use:nn
      { \clist_map_tokens:nn {#3} {\mymodule_parentheses_separator_between_triplecomponents:n} }
      {,} % <- This comma is the separator between two triples
    }
    % Print the dot:
    .
  }
}
\cs_new:Nn \mymodule_parentheses_separator_between_triplecomponents:n { 
  (
  \exp_not:N \use:n{\clist_use:nn {#1}{,}} % <- This comma is the separator between the components of a triple
  ) 
  ,
}
\ExplSyntaxOff
% ============================================================================
% For demonstration purpose let's create an external text file InFile.txt 
% holding the Mathematica-list without outermost surrounding braces:
% ============================================================================
\begin{filecontents*}{InFile.txt}
{{1, 1, 1}, {1, 1, 1}}, {{1, 1, 1}, {1, 1, 2}}, {{1, 1, 1}, {1, 2, 
1}}, {{1, 1, 1}, {1, 2, 2}}, {{1, 1, 1}, {2, 1, 1}}, {{1, 1, 
1}, {2, 1, 2}}, {{1, 1, 1}, {2, 2, 1}}, {{1, 1, 1}, {2, 2, 2}}, {{1, 1, 2}, {1, 1, 1}}, {{1, 1, 2}, {1, 1, 2}}, {{1, 1, 2}, {1, 2, 1}}, {{1, 1, 2}, {1, 2, 2}}, {{1, 1, 2}, {2, 1, 1}}, {{1, 1, 2}, {2, 1, 2}}, {{1, 1, 2}, {2, 2, 1}}, {{1, 1, 2}, {2, 2, 2}}, {{1, 2, 1}, {1, 1, 1}}, {{1, 2, 1}, {1, 1, 2}}, {{1, 2, 1}, {1, 2, 1}}, {{1, 2, 1}, {1, 2, 2}}, {{1, 2, 1}, {2, 1, 1}}, {{1, 2, 1}, {2, 1, 2}}, {{1, 2, 1}, {2, 2, 1}}, {{1, 2, 1}, {2, 2, 2}}, {{1, 2, 2}, {1, 1, 1}}, {{1, 2, 2}, {1, 1, 2}}, {{1, 2, 2}, {1, 2, 1}}, {{1, 2, 2}, {1, 2,2}}, {{1, 2, 2}, {2, 1, 1}}, {{1, 2, 2}, {2, 1, 2}}, {{1, 2, 2}, {2, 2, 1}}, {{1, 2, 2}, {2, 2, 2}}, {{2, 1, 1}, {1, 1, 1}}, {{2, 1, 1}, {1, 1, 2}}, {{2, 1, 1}, {1, 2, 1}}, {{2, 1, 1}, {1, 2, 2}}, {{2, 1, 1}, {2, 1, 1}}, {{2, 1, 1}, {2, 1, 2}}, {{2, 1, 1}, {2, 2, 1}}, {{2, 1, 1}, {2, 2, 2}}, {{2, 1, 2}, {1, 1, 1}}, {{2, 1, 2}, {1, 1, 2}}, {{2, 1, 2}, {1, 2, 1}}, {{2, 1, 2}, {1, 2, 2}}, {{2, 1, 2}, {2, 1, 1}}, {{2, 1, 2}, {2, 1, 2}}, {{2, 1, 2}, {2, 2, 1}}, {{2, 1, 2}, {2, 2, 2}}, {{2, 2, 1}, {1, 1, 1}}, {{2, 2, 1}, {1, 1, 2}}, {{2, 2, 1}, {1, 2, 1}}, {{2, 2, 1}, {1, 2, 2}}, {{2, 2, 1}, {2, 1, 1}}, {{2, 2, 1}, {2, 1, 2}}, {{2, 2, 1}, {2, 2, 1}}, {{2, 2, 1}, {2, 2, 2}}, {{2, 2, 2}, {1, 1, 1}}, {{2, 2, 2}, {1, 1, 2}}, {{2, 2, 2}, {1, 2, 1}}, {{2, 2, 2}, {1, 2, 2}}, {{2, 2, 2}, {2, 1, 1}}, {{2, 2, 2}, {2, 1, 2}}, {{2, 2, 2}, {2, 2, 1}}, {{2, 2, 2}, {2, 2, 2}}
\end{filecontents*}
% ============================================================================
% Let's call the routines for processing the Mathematica-list for creating
% an external file OutFile.txt:
% ============================================================================
\iterateonlist{InFile.txt}{OutFile.txt}
% ============================================================================
% Now LaTeX2e has created the text file OutFile.txt.
% If you don't want a .pdf-file showing the content, then you can stop here
% by uncommenting the next but one line:
% ============================================================================
%\stop
% ============================================================================
% After creating the external text file let's create a document where that 
% text file is input verbatim so that you can see what it looks like:
% ============================================================================
\documentclass{article}
\usepackage{verbatim}
\begin{document}

\LaTeXe\space has just created a file \textbf{OutFile.txt}.

The content of \textbf{OutFile.txt} is:

\verbatiminput{OutFile.txt}

\end{document}

enter image description here

3

You have a big clist and my idea is to pass each item to a macro that can be chosen in different ways. In this case I choose

\item $\maketuples{#1}$

so leaving LaTeX the numbering job, The \maketuples macro takes its argument, which in the particular case is again a clist and processes it: each item is surrounded by parentheses and the resulting list is delivered with the items separated by commas.

In the example below I use multicol just to fit the output in one page.

\documentclass{article}
\usepackage{multicol}

\ExplSyntaxOn

\NewDocumentCommand{\managemathematicalist}{mm}
 {% #1 = template, #2 = list
  \jpp_mathematicalist:nn { #1 } { #2 }
 }
\NewDocumentCommand{\maketuples}{m}
 {
  \seq_clear:N \l_tmpa_seq
  \clist_map_inline:nn { #1 } { \seq_put_right:Nn \l_tmpa_seq { (##1) } }
  \seq_use:Nn \l_tmpa_seq { , }
 }

\cs_new_protected:Nn \jpp_mathematicalist:nn
 {
  \cs_set_protected:Nn \__jpp_mathematicalist_aux:n { #1 }
  \clist_map_function:nN { #2 } \__jpp_mathematicalist_aux:n
 }

\ExplSyntaxOff

\begin{document}

\begin{multicols}{3}
\begin{enumerate}
\managemathematicalist{\item $\maketuples{#1}$}{
 {{1, 1, 1}, {1, 1, 1}}, {{1, 1, 1}, {1, 1, 2}}, {{1, 1, 1}, {1, 2, 1}},
 {{1, 1, 1}, {1, 2, 2}}, {{1, 1, 1}, {2, 1, 1}}, {{1, 1, 1}, {2, 1, 2}},
 {{1, 1, 1}, {2, 2, 1}}, {{1, 1, 1}, {2, 2, 2}}, {{1, 1, 2}, {1, 1, 1}},
 {{1, 1, 2}, {1, 1, 2}}, {{1, 1, 2}, {1, 2, 1}}, {{1, 1, 2}, {1, 2, 2}},
 {{1, 1, 2}, {2, 1, 1}}, {{1, 1, 2}, {2, 1, 2}}, {{1, 1, 2}, {2, 2, 1}},
 {{1, 1, 2}, {2, 2, 2}}, {{1, 2, 1}, {1, 1, 1}}, {{1, 2, 1}, {1, 1, 2}},
 {{1, 2, 1}, {1, 2, 1}}, {{1, 2, 1}, {1, 2, 2}}, {{1, 2, 1}, {2, 1, 1}},
 {{1, 2, 1}, {2, 1, 2}}, {{1, 2, 1}, {2, 2, 1}}, {{1, 2, 1}, {2, 2, 2}},
 {{1, 2, 2}, {1, 1, 1}}, {{1, 2, 2}, {1, 1, 2}}, {{1, 2, 2}, {1, 2, 1}},
 {{1, 2, 2}, {1, 2, 2}}, {{1, 2, 2}, {2, 1, 1}}, {{1, 2, 2}, {2, 1, 2}},
 {{1, 2, 2}, {2, 2, 1}}, {{1, 2, 2}, {2, 2, 2}}, {{2, 1, 1}, {1, 1, 1}},
 {{2, 1, 1}, {1, 1, 2}}, {{2, 1, 1}, {1, 2, 1}}, {{2, 1, 1}, {1, 2, 2}},
 {{2, 1, 1}, {2, 1, 1}}, {{2, 1, 1}, {2, 1, 2}}, {{2, 1, 1}, {2, 2, 1}},
 {{2, 1, 1}, {2, 2, 2}}, {{2, 1, 2}, {1, 1, 1}}, {{2, 1, 2}, {1, 1, 2}},
 {{2, 1, 2}, {1, 2, 1}}, {{2, 1, 2}, {1, 2, 2}}, {{2, 1, 2}, {2, 1, 1}},
 {{2, 1, 2}, {2, 1, 2}}, {{2, 1, 2}, {2, 2, 1}}, {{2, 1, 2}, {2, 2, 2}},
 {{2, 2, 1}, {1, 1, 1}}, {{2, 2, 1}, {1, 1, 2}}, {{2, 2, 1}, {1, 2, 1}},
 {{2, 2, 1}, {1, 2, 2}}, {{2, 2, 1}, {2, 1, 1}}, {{2, 2, 1}, {2, 1, 2}},
 {{2, 2, 1}, {2, 2, 1}}, {{2, 2, 1}, {2, 2, 2}}, {{2, 2, 2}, {1, 1, 1}},
 {{2, 2, 2}, {1, 1, 2}}, {{2, 2, 2}, {1, 2, 1}}, {{2, 2, 2}, {1, 2, 2}},
 {{2, 2, 2}, {2, 1, 1}}, {{2, 2, 2}, {2, 1, 2}}, {{2, 2, 2}, {2, 2, 1}},
 {{2, 2, 2}, {2, 2, 2}}
}
\end{enumerate}
\end{multicols}

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .