From e90f5fee5e9fc2270fdc193ea44e4306bbbe6a52 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Sun, 13 Aug 2017 19:56:44 +0200
Subject: [PATCH] conditional_forecasts: Fix errors in manual

(cherry picked from commit b4a52b80765bb2b52109a7b5f0826e55901541cd)
---
 doc/dynare.texi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/dynare.texi b/doc/dynare.texi
index 80dc0330e..7f8157b63 100644
--- a/doc/dynare.texi
+++ b/doc/dynare.texi
@@ -7718,7 +7718,7 @@ Fields are of the form:
 @end defvr
 
 
-@deffn Command conditional_forecast (@var{OPTIONS}@dots{}) [@var{VARIABLE_NAME}@dots{}];
+@deffn Command conditional_forecast (@var{OPTIONS}@dots{});
 @anchor{conditional_forecast}
 @descriptionhead
 
@@ -7773,7 +7773,7 @@ constrained endogenous, and their constrained future path.
 Option @code{controlled_varexo} is used to specify the structural shocks
 which will be matched to generate the constrained path.
 
-Use @code{plot_conditional_forecast} to graph the results.
+Use @ref{plot_conditional_forecast} to graph the results.
 
 @optionshead
 
@@ -7869,7 +7869,8 @@ periods 1:5;
 values 3;
 end;
 
-conditional_forecast(parameter_set = calibration, controlled_varexo = (e, u), replic = 3000);
+conditional_forecast(parameter_set = calibration, controlled_varexo = (e, u),
+replic = 3000);
 
 plot_conditional_forecast(periods = 10) a y;
 @end example
@@ -7898,7 +7899,7 @@ it is necessary to specify the logarithm of the controlled variables.
 
 @deffn Command plot_conditional_forecast [@var{VARIABLE_NAME}@dots{}];
 @deffnx Command plot_conditional_forecast (periods = @var{INTEGER}) [@var{VARIABLE_NAME}@dots{}];
-
+@anchor{plot_conditional_forecast}
 @descriptionhead
 
 Plots the conditional (plain lines) and unconditional (dashed lines) forecasts.
-- 
GitLab